I Have (2) garage doors fitted with relays and closed sensor. I have the relay configured as a button card.
The action is set to Toggle. The problem is that you have to press the icon twice for each action. Twice to start it moving and twice if you want to stop if before complete. The wall has a simple door bell switch. Press once to start once to stop.
How do I make the card work like the door bell?
Hi Gary, welcome to the HA community!
Could you share the configuration of the button card? Either as a screenshot or YAML should be fine.
Generally, more info means a quicker solution: could you provide more information about the relays and sensors you are using?
Do you know for sure that the door bell switch on the wall is not turning a single button press into two signals to the relay?
An idea to aid debug: if you have any smart lights, you could change your button to try toggling the light on and off. Do you still need to hit the toggle twice? (You shouldn’t, this works perfectly with my Hue lights!)
show_name: true
show_icon: true
type: button
entity: switch.garage_door_relay_sandy
icon_height: 80px
icon: mdi:garage
name: Garage Door (Sandy)
show_state: false
tap_action:
action: toggle
Thanks for the config.
I appreciate this won’t help much, but your config is fine.
Taking your config and changing nothing but the switch entity (still a switch type) works perfectly for me, 1 tap on the button results in a change of state.
Can you tell us a bit more about your relays, and how these connect to HA?
Yes, Gary - Please help elaborate your garage door setup: wiring, sensors, relays, controls, protocols, photos, logs, configs in HA, etc.
So that we could narrow down where the issue is.
So far we know that your garage card is fine.
The garage doors are controlled by Insteon IOLink relay and sensor kit. The relay portion does a momentary connection on the garage door opener. The same as the door bell which connects to the same (2) screws on the opener. If you short out these two screws, the door will start moving. If you short it again before the door is all the way open or closed, it will stop. shorting again or pressing the door bell button will start it moving again in the opposite direction. I think all garage doors openers work the same way.
I’m not sure, but it seems the problem is it is not a switch. No on/off. Just a momentary on. A door bell does not have an on and off either.
Doesn’t your garage door have a door bell button to trigger the open and closed manually before any automation?
I created an android app for my phone some time ago to open & close the garage door,
The Universal devices - ISY supports rest commands. In HA, it is the ISY994i integration.
The rest command looks like this
curl http://192.168.1.185/rest/nodes/’ . $addr . '%202/cmd/DON
DON is on. DOFF would be off. Off is never sent !!! A switch is going to send off with a toggle.
So I thing I need a button press that will always do turn_on which is not an option.