Report own AIS data to Marine Traffic
I’m trying to set up reporting of own AIS data to MT. I have a station set up, and I know it is working. I can see in the log that n2k ais to 0183 is transmitted, and when I enable other vessels it is reported to MT, I even get the notification from MT that station is online. But when I only have my on vessel selected it is not updated… Any idea what could be going on here?
22 Replies
this might sound stupid, but.. do you have your MMSI set in the server settings?
Yess. And it is working if I use the “other” plugin that generates its own AIS data…
Do you have AIS transponder that is generating messages about your vessel in the first place or just a receiver? If only receiver, then you need to install also the AIS reporter plugin to generate and send AIS messages about your vessel.
Yes. I have an Garmin AIS 800. And when I am within reach of a Marine traffic station I can see my own position there. I am also seen by other boats with AIS…
In the n2k AIS to 0183 I can see my mmsi in the logs, so it looks like it is sending data out on 0183
Check the troubleshooting section on aisreporter plugin. It includes udp_listen utility, which you can also use to check what your signalk-n2kais-to-nmea0183 + ais forwarder configuration combo is sending out. https://github.com/SignalK/aisreporter#troubleshooting
I see. Can try that. Do I just run ./udp_listen 12345 as a ssh command when I am connected to the signalk server?
Have to add the localhost and port as a udp endpoint to ais forwarder plugin config as well.
But only ./udp_listen 12345 to launch the listener?
yes, on the directory where that piece of code resides.
Once you see data there, fiddle with own / other /convert options in the plugin config to see whether you actually get different data streams through.
I will try. Do you have an example of the command needed to start the listening tool?
Literally "./udp_listen 12345"
Will try as soon as I am back in the boat. Hopefully within the weekend
Sorry for the beginner level question, but I get an error with no such fil at directory. Where would that directory be on a typical raspberry pi setup?
maybe here? "~/.signalk/node_modules/@signalk/aisreporter"
Will try that. But just to clarify shouldn’t I use ais forwarder?
hope this helps … the difference between the two …
AISForwarder … forwards the AIS of other boats from your onboard AIS Rx
AISreporter .. is used to send an AIS formatted message using your own boat GPS position.
.. so even if you have NO AIS Rx onboard, you can still report your “AIS” psotion to cloud . eg marine traffic.
if you have an AIS Transceiver (that transmits your boat AIS), you can choose not to use AISreporter.
however they can operate in parallel, and the advantage is that even with an AIS Txr, you have to be within range of a coast AIS Rx station
for your Ais to appear on eg marine traffic .
using AISreporter, its sending yoir own AIS position details to the cloud over the internet,
eg over cellular network, sattelite etc
and thus not relying on you being picked up by a AIS coast station