Closed nolan2306 closed 5 months ago
Thanks for the report. Correlation isn’t causation, in this instance. 😄
You’re running on an underpowered system with fancy cameras that require a lot of horsepower to process. You’re going to run into CPU issues I’m afraid. Disable high-performance snapshots in 6.20.0 and you should see an improvement in your environment.
Some other notes that may be helpful:
TL;DR: working as intended. HBUP is going to consume more CPU in 6.19+ to provide high performance snapshots, you’re on an underpowered system, and you’re forcing HBUP to process more than your environment can handle I suspect.
Disable high performance snapshots, see if it helps.
I was afraid, the bottle neck was the NAS. Just odd to me that on version 6.19.0 everything works fine. I think I am going to move the home bridge instance from the NAS to a Windows VM. The base machine has Intel I5-9500T, and 32gigs of ram. That processor is just leaps and bounds better than the NAS. But, there is more involved to setup via the Windows VM route. Do you see any issues with running with a VM with this hardware. I will allocate as many resources as I can to the VM.
I don't think the difference was in the version, candidly...but rather the number of events you had going on at once. You can revert to traditional snapshots (which work fine, it's just slower and of lower quality due to constraints in the Protect API), and you should be back to where you were by and large.
I wouldn't run this on a Windows VM...I've done it myself, and it has its own issues. For instance, you can't take advantage of hardware acceleration because of a Windows limitation, ostensibly for security reasons, where you can't access the GPU for hardware acceleration if you're running as a system service. That instantly makes it much less appealing.
Your best bet: get a Mac mini. Even the cheapest Mac mini is going to run circles around most of these systems with respect to this use case. They are relatively inexpensive, especially if you get a refurb. If you go down the Mac route, don't run it in a VM. Run it natively, with hardware acceleration, and be impressed and happy with the performance. 😄 I myself do this...and also run a bunch of other CPU-intensive stuff in my environment. The Mac never breaks a sweat.
Other alternatives...you can try a Raspberry Pi 4 (not 5...I'm not supporting that one quite yet). Should be more performant than what you have, but it's a very low power system too.
Best of luck! 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.20.0
Homebridge Platform and OS
Synology NAS DS918+
Homebridge Version
V1.7.0
Node Version
v20.9.0
UniFi OS Version
3.0.26
UniFi Protect Controller Version
3.2.12
Describe the problem
When I try to stream to my home app in plugin version 6.20.0 it will just sit and spin an never load. Will say camera is not responding. It appears as the snapshots load just fine on the home screen in the home app but can't view a live stream I have rolled back to 6.19.0 for now and live streaming in the home app works as it should.
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