Netatmo authentication changes Oct 2022
Moderator: leecollings
Re: Netatmo authentication changes Oct 2022
If a dev knows how to change the code, I can test it with my Netatmo account.
Raspbian Buster on Raspberry pi 3 B+ Domoticz Version: 2023.2 (build 15474)
Re: Netatmo authentication changes Oct 2022
Hello,
I have the same issue with Domoticz 2023.2
Many test with change of password with '!', '/', '+', '-' but always one autentification error : 2023-08-26 10:08:26.134 Error: Météo: No access granted, check username/password...
Any proposal ?
Thanks
Jean-Charles
I have the same issue with Domoticz 2023.2
Many test with change of password with '!', '/', '+', '-' but always one autentification error : 2023-08-26 10:08:26.134 Error: Météo: No access granted, check username/password...
Any proposal ?
Thanks
Jean-Charles
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Netatmo authentication changes Oct 2022
Changes are being discussed on GitHub. https://github.com/domoticz/domoticz/issues/5766
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Re: Netatmo authentication changes Oct 2022
We hope a quick solving, in advance thank to the development dream team.
And one day a local API to have an no-cloud solution ...
And one day a local API to have an no-cloud solution ...
-
- Posts: 49
- Joined: Tuesday 05 March 2019 16:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Netatmo authentication changes Oct 2022
Has anybody worked out a solution to the Netatmo authentication issue ? I was relying on my netatmo wind, rain, temp sensors for a number of automated tasks and i've lost all that up until i'm able to reconnect.
RFXCom, Somfy RTS, 433Mhz Lighting, Evohome, Smart watering via Netatmo, solenoid valves, soil humidity sensors, Airthings Radon via bluetooth, Marley heat recovery fresh air units, Blue Iris, Alexa via DA Bridge.
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Netatmo authentication changes Oct 2022
See the github issue, it seems quiet now.
also check topic viewtopic.php?t=40092 that has a dzvents solution in it for some setups.
also check topic viewtopic.php?t=40092 that has a dzvents solution in it for some setups.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- kiddigital
- Posts: 435
- Joined: Thursday 10 August 2017 6:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Netatmo authentication changes Oct 2022
A first Pull Request has been created to address the issue of authentication. Once it makes its way into the Beta, Netatmo owners can start testing it.
One RPi with Domoticz, RFX433e, aeon labs z-wave plus stick GEN5, ha-bridge 5.4.0 for Alexa, Philips Hue Bridge, Pimoroni Automation Hat
One RPi with Pi foundation standard touch screen to display Dashticz
One RPi with Pi foundation standard touch screen to display Dashticz
-
- Posts: 49
- Joined: Tuesday 05 March 2019 16:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Netatmo authentication changes Oct 2022
Great that it's moving. I had some dzvents scripts that used to work before but I just can't get anything to work anymore. Tried following the new examples but no luck.
RFXCom, Somfy RTS, 433Mhz Lighting, Evohome, Smart watering via Netatmo, solenoid valves, soil humidity sensors, Airthings Radon via bluetooth, Marley heat recovery fresh air units, Blue Iris, Alexa via DA Bridge.
- kiddigital
- Posts: 435
- Joined: Thursday 10 August 2017 6:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Netatmo authentication changes Oct 2022
Try Beta build 15535 (and up).
One RPi with Domoticz, RFX433e, aeon labs z-wave plus stick GEN5, ha-bridge 5.4.0 for Alexa, Philips Hue Bridge, Pimoroni Automation Hat
One RPi with Pi foundation standard touch screen to display Dashticz
One RPi with Pi foundation standard touch screen to display Dashticz
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Netatmo authentication changes Oct 2022
Instructions from the PR: https://github.com/domoticz/domoticz/pull/5815
step 1:
Setup an App under MyApps in the Netatmo developers portal
The Redirect_URI has to contain
Once configured correctly, the Client_ID and Client_Secret will be generated and shown.
step 2:
In the domoticz hardware setup:
This URL brings you to the My Netatmo page where you have to identify yourself and are asked for permission to grant access to certain devices and types (based on the scope provided).
After confirmation, your browser will try to redirect you to a page it cannot find so you will get an error. But the URL of that page is visible in the browser and looks like
You need to pass this SOMECODE as the password in the domoticz hardware screen.
NOTE:
At the moment, the scopes are fixed to read_station read_thermostat write_thermostat read_homecoach read_smokedetector read_presence read_camera
The <SOMECODE> you retrieved is only valid for a few minutes, so if you take too long and domoticz says (check the logs) it cannot login, retrieve a new code and be a little quicker
Wiki https://www.domoticz.com/wiki/Netatmo will be updated later (needs way more information I suppose....)
step 1:
Setup an App under MyApps in the Netatmo developers portal
The Redirect_URI has to contain
Code: Select all
http://localhost/netatmo
step 2:
In the domoticz hardware setup:
- Create/modify the Netatmo hardware
- the username should contain <client_id>:<client_secret>
- while the password should contain the retrieved <code>
Code: Select all
https://api.netatmo.com/oauth2/authorize?client_id=<YOURCLIENTID>&redirect_uri=http%3A%2F%2Flocalhost%2Fnetatmo&state=teststate&scope=read_station%20read_thermostat%20write_thermostat%20read_homecoach%20read_smokedetector%20read_presence%20read_camera
After confirmation, your browser will try to redirect you to a page it cannot find so you will get an error. But the URL of that page is visible in the browser and looks like
Code: Select all
http://localhost/netatmo?state=teststate&code=<SOMECODE>
NOTE:
At the moment, the scopes are fixed to read_station read_thermostat write_thermostat read_homecoach read_smokedetector read_presence read_camera
The <SOMECODE> you retrieved is only valid for a few minutes, so if you take too long and domoticz says (check the logs) it cannot login, retrieve a new code and be a little quicker
Wiki https://www.domoticz.com/wiki/Netatmo will be updated later (needs way more information I suppose....)
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Re: Netatmo authentication changes Oct 2022
Hello,
Now it is ready for me.
Many thanks for dev dreamteam !
Now it is ready for me.
Many thanks for dev dreamteam !
- kiddigital
- Posts: 435
- Joined: Thursday 10 August 2017 6:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Netatmo authentication changes Oct 2022
You mean it works for you? That is great!jcb2 wrote:Hello,
Now it is ready for me.
Many thanks for dev dreamteam !
What type of Netatmo devices do you have connected?
One RPi with Domoticz, RFX433e, aeon labs z-wave plus stick GEN5, ha-bridge 5.4.0 for Alexa, Philips Hue Bridge, Pimoroni Automation Hat
One RPi with Pi foundation standard touch screen to display Dashticz
One RPi with Pi foundation standard touch screen to display Dashticz
-
- Posts: 49
- Joined: Tuesday 05 March 2019 16:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Netatmo authentication changes Oct 2022
Hi! I've downloaded the beta and followed the instructions and everything so far is working great!
Thank you so much!
Claude
Thank you so much!
Claude
RFXCom, Somfy RTS, 433Mhz Lighting, Evohome, Smart watering via Netatmo, solenoid valves, soil humidity sensors, Airthings Radon via bluetooth, Marley heat recovery fresh air units, Blue Iris, Alexa via DA Bridge.
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Netatmo authentication changes Oct 2022
Wiki https://www.domoticz.com/wiki/Netatmo is now updated with new instructions.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 42
- Joined: Thursday 14 September 2023 19:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 16341
- Location: Stockholm
- Contact:
Re: Netatmo authentication changes Oct 2022
Hi,
Followed the instructions exactly, upgraded to Beta and I got 6 devices in total from my weather station!
And they even update every 5 minutes!
Thank you!
Followed the instructions exactly, upgraded to Beta and I got 6 devices in total from my weather station!
And they even update every 5 minutes!
Thank you!
-
- Posts: 53
- Joined: Tuesday 16 October 2018 23:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Contact:
Re: Netatmo authentication changes Oct 2022
I have made a new installation with docker and follow the instructions.
Now I see my 2 thermostat and the weather station, and they are updated.
But my homecoach and camera's with doorsensors and valve-thermostats and smoke-sensors are not shown?
I'm on Build 2023.2 15535
These are the only devices that show up in Domoticz I'm I doing something wrong? or do I miss something ?
when I log in to the Netatmo website I do have access to all the devices.
Now I see my 2 thermostat and the weather station, and they are updated.
But my homecoach and camera's with doorsensors and valve-thermostats and smoke-sensors are not shown?
I'm on Build 2023.2 15535
These are the only devices that show up in Domoticz I'm I doing something wrong? or do I miss something ?
when I log in to the Netatmo website I do have access to all the devices.
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Netatmo authentication changes Oct 2022
I am not sure all Netatmo devices are supported. The integration is not well documented.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 53
- Joined: Tuesday 16 October 2018 23:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Contact:
Re: Netatmo authentication changes Oct 2022
but the Netatmo.h uses the scope NETYPE_WEATHER_STATION = 0, NETYPE_HOMECOACH, NETYPE_ENERGY
so I suspect that the homecoach, weather station and thermostat with valves will work.
But for some reason on my setup the homecoach and the valves are not working.
so I suspect that the homecoach, weather station and thermostat with valves will work.
But for some reason on my setup the homecoach and the valves are not working.
-
- Posts: 11
- Joined: Wednesday 22 January 2020 10:07
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.2 -
- Location: French Riviera
- Contact:
Re: Netatmo authentication changes Oct 2022
I did the same, but still got "No access granted, check username/password..." with NetAtmo plugin
My domoticz version is 2023.2. Do u mean I have to use the beta version ?
Thanks
Version: 2023.2
-
- Posts: 11
- Joined: Wednesday 22 January 2020 10:07
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.2 -
- Location: French Riviera
- Contact:
Re: Netatmo authentication changes Oct 2022
Ok I reply to myself. It works with the beta version. Netatmo devices are added to domoticz. (I own only a complete weather station).
It seems ok. Just i got sometime the msg "No access granted, check username/password..." but NetAtmo devices are refreshed.
Version: 2023.2
Who is online
Users browsing this forum: No registered users and 0 guests