Page 1 of 1

Use Node Red to control relay

Posted: 03 Sep 2018, 07:10
by whatsupskip
I want to control a standard Wemos D1 mini and relay board depending on a condition set in a Flow in Node Red.

I also want the Wemos D1 Mini / ESP Easy to send the relay status back to the Node Red.

What is the best way to handle this?

From the research I have done it would appear to be using MQTT as the RPi running Node Red is also running Mosquitto MQTT. I did discover that OpenHAB MQTT is actually Mosquitto MQTT, so that fits together well.

If this is the case, are there some similar examples as my knowledge of MQTT is very basic.