Hi
I am making myself a smarthome using esp8266 along the lines of how blebox devices work. I have a device to turn on lights when it gets the right request, and another that detects movement. I would now like to make an on/off option via a switch (normal like for lights). The switch turns on 230V and I have no way to connect it to a lower voltage. So I would like to detect in the esp8266 that there is 230V AC voltage in a particular wire. How should I do this? Usually the control is via a low DC current, and here the situation is a bit opposite.
I see that blebox has such a ready-made device: https://blebox.eu/wp-content/uploads/actionBoxS_Manual_PL.pdf
What should I use to do something similar?
I am making myself a smarthome using esp8266 along the lines of how blebox devices work. I have a device to turn on lights when it gets the right request, and another that detects movement. I would now like to make an on/off option via a switch (normal like for lights). The switch turns on 230V and I have no way to connect it to a lower voltage. So I would like to detect in the esp8266 that there is 230V AC voltage in a particular wire. How should I do this? Usually the control is via a low DC current, and here the situation is a bit opposite.
I see that blebox has such a ready-made device: https://blebox.eu/wp-content/uploads/actionBoxS_Manual_PL.pdf
What should I use to do something similar?