This PCB was planed for Sainsmart 4-Channel 5V Relay Module. It is alss possible to measure the current if ACS712 is connected to the prepared header. ACS Generic male header - 3 pins pin spacing ...
So, you can easily make this home automation project at home just by using an ESP32 and relay module. Or you can also use a custom-designed PCB for this project. This is the complete circuit diagram ...