UniFi Protect icon

UniFi Protect

Interact with UniFi Protect API

Actions18

Overview

This node interacts with the UniFi Protect API to manage smart lights, specifically supporting the operation to retrieve multiple light entities. It is useful in scenarios where users want to fetch a list of smart lights managed by the UniFi Protect system, for example, to monitor their status or control them in bulk.

Use Case Examples

  1. Fetching all smart lights in a UniFi Protect system to display their current state in a dashboard.
  2. Retrieving a batch of lights to update their settings or perform bulk operations.

Properties

Name Meaning
Request Options Options to control the request behavior such as batching, SSL certificate validation, proxy settings, and timeout.

Output

JSON

  • lights - Array of light objects retrieved from the UniFi Protect system, each representing a smart light with its properties.

Dependencies

  • UniFi Protect API

Troubleshooting

  • If the node fails to connect, check the API credentials and controller URL.
  • Timeout errors may occur if the server is slow or unreachable; increase the timeout setting if needed.
  • SSL certificate errors can be bypassed by enabling the 'Ignore SSL Issues' option, but this reduces security.
  • Proxy settings must be correctly configured if a proxy is required for network access.

Links

Discussion