[This post is marked as unsolved] Netatmo sync problems
I have problem with my Netatmo weather station and this plugin. I love this plugin, great work, but it doesnt synchronize well.
When I visit my webpage, it shows old measurements (few hours old), refreshing page doesnt help.
Daily measurements start with first page visit. Graphs are made only from measurements when someone visits page, daily max and min are usually same like actual temperature etc.
I think that plugin only resync with Netatmo servers when webpage is visited.
Is there any solution? Thx.
- WordPress 5.6.2 (PHP 7.3.17 / MySQL 5.7.32).
- Weather Station 3.8.9 "Danakil"
I will reply myself.
Problem is in Wordpress cron.
I had to disable it and start using my web hosting timer to sync.
And maybe here : https://weather.station.software/blog/how-to-get-up-to-date-weather-data/ 😉
If you like Weather Station, please consider to make a review to help make it known. That would be the best way to thank me...
Hello, very good plugin, has always worked flawlessly. But currently the data from my Netatmo station is only synchronized when I use the
Disabling WP-Cron and running wp-cron.php via external CRON service does not solve anything. Also enabling the "master of time" function does not bring the tab to set the interval. Only the above link fetches new data from my Netatmo station.
My website is protected via a .htuser-password prompt, so I can't invoke the command via a cron. It would have to run that query first, then the admin query, and then be able to successfully deploy the link.
It would be enough for me if the user of my website would click on a link that causes the synchronization as with the above link. But that can only be done as a logged in admin.... Does the function exist for non-logged in website visitors? Or is there a workaround?
I use WordPress 5.8.3 with the theme Sydney (other (default-)themes have the same problems) and Weather Station version is 3.8.11.
Thanks for helping me!