2017-06-28, 09:27 PM
Just got back from the boat, and yep, it works great! I learned a couple of things:
1. I had a serial port configured in OpenPlotter for the incoming NMEA strings from SeaTalk. When Node-RED started trying to access it, nothing worked. Duhhh, need only one process accessing the device, thank you very much! I deleted the incoming port in the OpenPlotter NMEA0183 page, and the data started flowing through Node-RED.
2. Another obvious thing - I needed an incoming stream into OpenPlotter from Node-Red. I used UDP port 10108.
3. Somehow my script wasn't stripping the final return after the HDM strings, and OpenCPN was seeing it as a string with no CRC (since it was on the next line). I did a quick function to strip the return on those strings, and HDM started coming into the system.
Thanks so much to those who helped on this. It's always a great feeling to see something like this working. I hope this helps others.
1. I had a serial port configured in OpenPlotter for the incoming NMEA strings from SeaTalk. When Node-RED started trying to access it, nothing worked. Duhhh, need only one process accessing the device, thank you very much! I deleted the incoming port in the OpenPlotter NMEA0183 page, and the data started flowing through Node-RED.
2. Another obvious thing - I needed an incoming stream into OpenPlotter from Node-Red. I used UDP port 10108.
3. Somehow my script wasn't stripping the final return after the HDM strings, and OpenCPN was seeing it as a string with no CRC (since it was on the next line). I did a quick function to strip the return on those strings, and HDM started coming into the system.
Thanks so much to those who helped on this. It's always a great feeling to see something like this working. I hope this helps others.