NMEA into KPLEX from node-red? - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1) +--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=3) +--- Thread: NMEA into KPLEX from node-red? (/showthread.php?tid=1200) |
NMEA into KPLEX from node-red? - PaddyB - 2018-06-03 How do I do that? Tried every combination of ports & ip address I can think of but nothing shows up in the diagnostic window. NMEA message is from another thread - $WIMWV,28,R,4.7,N,A*04 Node-red - Code: [ KPLEX - Code: pi@openplotter:~ $ cat .kplex.conf RE: NMEA into KPLEX from node-red? - jim321 - 2018-06-05 found this haven't tried yet let me know if it works http://forum.openmarine.net/showthread.php?tid=219&pid=949#pid949 RE: NMEA into KPLEX from node-red? - PaddyB - 2018-06-05 (2018-06-05, 07:29 PM)jim321 Wrote: found this haven't tried yet let me know if it works Thanks, that works, and helps a lot or something else i was looking at but not for this.. Still can't get a NMEA essage from node red into KPLEX. I have a tablet running an app called shareGPS which is set to send NMEA gps messages to 10.10.10.1 port 50000 - works fine, streaming GPS NMEA messages in the diagnostic for a UDP in set to 10.10.10.1 port 50000. I turn that app off then from node red on a laptop run your linked node red tweaked a little - works fine as well, signalk being seen on openplotter. Send a copied GPS nmea sentence to 10.10.10.1 50000 (with added \n) and nothing in diagnostic. Turn off that entry in openplotter and the message shows up in node-red on the Pi. So getting to the Pi, just not showing up in KPLEX. Odd.... RE: NMEA into KPLEX from node-red? - PaddyB - 2018-06-05 Got there in the end, that took a bit of trial and error So to send an NMEA message from either node-red or an ESP8266 over UDP the message needs both a carriage return and linefeed - $NMEA_MESSAGE\r\n "$GPRMC,191224,A,3701.281205,N,00756.662889,W,0.0,,050618,0.0,W,A*34\r\n" RE: NMEA into KPLEX from node-red? - jim321 - 2018-06-05 cool i kept failing at it i was starting to think of sending to a virtual serial port... |