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 i'm thinking to go for a raspberry pi.
Currently i was thinking about putting up a relay with a ESP8266 Wifi-module + a transfo to convert 220v to 3v3v.
Wifi-Module: https://www.reichelt.com/be/nl/experimenteerbord-esp8266-wifi-module-soldeerbaar-debo-esp8266-12f-p236022.html?&trstct=pos_5 Ofcourse i want it to be as small as possible to be able to get it after the light switch.
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.
As my knowledge is limited about the recommended hardware i'm not sure that above componnents are the best way to go?
I know best case scenario everything is controlled with PCL's but i do not think we have a neutral cable running to each switch ( i'll check this this evening and update this thread).