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.
Use Node Red to control relay
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 125
- Joined: 28 Feb 2018, 07:40
- Location: Melbourne, Australia
Use Node Red to control relay
Friends with kangaroos and some time koala rescuer.
Who is online
Users browsing this forum: No registered users and 10 guests