Community Support

Netatmo sync proble...
 

[This post is marked as unsolved] Netatmo sync problems  

  RSS
onpa
 onpa
(@onpa)
New Member

Hello, 

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. 

specs

  •   WordPress 5.6.2 (PHP 7.3.17 / MySQL 5.7.32).
  •  Weather Station 3.8.9 "Danakil"
Quote
Posted : 26/02/2021 9:52 pm
Topic Tags
onpa
 onpa
(@onpa)
New Member

I will reply myself. 

Problem is in Wordpress cron. 

I had to disable it and start using my web hosting timer to sync. 

check here

How to Disable WP-Cron (wp-cron.php) for Faster Performance (kinsta.com)

ReplyQuote
Posted : 27/02/2021 3:34 pm
Pierre Lannoy
(@pierre-lannoy)
Member Admin

Hello !

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

ReplyQuote
Posted : 18/03/2021 12:08 pm
Felskoch
(@felskoch)
New Member

Hello, very good plugin, has always worked flawlessly. But currently the data from my Netatmo station is only synchronized when I use the
/wp-admin/admin.php?page=lws-settings&tab=maintenance&action=sync-data
call.
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!

ReplyQuote
Posted : 17/01/2022 10:12 am
Felskoch
(@felskoch)
New Member

I forgot: Yes, I de-installed the plugin, deleted the tables in database and then re-installed the plugin totaly new. But: Same problems like before, no sync possible.

ReplyQuote
Posted : 17/01/2022 6:10 pm

To participate, please connect first!