Closed albert-gharibi closed 6 months ago
Appreciate the bug report, but unfortunately there's not much here for me to specifically troubleshoot.
If you have a specific, reproducible problem, please open a new issue with the steps to reproduce and I'll be happy to look into it. That said, here's a couple of observations based on what you described:
TL;DR: if you want to use HKSV, understand you're intentionally selecting a more resource-intensive set of capabilities and follow the HKSV best practices laid out in the documentation, chief among them being to ensure you have robust hardware that you're running HBUP on.
Best of luck...and, beyond the documentation, feel free to ask more performance optimization questions on the Homebridge Discord.
Thanks for the quick response. I am using the HomeKit route for my UniFi cameras mostly for the notification purposes that displays on my Apple TV. Is there a way to disable the HKSV feature to reduce the resource consumption level if that is an option?Thanks,On Mar 9, 2024, at 4:25 PM, hjdhjd @.***> wrote: Appreciate the bug report, but unfortunately there's not much here for me to specifically troubleshoot. If you have a specific, reproducible problem, please open a new issue with the steps to reproduce and I'll be happy to look into it. That said, here's a couple of observations based on what you described:
You're running HBUP on a low-power/capability platform like Raspberry Pi. Yes, the Pi 4 will work, but it's still a low-power platform that isn't going to scale up beyond a couple of cameras, especially if you use HKSV with HBUP. You're running Protect on your UDMP. Yes, this too will work, but when using HBUP with HKSV, it's going to open persistent video connections to the Protect controller, which in this case you are also using as your primary network router. To exacerbate matters, you're doing it on a low-power platform that's going to struggle to consume all those video streams at once.
TL;DR: if you want to use HKSV, understand you're intentionally selecting a more resource-intensive set of capabilities and follow the HKSV best practices laid out in the documentation, chief among them being to ensure you have robust hardware that you're running HBUP on. Best of luck...and, beyond the documentation, feel free to ask more performance optimization questions on the Homebridge Discord.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
To do so, don't enable HKSV within the Home app for your Protect cameras.. Beyond that, I refer you to the documentation I pointed to above, as well as googling around for how to enable/disable HKSV within the Home app...MacRumors, etc all have plenty of guides.
Final point: the Protect controller shouldn't be randomly rebooting regardless...and doesn't for most of us. Correlation isn't necessarily causation...I'm deeply skeptical, but open, to HBUP being at fault. Largely because I simply don't hear reports that it does and HBUP has been around quite a long time and used by a large user population. If it were a widespread issue, I would expect it to surface and I haven't seen that.
I understand. The problem is that I have had this setup for almost two years and never had an issue but for this last month after some updates on both UniFi protect and the home bridge and the plug in itself. That is why it led me to think the updates may have caused this issue. I really appreciate your guidance and recommendation.Thanks,On Mar 9, 2024, at 4:57 PM, hjdhjd @.***> wrote: To do so, don't enable HKSV within the Home app for your Protect cameras.. Beyond that, I refer you to the documentation I pointed to above, as well as googling around for how to enable/disable HKSV within the Home app...MacRumors, etc all have plenty of guides. Final point: the Protect controller shouldn't be randomly rebooting regardless...and doesn't for most of us. Correlation isn't necessarily causation...I'm deeply skeptical, but open, to HBUP being at fault. Largely because I simply don't hear reports that it does and HBUP has been around quite a long time and used by a large user population. If it were a widespread issue, I would expect it to surface and I haven't seen that.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
Appreciated - you can always revert to prior versions of HBUP to test further if you like...it's easy to do in the Homebridge UI. Generally speaking, Ubiquiti updates are typically the culprit but I know that's not of much help I'm afraid.
Best of luck!
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
6.18.1
Homebridge Platform and OS
Raspberry Pi
Homebridge Version
1.7.0
Node Version
20.11.0
UniFi OS Version
3.2.12
UniFi Protect Controller Version
2.11.21
Describe the problem
It's been a month that I have noticed my Unifi Protect cameras randomly go offline and then come back online in a few seconds. I realized that the Unifi Protect application is rebooting itself randomly. I contacted the Unifi support and they recommended to disable the Unifi Protect plug in on my homebridge to see if it is the cause of the issue. I disabled the protect plug in on homebridge and the issue has gone away. Looks like there is something with the plug in that causes the Unifi Protect application to reboot itself randomly. Can you please look into this issue?
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