mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
Add UniFi Protect binary_sensor platform (#21032)
Co-authored-by: J. Nick Koston <nick@koston.org> Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
6258b58085
commit
1812bdd320
@ -3,6 +3,7 @@ title: UniFi Protect
|
|||||||
description: Instructions on how to configure UniFi Protect integration by Ubiquiti.
|
description: Instructions on how to configure UniFi Protect integration by Ubiquiti.
|
||||||
ha_category:
|
ha_category:
|
||||||
- Hub
|
- Hub
|
||||||
|
- Binary Sensor
|
||||||
- Button
|
- Button
|
||||||
- Camera
|
- Camera
|
||||||
- Light
|
- Light
|
||||||
@ -20,6 +21,7 @@ ha_codeowners:
|
|||||||
- '@bdraco'
|
- '@bdraco'
|
||||||
ha_domain: unifiprotect
|
ha_domain: unifiprotect
|
||||||
ha_platforms:
|
ha_platforms:
|
||||||
|
- binary_sensor
|
||||||
- button
|
- button
|
||||||
- camera
|
- camera
|
||||||
- light
|
- light
|
||||||
@ -112,6 +114,7 @@ Each UniFi Protect camera will get the following entities added:
|
|||||||
* **Privacy Mode** - If your camera allows for Privacy Masks, there will be a configuration switch to toggle a "Privacy Mode" that disables recording, microphone, and a black privacy zone over the whole camera.
|
* **Privacy Mode** - If your camera allows for Privacy Masks, there will be a configuration switch to toggle a "Privacy Mode" that disables recording, microphone, and a black privacy zone over the whole camera.
|
||||||
* **System Sounds** - If your camera has a speaker, there will be a configuration switch to toggle system sounds.
|
* **System Sounds** - If your camera has a speaker, there will be a configuration switch to toggle system sounds.
|
||||||
* **SSH Enabled** - A disabled by default switch entity will be added to let you toggle on and off SSH for your camera. Username is `ubnt` and password is your Device Password as configured in UniFi Protect.
|
* **SSH Enabled** - A disabled by default switch entity will be added to let you toggle on and off SSH for your camera. Username is `ubnt` and password is your Device Password as configured in UniFi Protect.
|
||||||
|
* **Sensors** - Sensors are provided for data provided from the camera device. Sensors include "Is Dark" and "Doorbell Chime" (if camera has a chime).
|
||||||
* **Button** - A disabled by default button entity is added for each camera device. The button will let you reboot your camera device.
|
* **Button** - A disabled by default button entity is added for each camera device. The button will let you reboot your camera device.
|
||||||
|
|
||||||
### Floodlights
|
### Floodlights
|
||||||
@ -125,12 +128,14 @@ Each UniFi Protect floodlight will get the following entities added:
|
|||||||
* **Switch** - The following switch entities will be added for each floodlight:
|
* **Switch** - The following switch entities will be added for each floodlight:
|
||||||
* **Status Light** - A configuration switch to turn it on and off to turn on and off the status light for your floodlight.
|
* **Status Light** - A configuration switch to turn it on and off to turn on and off the status light for your floodlight.
|
||||||
* **SSH Enabled** - A disabled by default switch entity will be added to let you toggle on and off SSH for your floodlight. Username is `ubnt` and password is your Device Password as configured in UniFi Protect.
|
* **SSH Enabled** - A disabled by default switch entity will be added to let you toggle on and off SSH for your floodlight. Username is `ubnt` and password is your Device Password as configured in UniFi Protect.
|
||||||
|
* **Sensors** - Sensors are provided for data provided from floodlight devices. Sensors include "Is Dark" and "Motion Detected".
|
||||||
* **Button** - A disabled by default button entity is added for each floodlight device. The button will let you reboot your floodlight device.
|
* **Button** - A disabled by default button entity is added for each floodlight device. The button will let you reboot your floodlight device.
|
||||||
|
|
||||||
### Sensors
|
### Sensors
|
||||||
|
|
||||||
Each UniFi Protect smart sensor will get the following entities added:
|
Each UniFi Protect smart sensor will get the following entities added:
|
||||||
|
|
||||||
|
* **Sensors** - Sensors are provided for data provided from smart sensor devices. Sensors include "Door", "Motion Detected" and "Battery Low".
|
||||||
* **Button** - A disabled by default button entity is added for each sensor device. The button will let you reboot your sensor device.
|
* **Button** - A disabled by default button entity is added for each sensor device. The button will let you reboot your sensor device.
|
||||||
* **Switch** - A disabled by default switch entity will be added to let you toggle on and off SSH for your sensor. Username is `ubnt` and password is your Device Password as configured in UniFi Protect.
|
* **Switch** - A disabled by default switch entity will be added to let you toggle on and off SSH for your sensor. Username is `ubnt` and password is your Device Password as configured in UniFi Protect.
|
||||||
|
|
||||||
@ -142,6 +147,12 @@ Each UniFi Protect viewport will get the following entities added:
|
|||||||
* **Button** - A disabled by default button entity is added for each viewport device. The button will let you reboot your viewport device.
|
* **Button** - A disabled by default button entity is added for each viewport device. The button will let you reboot your viewport device.
|
||||||
* **Switch** - A disabled by default switch entity will be added to let you toggle on and off SSH for your viewport. Username is `ubnt` and password is your Device Password as configured in UniFi Protect.
|
* **Switch** - A disabled by default switch entity will be added to let you toggle on and off SSH for your viewport. Username is `ubnt` and password is your Device Password as configured in UniFi Protect.
|
||||||
|
|
||||||
|
### NVR
|
||||||
|
|
||||||
|
Your main UniFi Protect NVR device also gets a number of diagnostics sensors that can be used for tracking the state of your UniFi Protect system:
|
||||||
|
|
||||||
|
* **Disk Health**: Each disk installed in your NVR will have a disk health sensor. These are simple good/bad sensors and the order is not promised to match the order in UniFi OS. Disk model number is provided as a state attribute though to help map sensor to disk.
|
||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
### Enabling Debug Logging
|
### Enabling Debug Logging
|
||||||
|
Loading…
x
Reference in New Issue
Block a user