I have one RPi with a hardware buttons wired up to it that I would like to speak to another RPi with an output (controlling a HW relay) - both running node-red obviously.
How do I send a message from the one rpi to the other? They are on the same network.
Just for reference, you could have used raw TCP, websocket or http nodes as well. All would work but undoubtedly, MQTT gives you a much more resilient solution without having to do the donkey work yourself.