Tom, my issue is not with getting Lat/Long/Alt from the GPS device. For that I'm not parsing NMEA, instead I'm using this Python interface to gpsd:
https://packages.debian.org/buster-backports/python3-gps My issue is how I can pass the location info to WeeWX in a way that it can dynamically update the location information on the webpage. You have told me that I could update 'weewx.station.StationInfo' for doing that, but, as I'm not a Python coder, I envision difficulties in doing that. Can you please provide me some sample code on how to do that? A quinta-feira, 22 de abril de 2021 à(s) 13:37:44 UTC+1, [email protected] escreveu: > Check out weewx-nmea-xdr <https://github.com/tkeffer/weewx-nmea-xdr>. It > parses NMEA XDR sentences. It could probably be easily adapted. > > On Thu, Apr 22, 2021 at 4:39 AM Greg Troxel <[email protected]> wrote: > >> >> Garry A Lockyer <[email protected]> writes: >> >> > A VERY quick look at the Airmar driver and docs on Airmar website >> > suggests the weather station communicates via NMEA sentences. If yes, >> > they probably use the standard sentences for GPS position - can’t >> > remember their names but they are well documented. >> > >> > Anyway, you might be able modify the driver to parse NMEA sentences and >> write to the variable Tom K mentioned. >> >> If it's NMEA, I would suggest putting those bits into gpsd and using >> gpsd's interface to get location. Yes, you could reimplement an NMEA >> parser, and tt's not really that complicated, but the gpsd code base is >> the encapulstion of wisdom about dealing with data from GNSS receivers. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "weewx-user" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/rmia6pqtuoi.fsf%40s1.lexort.com >> . >> > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/1cba04cb-a18e-4b8e-b22a-ec9c01e9977fn%40googlegroups.com.
