fiorenzo1963 / es100-wwvb-refclock

Shared memory NTP reference clock for Everset es100 WWVB receiver
Other
21 stars 3 forks source link

Question: #2

Open deanf5 opened 3 years ago

deanf5 commented 3 years ago

Hey fiorenzo1963,

I am trying to use WWVB using the es100 chip to synchronise the time on my RPi. I am not getting good reception from my desk but when I do get a full reception it does not update my system time.

In the Todo section of the readme file, it says it only considers the current time. Does this mean that if the system time is completely off, it will not synchronise the clock?

Thank you for your time.

mahtin commented 3 years ago

It's an ntpd thing. From its man page, see the -g option:

Normally, ntpd exits with a message to the system log if the offset exceeds the panic threshold, which is 1000 s by default. ...

Just do that once or set system time manually with date command.

BTW: reception could mean you're having to wait till the right time of day before getting any time info (I.e. maybe after sunset). But that varies by location.

deanf5 commented 3 years ago

It's an ntpd thing. From its man page, see the -g option:

Normally, ntpd exits with a message to the system log if the offset exceeds the panic threshold, which is 1000 s by default. ...

Just do that once or set system time manually with date command.

BTW: reception could mean you're having to wait till the right time of day before getting any time info (I.e. maybe after sunset). But that varies by location.

Hey Mahtin,

Thank you for the quick reply.

To confirm, my rpi will need to have close enough time to the actual time to be able to sync up? As in ntp does not receive the utc time string from es100 just the PPS signal?

I am trying to make es100 my main time source (to replace gps as my main time source with gpsd with radio time) and hence was trying to avoid setting time with the date command. I tried the ntpd -g for this and did not see any change to the system time (time remains 2019 ...).

Thank you for your time.