I have a winch that I automated using HA. I’m currently using a time condition in my script to run the winch for x seconds to reel out the winch to the required point. I’m trying to find a way to tell HA that winch is at the point where it needs to stop. I first thought I could do this by cutting the power to the winch, but that won’t work.
Here is what I built to cut the power (which won’t work), the winch cable would run between the hoop with a stopper on it. The switch in the electrical box is a normally closed (NC) switch. When the stopper hits the loop it opens the circuit. Instead of cutting the power, I’m wondering if I can attach something to that NC switch that will broadcast a MQTT message when the circuit goes from closed to open. Does anyone know of something that will do that?