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?
No description
No description
22 Replies
tobi42
tobi423mo ago
this might sound stupid, but.. do you have your MMSI set in the server settings?
håvard
håvardOP3mo ago
Yess. And it is working if I use the “other” plugin that generates its own AIS data…
Harri
Harri3mo ago
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.
håvard
håvardOP3mo ago
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
Harri
Harri3mo ago
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
håvard
håvardOP3mo ago
I see. Can try that. Do I just run ./udp_listen 12345 as a ssh command when I am connected to the signalk server?
Harri
Harri3mo ago
Have to add the localhost and port as a udp endpoint to ais forwarder plugin config as well.
håvard
håvardOP3mo ago
But only ./udp_listen 12345 to launch the listener?
Harri
Harri3mo ago
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.
håvard
håvardOP3mo ago
I will try. Do you have an example of the command needed to start the listening tool?
Harri
Harri3mo ago
Literally "./udp_listen 12345"
håvard
håvardOP3mo ago
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?
Harri
Harri3mo ago
maybe here? "~/.signalk/node_modules/@signalk/aisreporter"
håvard
håvardOP3mo ago
Will try that. But just to clarify shouldn’t I use ais forwarder?
Greg Young
Greg Young3mo ago
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
håvard
håvardOP3mo ago
I am trying to use ais forwarder just for that purpose since I have bad coverage around my marina. But want to use forwarder to have the same data transmitted over cloud as on ais transmit…
håvard
håvardOP3mo ago
@Harri I was able to run the listener and I can confirm that I see other targets but not my self.
No description
Harri
Harri3mo ago
How can you tell? As per your screenshots you have the convert option on so any own messages (AIVDO) are converted into AIVDMs.
håvard
håvardOP3mo ago
I played around with the settings, and got nothing in the listener when only my vessel was toggled. This was independent from conversion setting on or off… When I got nothing on the listener I was updated on the ais reciver nearby that sends to marine traffic, so I know I am transmitting… @Harri I guess I can just use ais forwarder to relay other vessels and ais reporter for my own vessel…
Harri
Harri3mo ago
Apparently your own AIS messages never reach the ais forwarder.
Greg Young
Greg Young3mo ago
i have the same situation, i believe this is a function of the ais unit not putting your own data onto the n2k bus, probably to prevent your own ais showing on mfd etc. i’ve always used both reporter (for own) and forwarder (for others) maybe this varies between different ais units. either way, regardless of settings ive never been able to use ais forwarder for “own”
håvard
håvardOP3mo ago
That might be the solution for me as well. But I find it strange however because I can see “me” in the n2kais to 0183 logs… : 01T07:36:53.759Z signalk-n2kais-to-nmea0183 sending: !AIVDM,1,1,,A,34SP8<001F0W8L>QCHcR71op0000,0*0E Sep 01 09:36:55 2024-09-01T07:36:55.876Z signalk-n2kais-to-nmea0183 Data: { canId: 435884331, prio: 6, src: 43, dst: 255, pgn: 129809, timestamp: '2024-09-01T07:36:55.875Z', input: [], fields: { 'Message ID': 'Static data report', 'Repeat Indicator': 'Initial', 'User ID': 257961590, Name: 'FOMLE' }, description: 'AIS Class B static data (msg 24 Part A)' }
Want results from more Discord servers?
Add your server