Home of the Squeezebox™ & Transporter® network music players.
Page 4 of 4 FirstFirst ... 234
Results 31 to 34 of 34
  1. #31
    Senior Member mvordeme's Avatar
    Join Date
    Jan 2009
    Location
    Germany
    Posts
    410
    Quote Originally Posted by Greg Erskine View Post
    Has anyone worked out the actual time drift of a Raspberry Pi?
    My 4B seems to drift less than 2 seconds per day.

    Code:
    $ date
    Sat Jan 16 21:15:23 CET 2021
    $ sudo /usr/bin/getTime.sh
    $ date
    Sat Jan 16 21:14:33 CET 2021
    
    $ uptime
    23:06:01 up 41 days, 11 min,  2 users,  load average: 0.06, 0.08, 0.04
    I only noticed it because my Radio is sitting next to a radio-controlled alarm clock. Going to add the user command ...
    SCALEO Home Server 2105 & piCorePlayer 6.1.0 | Logitech Media Server 8.3.0 | Server Power Control 20120716.103808 | Transporter & Duet & Touch & Boom & Radio | Rotel RC-995 & RMB-100 | Nubert NuVero 140

  2. #32
    Senior Member Greg Erskine's Avatar
    Join Date
    Sep 2006
    Location
    Sydney, Australia
    Posts
    2,380
    Thanks

  3. #33
    Quote Originally Posted by Greg Erskine View Post
    Thanks Paul, 2 to 4 seconds.

    Has anyone tried adding "/usr/sbin/ntpd -p pool.ntp.org" to a User command?

    This adds a ntpd daemon but as I don't have an issue I haven't proved it works.

    EDIT: It works. I booted without a network cable, so time set to epoch. Plugged network cable in and time was synced.
    Hi guys,
    so for a complete noob, if I add the code above ( with out the " " ) into the one of the "user command" input box on the tweaks page, save and then reboot, my pI will be able to keep in time ??

  4. #34
    Senior Member Greg Erskine's Avatar
    Join Date
    Sep 2006
    Location
    Sydney, Australia
    Posts
    2,380
    If you are using pCP8, then refer to this post:

    Announce: piCorePlayer 8.0.0 - Network Timing Protocol

    By default, pCP should keep "reasonable" time, just drifting a few seconds a day.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •