Decodes AIS messages from an AIS receiver such as rtl-ais.
npm install node-red-contrib-ais-decoderThis node accepts AIS messages as input, decodes them, and presents the decoded data at the output. It is mainly intended for use with the rtl-ais software, though it can easily be used in other contexts - e.g. as an online AIS decoder like this one.
It is a condition of use of this software that it shall not be relied on in a safety-critical application, such as for marine navigation.
~/.node-red):
npm install node-red-contrib-ais-decoder
`
You will find a new node ais` in the 'parser' pallette of the node-red editor.Some AIS messages have multiple parts. Each part should be in its own node-red message, and the parts should be presented in sequence. The AIS decoder will accumulate the parts until all parts have been received before outputting the decoded information.
#### rtl-ais-flow.json
This flow listens on port 10110 for UDP packets from the rtl-ais software. It decodes the packets and stores the decoded information in JSON format in a local file.
If an erroneous packet is detected, a message is logged in the node-red debugger.
#### sample-file-flow.json
This flow reads AIS messages from a file and displays selected decoded messages in the debug window.
1. Wikipedia article on AIS
2. Software to receive AIS messages through an RTL-SDR radio dongle
3. AIVDM/AIVDO protocol decoding by Eric S. Raymond - full description of AIS message format
4. GitHub - the node's github repository