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.42k stars 86 forks source link

How to trigger doorbell function to homekit via HomeSeer automation #430

Closed PrimaryInc closed 3 years ago

PrimaryInc commented 3 years ago

Describe The Problem:

Hi, I use HomeSeer for automation, and HomeBridge to connect to homekit. All connected via the HomeSeer plugin for HomeBridge. Sins i have a Unifi Dream Machine Pro, I also use Unifi Protect. Now i used to use Homebridge Camera FFmpeg plugin, but for al possible reasons using the Unifi plugin made mye world alot easier.

So with Homebridge Camera FFmpeg i could from HomeSeer trigger an action event, that calls a url. This url then triggers the doorbell function in homekit, giving me a live view of whom ever was at the door. Under the action url used to trigger doorbell: &hs.URLAction("http://IP:8888/doorbell?Gardsplass","GET","","") Reason for me to do it this way, doorbell is a 433Mhz device calling a device in HomeSeer. And when this device is triggered, it calls event that send url to HomeBridge and view appears on my apple tv.

I have enabled doorbell function with Enable.Doorbell.Trigger under feature options. So the question is, is there a url that i can use to trigger doorbell function in your plugin? I have 7 cameras, and I only need to trigger one by the door. Is it possible? Any ideas?

Thank you very much :)

Homebridge Configuration:

{ "controllers": [ { "address": "IP", "password": "Something", "username": "User" } ], "options": [ "Enable.Doorbell.NvrEvents", "Enable.Doorbell.Trigger" ], "platform": "UniFi Protect"

Environment:

hjdhjd commented 3 years ago

No, there isn’t a way to do it through a URL, and I have no plans to create such a mechanism. In the future, you’ll be able to trigger a doorbell ring through MQTT, however. No timeframe, but in the coming months I hope.

PrimaryInc commented 3 years ago

Hi,

Thats to bad, great plugin and would be useful function for any home automation platform.

PrimaryInc commented 3 years ago

By the way what other functions can trigger the doorbell? Only internally in homekit/homebridge?

hjdhjd commented 3 years ago

RTFM or Discord. 😄

github-actions[bot] commented 1 year 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.