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.43k stars 90 forks source link

Doorbell Ring does not trigger when HomeBridge is on a Docker #337

Closed houshasen closed 3 years ago

houshasen commented 3 years ago

Describe The Problem: Doorbell Ring does not trigger when HomeBridge is on a Docker

To Reproduce: First everything works as expected including doorbell push and ringing to all HomePods when this plugin is used. However, when I place Homebridge on the docker (in my case Qnap NAS), video and others works fine and still very fast, but doorbell ring does not trigger on the homebridge.

The reason why I said doorbell ring does not trigger in the homebridge is because I have turned on "Enable.Doorbell.Trigger". Pushing this virtual switch from either Homebridge app or Apple Home app, HomePod mini does make sound. When I push physical doorbell, I do not see the virtual switch turns on. Hence, my conclusion is the link between Physical Doorbell (UniFi Protect) to Homebridge Plugin must be somehow bypassed/broken when Docker is used.

Logs:

N/A (as nothing recorded/triggered in the log).

Homebridge Configuration:

"controllers": [ { "address": "192.168.1.1", "password": "XXXXXXX", "username": "XXXXXX" } ], "options": [ "Enable.Doorbell.Trigger" ], "_bridge": { "username": "XXXXX", "port": 30399 }, "platform": "UniFi Protect"

Screenshots:

N/A

Environment:

hjdhjd commented 3 years ago

This is a known issue - will be resolved in the next version. Been documented multiple times...I’ll leave it as an exercise for the search function. :smile:

UniFi Protect 1.17 introduced some new behavior that needs to be accounted for. Thanks!

houshasen commented 3 years ago

I apologize and thank you for yet still kind reply.

Thank you again!

iPhoneから送信

3/16/21 午後9:55、hjdhjd @.***>のメール:

 This is a known issue - will be resolved in the next version. Been documented multiple times...I’ll leave it as an exercise for the search function. 😄

UniFi Protect 1.17 introduced some new behavior that needs to be accounted for. Thanks!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

hjdhjd commented 3 years ago

Not at all!

fdegier commented 3 years ago

Sorry to bother you, I run Homebridge (v1.3.1) inside Docker, the doorbell works and rings over my HomePods. But not always, when I press it to test it, it works flawless. But when someone visits and rings, I only get a Unifi notification.

Is this the same issue?

hjdhjd commented 3 years ago

Yes.