Use Node Red to control relay

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
whatsupskip
Normal user
Posts: 125
Joined: 28 Feb 2018, 07:40
Location: Melbourne, Australia

Use Node Red to control relay

#1 Post by whatsupskip » 03 Sep 2018, 07:10

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.
Friends with kangaroos and some time koala rescuer.

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests