GarHAge icon indicating copy to clipboard operation
GarHAge copied to clipboard

action triggered on connection to relay

Open ehudkaldor opened this issue 4 years ago • 3 comments

not sure if this is something you can help with, but here goes:

as soon as i connect the relay to the garage door trigger (COM and NO), it triggers an action. at this point, i can control the garage door via MQTT, but the physical button stops working. i am not sure if i'm connecting something wrong, but this happens even if the relay is not corrected to power. and i've tried it with 2 different relays.

help. please.

ehudkaldor avatar Oct 28 '19 07:10 ehudkaldor

Strange, normally this would happen if you connect the wires to COM and NC, maybe the relay is broken. Test it with a multimeter, there shouldn't be continuity between COM and NO (when the relay is not powered).

mrSabic avatar Oct 28 '19 07:10 mrSabic

I had this same issue. My relay was active-low (which I didn't realize) and I hadn't set ACTIVE_HIGH_RELAY to false. I updated the .h, uploaded the new sketch and it worked perfectly (physical buttons work again).

cmcapone avatar May 31 '20 23:05 cmcapone

I had this same issue. My relay was active-low (which I didn't realize) and I hadn't set ACTIVE_HIGH_RELAY to false. I updated the .h, uploaded the new sketch and it worked perfectly (physical buttons work again).

That just saved my day. I was in the same case using an ESP-01/01S And here is how to set ACTIVE_HIGH_RELAY to false in ESPHome: https://esphome.io/components/switch/gpio.html#active-low-switch

Thank you!

cben0ist avatar May 03 '21 02:05 cben0ist