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.39k stars 83 forks source link

After restarting homebridge the 1st bell is not taken into account #1027

Closed zoic21 closed 7 months ago

zoic21 commented 7 months ago

Homebridge UniFi Protect Version

v6.16.0

Homebridge Platform and OS

Docker on Synology (218+ , DSM 7.2)

Homebridge Version

v1.7.0

Node Version

v18.18.2

UniFi OS Version

v3.1.16

UniFi Protect Controller Version

v2.9.42

Describe the problem

Hello, To begin thanks for your plugin you mage a amazing work. I have an issue after restart of homebridge first ring is not taken by homekit, all other consecutive ring are ok. I test this multiple of time and every time first ring does not seem to be seen by homekit.

Homebridge HBUP JSON configuration

{
            "controllers": [
                {
                    "address": "192.168.1.1",
                    "username": "homebridge",
                    "password": "XXXXXXXXXXXXXXXX"
                }
            ],
            "name": "UniFi Protect",
            "platform": "UniFi Protect",
            "options": [
                "Disable.Doorbell.Messages.XXXXXXX",
                "Disable.Device.XXXXXXX",
                "Enable.Video.Transcode.Hardware",
                "Enable.Video.DynamicBitrate",
                "Enable.Motion.SmartDetect",
                "Disable.Doorbell.Messages.FromDoorbell.XXXXXX",
                "Disable.Doorbell.Messages.XXXXXXX",
                "Disable.Doorbell.Messages.FromDoorbell",
                "Disable.Doorbell.Messages"
            ],
            "videoProcessor": "/homebridge/ffmpeg",
            "_bridge": {
                "username": "0E:XX:87:XX:87:XX",
                "port": XXXX
            }
        },

Relevant log output

# Restart of homebridge
[12/5/2023, 9:44:56 AM] [UniFi Protect] Dream Machine Pro [UDM-PRO] Doorbell [G4 Doorbell]: Doorbell ring detected. # This one not trigger ring on homepod mini or notification
[12/5/2023, 9:45:12 AM] [UniFi Protect] Dream Machine Pro [UDM-PRO] Doorbell [G4 Doorbell]: Doorbell ring detected. # OK
[12/5/2023, 9:45:28 AM] [UniFi Protect] Dream Machine Pro [UDM-PRO] Doorbell [G4 Doorbell]: Doorbell ring detected. # OK

Acknowledgment that you are only running UniFi OS and UniFi Protect releases from the Ubiquiti Official release channel

hjdhjd commented 7 months ago

I've noticed similar...the regression should be addressed in the next release. Thanks!

And thank you for the kind words...much appreciated.

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.