×
INDI Library v1.8.5 Released (19 Apr 2020)

April 2020 release of INDI Library v1.8.5 introduces new drivers while providing fixes and improvements to existing devices and core framework.

GPS issue - time resetting

1 month 23 hours ago
7170
Fresh Boarder
Fresh Boarder
Posts: 2
More
Topic Author
GPS issue - time resetting #56432
Hi, I have an interesting issue when using a GPS dongle with INDI/KStars on Astroberry/RPI3.

It connects find and gets a fix when you look in Indi Control Panel when things are started and gets the correct location and datetime.


However after the initial fix it never refreshes the date/time every 60s and the data in the "UTC Time" box never changes from "2020-07-04T20:04:26.000Z" in this example.

As a result the date/time on KStars counts up from 21:04:26 (I have +1h UTC offset which is correct) but then after 60 seconds (when I assume it is refreshing the time from the dongle) it goes back to 20:04:26 (screen shot below shows the date/time i'm referring to.


As a result everything is off when trying to use EKos. It is worth noting if I manually set date time in the system console and location in KStars everything works fine.

Version info below:



What a I doing wrong? Note Virtual GPS is disabled, and the same happens on a clean astroberry (version2.0.0) image, which I downloaded previously on 12/Jan/2020.
Attachments:

Please Log in or Create an account to join the conversation.

1 month 5 hours ago
Ihoujin
Platinum Boarder
Platinum Boarder
Posts: 904
Karma: 3
More
GPS issue - time resetting #56458
It is a bug. I have attempted to raise the issue before but it did not get resolved at the time because the forum posts got merged and mixed up.
www.indilib.org/forum/general/6095-major-gpsd-glitch.html

I noted it will synchronize to GPS time once, but each refresh will set the clock back to that first sync rather than update it.
You can set refresh to 0. Thus never updating the time after the first sync. Or, My workaround is to set up the system clock to sync to GPS time and use System as the time source in the INDI GPSD driver.

INDI/KStars on Raspberry Pi 4, 4gb
Raspbian Buster with AstroPi3 script configuration
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG/ASI120mm @280mm Guide Scope
PHD2
Adafruit Motor Hat shield
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
The following user(s) said Thank You 7170

Please Log in or Create an account to join the conversation.

4 weeks 2 days ago
7170
Fresh Boarder
Fresh Boarder
Posts: 2
More
Topic Author
GPS issue - time resetting #56478
Sound like exactly the same issue. Though for me setting refresh to 0 still makes the clock jump around/stutter.

I've gone down the route of using a python script to set the system clock to the GPS time using GPSD which works fine. I am ok just running this script when i first log on and my astro-sessions are never more than a few hours so I shouldn't need to re-sync.

Hopefully this bug can be fixed soon.

Please Log in or Create an account to join the conversation.

Moderators: Kaczorek
Time to create page: 0.600 seconds