--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
The RTC would 'fix the problem'. I just wish it was not necessary - if only the RPi could start, get its time via NTP and then start weeWX. And not get muddled.
Gary
--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/6zToC6kdfuU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+unsubscribe@googlegroups.com.
By default, Raspbian has that fake-hwclock thing enabled. To delete it (as Glenn said):sudo apt-get purge fake-hwclock
Raspbian initially is set up to get system time via systemd (ugh) but does 'not' have ntp installed. Poking around in /lib/systemd/system/systemd-timesyncd.service.d led me to a config file saying systemd timedatectl 'should' come up disabled if ntp is installed. Don't know if that's true. Personally I like disabling systemd stuff here just to know for certain.
To disable systemd timesync:sudo timedatectl set-ntp falseTo check the status of systemd timesync:pi@raspberrypi:~ $ timedatectl statusLocal time: Thu 2016-11-03 17:19:43 UTCUniversal time: Thu 2016-11-03 17:19:43 UTCRTC time: n/aTime zone: Etc/UTC (UTC, +0000)Network time on: noNTP synchronized: noRTC in local TZ: no
Now that the fake-hwclock is removed and systemd is out of the way, I powered off the system (sudo poweroff), unplugged the power, and powered the zero back up, and it comes up with an initial system date of Nov-13-2016 every time.
To enable ntp (the daemon) you need to add the package:sudo apt-get updatesudo apt-get install -y ntpsudo systemctl enable ntpsudo systemctl start ntpsudo ntpq -pnPower the system off again (sudo poweroff), unplug the power, and power it up yet again,
Basically ntp fires up right after the box is on the network successfully for my wifi case. It takes about 8 seconds here for ntp to complete its thing once it starts, which is about 30 seconds into the boot sequence here (take a little bit for the zero to boot and get wifi situated fully). So the total time on my wifi zero is about 35-40 seconds or so for the clock to get corrected on powerup.
Lastly just for grins I redid the 'how long does it take for time to be correct' test with ntp purged and systemd timedatectl enabled. Looks like it also tries to start in about 40 seconds or so, with some interesting syslog messages...
Nov 3 17:20:32 raspberrypi systemd-timedated[442]: Set NTP to enabledNov 3 17:20:32 raspberrypi systemd[1]: Starting Network Time Synchronization...Nov 3 17:20:32 raspberrypi systemd-timesyncd[469]: System clock time unset or jumped backwards, restoring from recorded timestamp: Tue 2018-06-26 16:04:35 UTCJun 26 16:04:35 raspberrypi systemd[396]: Time has been changedJun 26 16:04:35 raspberrypi systemd[1]: Started Network Time Synchronization.Jun 26 16:04:35 raspberrypi systemd[1]: Time has been changedJun 26 16:04:35 raspberrypi systemd[1]: apt-daily.timer: Adding 9h 52min 14.755890s random time.Jun 26 16:04:35 raspberrypi systemd[1]: apt-daily-upgrade.timer: Adding 4min 44.779491s random time.Jun 26 16:04:35 raspberrypi systemd[1]: Reached target System Time Synchronized.Jun 26 16:29:01 raspberrypi systemd-timesyncd[469]: Synchronized to time server 216.93.242.12:123 (0.debian.pool.ntp.org).Jun 26 16:29:01 raspberrypi systemd[396]: Time has been changedJun 26 16:29:01 raspberrypi systemd[1]: Time has been changed
Thanks, Vince, for your note. I am learning more (than I ever wanted to know, perhaps!) about the Raspberry Pi and Raspian. Tt looks like the time-setting process has some unexplained things going on. And what is it with 13 Nov 2016?!
Would it be worth posting your questions about the implementation of time setting....
pi@weatherpi:~ $ timedatectl status
Local time: Wed 2018-06-27 09:12:43 EDT
Universal time: Wed 2018-06-27 13:12:43 UTC
RTC time: n/a
Time zone: America/Toronto (EDT, -0400)
Network time on: no
NTP synchronized: yes
RTC in local TZ: no
+ # be sure that the system has a reasonable time (at least 1 jan 2000). | ||
+ # log any problems every minute. | ||
+ ts = time.time() | ||
+ n = 0 | ||
+ while ts < 946684800: | ||
+ if n % 120 == 0: | ||
+ syslog.syslog(syslog.LOG_INFO, | ||
+ "engine: waiting for sane time. current time is %s" | ||
+ % weeutil.weeutil.timestamp_to_string(ts)) | ||
+ n += 1 | ||
+ time.sleep(0.5) | ||
+ ts = time.time() | ||
+ | ||
If I just changed the time stamp to 16 June 2018 (for example). Would weeWX look at the Nov 2016 date and NOT run until the clock updated? The original 'wait until after 2000' was reasonable if the clock actually went back to 1970 but it is clear that it does not - at least in the current Stretch version of Raspian. Maybe modifying weeWX is easier than fiddling with Raspian. I have almost no Python experience but could I just use a text editor to replace that date code? (Hey, what could happen?! I suppose I can always re-install...)
Jun 27 10:55:08 weatherpi ntpd[340]: 206.108.0.131 local addr 192.168.1.19 -> <null>
statements are still appearing in the syslog at the rate of a couple every minute which bugs me. Eventually, this was logged:
Jun 27 10:58:34 weatherpi ntpd[340]: 144.217.65.183 local addr 192.168.1.19 -> <null>
Jun 27 10:59:48 weatherpi systemd[1]: Starting Cleanup of Temporary Directories...
Jun 27 10:59:49 weatherpi systemd[1]: Started Cleanup of Temporary Directories.
So, the statements stopped appearing - for about 7 minutes then on more appeared. Hmm. So far, it doesn't seem to affect the overall function of weeWX. Anybody know why these statements appear, then seem to stop only to start again later?
Here is a copy of the syslog, in case that helps:
pi@weatherpi:~ $ sudo tail -f /var/log/syslog
Jun 27 10:46:08 weatherpi weewx[417]: manager: Starting backfill of daily summaries
Jun 27 10:46:08 weatherpi weewx[417]: restx: StationRegistry: Registration not requested.
Jun 27 10:46:08 weatherpi weewx[417]: restx: Wunderground-PWS: Data for station IPRINCEE45 will be posted
Jun 27 10:46:08 weatherpi weewx[417]: restx: PWSweather: Posting not enabled.
Jun 27 10:46:08 weatherpi weewx[417]: restx: CWOP: Posting not enabled.
Jun 27 10:46:08 weatherpi weewx[417]: restx: WOW: Posting not enabled.
Jun 27 10:46:08 weatherpi weewx[417]: restx: AWEKAS: Posting not enabled.
Jun 27 10:46:08 weatherpi weewx[417]: engine: Starting up weewx version 3.8.0
Jun 27 10:46:08 weatherpi weewx[417]: engine: Clock error is -0.39 seconds (positive is fast)
Jun 27 10:46:08 weatherpi weewx[417]: engine: Starting main packet loop.
Jun 27 10:50:15 weatherpi weewx[417]: manager: Added record 2018-06-27 10:50:00 EDT (1530111000) to database 'weewx.sdb'
Jun 27 10:50:15 weatherpi weewx[417]: manager: Added record 2018-06-27 10:50:00 EDT (1530111000) to daily summary in 'weewx.sdb'
Jun 27 10:50:16 weatherpi weewx[417]: restx: Wunderground-PWS: Published record 2018-06-27 10:50:00 EDT (1530111000)
Jun 27 10:50:37 weatherpi weewx[417]: cheetahgenerator: Generated 14 files for report StandardReport in 20.82 seconds
Jun 27 10:50:40 weatherpi weewx[417]: imagegenerator: Generated 12 images for StandardReport in 2.81 seconds
Jun 27 10:50:40 weatherpi weewx[417]: copygenerator: copied 9 files to /var/www/html/weewx
Jun 27 10:55:08 weatherpi ntpd[340]: 206.108.0.131 local addr 192.168.1.19 -> <null>
Jun 27 10:55:47 weatherpi ntpd[340]: 209.115.181.108 local addr 192.168.1.19 -> <null>
Jun 27 10:55:47 weatherpi ntpd[340]: 206.108.0.133 local addr 192.168.1.19 -> <null>
Jun 27 10:56:48 weatherpi ntpd[340]: 149.56.47.60 local addr 192.168.1.19 -> <null>
Jun 27 10:57:23 weatherpi ntpd[340]: 209.115.181.107 local addr 192.168.1.19 -> <null>
Jun 27 10:57:26 weatherpi ntpd[340]: 206.108.0.132 local addr 192.168.1.19 -> <null>
Jun 27 10:57:51 weatherpi ntpd[340]: 144.217.65.182 local addr 192.168.1.19 -> <null>
Jun 27 10:58:05 weatherpi ntpd[340]: 192.95.27.155 local addr 192.168.1.19 -> <null>
Jun 27 10:58:34 weatherpi ntpd[340]: 144.217.65.183 local addr 192.168.1.19 -> <null>
Jun 27 10:59:48 weatherpi systemd[1]: Starting Cleanup of Temporary Directories...
Jun 27 10:59:49 weatherpi systemd[1]: Started Cleanup of Temporary Directories.
Jun 27 11:00:15 weatherpi weewx[417]: manager: Added record 2018-06-27 11:00:00 EDT (1530111600) to database 'weewx.sdb'
Jun 27 11:00:15 weatherpi weewx[417]: manager: Added record 2018-06-27 11:00:00 EDT (1530111600) to daily summary in 'weewx.sdb'
Jun 27 11:00:15 weatherpi weewx[417]: restx: Wunderground-PWS: Published record 2018-06-27 11:00:00 EDT (1530111600)
Jun 27 11:00:23 weatherpi weewx[417]: cheetahgenerator: Generated 14 files for report StandardReport in 8.16 seconds
Jun 27 11:00:35 weatherpi weewx[417]: imagegenerator: Generated 24 images for StandardReport in 11.44 seconds
Jun 27 11:00:35 weatherpi weewx[417]: copygenerator: copied 0 files to /var/www/html/weewx
Jun 27 11:06:57 weatherpi ntpd[340]: 159.203.8.72 local addr 192.168.1.19 -> <null>
Jun 27 11:10:15 weatherpi weewx[417]: manager: Added record 2018-06-27 11:10:00 EDT (1530112200) to database 'weewx.sdb'
Jun 27 11:10:15 weatherpi weewx[417]: manager: Added record 2018-06-27 11:10:00 EDT (1530112200) to daily summary in 'weewx.sdb'
Jun 27 11:10:16 weatherpi weewx[417]: restx: Wunderground-PWS: Published record 2018-06-27 11:10:00 EDT (1530112200)
Jun 27 11:10:24 weatherpi weewx[417]: cheetahgenerator: Generated 14 files for report StandardReport in 8.50 seconds
Jun 27 11:10:26 weatherpi weewx[417]: imagegenerator: Generated 12 images for StandardReport in 2.54 seconds
Jun 27 11:10:27 weatherpi weewx[417]: copygenerator: copied 0 files to /var/www/html/weewx
David
I just did a quick edit of the engine.py file, changing the 1 Jan 2000 date to 1 Jan 2018. It seems to work! Yahoo! Maybe a software solution is near. There are still a few odd bits.The strangeJun 27 10:55:08 weatherpi ntpd[340]: 206.108.0.131 local addr 192.168.1.19 -> <null>
remote refid st t when poll reach delay offset jitter==============================================================================-23.239.26.89 216.218.254.202 2 u 166 1024 337 71.975 2.606 0.873+162.210.110.4 216.218.254.202 2 u 874 1024 377 11.968 -0.179 0.628+104.236.116.147 128.59.0.245 2 u 564 1024 377 90.327 -2.113 2.336*198.60.22.240 .XMIS. 1 u 241 1024 337 44.195 0.569 0.415
--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
Try this version of engine.py.It will make sure that the system time is later than the creation time of the configuration file, weewx.conf, which should always be in the "recent past."
touch weewx.conf
--
How abouttouch weewx.conf
pi@weatherpi:/ $ sudo ntpq -pn
remote refid st t when poll reach delay offset jitter
==============================================================================
0.debian.pool.n .POOL. 16 p - 64 0 0.000 0.000 0.002
1.debian.pool.n .POOL. 16 p - 64 0 0.000 0.000 0.002
2.debian.pool.n .POOL. 16 p - 64 0 0.000 0.000 0.002
3.debian.pool.n .POOL. 16 p - 64 0 0.000 0.000 0.002
+158.69.226.90 213.251.128.249 2 u 316 1024 377 45.341 1.129 0.954
*198.100.148.213 129.6.15.30 2 u 410 1024 377 32.839 -0.371 0.672
+129.128.12.20 129.128.153.62 2 u 481 1024 377 71.355 -1.062 1.068
+208.81.1.244 216.218.254.202 2 u 267 1024 377 44.989 -0.273 1.187
-199.19.167.36 208.90.144.52 3 u 125 1024 377 32.509 3.559 2.988
+208.73.56.29 216.218.254.202 2 u 88 1024 377 93.979 -0.207 1.503
Does that make any sense to you?
David
I can imagine a failure mode where the creation timestamp for weewx.conf is somehow way in the future. In that case, 'touching' it would fix the problem.Are you seeing a mode that I'm not seeing?
pi@weatherpi:~ $ sudo tail -f /var/log/syslog
Jun 27 15:00:04 weatherpi systemd[1268]: Startup finished in 144ms.
Jun 27 15:00:04 weatherpi systemd[1]: Started User Manager for UID 1000.
Jun 27 15:00:16 weatherpi weewx[417]: manager: Added record 2018-06-27 15:00:00 EDT (1530126000) to database 'weewx.sdb'
Jun 27 15:00:16 weatherpi weewx[417]: manager: Added record 2018-06-27 15:00:00 EDT (1530126000) to daily summary in 'weewx.sdb'
Jun 27 15:00:16 weatherpi weewx[417]: restx: Wunderground-PWS: Published record 2018-06-27 15:00:00 EDT (1530126000)
Jun 27 15:00:39 weatherpi weewx[417]: cheetahgenerator: Generated 14 files for report StandardReport in 22.40 seconds
Jun 27 15:00:53 weatherpi ntpd[339]: 206.108.0.131 local addr 192.168.1.19 -> <null>
Jun 27 15:00:56 weatherpi ntpd[339]: 206.108.0.134 local addr 192.168.1.19 -> <null>
Jun 27 15:00:57 weatherpi weewx[417]: imagegenerator: Generated 36 images for StandardReport in 17.62 seconds
Jun 27 15:00:57 weatherpi weewx[417]: copygenerator: copied 9 files to /var/www/html/weewx
Jun 27 15:01:56 weatherpi ntpd[339]: 144.217.181.221 local addr 192.168.1.19 -> <null>
Jun 27 15:03:13 weatherpi ntpd[339]: 206.108.0.132 local addr 192.168.1.19 -> <null>
Jun 27 15:03:37 weatherpi ntpd[339]: 206.108.0.133 local addr 192.168.1.19 -> <null>
Jun 27 15:05:26 weatherpi ntpd[339]: 209.115.181.108 local addr 192.168.1.19 -> <null>
Jun 27 15:05:26 weatherpi systemd[1]: Starting Cleanup of Temporary Directories...
Jun 27 15:05:26 weatherpi systemd[1]: Started Cleanup of Temporary Directories.
Jun 27 15:06:28 weatherpi ntpd[339]: 158.69.125.231 local addr 192.168.1.19 -> <null>
Jun 27 15:07:38 weatherpi ntpd[339]: 144.217.65.184 local addr 192.168.1.19 -> <null>
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/6zToC6kdfuU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+unsubscribe@googlegroups.com.
Sadly, the funny ntpd statements are still appearing. If anyone has ideas how to get rid of them, let me know!
Jun 27 15:00:53 weatherpi ntpd[339]: 206.108.0.131 local addr 192.168.1.19 -> <null>
Jun 27 15:00:56 weatherpi ntpd[339]: 206.108.0.134 local addr 192.168.1.19 -> <null>
vince <vince...@gmail.com> writes:
> Boot that previously-working setup up and
> weewx will hang forever awaiting time.
Which is correct. When the time is set manually to close, it will be
fine. A computer with no RTC and no network for ntpd (and no GPS
receiver to set the time) just cannot correctly deal with logging data
with timetamps.
Jun 27 23:37:23 raspberrypi weewx[298]: imagegenerator: Generated 12 images for StandardReport in 4.87 secondsJun 27 23:37:23 raspberrypi weewx[298]: copygenerator: copied 0 files to /var/www/html/weewxJun 27 23:37:25 raspberrypi weewx[298]: manager: Unable to add record 2016-11-04 09:25:00 UTC (1478251500) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTimeJun 27 23:37:28 raspberrypi weewx[298]: manager: Unable to add record 2016-11-04 09:30:00 UTC (1478251800) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTimeJun 27 23:37:28 raspberrypi weewx[298]: engine: Launch of report thread aborted: existing report thread still runningJun 27 23:37:31 raspberrypi weewx[298]: manager: Unable to add record 2016-11-04 09:35:00 UTC (1478252100) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTimeJun 27 23:37:32 raspberrypi weewx[298]: engine: Launch of report thread aborted: existing report thread still running
Nov 3 13:16:57 weatherpi ntpd[333]: ntpd 4.2....@1.3728-o Sat Mar 10 18:03:33 UTC 2018 (1): Starting
Nov 3 13:16:57 weatherpi ntpd[333]: Command line: /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 111:118
Nov 3 13:16:57 weatherpi ntp[307]: Starting NTP server: ntpd.
Nov 3 13:16:57 weatherpi ntpd[339]: proto: precision = 2.000 usec (-19)
Nov 3 13:16:57 weatherpi ntpd[339]: Listen and drop on 0 v6wildcard [::]:123
Nov 3 13:16:57 weatherpi ntpd[339]: Listen and drop on 1 v4wildcard 0.0.0.0:123
Nov 3 13:16:57 weatherpi ntpd[339]: Listen normally on 2 lo 127.0.0.1:123
Nov 3 13:16:57 weatherpi ntpd[339]: Listen normally on 3 lo [::1]:123
Nov 3 13:16:57 weatherpi ntpd[339]: Listening on routing socket on fd #20 for interface updates
Nov 3 13:16:58 weatherpi ntpd[339]: error resolving pool 0.debian.pool.ntp.org: Temporary failure in name resolution (-3)
Nov 3 13:16:59 weatherpi ntpd[339]: error resolving pool 1.debian.pool.ntp.org: Temporary failure in name resolution (-3)
Nov 3 13:17:00 weatherpi ntpd[339]: error resolving pool 2.debian.pool.ntp.org: Temporary failure in name resolution (-3)
Nov 3 13:17:01 weatherpi ntpd[339]: error resolving pool 3.debian.pool.ntp.org: Temporary failure in name resolution (-3)
Nov 3 13:17:03 weatherpi ntpd[339]: bind(23) AF_INET6 fe80::2d44:5da4:e953:f7b%2#123 flags 0x11 failed: Cannot assign requested address
Nov 3 13:17:03 weatherpi ntpd[339]: unable to create socket on wlan0 (4) for fe80::2d44:5da4:e953:f7b%2#123
Nov 3 13:17:03 weatherpi ntpd[339]: failed to init interface for address fe80::2d44:5da4:e953:f7b%2
Nov 3 13:17:05 weatherpi ntpd[339]: Listen normally on 5 wlan0 [fe80::2d44:5da4:e953:f7b%2]:123
Nov 3 13:17:08 weatherpi ntpd[339]: Listen normally on 6 wlan0 192.168.1.19:123
Nov 3 13:18:05 weatherpi ntpd[339]: Soliciting pool server 174.94.155.224
Nov 3 13:18:05 weatherpi ntpd[339]: Soliciting pool server 206.108.0.133
Nov 3 13:18:05 weatherpi ntpd[339]: Soliciting pool server 144.217.65.184
Nov 3 13:18:06 weatherpi ntpd[339]: Soliciting pool server 207.210.46.249
Nov 3 13:18:06 weatherpi ntpd[339]: Soliciting pool server 144.217.65.183
Nov 3 13:18:06 weatherpi ntpd[339]: Soliciting pool server 198.100.148.213
Nov 3 13:18:07 weatherpi ntpd[339]: Soliciting pool server 199.182.221.110
Nov 3 13:18:07 weatherpi ntpd[339]: Soliciting pool server 209.115.181.108
Nov 3 13:18:07 weatherpi ntpd[339]: Soliciting pool server 209.115.181.107
Nov 3 13:18:08 weatherpi ntpd[339]: Soliciting pool server 129.128.12.20
Nov 3 13:18:08 weatherpi ntpd[339]: Soliciting pool server 144.217.245.233
Nov 3 13:18:08 weatherpi ntpd[339]: Soliciting pool server 206.108.0.134
Nov 3 13:18:08 weatherpi ntpd[339]: Soliciting pool server 206.108.0.131
Nov 3 13:18:09 weatherpi ntpd[339]: Soliciting pool server 206.108.0.132
Nov 3 13:18:09 weatherpi ntpd[339]: Soliciting pool server 2600:1f11:2f8:1000:d631:43d8:783:a196
Nov 3 13:18:10 weatherpi ntpd[339]: Soliciting pool server 144.217.181.221
Nov 3 13:18:11 weatherpi ntpd[339]: Soliciting pool server 158.69.125.231
Jun 27 14:51:51 weatherpi ntpd[339]: receive: Unexpected origin timestamp 0xdbc5efd5.be42de12 does not match aorg 0000000000.00000000 from ser...@207.210.46.249 xmt 0xdede5b47.4b93d852
Jun 27 14:51:51 weatherpi ntpd[339]: receive: Unexpected origin timestamp 0xdbc5efd5.be242345 does not match aorg 0000000000.00000000 from ser...@206.108.0.131 xmt 0xdede5b47.4c7c86ea
Jun 27 14:51:51 weatherpi ntpd[339]: receive: Unexpected origin timestamp 0xdbc5efd5.be3de158 does not match aorg 0000000000.00000000 from ser...@144.217.65.183 xmt 0xdede5b47.4e1db9aa
Jun 27 14:51:51 weatherpi ntpd[339]: receive: Unexpected origin timestamp 0xdbc5efd5.be4bcd9f does not match aorg 0000000000.00000000 from ser...@174.94.155.224 xmt 0xdede5b47.5080be89
Jun 27 14:51:51 weatherpi ntpd[339]: receive: Unexpected origin timestamp 0xdbc5efd5.be3808bf does not match aorg 0000000000.00000000 from ser...@209.115.181.108 xmt 0xdede5b47.4fb3ed7d
Jun 27 15:00:53 weatherpi ntpd[339]: 206.108.0.131 local addr 192.168.1.19 -> <null>
Jun 27 15:00:56 weatherpi ntpd[339]: 206.108.0.134 local addr 192.168.1.19 -> <null>
Jun 27 15:01:56 weatherpi ntpd[339]: 144.217.181.221 local addr 192.168.1.19 -> <null>
Jun 27 15:03:13 weatherpi ntpd[339]: 206.108.0.132 local addr 192.168.1.19 -> <null>
Jun 27 15:03:37 weatherpi ntpd[339]: 206.108.0.133 local addr 192.168.1.19 -> <null>
Jun 27 15:05:26 weatherpi ntpd[339]: 209.115.181.108 local addr 192.168.1.19 -> <null>
Jun 27 15:06:28 weatherpi ntpd[339]: 158.69.125.231 local addr 192.168.1.19 -> <null>
Jun 27 15:07:38 weatherpi ntpd[339]: 144.217.65.184 local addr 192.168.1.19 -> <null>
Jun 27 15:07:40 weatherpi ntpd[339]: 207.210.46.249 local addr 192.168.1.19 -> <null>
Jun 27 15:07:43 weatherpi ntpd[339]: 129.128.12.20 local addr 192.168.1.19 -> <null>
I have a couple like these and seem to work fine. Under a $1.
it will sleep for 59 seconds so that NTP is able catch up the time before weewx starts. As a failsafe I also updated engine.py to have sane timestamp of Jun 2018.
After few reboot tries it seems to be working ok i.e. ntp is able to update the time and weewx startup does not time out but is started succesfully. A longer sleep seems to time out the start procedure of weewx and it does not recover from that.
jaMO