Testers needed for Netatmo climate (multiple thermostats or valves)


#351

i resolved using the @Baoson_Shan component and for the weather station this


#352

could you check why the sensor co2 not work in the config of new netatmo.py?


#353

Hi, I have no such sensor so I cannot check from my side. However, it might be helpful if you show the error messages from your log file.


#354

Helo, thanks @Baosong_Shan for component, I got some issue after set the config which you describe here. API Test pass correct - I got json data with my details.

My configuration:

climate:
  - platform: netatmo
    home: Mój dom
    rooms:
      - Salon

netatmo:
  api_key: xxx
  secret_key: xxx
  username: xxx
  password: xxx

All python script files are in correct folders.
This is the error from logs:

2019-01-28 18:29:29 ERROR (MainThread) [homeassistant.components.climate] Error while setting up platform netatmo

Traceback (most recent call last):
File “/home-assistant/homeassistant/helpers/entity_platform.py”, line 128, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/lib/python3.5/asyncio/tasks.py”, line 400, in wait_for
return fut.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/root/.homeassistant/custom_components/climate/netatmo.py”, line 74, in setup_platform
for home_conf in config.get(CONF_HOMES):
TypeError: ‘NoneType’ object is not iterable
2019-01-28 18:29:29 ERROR (MainThread) [homeassistant.components.climate] Error while setting up platform netatmo
Traceback (most recent call last):
File “/home-assistant/homeassistant/helpers/entity_platform.py”, line 128, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/lib/python3.5/asyncio/tasks.py”, line 400, in wait_for
return fut.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/root/.homeassistant/custom_components/climate/netatmo.py”, line 74, in setup_platform
for home_conf in config.get(CONF_HOMES):
TypeError: ‘NoneType’ object is not iterable


#355

I think it could be a problem with your home name.
Try it without it


#356

Please step to the new thread New Netatmo climate component supporting multiple thermostats/valves where I updated the configuration format to allow multiple homes.


#357

@yan I was thinking about it, but the solution was in the new topic added by @Baosong_Shan, thanks man!


#359

hi there,
i have followed procedure to configure netatmo2 climate and seems that is not working, here my log:

ImportError: cannot import name 'STATE_HEAT' from 'homeassistant.components.climate' (/usr/local/lib/python3.7/site-packages/homeassistant/components/climate/__init__.py)
2019-03-15 18:44:52 ERROR (SyncWorker_7) [homeassistant.loader] Unable to find platform netatmo2. Search path was limited to path of component: custom_components
2019-03-15 18:44:52 WARNING (SyncWorker_7) [homeassistant.helpers.config_validation] Your configuration contains extra keys that the platform does not support.
Please remove [name]. 

im working with a docker of home assistant.


#360

#361

A question from a total newbie:
Does one have to bye the starter kit with bridge, for starters ?
https://shop.netatmo.com/dkk_dk/starter-pack.html
I will only use radiator valves, as of our building has district heating


#362

As far as I’ve seen, yes, the valves only communicate with the bridge and you connect to the bridge, same as the thermostat only communicates with its (yet another) bridge and you connect to its bridge.


#363

@johnflorin Thanks for the reply.