Here is the idea - I am very interested in feedback and validation.
My home has well water - and the pump is 220V. The pump can be turned off via a 220V switch.
I would like to use a ESP8266 and somehow interface with a digital servo to ‘physically turn the switch on/off’ with the servo horn.
I currently have a smartthings DOME valve that will shut off a ball valve that is on the water line to the house, if it senses a water leak on any of my water sensors.
If I ever get a leak - BEFORE that valve - then I would be flooded. I would also like to also shut off the well switch when a leak is detected.
I am currently using ST_Anything for some contact sensors & relays & PIR motion sensors.
How much work would it be to get a library that interfaces with a hobby Servos? Is there already a library that is similar enough that it could just be tweaked?
I understand that the servo will have it’s own power source of 5v - that is not an issue.