Netatmo plugin: bad request
-
El_Viejo
- Forecaster

- Posts: 105
- Joined: Wed Sep 11, 2019 3:56 pm
- Location: Derio - Bizkaia - Spain
- Station model: Ecowitt - Netatmo
Netatmo plugin: bad request
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.
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.
-
El_Viejo
- Forecaster

- Posts: 105
- Joined: Wed Sep 11, 2019 3:56 pm
- Location: Derio - Bizkaia - Spain
- Station model: Ecowitt - Netatmo
Re: Netatmo plugin: bad request
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.
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.
-
cryoxdsl
- Newbie

- Posts: 8
- Joined: Wed Jan 10, 2018 10:29 pm
- Location: Meyreuil, France
- Station model: Netatmo
- Software: API
- Contact:
Re: Netatmo plugin: bad request
Hello, we have initiated a similar discussion on this topic at the following link: viewtopic.php?t=2403
-
El_Viejo
- Forecaster

- Posts: 105
- Joined: Wed Sep 11, 2019 3:56 pm
- Location: Derio - Bizkaia - Spain
- Station model: Ecowitt - Netatmo
Re: Netatmo plugin: bad request
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
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
-
FSC830
- Forecaster

- Posts: 195
- Joined: Thu Aug 02, 2018 11:40 am
- Station model: Davis Vantage Pro2
- Software: Meteobridge
Re: Netatmo plugin: bad request
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
Regards
-
Julius
- Advisor

- Posts: 91
- Joined: Fri Sep 24, 2021 10:41 pm
- Station model: Barani MeteoHelix
- Software: meteobridge
Re: Netatmo plugin: bad request
This has nothing to do with php 8. Most of us are still using MT with php 7.4.
-
FSC830
- Forecaster

- Posts: 195
- Joined: Thu Aug 02, 2018 11:40 am
- Station model: Davis Vantage Pro2
- Software: Meteobridge
Re: Netatmo plugin: bad request
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.
This is only to mention, that Jachym is may be busy with the PHP8 conversion and that other things are postponed.
-
Julius
- Advisor

- Posts: 91
- Joined: Fri Sep 24, 2021 10:41 pm
- Station model: Barani MeteoHelix
- Software: meteobridge
Re: Netatmo plugin: bad request
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
Back to weewx: https://github.com/matthewwall/weewx-netatmo/issues/21
Last edited by Julius on Wed Dec 06, 2023 12:32 pm, edited 1 time in total.
Re: Netatmo plugin: bad request
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.
-
El_Viejo
- Forecaster

- Posts: 105
- Joined: Wed Sep 11, 2019 3:56 pm
- Location: Derio - Bizkaia - Spain
- Station model: Ecowitt - Netatmo
Re: Netatmo plugin: bad request
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.
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.
- tobydude
- Forecaster

- Posts: 206
- Joined: Sun Jan 07, 2018 6:43 pm
- Location: Norway
- Station model: Netatmo
- Software: Weatherdiaplay
- Contact:
Re: Netatmo plugin: bad request
My website has been "down" for several monts. Netatmo doesn´t work anymore.
Still Waiting for a fix.
Still Waiting for a fix.
- tobydude
- Forecaster

- Posts: 206
- Joined: Sun Jan 07, 2018 6:43 pm
- Location: Norway
- Station model: Netatmo
- Software: Weatherdiaplay
- Contact:
Re: Netatmo plugin: bad request
From each user?
-
davidefa
- Expert

- Posts: 905
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: Netatmo plugin: bad request
Yes, I'm working on it ( I received the credentials from El_Viejo ).
It should be ready next week...
It should be ready next week...
-
El_Viejo
- Forecaster

- Posts: 105
- Joined: Wed Sep 11, 2019 3:56 pm
- Location: Derio - Bizkaia - Spain
- Station model: Ecowitt - Netatmo
Re: Netatmo plugin: bad request (solution)
Solved.
See the thread http://www.meteotemplate.com/forum/viewtopic.php?t=2445
Thank you very much Davide.
See the thread http://www.meteotemplate.com/forum/viewtopic.php?t=2445
Thank you very much Davide.
