OpenMarine
Node-Red / MQTT Thread - 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: Node-Red / MQTT Thread (/showthread.php?tid=2235)



Node-Red / MQTT Thread - BartStevens - 2020-01-13

All,

Would be nice if people could share their:

- Sensors
- Formulas
- Dashboards
- Node Red Flows

etc in one (easy to find Thread)

So people can use them as well.

So we can create a NR library, next to the App Store in SignalK

How cool would that be?

Wink

Bart

PS (I have difficulty to get data into SignalK; and from there into Node red. But I'm even doubting if I do it right. Maybe the flow has to be from : Arduino (via Wifi) - > raspi -> to MQTT - > to Node Red -> to SignalK) But even that is difficult to find (as a newbie)


RE: Node-Red / MQTT Thread - PaddyB - 2020-01-13

(2020-01-13, 12:19 PM)BartStevens Wrote: PS (I have difficulty to get data into SignalK; and from there into Node red. But I'm even doubting if I do it right. Maybe the flow has to be from : Arduino (via Wifi) - > raspi -> to MQTT - > to Node Red -> to SignalK) But even that is difficult to find (as a newbie)

Good idea about a Node-red flows repository, on the to-do list is save a load of handy snippets to github, will post a link if the to-do list entries stop expanding quicker than  getting ticked off Wink

As for arduino/esp - mqtt sends data as a string (text) so you need to convert back to a number for signalk to be most useful. Might be better sending the data as signalk over UDP , means the data goes straight into signalk as  numbers. Also I find it much better to just use the signalk node-red app, it has the signalk nodes ready to use.