Created At
Apr 26, 2020
Created At
Apr 26, 2020
Last Update
Sep 30, 2022
Platforms
HC 3 Lite, Z-box Hub, Yubii Home Pro, Yubii Home, Venture WISE, HC 3
Views
29522
Download
4423
QuickApp module to integrate of Netatmo climate devices.
It has support for Main module, Outdoor modules and Indoor modules, Rain gauge and Smart anemometer. It creates child devices (Temperature Sensors, Humidity Sensors, CO2 Sensors, Pressure Sensors, Noise sensors, Rain and Wind sensors) automatically based on information gathered from Netatmo API.
To use it you need to import attached .fqa file into HC3 and provide tokens (access_token and refresh_token) from Netatmo API. To generate these tokens please visit site https://gsmart.pl/netatmo/ and follow instructions.
Other variables:
These values are in "Variables" tab on imported device. Click on Pencil, fill data for corresponding variables and click "Save". After that you need to create child devices. To do that you have to go to the "Edit & Preview" tab and click on "Get Devices" button.
If tokens are ok after few seconds you should have created all linked devices for found Netatmo modules. Values for these devices are refreshed every 10s after values updated in Netatmo cloud (more or less at 10min period). QA also has a "Get Measurements" button to manually refresh data.
Important note: 5.030 or newer firmware version on HC3 is needed.
Changelog:
v2.6 - 09/2022 (GSmart)
v2.5.1 - 03/2021 (GSmart+Lazer)
v2.5 - 07/2020 (Lazer)
v2.4 - 07/2020 (Lazer)
v2.3 - 06/2020 (Lazer)
v2.2 - 06/2020 (GSmart)
v2.1 - 05/2020 (GSmart)
v2.0 - 04/2020 (GSmart)
v1.1 - 04/2020 (GSmart)
v1.0 - 04/2020 (GSmart)
I have loaded the QA, but the variables do not appear. I have HC3 ver. 5,160
Hi, with a reset client_id an new token (refresh and acsess) the requests work fine in 4 hours and after fail with Response: {"status":1,"headers":{},"data":"HTTP\/1.1 400\r\nServer: nginx\r\nDate: Fri, 28 Jun 2024 12:46:00 GMT\r\nContent-Type: application\/json\r\nTransfer-Encoding: chunked\r\nConnection: close\r\nExpires: 0\r\nCache-Control: no-cache, must-revalidate\r\nX-XSS-Protection: 1; mode=block\r\nAccess-Control-Allow-Origin: *\r\nStrict-Transport-Security: max-age=31536000; includeSubDomains\r\nX-Powered-By: Netatmo\r\n\r\n19\r\n{\"error\":\"invalid_grant\"}\r\n0\r\n\r\n"} So the refresh_token and access token hasn't changed and the API interface Netatmo fail with the same error. Thank's Sébastien
Hi, for some time token refresh requests have been returning with "wrong status 1" due to an invalid_grant error. I just changed the client id of my Netatmo API to see if that fixes the situation and on the Netamo page there is also a notice in red on their pages. I think they have a problem with authentication... I will come back to tell you if resetting keys solved the problem. THANKS Seb
Hi, thanks for the response. I got the message: "Wrong status '1' in response! Check credentials." Everything was configured correctly, but it doesn't work. I also tried your website to generate a new refresh token, but again the same error message. Now I did a reset of all account information on dev.netatmo.com. With a new client id, client secret and refresh token it worked. I don't know why, but it doen't matter. Thanks!
It doesn't work with HC# ver 5.161.15. Any ideas ?