Ysurac/FlightAirMap

AIS

SJoWie80 opened this issue · 4 comments

hello,

i run rtl_ais with this command ./rtl_ais -p 28 -n -d 1 -T
in flightairmap i have nmea over tcp selected to the right port and ip.

however i don`t see anything coming in.
in ship plotter i do get messages true rtl_ais.

am i doing something wrong ?

Regards,
Joey

Same issue: AIS packets are broadcast by my receiver (I can see them via telnet) but no vessel is shown.
It only semes to work, for a few minutes, when I restart the various daemons (not sure which one is making the difference).

If you see something, then you may have to increase in require/settings.php the $globalLiveInterval.
I have no more AIS feed available for tests...

Thanks for the suggestion: I'll try that.
In the meanwhile I found that restarting the daemon-spotter every 3' seems to solve the issue for me.

[Unit]
Description=FlightAirMap Spotter
After=network.target

[Service]
ExecStart=/var/www/flightairmap/scripts/daemon-spotter.php
WorkingDirectory=/var/www/flightairmap/scripts/
StandardOutput=inherit
StandardError=inherit
Restart=always
User=root
RuntimeMaxSec=180

[Install]
WantedBy=multi-user.target_

Has anyone made any progress on this? I can make some tests, but what should I change the default live interval to 400 seconds?