Meteotemplate doesnt update temeperature.

Post Reply
User avatar
tobydude
Forecaster
Forecaster
Posts: 206
Joined: Sun Jan 07, 2018 6:43 pm
Location: Norway
Station model: Netatmo
Software: Weatherdiaplay
Contact:

Meteotemplate doesnt update temeperature.

Post by tobydude » Thu Jul 13, 2023 5:32 pm

Hi.
I canged battery in the Netatmo out module and after that, my weather program (Weatherdisplay) does not update the temperature. The Netatmo webpage is updating thou, but not weather display.
So the webpage (Meteotemplate) shows the same temperature all the time. (22.9)
I have restarted the main indor mudule but it did not help.
Any ideas?

Julius
Advisor
Advisor
Posts: 91
Joined: Fri Sep 24, 2021 10:41 pm
Station model: Barani MeteoHelix
Software: meteobridge

Re: Meteotemplate doesnt update temperature.

Post by Julius » Thu Jul 13, 2023 9:53 pm

Same here. This has nothing to do with a battery change.
For me it also suddenly stopped working with MT.
NetAtmo itself shows all data just fine, so it must have something to do with the way the plugin gets the data.

I noticed cURL says:

An error happened while trying to retrieve your tokens: bad request

Which is why it's no longer updating the values, most likely. No idea why it throws this error now. Probably an update here or there.
Last edited by Julius on Fri Jul 14, 2023 9:06 am, edited 1 time in total.
Image

User avatar
tobydude
Forecaster
Forecaster
Posts: 206
Joined: Sun Jan 07, 2018 6:43 pm
Location: Norway
Station model: Netatmo
Software: Weatherdiaplay
Contact:

Re: Meteotemplate doesnt update temeperature.

Post by tobydude » Fri Jul 14, 2023 5:01 am

Thanks for answer.
I was also thinking it could have something with the API , to do.

User avatar
tobydude
Forecaster
Forecaster
Posts: 206
Joined: Sun Jan 07, 2018 6:43 pm
Location: Norway
Station model: Netatmo
Software: Weatherdiaplay
Contact:

Re: Meteotemplate doesnt update temeperature.

Post by tobydude » Fri Jul 14, 2023 7:02 am

Julius wrote: Thu Jul 13, 2023 9:53 pm

Which is why it;s no longer updating the values, most likely.
When I compare the NetAtmo webpage and my weaterstation webpage (meteotemplate), I dont think any of the valuses are updated. (TEMPERATURE, HUMIDITY and PRESSURE).

Somthing is definitively wrong.

Perhaps the script author can help. :)

Julius
Advisor
Advisor
Posts: 91
Joined: Fri Sep 24, 2021 10:41 pm
Station model: Barani MeteoHelix
Software: meteobridge

Netatmo api stopped functioning

Post by Julius » Fri Jul 14, 2023 9:02 am

Looking at other 3rd party connections with netatmo, it must be a failure at netatmo, because the others are also not getting their data from netatmo api anymore. Same time it started, at around 12:40 CET July 13th.
I've been trying to find out what's going wrong, but no solution yet. Changing the API key and pass, or renewing app at dev.netatmo made no difference.

I bet you it started because of the new TLS 3 model updates. Some huge changes in the way openssl handles SSL keys has occurred. I was forced to do a lot of work because of that myself for other services that stopped working as well. Super annoying timing. Who decides to update crucial endpoint security mid Summer?

Someone here in close contact with netatmo? To me they're not very responsive.
I tried updating the php sources, but that does not fix it either; https://github.com/Netatmo/Netatmo-API-PHP
Image

Julius
Advisor
Advisor
Posts: 91
Joined: Fri Sep 24, 2021 10:41 pm
Station model: Barani MeteoHelix
Software: meteobridge

Re: Meteotemplate doesnt update temeperature.

Post by Julius » Sun Jul 16, 2023 3:53 pm

Again, what total a-hole decides to do this mid July?
Have they ever heard about summer holidays?

