Skip to content

evert/nmea-static-gps-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NMEA static GPS coordinates emitter

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.

Requirements

  • Python 3
  • avahi-deamon

Installations

Copy the avahi configuration file:

sudo cp nmea-static.avahi.service /etc/avahi/services/nmea-static.service

Known supported clients

Geoclue 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=true

Running 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)

About

A static NMEA GPS server to broadcast a GPS location from a home server that doesn't move

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages