Testers needed for Netatmo climate (multiple thermostats or valves)


#65

Hi,

Now i have 1 thermostat, and soon will have 3 valves.

Once i have it, i will test this custom component, and i will say!


#66

@gieljnssns any news about this component?


#67

It seems this project is pretty much dead because @gieljnssns didn’t answer since 4th July :disappointed_relieved:
Would be a pitty if we couldn’t integrate our Netatmo valves into HA this winter, but I guess it’s hard to find someone who is able and willing to develop this component.


#68

I’ve had some very busy summer…

The problem is;
My knowledge from python is limited.
The first Netatmo thermostat component is made with trail and error.
I have one thermostat, so every small change I’ve made, I could test it immediately.
Since I don’t have access to two or more thermostats or even a single valve, I have to wait to long for every small change I make.

I hope there will be someone with better python knowledge , or access to multiple devices who can finish this…

Sorry guys


#69

Hi to everyone,

Recently i received my 3 valves and want try ir to HA with my thermostat but doesn’t work anything.

I’m using HA .077.3

imagen

My configuration is this one:

netatmo:
  api_key: !secret netatmo_api_key
  secret_key: !secret netatmo_secret_key
  username: !secret netatmo_username
  password: !secret netatmo_password

netatmo2:
  api_key: !secret netatmo2_api_key
  secret_key: !secret netatmo2_secret_key
  username: !secret netatmo2_username
  password: !secret netatmo2_password
  discovery: False  

and climate file this:

#- platform: netatmo
#  relay: relay_T
#  thermostat:
#    - Termostato

- platform: netatmo2

I just see the Thermostat and any valve. In logs, i obtain this:

2018-10-21 13:24:06 ERROR (MainThread) [homeassistant.components.climate] netatmo2: Error on device update!
Traceback (most recent call last):
File “/usr/src/app/homeassistant/helpers/entity_platform.py”, line 251, in _async_add_entity
await entity.async_device_update(warning=False)
File “/usr/src/app/homeassistant/helpers/entity.py”, line 353, in async_device_update
yield from self.hass.async_add_job(self.update)
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/config/custom_components/climate/netatmo2.py”, line 259, in update
self._data.update()
File “/usr/src/app/homeassistant/util/init.py”, line 325, in wrapper
result = method(*args, **kwargs)
File “/config/custom_components/climate/netatmo2.py”, line 339, in update
self.target_temperature = self.homestatus.setPoint(rid=self.room_id)
File “/config/deps/lib/python3.6/site-packages/netatmo_home/Thermostat.py”, line 201, in setPoint
setpoint = room_data[‘therm_setpoint_temperature’]
KeyError: ‘therm_setpoint_temperature’
2018-10-21 13:24:11 ERROR (MainThread) [homeassistant.components.camera] Error while setting up platform netatmo
Traceback (most recent call last):

And in detected current entities as you can see only thermostat:

imagen

I delete all files as few post above sayd:

[email protected]:/config/deps/lib/python3.6/site-packages# rm lnetatmo*
[email protected]:/config/deps/lib/python3.6/site-packages# rm -R lnetatmo-0.9.3.dist-info/
[email protected]:/config/deps/lib/python3.6/site-packages# rm -R netatmo_home/
[email protected]:/config/deps/lib/python3.6/site-packages# ls -la

-rwxr-xr-x 1 root root 4561 Oct 21 13:24 lnetatmo.cpython-36.pyc

What else i need to do to see 1 valve or better all ones?

thanks


#70

I have configure 3 thermostat.
Work perfect with this confirguration.

netatmo:
  api_key: !secret netatmo_api
  secret_key: !secret netatmo_secret
  username: !secret mail 
  password: !secret password
  discovery: False
climate:
  - platform: netatmo
    relay: 1
    thermostat:
    - Bedroom
  - platform: netatmo
    relay: 2
    thermostat:
    - Bedroom2
  - platform: netatmo
    relay: 3
    thermostat: 
    - Bedroom3

Bye ALL!


#71

Do you have 3 thermostats (cube like) or do you have valves?

I have one thermostat and 3 valves and would be glad to add the valves to ha.


#72

The problem is valve + thermostat.
Bye


#73

Hi,

My experience with this component using: 1 thermostat + 8 valves is that works fine.

There is a comment in GitHub about tabulation bug in line +75 in netatmo2.py file, that should be considered to get all netatmo valves in HA.

Thanks @gieljnssns !!! You should add this module to HA with a pull request …


#74

I’ve changed my gist…


#75

hey,

I was with mmornati (the one that made the comment on github) playing with your script when we found the tabulation error…by fixing this you re now adding all entities in your script but unfortunately all the informations attached to the first entity added, is added to all entities.

Plus there is bit of interesting info in the API to get (boiler_valve_comfort_boost, battery, …)…we gonna try to take a look later also

Thx anyway for the job done. I really feel you re not far from getting done !


#76

I’d like to confirm that, I can see all my valves but all get the same values from the wirst entity. Also controlling one of the valves only controls the first one.


#77

That’s the same behavior of multiple thermostat


#78

So, is this Component dead already?

I have the same problems as everyone. I see my 2 Valves (Name), but the attributes are bothh from the first one (ID, Room ID, Temperatures). So it’s pretty useless at the moment:(


Best thermostat+valves system
#79

yes, unless somebody that knows how to code, is going to fix it


#80

I’m also waiting on this…:slight_smile:


#81

#Metoo :smiley:


#82

Hi,

I think i found the problem.

In line 69 you get a list of roomdata.
In line 70 you have a loop at room_names, but not on room data.
so in line 75 you add room_names of the loop and room_data, which isn’t looped. Thats why only the data of the first entry is shown.
If you change the loop in 70 to room_data, so that you loop on every single room, and you add a line where you get the room_name out of the looped room_data, than it should work.


#83

Care to share the fixed code? I get what you are saying but I lack any python skills to fix it.


#84

I am sure is something (relatively) simple. I can’t code, but I have 2 thermostat and I can check if it works, if you can instruct me how to put the corrected code