hjdhjd / homebridge-unifi-protect

:video_camera: Complete HomeKit integration for all UniFi Protect device types with full support for most features including HomeKit Secure Video, and more. https://homebridge.io
Other
1.45k stars 93 forks source link

Trigger chime from HomeKit #1043

Closed cyaneous closed 7 months ago

cyaneous commented 7 months ago

Describe the feature request

It would be great if it was possible to ring a chime from HomeKit automations. This is especially useful because the native Unifi Protect behavior is to only support one doorbell at a time. With this, we could have more than one doorbell ring the chime (and any other automation too!). Plus, an extra "buzzer" sound type is very useful as well.

Describe the proposed solution

It looks like the API is pretty simple for this on the controller. A POST to the following URLs seems to work:

chimes/{device_id}/play-speaker chimes/{device_id}/play-buzzer

These play two different types of sound.

They would best be exposed as stateless programmable buttons in HomeKit - this would hide them from the regular UI but allow programming.

Describe alternatives you have considered to the enhancement

Unifi does not offer this functionality.

hjdhjd commented 7 months ago

Stay tuned. Thanks for the suggestion.

github-actions[bot] commented 7 months ago

This issue is locked to prevent necroposting on closed issues. Please create a new issue for related support requests, bug reports, or feature suggestions.