https://forum.netatmo.com/viewtopic.php?t=21383
Image

cryoxdsl
Newbie
Newbie
Posts: 8
Joined: Wed Jan 10, 2018 10:29 pm
Location: Meyreuil, France
Station model: Netatmo
Software: API
Contact:

Re: Meteotemplate doesnt update temeperature.

Post by cryoxdsl » Mon Jul 17, 2023 8:42 am

Hello, do you have any news about the authentication update? Do you know if someone is going to update the plugin? :cry:

User avatar
tobydude
Forecaster
Forecaster
Posts: 206
Joined: Sun Jan 07, 2018 6:43 pm
Location: Norway
Station model: Netatmo
Software: Weatherdiaplay
Contact:

Re: Meteotemplate doesnt update temeperature.

Post by tobydude » Mon Jul 17, 2023 1:05 pm

cryoxdsl wrote: Mon Jul 17, 2023 8:42 am Hello, do you have any news about the authentication update? Do you know if someone is going to update the plugin? :cry:
I was hoping the author of Meteotemplate could look at this issue.

cryoxdsl
Newbie
Newbie
Posts: 8
Joined: Wed Jan 10, 2018 10:29 pm
Location: Meyreuil, France
Station model: Netatmo
Software: API
Contact:

Re: Meteotemplate doesnt update temeperature.

Post by cryoxdsl » Mon Jul 17, 2023 1:08 pm

There is a similar post here : viewtopic.php?t=2404

User avatar
tobydude
Forecaster
Forecaster
Posts: 206
Joined: Sun Jan 07, 2018 6:43 pm
Location: Norway
Station model: Netatmo
Software: Weatherdiaplay
Contact:

Re: Netatmo api stopped functioning

Post by tobydude » Mon Jul 17, 2023 1:11 pm

Julius wrote: Fri Jul 14, 2023 9:02 am

Someone here in close contact with netatmo? To me they're not very responsive.
I tried updating the php sources, but that does not fix it either; https://github.com/Netatmo/Netatmo-API-PHP
From the Netatmo page:
"##Updating to v2.x This release is a major update, and might break the compatibility with older versions. If you were using an older version of our SDK, you will have to stop using NAApiClient class and use either NAThermApiClient or NAWSApiClient instead.

As a matter of fact, those are adding an additional abstraction layer which will make it easier for you to use : API call using "api" client method are now replaced with dedicated methods along with the parameters they expect for each product API.

You also might need to change the include path of the SDK files as they are now stored in the "src" folder (API clients are stored in "src/Netatmo/Clients/" folder)."

Who can understand this? You need to be a scripter to solve this.

cryoxdsl
Newbie
Newbie
Posts: 8
Joined: Wed Jan 10, 2018 10:29 pm
Location: Meyreuil, France
Station model: Netatmo
Software: API
Contact:

Re: Meteotemplate doesnt update temeperature.

Post by cryoxdsl » Mon Jul 17, 2023 1:25 pm

The Netatmo plugin needs to be corrected to correspond to the new way of authenticating with an Authorization Code Grant type. The information is available here: https://dev.netatmo.com/apidocumentatio ... ation-code. It indeed requires knowledge and time to update the plugin.

User avatar
tobydude
Forecaster
Forecaster
Posts: 206
Joined: Sun Jan 07, 2018 6:43 pm
Location: Norway
Station model: Netatmo
Software: Weatherdiaplay
Contact:

Re: Meteotemplate doesnt update temeperature.

Post by tobydude » Mon Jul 17, 2023 1:59 pm

cryoxdsl wrote: Mon Jul 17, 2023 1:25 pm The Netatmo plugin needs to be corrected to correspond to the new way of authenticating with an Authorization Code Grant type. T
I think you are right.

Julius
Advisor
Advisor
Posts: 91
Joined: Fri Sep 24, 2021 10:41 pm
Station model: Barani MeteoHelix
Software: meteobridge

Re: Meteotemplate doesnt update temeperature.

