Actions18
- Bootstrap Actions
- Camera Actions
- Doorbell Actions
- Event Actions
- File Management Actions
- Light Actions
- Sensor Actions
Overview
This node interacts with the UniFi Protect API to manage and retrieve data related to sensors. Specifically, the 'Get Many' operation under the 'Sensor' resource allows users to fetch multiple sensor records from the UniFi Protect system. This is useful for scenarios where monitoring or managing multiple sensors is required, such as in security systems or environmental monitoring setups.
Use Case Examples
- Retrieve a list of all sensors connected to the UniFi Protect system to monitor their status.
- Fetch sensor data in batches to efficiently handle large numbers of sensors without overwhelming the API.
- Use the operation to integrate sensor data into a larger automation workflow for alerting or reporting.
Properties
| Name | Meaning |
|---|---|
| Request Options | Settings to control how the request is made, including batching, SSL certificate validation, proxy usage, and timeout settings. |
Output
JSON
sensors- An array of sensor objects retrieved from the UniFi Protect API, each representing a sensor's data and status.
Dependencies
- Requires an API key credential for UniFi Protect API authentication.
Troubleshooting
- If the node fails due to SSL certificate issues, enable 'Ignore SSL Issues' to bypass certificate validation (not recommended for production).
- Timeout errors can occur if the server is slow to respond; increase the 'Timeout' value to allow more time.
- Incorrect proxy settings can prevent the node from connecting; verify proxy URL and credentials if used.
- Batching settings must be configured correctly to avoid overwhelming the API or causing delays; adjust 'Items per Batch' and 'Batch Interval' as needed.
Links
- UniFi Protect API Documentation - Official documentation for the UniFi Protect API, useful for understanding available endpoints and data structures.