Chat freely about anything...

User avatar
By make-do
#84436 Hi,
I would like to use one master ESP8266 (with press buttons attached) to send commands to several slave ESP8266 boards, each slave to have several relays connected to it. It would be nice to have some kind of acknowledge returned from the slaves - to confirm that the command has been correctly executed. The main point is to get the master to control the slaves, so I can do without the acknowledge for a start. Ideally, I would like all the ESP8266 boards to communicate through a router, so that at some time in the future, I can control the relays over the internet.
I have thus far controlled relays on an ESP8266 board (Wemos D1), using wi-fi from my phone, through a router, using the code from The Arduino IDE is my system of choice. I now need to expand that example.
Any help would be appreciated.
User avatar
By Barnabybear
#84441 Hi, I’m using ESP8266’s communicating via MQTT to Node-Red running on a headless Raspberry Pi Zero to do this sort of thing. I’ll be honest it was a bit of a learning curve at first but one I’m pleased I undertook as it has been rock solid for the last 18 months. It controls: Lighting both internal and security, opens and closes blinds and monitors heating.