Thanks for your work on this, it has been working great!
Is there a way to add support for selecting which devices to load? I have several cameras that I do not need in SmartThings that saturate/overwhelm the system with information (motion/person/etc.). I have been manually deleting the ones I don’t need, but they come back anytime I add/scan for other new devices or whenever the hub reboots.
What was happening
The driver was sending NVR memory (and CPU temperature) to SmartThings every time UniFi Protect pushed a health update over the local WebSocket (~every 15 seconds). SmartThings logs each update in device history, which quickly floods the event log.
What I changed
New controller setting:Report NVR Health Metrics (Settings → Unifi Protect Controller). Turn it Off to stop memory and CPU updates in SmartThings. NVR status (storage, camera counts, arm mode, etc.) still updates normally.
Smarter reporting: The driver now only emits events when a value actually changes, so you shouldn’t see the same percentage repeated several times per minute.
If anything still looks noisy after the update, let us know what you’re seeing and we can look into it.
I have been waiting the past few weeks to see if the SmartThings crew would fix whatever they broke on their end.
This was working flawlessly since early June until a recent SmartThings hub update (maybe 62.6 or earlier). Now, I no longer get any history or events from any of the connected cameras, and cameras that were intentionally deleted in SmartThings keep coming back no matter what the settings.
I attempted deleting all the devices and the driver, reinstalled the driver and reconnected to Unifi Protect to load up the cameras, but that had no positive impact. Cameras show connected but have no history or activity after the initial wave of events at connection time.
The problem seems to be with firmware 62.6; I’m also having several issues with local drivers. From what I’ve researched, that does indeed seem to be the cause. I’ll let you know here as soon as I have more information.