Netatmo authentication changes Oct 2022

Moderator: leecollings

jpcasta
Posts: 18
Joined: Saturday 24 November 2018 18:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Netatmo authentication changes Oct 2022

Post by jpcasta »

Hello,
I updated Domoticz to 2025.1 beta 16657 and it works again for me!!
Thanks!
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Netatmo authentication changes Oct 2022

Post by pipiche »

Not working for me viewtopic.php?t=43457
and no idea on how to troubleshoot and understand the error message
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
Piacco
Posts: 70
Joined: Friday 14 November 2014 9:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Netatmo authentication changes Oct 2022

Post by Piacco »

I've updated to Version: 2025.1
Netamo works well, but after a several days domoticz is crashing.

What could be the cause of this, or better how can I solve this issue :D
Thread 40 (Thread 0x60fe9200 (LWP 20719) "Netatmo Weersta"):
#0 0x7691f034 in __GI___wait4 (pid=25931, stat_loc=0x60fe7bb8, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:27
#1 0x0076a13a in dumpstack_gdb(bool) ()
#2 0x0076a590 in signal_handler(int, siginfo_t*, void*) ()
#3 <signal handler called>
#4 raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#5 <signal handler called>
#6 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#7 0x76893364 in __GI_abort () at abort.c:79
#8 0x00c22060 in __gnu_cxx::__verbose_terminate_handler() ()
#9 0x00bc81e0 in __cxxabiv1::__terminate(void (*)()) ()
#10 0x00bc8236 in std::terminate() ()
#11 0x00bc815c in __cxa_throw ()
#12 0x00af1bac in Json::throwLogicError(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#13 0x00af3282 in Json::Value::asString[abi:cxx11]() const ()
#14 0x00963824 in CNetatmo::RefreshToken(bool) ()
#15 0x00971640 in CNetatmo::Do_Work() ()
#16 0x00c1dd42 in execute_native_thread_routine ()
#17 0x76a96310 in start_thread (arg=0x60fe9200) at pthread_create.c:477
#18 0x76957da8 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /lib/arm-linux-gnueabihf/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
homeJLB
Posts: 112
Joined: Tuesday 16 October 2018 23:01
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: Belgium
Contact:

Re: Netatmo authentication changes Oct 2022

Post by homeJLB »

There is a error in the json::throwLogicError, this needs some investigation.
homeJLB
Posts: 112
Joined: Tuesday 16 October 2018 23:01
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: Belgium
Contact:

Re: Netatmo authentication changes Oct 2022

Post by homeJLB »

On my system and on my test system it is still running.

I recommend to un-comment the line

Code: Select all

Debug(DEBUG_HARDWARE, "Response sResult %s", sResult.c_str());
and to start with option debug Hardware on to see what is happening wit your setup.
DomoFlits
Posts: 42
Joined: Thursday 06 October 2016 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: Bld16583
Location: The Netherlands
Contact:

Re: Netatmo authentication changes Oct 2022

Post by DomoFlits »

Hi
I've just received this email from Netatmo:
Netatmo API - API Domain Name Change

Dear Netatmo developer,
We hope this message finds you well.

We are writing to inform you of an upcoming change to our API domain configuration. As part of our ongoing efforts to streamline and improve our services, we will be retiring the domain api.netatmo.net and consolidating all API traffic under the existing domain api.netatmo.com.

Effective Date:September 8, 2025

To ensure uninterrupted service, we kindly ask you to update your applications to use api.netatmo.com exclusively before the above date. The structure and functionality of the API remain unchanged — only the domain name is affected.

Sincerely,

Legrand - Netatmo - Bticino
Can anyone comment on whether this will stop the Netatmo devices from working?
homeJLB
Posts: 112
Joined: Tuesday 16 October 2018 23:01
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: Belgium
Contact:

Re: Netatmo authentication changes Oct 2022

Post by homeJLB »

We use

Code: Select all

#define NETATMO_API_URI "https://api.netatmo.com/"
So this change in September should not effect the Plugin.

Kind regards
DomoFlits
Posts: 42
Joined: Thursday 06 October 2016 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: Bld16583
Location: The Netherlands
Contact:

Re: Netatmo authentication changes Oct 2022

Post by DomoFlits »

Thanks for the confirmation
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest