Open cholywell opened 1 day ago
After the Protect update to versions 5.0.X, the integration became terrible. In version 4.0.33, it was quite stable. I'm experiencing many vehicle detection failures, the trigger that is activated but not deactivated, and car license plates that are no longer detected.
The problem
Running Protect 5.0.34
Multiple times per day Home Assistant will stop getting updates for the entities for all Unifi Protect and all video streams will stop working. If you try to reload the integration all entities will go unavailable. Sometimes if you wait a number of hours it starts working. To temporarily fix it I must keep restarting Unifi Protect and Home Assistant until it starts working.
When this happens there are errors in the Home Assistant logs:
uiprotect.exceptions.NotAuthorized: Do not have permission to read media for camera: 5d9294f800362703e70003ed
And errors in the /var/log/ui.log:
2024-10-06 13:43:16.465 WARNING UCore cloud: Endpoint check failed 2024-10-06 13:43:18.175 WARNING qt.network.http2: stream 1 finished with error: "Connection closed" 2024-10-06 13:43:18.218 WARNING qtprotobuflog: "ConsoleStatus" call "unifi.core.console.v1.ConsoleAPI" stream finished: "Connection closed"
What version of Home Assistant Core has the issue?
2024.10.1
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Unifi Protect
Link to integration documentation on our website
https://www.home-assistant.io/integrations/unifiprotect/
Diagnostics information
config_entry-unifiprotect-01J9C5GA8TF8XAH9W7CWYEVHW0.json
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response