SignalK to Node Red
Hi, I'm struggling with Node Red (apologies if I'm in the wrong place to post this). When I connect a TCP IN node and debug, I'm not getting a stream of PGNs but rather a single message. Can anyone point me in the right direction. I can see PGNs about output via plugin signalk-to-nmea-2000
8 Replies
What are you trying to do?
Trying to send NMEA 2000 data to Node Red first and foremost. From there, I'll build a Node Red dashboard and do some automations and other things.
You should be using the node-red-plugin and dealing with Signal K data.
You don’t want to be dealing directly with N2K data.
You don’t need to be doing tcp connections or anything like that. You just use the signalk subscribe node to listen to specific data points.
Some example flows here https://github.com/SignalK/node-red-embedded/tree/master/examples
GitHub
node-red-embedded/examples at master · SignalK/node-red-embedded
Node red nodes for use with the signalk-node-red plugin - SignalK/node-red-embedded
GitHub
SignalK signalk-node-red · Discussions
Explore the GitHub Discussions forum for SignalK signalk-node-red. Discuss code, ask questions & collaborate with the developer community.
oh wow, thanks. I knew I must have been headed down the wrong path. Will try and advise.
Attempted. I put in a path for voltage which I know to be sending data. On deploy I receive "Encrypted credentials not found." I don't see any opportunity to insert credentials in the subscribe node. Thanks again
I don’t think you’re using the mode-red plugin?
To get to node-red, go to the sk admin console, webapps.
Strange, the plugin was installed but not activated so I guess I was using another instance. Activating and clicking through on it works! I appreciate your help!