1- [ ![ Build Status] ( https://travis-ci.org/happyleavesaoc/python-limitlessled.svg?branch=master )] ( https://travis-ci.org/happyleavesaoc/python-limitlessled ) [ ![ PyPI version] ( https://badge.fury.io/py/limitlessled.svg )] ( https://badge.fury.io/py/limitlessled )
2-
31# python-limitlessled
42
5- ` python-limitlessled ` controls LimitlessLED bridges. It supports ` white ` , ` rgbw ` and ` rgbww ` bulb groups as well as the ` bridge-led ` of newer wifi bridges.
3+ [ ![ PyPI version] ( https://img.shields.io/pypi/v/litmitlessled.svg )] ( https://pypi.org/project/limitlessled/ )
4+ [ ![ Python Tests] ( https://github.com/happyleavesaoc/python-limitlessled/actions/workflows/python.yaml/badge.svg )] ( https://github.com/happyleavesaoc/python-limitlessled/actions/workflows/python.yaml )
5+
6+ ` python-limitlessled ` controls LimitlessLED bridges (sold under various brand names such as MiLight, MiBoxer, EasyBulb, etc.).
7+ It supports ` white ` , ` rgbw ` , ` rgbww ` , and ` rgbcct ` bulb groups as well as the ` bridge-led ` of newer wifi bridges.
8+
9+ Light types:
10+ - ` white ` : White bulbs, 4 zones
11+ - ` rgbw ` : RGB + white bulbs , 4 zones
12+ - ` rgbww ` : RGB + cool/warm white bulbs, 4 zones
13+ - ` rgbcct ` : Newer RGB+CCT bulbs and LED strip controllers, 8 zones
14+ - ` bridge-led ` : Integrated LED on newer WiFi bridges
15+
616## Install
717` pip install limitlessled `
818
@@ -13,6 +23,7 @@ Your bridge(s) must be set up and bulbs joined prior to using this module.
1323Group names can be any string, but must be unique amongst all bridges.
1424``` python
1525from limitlessled.bridge import Bridge
26+ from limitlessled.group.rgbcct import RGBCCT
1627from limitlessled.group.rgbw import RGBW
1728from limitlessled.group.rgbww import RGBWW
1829from limitlessled.group.white import WHITE
@@ -23,6 +34,8 @@ bridge.add_group(1, 'bedroom', RGBW)
2334bridge.add_group(2 , ' bathroom' , WHITE )
2435bridge.add_group(2 , ' living_room' , RGBW )
2536bridge.add_group(2 , ' kitchen' , RGBWW )
37+ # RGBCCT supports up to 8 zones (groups)
38+ bridge.add_group(6 , ' office' , RGBCCT )
2639```
2740
2841Get access to groups either via the return value of ` add_group ` , or with the ` LimitlessLED ` object.
@@ -88,7 +101,7 @@ pipeline = Pipeline() \
88101 .on() \
89102 .brightness(0.7 ) \
90103 .color(0 , 0 , 255 ) \
91- .transition(color = Color(255 , 0 , 0 ))
104+ .transition(3 , color = Color(255 , 0 , 0 ))
92105
93106bedroom.enqueue(pipeline)
94107```
0 commit comments