Releases: briis/unifiprotect
Version 0.5.8-Beta
Release 0.5.8 - Beta
This release introduces a few new Services, as per user request. Please note that HDR and High FPS Services will require a version of Unifi Protect greater than 1.13.x. You will still be able to upgrade, but the functions might not work.
- New feature: Turn HDR mode on or off, asked for in Issue #119. Only selected Cameras support HDR mode, but for those cameras that support it, you can now switch this on or off by calling the service:
unifiprotect.set_hdr_mode
. Please note that when you use this Service the stream will reset, so expect a drop out in the stream for a little while. - New feature: Turn High FPS video mode on or off. The G4 Cameras support High FPS video mode. With this release there is now a service to turn this on or off. Call the service
unifiprotect.set_highfps_video_mode
. - New feature: Set the LCD Message on the G4 Doorbell. There is now a new service called
unifiprotect.set_doorbell_lcd_message
from where you can set a Custom Text for the LCD. Closing Issue #104
Version 0.5.6
New feature: Turn the Status Light on or off, asked for in Issue #102. With this release there is now the possibility to turn the Status light on each camera On or Off. This can be done in two ways:
- Use the service
unifiprotect.set_status_light
- Use the new switch that will be created for each camera.
Version 0.5.5
The latest beta of Unifi Protect includes the start of Ubiquiti's version of AI, and introduces a concept called Smart Detect, which currently can identify People on specific Camera models. When this is enabled on a Camera, the event type changes from a motion event to a smartdetect event, and as such these cameras will no longer trigger motion events.
This release is a quick fix for the people who have upgraded to the latest Unifi Protect Beta version. I will later introduce more Integration features based on these new Unifi Protect features.
Version 0.5.4
A more permanent fix for Issue #88, where the snapshot images did not always get the current image. The API call has now been modified, so that it forces a refresh of the image when pulling it from the camera. Thank you to @rajeevan for finding the solution.
If you installed release 0.5.3 AND enabled Anonymous Snapshots you can now deselect that option again, and you will not have to enable the Anonymous Snapshot on each Camera.
Version 0.5.3
-
Fix for Issue #88 - The function for saving a Camera Snapshot works fine for most people, but it turns out that the image it saves is only refreshed every 10-15 seconds. There might be a way to force a new image, but as the Protect API is not documented I have not found this yet. If you need the guaranteed latest image from the Camera, there is a way around it, and that is to enable Anonymous Snapshots on each Camera, as this function always gets the latest image directly from the Camera.
This version introduces a new option where you can enable or disable anonymous snapshots in the Unifi Integration. If enabled, it will use a different function than if disabled, but it will only work if you login to each of your Cameras and enable the Anonymous Snapshot.
To use the Anonymous Snapshot, after this update has been installed, do the following:
- Login to each of your Cameras by going to http://CAMERA_IP. The Username is ubnt and the Camera Password can be found in Unifi Protect under Settings.
- If you have never logged in to the Camera before, it might take you through a Setup procedure - just make sure to keep it in Unifi Video mode, so that it is managed by Unifi Protect.
- Once you are logged in, you will see an option on the Front page for enabling Anonymous Snapshots. Make sure this is checked, and then press the Save Changes button.
- Repeat step 3 for each of your Cameras.
- Now go to the Integrations page in Home Assistant. Find the Unifi Protect Widget and press options.
- Select the checkbox Use Anonymous Snapshots and press Submit
Now the Unfi Protect Integration will use the direct Snapshot from the Camera, without going through Unfi Protect first.
-
Changed size for Non Anonymous Snapshots so that G4 Pro Cameras are now saving snapshots in 3840x2160 size and all other in 1920x1080
Version 0.5.2
- Added exception handling when the http connection is dropped on a persistent connection. The Integration will now throw a
ConfigEntryNotReady
instead and retry.