Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

action triggered on connection to relay #33

Open
ehudkaldor opened this issue Oct 28, 2019 · 3 comments
Open

action triggered on connection to relay #33

ehudkaldor opened this issue Oct 28, 2019 · 3 comments

Comments

@ehudkaldor
Copy link

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.

@mrSabic
Copy link

mrSabic commented Oct 28, 2019

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).

@cmcapone
Copy link

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).

@cben0ist
Copy link

cben0ist commented May 3, 2021

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants