UniFi LED API

An unofficial Python API to control LED status on UniFi devices via undocumented REST APIs.

Programmatic Control

Turn device LEDs on or off programmatically with simple commands.

Universal Compatibility

Works with UniFi OS and legacy controllers seamlessly.

Automation Ready

Perfect for cron jobs and home automation systems.

🚀 Quick Start

# Clone the repository
git clone https://github.com/elNino0916/unifi-led-api.git

# Install dependencies
pip3 install requests

# Turn LED on
python3 start.py led on