ThisSmartHouse / esp8266-gateopener

A sketch to power an ESP8266-based Mighty Mule Gate Opener
1 stars 0 forks source link

general mighty mule control feature question #1

Open jacksnodgrass opened 6 years ago

jacksnodgrass commented 6 years ago

I am going to do something sort of similar to this but I am just going to go a bit easier ( for me ) route and use a Raspberry Pi that I already have doing some light controls and add a gate opening / closing feature for it.

One thing that would be nice to have on this is a way to tell if the gate is open, closed or maybe even opening / closing.

I don't see any of the pin-outs of the mighty mule circuit board that provide this info.

Before I go wiring up a open / closed reed switch of some sort to detect open/closed wanted to see if you knew of a way to get the info from the circuit board.

jwshields commented 4 years ago

Reviving an old post here... Hope this isn't a problem. I was doing some tracing of the circuit boards for the gate opener and arm (I have an MM560).. From what I was seeing, the Orange & Brown wires to the arm SEEM to control direction of the arm. But I have not validated this though, and do not want to qualitatively state this as truth.

Regarding "state" - open/closed - you may be able to integrate a magnetic sensor like a generic "Window/Door sensor" and wire that up to the Pi at the closed position of the gate. (and/or one for the fully open position too)

Regarding opening/closing... The MM560 has an AUX RLY - I am not sure if all MightyMule openers have this relay though. But the circuit is normally open, closed when the gate is moving (opening or closing) - you could maybe use a voltage sensor here to detect voltage across the aux relay to determine whether or not it's moving, and, if my guess/tracing is right, pair that with the orange/brown arm wires to determine direction?

Hope this helps, two years later... 😅 image