OpenSeizureDetector / Android_Pebble_SD

The main OpenSeizureDetector Android App, that is published on the Android Play Store.
http://openseizuredetector.org.uk
GNU General Public License v3.0
9 stars 11 forks source link

V4.2.x - PineTime Time/Date not Synchronised to phone #148

Closed jones139 closed 3 months ago

jones139 commented 4 months ago

If the pinetime watch battery dies, the time is likely to re-set. It is not synchronised to the phone via OpenSeizureDetector - you need to connect using GadgetBridge to get it to synchronise. Having OpenSeizureDetector synchronise the time when the watch connects would be useful.

AroonPro commented 4 months ago

Is it possible to fetch ntp to PineTime?

Op do 7 mrt 2024 21:00 schreef Graham Jones @.***>:

If the pinetime watch battery dies, the time is likely to re-set. It is not synchronised to the phone via OpenSeizureDetector - you need to connect using GadgetBridge to get it to synchronise. Having OpenSeizureDetector synchronise the time when the watch connects would be useful.

— Reply to this email directly, view it on GitHub https://github.com/OpenSeizureDetector/Android_Pebble_SD/issues/148, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV6J742BVGZFGCE6EC2HMCTYXDBNFAVCNFSM6AAAAABELUF4Z6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3TINRYGA3DIMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jones139 commented 4 months ago

Is it possible to fetch ntp to PineTime?

No, there is no internet connection on the watch - there is a BLE characteristic that you have to write data to to set the time.

jones139 commented 3 months ago

I found a ready to use library that provides the Current Time Service (https://github.com/RideBeeline/android-bluetooth-current-time-service) so have incorporated that into BLE data source.

jones139 commented 3 months ago

Pull Request #165 fixes this, which is now merged into V4.2.x development branch.