Page 1 of 1

Plugin: Ledenet/Ufo led controller

Posted: Saturday 10 June 2017 21:44
by elgringo
I made a controller for the Ledenet/Ufo led controller. Controller is able to set saturation of a color, which is not possible with a (for example) MiLight Controller.

After installing the plugin you get a few switches: (beacuse the colorpicker won't work within python)
Capture.PNG
Capture.PNG (69.14 KiB) Viewed 488 times
One for each color (red/green/blue/(warm)white), A global on/off switch and a auto option. This will turn on/off the light and changes color at a random interval. Made this beacuse I am lazy :)

Settings:
Capture2.PNG
Capture2.PNG (44.85 KiB) Viewed 488 times
For connection and for the automatic light option.

The automatic light option switches on based on the current sunset times. I am not able to retrieve them directly from Domoticz so I used a JSON call. To make this work you must update the domoticz username/password in the plugin.py

Source (with images) can be found here: https://github.com/ericstaal/domoticz/t ... in/ledenet