Page 1 of 1
Netatmo plugin: bad request
Posted: Fri Jul 14, 2023 4:02 pm
by El_Viejo
After more than two years working perfectly, something is wrong with the Netatmo plugin and the database is not updated.
As my configuration is unusual, I will detail it.
"Meteotemplate Papaya" is hosted on an Apache server installed on a Raspberry Pi and is only accessible from my LAN.
I use the Raspberry Pi 4B almost exclusively to access Meteotemplate and two other weather websites. Exceptionally, I browse other websites.
To access the Netatmo servers and update the database, I use a Chrome extension that automatically refreshes every 5 minutes. To do this, I connect to
http://rpimeteo/template/plugins/netAtm ... hp?pass=xx
For three days now, instead of the message "Success", the following appears: "An error happened while trying to retrieve your tokens: bad request".
I have consulted a lot of information, cleared browser history and cookies, Meteotemplate cache, created a new API in Netatmo, but I am not able to solve the problem.
Can anyone help me.
Thanks in advance.
Re: Netatmo plugin: bad request
Posted: Fri Jul 14, 2023 6:17 pm
by El_Viejo
Following my research on this matter I have found this
https://forum.netatmo.com/viewtopic.php?t=21387
It matches the date of occurrence of my problem. I will try to follow the instructions tomorrow, but it seems complicated for my limited knowledge.
Jachym can you check if it is necessary to update the plugin?
Thank you very much.
Re: Netatmo plugin: bad request
Posted: Mon Jul 17, 2023 6:46 pm
by cryoxdsl
Hello, we have initiated a similar discussion on this topic at the following link:
viewtopic.php?t=2403
Re: Netatmo plugin: bad request
Posted: Tue Jul 18, 2023 7:38 pm
by El_Viejo
Here is a copy of the email I sent to Jachym.
Good afternoon Jachym:
I have raised in the forum my problems with Netatmo data and so far I have had no answers.
http://www.meteotemplate.com/forum/viewtopic.php?t=2404
I think they are related to the new authentication procedure established by Netatmo.
I have checked on these two websites:
https://dev.netatmo.com/apidocumentatio ... ation-code
https://forum.netatmo.com/viewtopic.php?t=21387
I have performed numerous tests without success. The closest to a satisfactory result I have obtained with:
https://api.netatmo.com/oauth2/authoriz ... /127.0.0.1
It directed me to Netatmo's "External Applications" page, with this error message:
"Array is not an allowed scope for Papaya0723".
Could you please help me? Thank you very much.
Javier
Re: Netatmo plugin: bad request
Posted: Wed Jul 19, 2023 8:02 am
by FSC830
My guess: Jachym is currently working at the PHP8 compatibilty for the basic template, so it can last a while until all plugins/add-ons are modified.
Regards
Re: Netatmo plugin: bad request
Posted: Wed Jul 19, 2023 9:55 am
by Julius
FSC830 wrote: ↑Wed Jul 19, 2023 8:02 am
My guess: Jachym is currently working at the PHP8 compatibilty for the basic template, so it can last a while until all plugins/add-ons are modified.
This has nothing to do with php 8. Most of us are still using MT with php 7.4.
Re: Netatmo plugin: bad request
Posted: Wed Jul 19, 2023 10:37 am
by FSC830
I know that this has nothing to do with PHP8.
This is only to mention, that Jachym is may be busy with the PHP8 conversion and that other things are postponed.
Re: Netatmo plugin: bad request
Posted: Sun Aug 06, 2023 8:11 am
by Julius
Still no data from the plugin. Legrand/netatmo aren't changing this back either, so we're basically out of netatmo stations support.
Back to weewx:
https://github.com/matthewwall/weewx-netatmo/issues/21
Re: Netatmo plugin: bad request
Posted: Mon Aug 14, 2023 3:33 pm
by johnathan
From web development to mobile applications, MLSDev's
https://mlsdev.com versatility knows no bounds. Their expertise isn't confined to one platform; it's a harmonious blend of creativity, innovation, and adaptability. The way they seamlessly transition from brainstorming to coding, testing to launch, is akin to an artisan refining raw materials into a masterpiece.
Re: Netatmo plugin: bad request
Posted: Mon Oct 09, 2023 2:22 pm
by davidefa
I can update the netatmo plugin, but need valid netatmo credentials
Re: Netatmo plugin: bad request
Posted: Fri Oct 13, 2023 3:08 pm
by El_Viejo
I have always admired Jachym's work and dedication. It is very difficult to find examples of such generosity on the Internet.
Unfortunately, the changes put in place by Netatmo to access their servers have taken the template out of service for those of us who have that station.
I am aware of the difficulties of permanently adapting to changes in the network. In my opinion, it would be very convenient for Jachym to clarify if he considers possible to update the plugin to Netatmo's new requirements.
Apparently, others are managing to do so.
https://oe7drt.com/posts/2023-07-15-upd ... extension/
https://github.com/Buco7854/weewx-netatmo
https://indilib.org/forum/wish-list/291 ... tions.html
Thank you very much Jachym for your dedication.
Re: Netatmo plugin: bad request
Posted: Thu Oct 19, 2023 5:54 am
by tobydude
My website has been "down" for several monts. Netatmo doesn´t work anymore.
Still Waiting for a fix.

Re: Netatmo plugin: bad request
Posted: Thu Oct 19, 2023 5:56 am
by tobydude
davidefa wrote: ↑Mon Oct 09, 2023 2:22 pm
I can update the netatmo plugin, but need valid netatmo credentials
From each user?
Re: Netatmo plugin: bad request
Posted: Thu Oct 19, 2023 6:44 am
by davidefa
Yes, I'm working on it ( I received the credentials from El_Viejo ).
It should be ready next week...
Re: Netatmo plugin: bad request (solution)
Posted: Wed Oct 25, 2023 4:50 pm
by El_Viejo