Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Received data: undefined - data only each hour #107

Closed
saint-hh opened this issue Feb 27, 2022 · 4 comments
Closed

Received data: undefined - data only each hour #107

saint-hh opened this issue Feb 27, 2022 · 4 comments

Comments

@saint-hh
Copy link

I, and also other users are facing a problem, that the data from Netatmo is coming only on a hourly basis.
Until a couple of days ago everything was fine. The data was coming in around every 10 minutes.
But since then, the data is coming in only around an hourly basis. Sometimes every 30 Minutes, this is not really constant. But mainly only every hour. I see that the ioBroker adapter is trying to receive data every 10 minutes (how it is set), but is mostly not getting any. This is what I see in the logs:

netatmo.0 2022-02-26 14:15:46.611 debug Received data: undefined

But my Netatmo station seems to be sending the data as usual every 10 minutes - I can see it in the apps on the smartphone.
I can see in the forums that I'm not alone, other users are facing the same problem (thread in German):
https://forum.iobroker.net/topic/52759/abfrage-netatmo-undefined

I need the data at least every 10 minutes, to steer my air ventilation system on basis of the Co2 data. Any help is greatly appreciated!

Adapter version: 1.4.4
JS-Controller version: 3.3.22
Node version: v14.19.0
Operating system: Raspbian Linux 10 / Linux 5.10.63-v7l+ auf armv7l

@robbsta
Copy link

robbsta commented Feb 27, 2022

Same Problem here.
For additional info i add an error log to netatmoStation.js .
The response from netatmo is "Application usage reached".

@saint-hh
Copy link
Author

Seems like bad news - Netatmo is cutting us short.
Any idea how to change the application ID?

@saint-hh
Copy link
Author

It seems that maik-0 from the iobroker forum found a solution:
https://forum.iobroker.net/post/770022
You need to create a ClientID and ClientSecret from netatmo. Then switch on the welcome camera in the adapter and fill in the ClientID and ClientSecret. After that, it seems to run smoothly again. You might switch off the welcome camera afterwards.

Proposal for the developer: as it seems that the API has changed for the weather stations, the ClientID and ClientSecret should also be mandatory for it.

@Apollon77
Copy link
Collaborator

Next version will limit update intervals for the "Adapter id/secret" to prevent such issues in future and allows to specifcy own id/secret also for normal use. Please check GitHub version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants