ebaauw / homebridge-rpi

Homebridge plugin for Raspberry Pi.
Apache License 2.0
308 stars 18 forks source link

Garage Door Device #163

Closed AlbertoAIG closed 1 year ago

AlbertoAIG commented 1 year ago

Hi,

Thanks for this amazing homebridge plugin.

It would be great to can configure gpio device like garage door device. This will allow control this device from CarPlay.

Thanks

ebaauw commented 1 year ago

See #76.

AlbertoAIG commented 1 year ago

See #76.

I don't understand that response from the thread very well, what would be nice is that it works and is configured exactly the same as a Lock or a switch, but that the device appears as a garage door, without sensors.

ebaauw commented 1 year ago

Note that a lock and switch are very different in HomeKit, in that a Lock Mechanism has a target vs current state, where a Switch only has a current state. For lock, only the target state is mapped to a GPIO, and the current state is derived from the target state. I can do something similar for garage, but I won't be able to add any sensors for the actual current state.

ebaauw commented 1 year ago

Could you please try beta v1.8.6-0?

AlbertoAIG commented 1 year ago

For me that would be ok, in my case, the garage door is a simple button that opens it, closes automatically and they do not have accessible status sensors.

ebaauw commented 1 year ago

In v1.8.6.