ratgdo / esphome-ratgdo

ratgdo for ESPHome
GNU General Public License v2.0
308 stars 75 forks source link

Request: Add "Delay before Closing (seconds)" variable to allow "door close warning" automations to be triggered and completed by external Home Automation System #244

Open cgbale opened 2 months ago

cgbale commented 2 months ago

My home automation system triggers "Warning Garage Door is Closing" sequences when the "Close Garage Door" command is triggered. Unfortunately, the garage door is already 1/3 closed before this happens, which is not nearly enough time for someone to react (to prevent a car from backing into a closing garage door.) This delay / warning is required for UL325 Safety Certification Compliance.

Can you please add a variable to the UI for "Delay before Closing (seconds)". This will allow sufficient time for the home automation system to complete any audible / flashing light notifications before RATGDO starts closing the garage door.

Thank you!

restauffer commented 2 months ago

Are you using Home Assistant? If, yes, why not build the delay into your automation? The sequence would look like this:

Ricke

cgbale commented 2 months ago

I’m using Control4 and not Home Assistant. The C4 ratgdo driver integrates with a native C4 UI driver to control the door through the UI. It’s not possible to add a delay through that combination of drivers and retain the Native UI for the garage door. (It could be done through a separate menu/experience item, but that’s a non-intuitive workaround from a UI perspective.)

I’ve requested the ratgdo C4 driver developer to add a delay function within the driver, but received no response. Native capability in ratgdo may be a more flexible solution anyway.

restauffer commented 2 months ago

Thanks for the explanation. I never heard of Control4 before.

rlowens commented 2 months ago

I’m using Control4 and not Home Assistant.

You've created this issue in the esphome-ratgdo firmware, is that what you are using?

cgbale commented 2 months ago

Yes, the Chowmain ratgdo Control4 driver uses the esphome API.

https://chowmain.software/drivers/control4-ratgdo