Community Support

Netatmo sync proble...
 
Notifications
Clear all

[This post is marked as unsolved] Netatmo sync problems

5 Posts
3 Users
0 Reactions
2,643 Views
 onpa
(@onpa)
Posts: 3
New Member
Topic starter
 

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"
 
Posted : 26/02/2021 10:52 pm
Topic Tags
 onpa
(@onpa)
Posts: 3
New Member
Topic starter
 

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)

 
Posted : 27/02/2021 4:34 pm
Pierre Lannoy
(@pierre-lannoy)
Posts: 1338
Noble Member
 

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

 
Posted : 18/03/2021 1:08 pm
(@felskoch)
Posts: 2
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!

 
Posted : 17/01/2022 11:12 am
(@felskoch)
Posts: 2
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.

 
Posted : 17/01/2022 7:10 pm