For all those who used not to run opencpn
all the time or have a multiplexer like kplex installed on a openwrt/linux router. When opencpn
opens it misses all the AIS
information and it takes quite a while to scan all AIS
The lua program nmeaoffline solves that problem by backlogging the AIS and GPS
entries for a time (default 30min) and replaying them at time of first connection.
At this moment it works only with an NMEA
capable TCP-server like kplex. If needed I could adapt it to gpsd.
I tested it only with OpenCPN it could work
with other plotters as well (please give feedback)
Configuration is in the source. lua and lua-sockets needs to be installed.
Just add a additional NMEA
source to OpenCPN pointing to the IP and port of offlinenmea
default configuration is
nmea source: localhost port 10110
listen to port 10111
This is a proof of concept
Don't use it for Navigation
without proper testing.
Source is GPL