On Jun 7, 2025 14:57, Mike via <[email protected]> wrote:
Thanks for everyone who took the time to reply. I've had a look at the
Python gpsd library and knocked together a Python script with it. This
seems to work almost perfectly (I get lat/long/alt/etc but also number
of satelites == 0, which seems odd but not show-stopper). I've also set
up mod_wsgi in Apache so I can request it from a web request. I think
that resolves my needs for now.
In the long term, I might take a look at GPSd2websocket.
For an example of what not to do look at https://dell-2018.jamesb192.com/timey4/hgps.htm
There I have a couple of python scripts. The first runs continously in the background writing the tracks of all recently visible navigation satellites to a POSIX shared memory file. The other reads that file and another gpsd stream to push via HTML 5 server sent events.
The page itself is just something I threw together to display things.
I think your good skyview is being overwritten by something less than a second after it is set.
Call it an intuition from a defective tree rat brain.
