Closed cantcodewontcode closed 1 month ago
Just to be clear, the user homebridge is a Super Admin on the Unifi Cloud Key (pre-defined role which covers all applications including Protect). This user and its role and password have not changed since initial installation a year ago.
These are issues with the Protect controller that multiple users have reported on the Discord. It isn't HBUP. The Protect controller is buggy in v5 and hopefully Ubiquiti addresses it in the near future. In the meantime, you can use the device delay feature option (located under the NVR feature options section) to have HBUP hold off from removing Protect devices for a longer period of time than the default (which is realtime).
TL;DR: not a bug/issue in HBUP and not something I can do anything about unfortunately. Your issues lie with Ubiquiti and their currently buggy firmware releases. You can mitigate the issue somewhat with the device delay removal feature option.
Wish I had better news.
Thanks @hjdhjd. This definitely started back in the 4.x Protect controller code versions. I've set my timeout to 86400.
This issue is locked to prevent necroposting on closed issues. Please create a new issue for related support requests, bug reports, or feature suggestions.
Homebridge UniFi Protect Version
v7.5.1
Homebridge Platform and OS
Ubuntu Server 22.04
Homebridge Version
v1.8.4
Node Version
v20.17.0
UniFi OS Version
v4.0.18
UniFi Protect Controller Version
v5.0.34
Describe the problem
Regularly, my cameras will be removed and re-added by the Unifi Homebridge app. When this happens, HomeKit sees them as brand new cameras, and all their settings are wiped (no notifications, activity settings, automations, etc. configured).
My HBUP and Cloud Key have a clean network connection to each other, with nothing in between interrupting their communications. This started happening possibly up to 2 months ago (noticed when I realized I hadn't gotten a camera alert in a long long time) and I've noticed the cameras have reset config every week or so. During this time, I've had several Protect application updates, Cloud Key updates, HBUP software updates, and even an update from Ubuntu 20.04 to 22.04. I can't tell what version of code on which product months ago might have aligned with the first occurrence of the bug.
Homebridge HBUP JSON configuration
Relevant log output
Acknowledgment that you are only running UniFi OS and UniFi Protect releases from the Ubiquiti Official release channel