I bought a GPS USB dongle and decided to give it a try.
I enabled GPS and it is showing the correct lat/long and date. I have GPS set to update the system time. I realize that's a low resolution time, my intent is to use this with a telescope at dark sites, if I can get to a second or so that's great, a tenth even better.
I enabled NTP Client and Server. My intent is when observing at home to use my own time source which is perhaps more accurate, so I set the NTP client to sync first with my home time server, and no secondary. The idea is it won't even succeed at a remote site, and NTP will do the time control.
Question #1: Is that correct? Will GPS Server's time updates give way to NTP client if it's showing synchronized, or will they just compete each resetting the clock? Is there a proper way to coordinate?
Question #2: Now lat/long -- if I want that from another system, how can I get it?
I can log in with ssh and do a /system gps monitor and could parse it out. I tried various combinations of /system gps get <stuff> without success, I was hoping to get latitude/longitude separately. Is there any other path, a web service or such? I guess in theory I could also do an http request to the webfig, including logging in, but that seems even more convoluted.
Is there a better way? Or maybe I'm better off trying to run the GPS on a windows box (which I also have) and NTP client to set the time (really at that point I don't much care if the router knows the time, except for logs). But Windows is a pretty unfriendly environment for either GPS or NTP, really, I was hoping this was more solid. Maybe not?