Post by Julius » Mon Jul 17, 2023 6:49 pm

cryoxdsl wrote: Mon Jul 17, 2023 1:25 pm The Netatmo plugin needs to be corrected to correspond to the new way of authenticating with an Authorization Code Grant type. The information is available here: https://dev.netatmo.com/apidocumentatio ... ation-code. It indeed requires knowledge and time to update the plugin.
Yes. Strange is that they say they've omitted the username/password model, yet all their src files still have the username/password requirement included.
"Missing parameters, \"username\" and \"password\" are required"
netatmo are the weirdest developers I've ever encountered.

I've been trying to fix this, but this is beyond my free time now. I first have to decipher how MT handles this plugin and how the netatmo plugin has been designed the way it currently is.
Image

User avatar
tobydude
Forecaster
Forecaster
Posts: 206
Joined: Sun Jan 07, 2018 6:43 pm
Location: Norway
Station model: Netatmo
Software: Weatherdiaplay
Contact:

Re: Meteotemplate doesnt update temeperature.

Post by tobydude » Mon Jul 17, 2023 7:35 pm

I checked my netAtmo plugin and the folder was gone in my plugin directory.
I installed the netAtmo plugin again and made new Client ID and Client Secret.
But still nothing from Netatmo.
Check your netatmo folder in the plugins directory.

El_Viejo
Forecaster
Forecaster
Posts: 105
Joined: Wed Sep 11, 2019 3:56 pm
Location: Derio - Bizkaia - Spain
Station model: Ecowitt - Netatmo

Re: Meteotemplate doesnt update temeperature.

Post by El_Viejo » Tue Jul 18, 2023 8:15 pm

Mail 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.

User avatar
tobydude
Forecaster
Forecaster
Posts: 206
Joined: Sun Jan 07, 2018 6:43 pm
Location: Norway
Station model: Netatmo
Software: Weatherdiaplay
Contact:

Re: Meteotemplate doesnt update temeperature.

Post by tobydude » Tue Jul 18, 2023 10:09 pm

El_Viejo wrote: Tue Jul 18, 2023 8:15 pm Mail to Jachym

Good afternoon Jachym:

Could you please help me? Thank you very much.
Great. :)

Julius
Advisor
Advisor
Posts: 91
Joined: Fri Sep 24, 2021 10:41 pm
Station model: Barani MeteoHelix
Software: meteobridge

Re: Meteotemplate doesnt update temeperature.

Post by Julius » Tue Aug 22, 2023 3:25 pm

No news? OK, sorry but that's a no go for us. We're back to weewx. The netatmo changes have already been implemented there.
Image

User avatar
tobydude
Forecaster
Forecaster
Posts: 206
Joined: Sun Jan 07, 2018 6:43 pm
Location: Norway
Station model: Netatmo
Software: Weatherdiaplay
Contact:

Re: Meteotemplate doesnt update temeperature.

Post by tobydude » Thu Oct 26, 2023 7:03 am

Looks like Netatmo is communicating with WD again.
Thanks. :)

https://fjærvollan.no/template/indexDesktop.php

Julius
Advisor
Advisor
Posts: 91
Joined: Fri Sep 24, 2021 10:41 pm
Station model: Barani MeteoHelix
Software: meteobridge

Re: Meteotemplate doesnt update temeperature.

Post by Julius » Sun Dec 03, 2023 5:24 pm

WD ?
Image

User avatar
tobydude
Forecaster
Forecaster
Posts: 206
Joined: Sun Jan 07, 2018 6:43 pm
Location: Norway
Station model: Netatmo
Software: Weatherdiaplay
Contact:

Re: Meteotemplate doesnt update temeperature.

Post by tobydude » Mon Dec 04, 2023 10:34 am

Julius wrote: Sun Dec 03, 2023 5:24 pmWD ?
Weather Display
Software that communicate with my weatherstation , Netatmo, and send weather data to the Meteotemplate server, where my weather page is made.

https://www.weather-display.com

Post Reply