Netatmo Thermostat (Radiator Valves) not detected (0.63.3)

I have just installed a Netatmo Relay and 2 Thermostats, and added the following to configuration.yaml

Climate.
  - platform: netatmo

The netatmo component is already configured, and has found both the Weather Station and the Welcome camera, so the component works.
But no matter what I have tried, the Thermostats are not found, and there is nothing in the error log.
Any clues on what I could try? Or is this a bug?

Running Home Assistant 0.63.3

Bjarne

1 Like

Update: I thought my components were called Thermostats, but it turns out that Netatmo calls them Radiator Valves
I guess these are so new that they are not supported at the moment. Any change they can be in the future?

Yes me too, i hope the valves will soon be supported by hassio. Netatmo just released the APIs for the valves here : https://dev.netatmo.com/resources/technical/reference/energy

if a developer goes through here… :yum:

Thnks

i would be interested too

I would be interested too. Also the old API is depricated, so it will be necessary to reimplement the new API soon. I tried to figure it out, but the changes of the API are so massive that my very limited python abilities aren’t enough.

Is there any news around this topic? I really miss this in HA.

Sincerely

me too! + 1 for this request

I had some time, and I’ve tried to rewrite the netatmo-api for the new Energy API.
I only have 1 Thermostat, no valves.

If someone can test this:
Make a custom_components folder in /config
place this file in the folder https://gist.github.com/gieljnssns/9406291de78d19a8732b2dab6ac2a813
Make a climate folder in the custom_components folder and place this file in there https://gist.github.com/gieljnssns/4ff4d0d5548c614c548de8b77dcd11d2
Make another app in https://dev.netatmo.com/myaccount/
In your configuration.yaml:

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

climate:
  - platform: netatmo2

Please report what’s working and what’s not.

Hi,
Just tried it on 0.71. I get errors on all components. In my Netatmo config I have both Weather Items, Cameras and 2 Valves (But no Thermostat). But it fails on all of them.
here is the first error in the Log file. (Let me know if you need more)

Thu Jun 28 2018 19:47:43 GMT+0200 (Central European Summer Time)

netatmo2: Error on device update!
Traceback (most recent call last):
File “/usr/src/app/homeassistant/helpers/entity_platform.py”, line 244, in _async_add_entity
await entity.async_device_update(warning=False)
File “/usr/src/app/homeassistant/helpers/entity.py”, line 327, 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 245, in update
self._data.update()
File “/usr/src/app/homeassistant/util/init.py”, line 319, in wrapper
result = method(*args, **kwargs)
File “/config/custom_components/climate/netatmo2.py”, line 329, in update
self.boilerstatus = self.homestatus.boilerStatus()
File “/config/deps/lib/python3.6/site-packages/netatmo_home/Thermostat.py”, line 280, in boilerStatus
relay_status = self.thermostatById(rid=None)
File “/config/deps/lib/python3.6/site-packages/netatmo_home/Thermostat.py”, line 203, in thermostatById
return self.default_thermostat
AttributeError: ‘HomeStatus’ object has no attribute ‘default_thermostat’

You can have another try.
But I think you better update to 0.72 first
Custom climate component for testing new Netatmo Energy API on HA +0.72
I have changed the custom climate component and the lnetatmo dep.
So replace the custom climate component by this: https://gist.github.com/gieljnssns/4ff4d0d5548c614c548de8b77dcd11d2
delete the deps/lnetatmo and deps/netatmo_home files
and reboot

@eroux02
@HAnoob
@mspinolo
@Gummientchen
I made a new topic:
Please report in this topic Testers needed for Netatmo climate (multiple thermostats or valves)

Just wondering if this (the valves) ever got implemented in the latest HA?

Valves are supported for quite a while.

1 Like