Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
YAAC and AIS-Catcher?
Is there a way to have YAAC read the?NMEA-0183 messages from AIS-Catcher? I see that there is a plugin for Direwolf but the message format is a little different. I also tried the?NMEA-0183?TCP plugin and tried to have it read from the external AIS-Catcher TCP source to no eval. AIS-Catcher will send messages via UDP and TCP to YAAC, and YAAC is reading them, but they receive JSON errors. The strings that AIS-Catcher sends look like this:
!AIVDM,1,1,,B,33L=LN051HQj3HhRJd7q1W=`0000,0*03 Here is a link to the AIS-Catcher software... Any help is greatly appreciated... Best Regards Jeremy N2UGS |
Yes. You need to install the AISdecoder plugin for YAAC. It will interpret the DireWolf messages you described below, and map the vessel information into objects (similar to APRS stations) like the ADSB plugin does for aircraft.
Note that those messages are NOT NMEA-0183 messages. The actual AIS frames don't look anything like that. I don't know how different the message format coming out of AISCatcher is from what DireWolf generates, but if they aren't either KISS-encapsulated or AGWPE-protocol-encapsulated, YAAC won't understand them. I can put investigating the AIS-Catcher's protocol on my backlog of things to do for YAAC, but it won't get done immediately. Andrew, KA2DDO author of YAAC ________________________________________ From: [email protected] <[email protected]> on behalf of Jeremy N2UGS <jmedinac@...> Sent: Thursday, November 30, 2023 6:39 PM To: [email protected] Subject: [yaac-users] YAAC and AIS-Catcher? [Edited Message Follows] Is there a way to have YAAC read the NMEA-0183 messages from AIS-Catcher? I see that there is a plugin for Direwolf but the message format is a little different. I also tried the NMEA-0183 TCP plugin and tried to have it read from the external AIS-Catcher TCP source to no eval. AIS-Catcher will send messages via UDP and TCP to YAAC, and YAAC is reading them, but they receive JSON errors. The strings that AIS-Catcher sends look like this: !AIVDM,1,1,,B,33L=LN051HQj3HhRJd7q1W=`0000,0*03 Here is a link to the AIS-Catcher software... Any help is greatly appreciated... Best Regards Jeremy N2UGS |
Sounds like you're running a very ancient build of YAAC. That provider API version dates back to mid-2021; are you at build#165? The current build is #191. I recommend you upgrade to get the hundreds of fixes and enhancements I've put in since build#165.
________________________________________ From: [email protected] <[email protected]> on behalf of Jeremy N2UGS <jmedinac@...> Sent: Thursday, November 30, 2023 7:28 PM To: [email protected] Subject: Re: [yaac-users] YAAC and AIS-Catcher? Thanks for the quick reply! I will see if the decoder works... But I have a new problem installing the plugin, look below.... [cid:[email protected]] Best Regards Jeremy N2UGS |
Thank you for adding AIS-Catcher to the plugin! Though I am still having issues with YAAC reading the messages. I have it set up through an External source port.
This is the error received from YAAC : ExtMsgSrc unable to parse line !AIVDM,1,1,,B,ENkaSQLHh@@@@@@@@@@@@@@@@@@=;I<E<@lMh00003vP000,2*6E
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
Below is a screen shot of the port setup: I guess my question is what is the proper way to import the messages from AIS-Catcher into YAAC? I may be doing this completely the wrong way... Best Regards Jeremy N2UGS ? |
开云体育Unfortunately, the way you're hooked up won't work. The External Message Source port type is for transmitting proper APRS packets originated by a script on the same computer as YAAC, and your !AIVDM packets don't comply with the APRS specification.
What you need to do is also install the marineports plugin, which supports NMEA-0183 over TCP/IP, and connect a port of that type to your AIS-Catcher.
Then see if the combination of both plugins works.
Hope this helps.
Andrew, KA2DDO
author of YAAC
Sent: Monday, January 8, 2024 8:15:31 PM
Thank you for adding AIS-Catcher to the plugin! Though I am still having issues with YAAC reading the messages. I have it set up through an External source port. This is the error received from YAAC : ExtMsgSrc unable to parse line !AIVDM,1,1,,B,ENkaSQLHh@@@@@@@@@@@@@@@@@@=;I<E<@lMh00003vP000,2*6E
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
Below is a screen shot of the port setup: I guess my question is what is the proper way to import the messages from AIS-Catcher into YAAC? I may be doing this completely the wrong way...
Best Regards Jeremy N2UGS
|
How embarrassing. You found a bug. Lots of the code in the NMEA0183OverTcp port driver was copied from the APRS-IS port driver, and I forgot to take out the callsign check. And I don't have a TCP-based NMEA-0183 data source to test this code with. :-(
I will have a fix out very soon. Andrew, KA2DDO author of YAAC ________________________________________ From: [email protected] <[email protected]> on behalf of Jeremy N2UGS <jmedinac@...> Sent: Tuesday, January 9, 2024 7:46 PM To: [email protected] Subject: Re: [yaac-users] YAAC and AIS-Catcher? I do have both plugins installed and when I use the NEMA TCP port I get some error along the lines of "not a valid callsign". Where would I input a callsign? [cid:[email protected]] Best Regards Jeremy N2UGS |
Hi Andrew!
The AIS plug-in has been working great, thank you for the updates. I did notice though that when an AIS object is spotted and tracked the object will show for days after no packets have been received. Is there a way to clear out the stations after no packets have been received, after a certain inactive duration?? Best Jeremy |
开云体育Hmmm... that's odd. Are the AIS stations remaining on the map and the Station/Object List, or only on the Vessel list?
I do need to tweak the Vessel list so it supports the Clear Real-time Table menu option.
Andrew, KA2DDO
author of YAAC
|