rkaczorek / astroberry-server

Astroberry Server is a ready to use system for Raspberry Pi for controlling all your astronomy equipment
GNU General Public License v3.0
274 stars 19 forks source link

System time doesn't update after GPS fix #162

Open fliker09 opened 3 years ago

fliker09 commented 3 years ago

Installed today AstroBerry. Disabled VirtualGPS service, waited for my USB GPS dongle to obtain a fix (which it did) and... system time still stuck in 12th of October :-| Am I missing something? Or it is a bug?

rkaczorek commented 3 years ago

Some debugging info is required to verify this. Run chronyc sources -v to verify if GPS is used at all. If not, check /etc/chrony/chrony.conf file and make sure that the line refclock SHM 0 offset 0.5 delay 0.2 refid GPS is uncommented (no # in front of the line). If you need to edit the file, save changes and remember to restart chrony by running sudo systemctl restart chrony

fliker09 commented 3 years ago

It did the trick, thanks! Without your help - wouldn't figure it out anytime soon... Why it's not set by default this way? Also, found no mentions about this in the Wiki :-\ Got another question, if I may - what apps can leverage the GPS positioning? I was able to make KStars use it (which is dope!), but it seems HNSKY / Skychart / CCDciel can't - they must be configured manually, I assume?