M
M
Michael2021-03-17 15:16:42
Smart House
Michael, 2021-03-17 15:16:42

How to combine esp8266 modules into a single smart home network?

I thought about something like this:
6051ef5e0446e317539466.jpeg

Is it possible to mesh several wi-fi relays and a NodeMCU board in a similar way?
So, to manage all devices through a single web interface.
As planned, NodeMCU once every (second) will send the status of devices ('/ledon', '/ledoff', etc.) to the relay, and they, in turn, will switch devices (on / off the light) and send back the changed status device (lamp on).

At the same time, as planned, all relays communicate only with the main NodeMCU board.

upd: thanks everyone for the ideas

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Zaitsev, 2021-03-17
@Misha5

Yes, according to your scheme, you can do it. You can read about the mesh network here , on the same site there are good lessons on a web server with a websocket. But you need to understand that you will have to write a lot, the system will turn out to be isolated, incompatible with others. You can write and get a gateway on the main esp mqtt client, but you still have to support the system yourself. It is much easier and cheaper to use the same sonof, home assistant has integration for sonof on native firmware. In addition, the performance of the web server on the ESP leaves much to be desired.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question