NetAtmo weather station and Welcome integration

Avatar
  • updated

I'm so happy about getting my NetAtmo integration working, that I wanted to share it with the rest of you people.


This is the device itself


All you need to do is enter the values for strings in the "Settings" section of the device, and you will immediately get the values from one indoor and one outdoor module (which is the typical starter package setup.)  If you have more stations and/or modules then you can easily access them by just duplicating the existing values under the "Weather Station" query and changing the instance number in their "Token name." 


For example: default indoor temperature value = body.devices[0].dashboard_data.Temperature

indoor temperature value for next weather station = body.devices[1].dashboard_data.Temperature


and for modules:


temperature of first module of first station = body.devices[0].modules[0].dashboard_data.Temperature

secondary module of first station = body.devices[0].modules[1].dashboard_data.Temperature


I've also included a WIP section for the NetAtmo Welcome camera. I have yet to figure out how to track persons per name, since their position in the table is always changing.


Avatar

Hello,

our distributors from Hungary published a new version of the Netatmo integration. Please check it out here:

https://www.comfortclick.com/BOS/Library/Devices/118

Avatar
Andrzej Szymkowicz

Is there any update on this issue?

Avatar
Joachim O

Netatmo log message:

Monitor : 03.03.2020 12:17:36 : General\Users\User : LastServerMessage : Devices : 03/03/2020 12:17:35 : Error : Devices\Netatmo : NotFound (404) GET: /api/getstationsdata?access_token=%0

I tried to download the example again and configure it. For some reason this gives me a "403" error. Not the 404 as above.

When trying to connect to yr.no's API I get a "error connecting to device" message.

Avatar
ComfortClick Support

Hello,

is it possible to provide the logs after the update with these connection errors?

Best regards.

Avatar
Joachim O

I have tried now with the alpha version. No change in the behaviour. Netatmo, tibber, yr.no is not working.

Avatar
Andrzej Szymkowicz

OK. When do you expect an official release with this update?

Avatar
Andrzej Szymkowicz

Is there any progress in resolving this issue? I have 5 customers who complain about that excluding me.

Avatar
Andrzej Szymkowicz

Hello,

In some other post I found that path shuldn't start with "/" so I changed the configuration but the problem still exists. In debug log there is only:

Avatar
ComfortClick Support

Hello,

we're investigating and trying to resolve the http connections and stability. Provided logs will help us regarding the current connection issue.

Best regards.

Avatar
Andrzej Szymkowicz

I also have a problem with Netatmo integration. I get error: "Devices : 15.12.2019 23:28:31 : Error : Devices\NetAtmo : Error connecting to device. Misused header name. Make sure request headers are used with HttpRequestMessage, response headers with HttpResponseMessage, and content headers with HttpContent objects. at System.Net.Http.Headers.HttpHeaders.CheckHeaderName(String name)
at System.Net.Http.Headers.HttpHeaders.Add(String name, String value)
at ComfortClick.Http.Driver.HttpDriver.d__10.MoveNext()"

It stoped to work after some CC upgrade - current verison: 4.6.24