Page 1 of 1

Meteotemplate doesnt update temeperature.

Posted: Thu Jul 13, 2023 5:32 pm
by tobydude
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?

Re: Meteotemplate doesnt update temperature.

Posted: Thu Jul 13, 2023 9:53 pm
by Julius
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.

Re: Meteotemplate doesnt update temeperature.

Posted: Fri Jul 14, 2023 5:01 am
by tobydude
Thanks for answer.
I was also thinking it could have something with the API , to do.

Re: Meteotemplate doesnt update temeperature.

Posted: Fri Jul 14, 2023 7:02 am
by tobydude
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. :)

Netatmo api stopped functioning

Posted: Fri Jul 14, 2023 9:02 am
by Julius
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

Re: Meteotemplate doesnt update temeperature.

Posted: Sun Jul 16, 2023 3:53 pm
by Julius
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

Re: Meteotemplate doesnt update temeperature.

Posted: Mon Jul 17, 2023 8:42 am
by cryoxdsl
Hello, do you have any news about the authentication update? Do you know if someone is going to update the plugin? :cry:

Re: Meteotemplate doesnt update temeperature.

Posted: Mon Jul 17, 2023 1:05 pm
by tobydude
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.

Re: Meteotemplate doesnt update temeperature.

Posted: Mon Jul 17, 2023 1:08 pm
by cryoxdsl
There is a similar post here : viewtopic.php?t=2404

Re: Netatmo api stopped functioning

Posted: Mon Jul 17, 2023 1:11 pm
by tobydude
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.

Re: Meteotemplate doesnt update temeperature.

Posted: Mon Jul 17, 2023 1:25 pm
by cryoxdsl
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.

Re: Meteotemplate doesnt update temeperature.

Posted: Mon Jul 17, 2023 1:59 pm
by tobydude
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.

Re: Meteotemplate doesnt update temeperature.

Posted: Mon Jul 17, 2023 6:49 pm
by Julius
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.

Re: Meteotemplate doesnt update temeperature.

Posted: Mon Jul 17, 2023 7:35 pm
by tobydude
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.

Re: Meteotemplate doesnt update temeperature.

Posted: Tue Jul 18, 2023 8:15 pm
by El_Viejo
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.

Re: Meteotemplate doesnt update temeperature.

Posted: Tue Jul 18, 2023 10:09 pm
by tobydude
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. :)

Re: Meteotemplate doesnt update temeperature.

Posted: Tue Aug 22, 2023 3:25 pm
by Julius
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.

Re: Meteotemplate doesnt update temeperature.

Posted: Thu Oct 26, 2023 7:03 am
by tobydude
Looks like Netatmo is communicating with WD again.
Thanks. :)

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

Re: Meteotemplate doesnt update temeperature.

Posted: Sun Dec 03, 2023 5:24 pm
by Julius
WD ?

Re: Meteotemplate doesnt update temeperature.

Posted: Mon Dec 04, 2023 10:34 am
by tobydude
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