NMEA UDP

retrieve NMEA via UDP connection. ...more details later.

[{"id":"451686f0.bae978","type":"debug","name":"","active":false,"console":"false","complete":"payload","x":301,"y":118,"z":"90dc536.f6f23b","wires":[]},{"id":"d1309756.2ecf68","type":"udp in","name":"","iface":"","port":"10110","ipv":"udp4","multicast":"false","group":"","datatype":"utf8","x":107,"y":111,"z":"90dc536.f6f23b","wires":[["451686f0.bae978"]]},{"id":"e64a0386.19b6","type":"inject","name":"","topic":"","payload":"","payloadType":"date","repeat":"1","crontab":"","once":false,"x":109,"y":159,"z":"90dc536.f6f23b","wires":[["4c453064.b3bad"]]},{"id":"4c453064.b3bad","type":"function","name":"Format timestamp Function","func":"// Create a Date object from the payload\nvar date = new Date(msg.payload);\n// Change the payload to be a formatted Date string\nmsg.payload = date.toString();\n// Return the message so it can be sent on\nreturn msg;","outputs":"1","valid":true,"x":326.7142639160156,"y":167.8571319580078,"z":"90dc536.f6f23b","wires":[[]]}]

Flow Info

Created 9 years, 2 months ago
Rating: not yet rated

Owner

Actions

Rate:

Node Types

Core
  • debug (x1)
  • function (x1)
  • inject (x1)
  • udp in (x1)

Tags

  • NMEA
  • UDP
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option