Communication between node-red servers

#1

I plan to have multiple node-red servers running. There will be, most likely, a main server that needs to collect data from flows running on the other servers.

Any pointers to reading on setting up such a thing?

Or, hints, etc.?

0 Likes

#2

What will the servers be doing?

0 Likes

#3

typically things like providing data on my solar hot water system.

But other things like home sub-systems control and monitoring.

0 Likes

#4

Use MQTT to send info back and forth. Here is a link to a description of MQTT https://www.hivemq.com/mqtt-essentials/

1 Like

#5

+1
All my Pi running Node-RED use MQTT to pass info

0 Likes

#6

Definitely MQTT. I have 3 Node-red installs (Ubuntu, Pi3, Bluemix), and they all talk via MQTT (Mosquitto), as do some of my other home-control devices. It works flawlessly publishing JSON (as strings) - I'm not sure how easy it would be if you had binary content coming from your devices.

0 Likes