Post by wolf on Jul 8, 2019 9:43:49 GMT -8
I'm wondering what the reason is for not including a RTC in SkyWeather? I understand it was including in the grove package?
Is it possible somehow to wait for the NTP to have updated the time? Or might this increase startup to be to slow for the watchdog timer?
As it is now I get strange time values if I start the SkyWeather software directly (and of course no jobs work, since the next run time is screwed up):
And after a restart of the code it works fine:
Is it possible somehow to wait for the NTP to have updated the time? Or might this increase startup to be to slow for the watchdog timer?
As it is now I get strange time values if I start the SkyWeather software directly (and of course no jobs work, since the next run time is screwed up):
Scheduled Jobs
-----------------
Jobstore default:
patTheDog (trigger: interval[0:00:10], next run at: 2016-11-03 18:18:10 CET)
checkForButtons (trigger: interval[0:00:10], next run at: 2016-11-03 18:18:10 CET)
sampleAndDisplay (trigger: interval[0:00:30], next run at: 2016-11-03 18:18:30 CET)
tick (trigger: interval[0:01:00], next run at: 2016-11-03 18:19:00 CET)
updateRain (trigger: interval[0:05:00], next run at: 2016-11-03 18:23:00 CET)
checkForShutdown (trigger: interval[0:05:00], next run at: 2016-11-03 18:23:00 CET)
takeSkyPicture (trigger: interval[0:10:00], next run at: 2016-11-03 18:28:00 CET)
statusAM2315 (trigger: interval[0:15:00], next run at: 2016-11-03 18:33:00 CET)
doAllGraphs (trigger: interval[0:15:00], next run at: 2016-11-03 18:33:00 CET)
barometricTrend (trigger: interval[0:15:00], next run at: 2016-11-03 18:33:00 CET)
read_AQI (trigger: interval[0:15:00], next run at: 2016-11-03 18:33:00 CET)
WLAN_check (trigger: interval[0:30:00], next run at: 2016-11-03 18:48:00 CET)
statusRain (trigger: interval[1:00:00], next run at: 2016-11-03 19:18:00 CET)
rebootPi (trigger: cron[day='5-30/5', hour='0', minute='4'], next run at: 2016-11-05 00:04:00 CET)
And after a restart of the code it works fine:
Scheduled Jobs
-----------------
Jobstore default:
patTheDog (trigger: interval[0:00:10], next run at: 2019-07-08 19:54:47 CEST)
checkForButtons (trigger: interval[0:00:10], next run at: 2019-07-08 19:54:47 CEST)
sampleAndDisplay (trigger: interval[0:00:30], next run at: 2019-07-08 19:55:07 CEST)