Skip to content
Discussion options

You must be logged in to vote

I'm not familiar enough with Node-RED. so I asked copilot and the answer is that you can use the underlaying library easily to send the data to Node-RED. The library can output stream of json fragments for the nmea2000 messages it sense. This can be sent to Node-RED using exec node.

Sample from copilot:

CLI command (with the new --json flag)

   nmea2000-cli tcp_client --server 192.168.1.100 --port 8881 --type EBYTE --json

  This streams one JSON object per line to stdout, e.g.:

   {"PGN":127250,"id":"vesselHeading","priority":2,"source":3,"destination":255,"timestamp":"2026-03-08T14:00:00","fields":[{"id":"heading","name":"Heading","value":182.5,"unit_of_m
  easurement":"deg"}]}

  Nod…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@CliveWrights
Comment options

Answer selected by tomer-w
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants