user68473: I managed to build a system using Wemos D1 R1 connected to my website to retrieve data to power on or off a 5V relay. Now I would like to expand the project to control all my house outlet. Assuming I have, 5 rooms each of which has 5 electricity wires to control. My question is what is the best setup to achieve my goal in terms of efficiency and cost optimization. If I clone my current setup, I would be needing Wemos Module for every room that connecting separately to my Wifi and then to my server which seems too much for me. So what would you recommend?
Thoughts:

Can I use one single central Wemos and then communicate to each room through ESP2866 or 433MHZ RF modules.
I would be using at least 4 channel 5V relay Module. Could it be powered using 5V in Wemos or Arduino or should be powered with adapter
If I want to control a fridge or AC or water heater, should I need SS Relay or any relay would suffice
if SS Relay to be used, I have read that heat sink or fan should be included, is that a must?



user68604: I advice you to buy some Sonoff devices, either the basic or S20. (they are pretty cheap on AliExpress/ebay etc.) They are perfect for the job. Flash them with Tasmota, which you find on github Tasmota. Then use a RaspberryPi (or similar) as a server. Run Node-RED on this server to communicate via MQTT to all your (Sonoff) devices. Use Mosquitto as the MQTT broker.
I know this sounds like a lot, but thank me later when your done.

68473: <p>I managed to build a system using Wemos D1 R1 connected to my website to retrieve data to power on or off a 5V relay. Now I would like to expand the project to control all my house outlet. Assuming I have, 5 rooms each of which has 5 electricity wires to control. My question is what is the best setup to achieve my goal in terms of efficiency and cost optimization. If I clone my current setup, I would be needing Wemos Module for every room that connecting separately to my Wifi and then to my server which seems too much for me. So what would you recommend?</p>
<p>Thoughts:</p>
<ul>
<li>Can I use one single central Wemos and then communicate to each room through ESP2866 or 433MHZ RF modules.</li>
<li>I would be using at least 4 channel 5V relay Module. Could it be powered using 5V in Wemos or Arduino or should be powered with adapter</li>
<li>If I want to control a fridge or AC or water heater, should I need SS Relay or any relay would suffice</li>
<li>if SS Relay to be used, I have read that heat sink or fan should be included, is that a must?</li>
</ul>
<p><a href="https://i.stack.imgur.com/dAtkz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dAtkz.png" alt="enter image description here" /></a></p>
 68604: <p>I advice you to buy some Sonoff devices, either the basic or S20. (they are pretty cheap on AliExpress/ebay etc.) They are perfect for the job. Flash them with Tasmota, which you find on github <a href="https://github.com/arendst/Tasmota" rel="nofollow noreferrer">Tasmota</a>. Then use a RaspberryPi (or similar) as a server. Run Node-RED on this server to communicate via MQTT to all your (Sonoff) devices. Use Mosquitto as the MQTT broker.
I know this sounds like a lot, but thank me later when your done.</p>
