InfiniTime icon indicating copy to clipboard operation
InfiniTime copied to clipboard

Time is off when disconnected

Open codeguylevi opened this issue 10 months ago • 12 comments

Verification

  • [x] I searched for similar issues (including closed issues) and found none was relevant.

Introduce the issue

When infinitime is disconnected from the bluetooth application, the time gets off and is either too fast or too slow. It also won't update the time while it is connected.

Preferred solution

If you can make sure a minute is exactly 60 seconds, maybe it wouldn't be off. Also, make it so it updates the time every time it is connected.

Version

1.15.0

codeguylevi avatar Feb 17 '25 22:02 codeguylevi

I have automatic time synchronisation in my companion app (Gadgetbridge) disabled and I get a few seconds per week of drift (which is what is expected for a crystal like the one in the PineTime).

Are you sure you're experiencing clock drift and not some other issue? What companion app are you using

Also, what do you mean by "it won't update the time while it is connected"?

mark9064 avatar Feb 17 '25 23:02 mark9064

To provide some numbers I've had 4 seconds of drift in the last 7 days

mark9064 avatar Feb 23 '25 18:02 mark9064

I have automatic time synchronisation in my companion app (Gadgetbridge) disabled and I get a few seconds per week of drift (which is what is expected for a crystal like the one in the PineTime).

Are you sure you're experiencing clock drift and not some other issue? What companion app are you using

Also, what do you mean by "it won't update the time while it is connected"?

@mark9064 I get drift. Also, what I mean that even though it is connected to the application, it won't update the time.

codeguylevi avatar Feb 23 '25 23:02 codeguylevi

What companion app are you using?

mark9064 avatar Feb 24 '25 00:02 mark9064

@mark9064 Watchmate on the latest Ubuntu

codeguylevi avatar Mar 01 '25 15:03 codeguylevi

I also get serious drift problems. Why can't a minute be exactly 60 seconds? Smartwatches should be more accurate.

codeguylevi avatar Mar 01 '25 15:03 codeguylevi

Could you test this? Disable bluetooth on the watch, and note the exact time (with seconds) and also the wall clock time. Then 24 hours later, note the exact time along the wall clock time again. This information would allow the drift rate to be determined

mark9064 avatar Mar 01 '25 19:03 mark9064

I don't have a wall clock that shows seconds.

On Sat, Mar 1, 2025 at 2:15 PM mark9064 @.***> wrote:

Could you test this? Disable bluetooth on the watch, and note the exact time (with seconds) and also the wall clock time. Then 24 hours later, note the exact time along the wall clock time again. This information would allow the drift rate to be determined

— Reply to this email directly, view it on GitHub https://github.com/InfiniTimeOrg/InfiniTime/issues/2255#issuecomment-2692372757, or unsubscribe https://github.com/notifications/unsubscribe-auth/BLP7DWZBSHMSRRMHA67IOYT2SIBNVAVCNFSM6AAAAABXKHMBQ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOJSGM3TENZVG4 . You are receiving this because you authored the thread.Message ID: @.***> [image: mark9064]mark9064 left a comment (InfiniTimeOrg/InfiniTime#2255) https://github.com/InfiniTimeOrg/InfiniTime/issues/2255#issuecomment-2692372757

Could you test this? Disable bluetooth on the watch, and note the exact time (with seconds) and also the wall clock time. Then 24 hours later, note the exact time along the wall clock time again. This information would allow the drift rate to be determined

— Reply to this email directly, view it on GitHub https://github.com/InfiniTimeOrg/InfiniTime/issues/2255#issuecomment-2692372757, or unsubscribe https://github.com/notifications/unsubscribe-auth/BLP7DWZBSHMSRRMHA67IOYT2SIBNVAVCNFSM6AAAAABXKHMBQ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOJSGM3TENZVG4 . You are receiving this because you authored the thread.Message ID: @.***>

codeguylevi avatar Mar 02 '25 22:03 codeguylevi

You could use an online clock like https://time.is/?

mark9064 avatar Mar 02 '25 22:03 mark9064

I don't have a phone; I am running the companion app on an old iMac that was altered to run Ubuntu.

On Sun, Mar 2, 2025 at 5:12 PM mark9064 @.***> wrote:

You could use an online clock like https://time.is/?

— Reply to this email directly, view it on GitHub https://github.com/InfiniTimeOrg/InfiniTime/issues/2255#issuecomment-2692934131, or unsubscribe https://github.com/notifications/unsubscribe-auth/BLP7DW4ZP4NOSR22JXJZ5JL2SN66JAVCNFSM6AAAAABXKHMBQ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOJSHEZTIMJTGE . You are receiving this because you authored the thread.Message ID: @.***> [image: mark9064]mark9064 left a comment (InfiniTimeOrg/InfiniTime#2255) https://github.com/InfiniTimeOrg/InfiniTime/issues/2255#issuecomment-2692934131

You could use an online clock like https://time.is/?

— Reply to this email directly, view it on GitHub https://github.com/InfiniTimeOrg/InfiniTime/issues/2255#issuecomment-2692934131, or unsubscribe https://github.com/notifications/unsubscribe-auth/BLP7DW4ZP4NOSR22JXJZ5JL2SN66JAVCNFSM6AAAAABXKHMBQ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOJSHEZTIMJTGE . You are receiving this because you authored the thread.Message ID: @.***>

codeguylevi avatar Mar 14 '25 18:03 codeguylevi

Which means I can't always sync it.

On Fri, Mar 14, 2025 at 2:26 PM Levi Jonas @.***> wrote:

I don't have a phone; I am running the companion app on an old iMac that was altered to run Ubuntu.

On Sun, Mar 2, 2025 at 5:12 PM mark9064 @.***> wrote:

You could use an online clock like https://time.is/?

— Reply to this email directly, view it on GitHub https://github.com/InfiniTimeOrg/InfiniTime/issues/2255#issuecomment-2692934131, or unsubscribe https://github.com/notifications/unsubscribe-auth/BLP7DW4ZP4NOSR22JXJZ5JL2SN66JAVCNFSM6AAAAABXKHMBQ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOJSHEZTIMJTGE . You are receiving this because you authored the thread.Message ID: @.***> [image: mark9064]mark9064 left a comment (InfiniTimeOrg/InfiniTime#2255) https://github.com/InfiniTimeOrg/InfiniTime/issues/2255#issuecomment-2692934131

You could use an online clock like https://time.is/?

— Reply to this email directly, view it on GitHub https://github.com/InfiniTimeOrg/InfiniTime/issues/2255#issuecomment-2692934131, or unsubscribe https://github.com/notifications/unsubscribe-auth/BLP7DW4ZP4NOSR22JXJZ5JL2SN66JAVCNFSM6AAAAABXKHMBQ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOJSHEZTIMJTGE . You are receiving this because you authored the thread.Message ID: @.***>

codeguylevi avatar Mar 14 '25 18:03 codeguylevi

Did you manage to test it? If you've got time synchronisation off and it definitely still drifts, then you might be unlucky and have a faulty timekeeping crystal. Otherwise there could be an issue with bluetooth providing stale time syncs. Drift for me is still around 0.5s/day (i.e. what's expected for a crystal oscillator), so I'm reasonably confident that the software timekeeping itself is accurate

mark9064 avatar Oct 20 '25 21:10 mark9064