ratgdo / homekit-ratgdo

A native HomeKit implementation of a Security+ 2.0 garage door controller based on ratgdo hardware
https://ratgdo.github.io/homekit-ratgdo/
GNU General Public License v3.0
214 stars 21 forks source link

Add optional beeping for unattended close #230

Open amoiseiev opened 2 months ago

amoiseiev commented 2 months ago

Hi,

I’m wondering if it’s possible to add a checkbox one can use with a delayed close to make it beep? Basically, looking to replicate myQ behavior for unattended door close - lights and beeps.

I understand that some may not want it, so making it optional will make both camps happy.

dkerr64 commented 2 months ago

Hi @amoiseiev. I would love to do this but we have not figured out how. The delayed close feature is implemented differently by myQ and the protocol has not been figured out, at least not when we last looked into this several months ago.

The beeping is done as part of the garage door's built-in close delay. Because we don't know how that works, we implement our own delay and "manually" flash the lights for the duration of the delay. But there is no way (that we know of) to tell the door opener to beep.

amoiseiev commented 2 months ago

Got, so since it's not something existing physical accessories can trigger by transmitting the signal over the wire, it makes it complicated to figure out what the command should be (if it exists in Security 2.0)

dkerr64 commented 2 months ago

It can obviously been done, but we don't know how. The HA firmware has the same problem.

I'll mark this as enhancement and keep it open for now... but a quick fix is unlikely.