NMEA is a standard for marine electronics. It can also be used to transmit GPS coodinates on a local network.
This project's only purpose is to emit static GPS coordinates on the local network, so that applications that support this standard can get highly accurate coorindates if they are in the same network. You could for instance run this on your homelab server.
- Python 3
- avahi-deamon
Copy the avahi configuration file:
sudo cp nmea-static.avahi.service /etc/avahi/services/nmea-static.serviceGeoclue is a D-Bus geoinformation service for Linux that provides location data to applications.
On fedora you can see what it emits with:
dnf install geoclue2-demos
/usr/libexec/geoclue-2.0/demos/where-am-i After that you may need to edit /etc/geoclue/geoclue.conf and turn on nmea
support:
[network-nmea]
enabled=trueRunning where-am-i again should then include the new coordinates with 0
meter accuracy:
New location:
Latitude: 43.6457416°
Longitude: -79.410502°
Accuracy: 0 meters
Altitude: 119.000000 meters
Speed: 0.000000 meters/second
Description: GPS GGA+RMC
Timestamp: Sun 03 May 2026 01:12:03 AM (1777785123 seconds since the Epoch)