I have a set of automated gates they work great and I’ve also managed to get a sonoff with relay to toggle them and it’s been working fine for a year. I’ve now got openalpr recognising number plates thus triggering the gates.
My problem is that my gates are dumb in the fact they are toggle based in that if they are closed and you press it it opens and vice versa. It doesn’t really know whether the gates are open or closed to start with as it uses a power surge to cut off its motors when they reach their mechanical limit.
Can anyone think of a novel and non complicated way of working out whether my gates are open or shut?
I have the Meross garage opener, but use it for my automatic gate. It’s the same style gate opener as you have, where it’s just a toggle to activate.
The Meross garage door opener comes with an additional contact/magnet sensor that I have connected to the main motor, with the other end on the gate itself, at the point that lines up with the main sensor on the motor when it’s fully closed. It might be worth noting that mine is a sliding gate.