I have a project planned which is related to home automation. I want to be able to control the lights using an app on phone while also maintaining full manual switch control in case the relay or anything else that is used to control lights using mobile breaks up.
I also want this module to be small, so I can install it inside my switch board without too much issues. I searched the internet for projects like this and wasn't able to find a lot of good answers.
I did come across a video:
This guy uses a diode in series with a resistor to feed into the analog input pin for nodemcu.
This is very similar to what I want to do, I wanted to ask is, how is it working? Is it safe? And if there are some other alternative circuits I should use.
I'm sorry if the formatting is not proper or I didn't give enough information, I'm posting this from a phone.
If you need, I can post the circuit design I have in mind but it's very similar to the one used in video.
Any help on this will be very much appreciated Thanks :)