Art-of-WiFi / UniFi-API-client

A PHP API client class to interact with Ubiquiti's UniFi Controller API
MIT License
1.13k stars 223 forks source link

Basic class to control unifi LED lighting panels. #120

Closed MikeSiekkinen closed 2 years ago

MikeSiekkinen commented 3 years ago

Coding structure was modeled off existing PR https://github.com/Art-of-WiFi/UniFi-API-client/pull/102/ that was adding a separate Protect Client. Specifically adopting the Client::unifi_os_endpoint variable for API path to LED controls.

Currently just an on and off method to start discussion on this set of changes

If this looks like a good direction and something you'd like to include I'm happy to fill out the LEDClient API further

malle-pietje commented 2 years ago

Closing, not sure we should extend this client class (which is already becoming quite large) to support non-network devices.