for my first experience with the raspberry pi i'd like to create a map of my house on which i can control the lights. ( Currently there are no extra cables etc to enable domotica in the house).
Meaning that behind each light switch button i'll need some IOT which connects to my "main" pannel which will be the raspberry pi with the touchscreen ( tablet like form).
Currently i was thinking about putting up a relay with a ESP8266 Wifi-module connected to it.
Ofcourse i want it to be as small as possible to be able to get it after the light switch.
Now to the questions :)
- Will the socket relays be able to draw power from the light wires which go into the relay
with just those 2 components will the ESP be able to publish the lights status and set it on/off no matter the status of the physical light switch In other words does there need to be an voltage detector added to be able to tell the components the light is on/off. With this i mean will it be possible to see if the light is turned on or off on an application
Will the physical light switch still work?
- Are the listed components suited for the job? ( as they will be in a narrow space in the wall).
- Something i do not find a lot of info about: Won't they multiply my electricity bill as it will be 24/7 online?
This build will require an 220v to 3.3v converter as well; ex.: https://www.banggood.com/AC-DC-Isolated-AC-110V-220V-To-DC-3_3V-800mA-Constant-Voltage-Switch-Power-Supply-Converter-Module-p-1114202.html?rmmds=buy&cur_warehouse=CN
My main purpose is to program the whole project (MQTT protocol) and in time expand it to see costs of electricity etc. as this has no time limit i do not mind asking an electrician to help me out installing the electric components to be sure nothing goes wrong on the hardware side.
This will be tested with a external lamp/switch first of course.