Commit graph

65 commits

Author SHA1 Message Date
Michael Auchter
34531895a0 limitlessled: Use LedControllerPool
This change is in preparation for adapting this component to support multiple
LimitlessLED bridges. Ultimately LedControllerPool helps to maintain the
mandatory 100ms pauses across multiple controllers so messages are reliably
received.
2015-10-01 22:38:50 -05:00
Michael Auchter
645cd89406 limitlessled: fix docstring 2015-10-01 22:38:49 -05:00
Fabian Affolter
e824bc4c55 Update docstring (config file) and attempt to honor PEP0257 2015-09-07 19:21:33 +02:00
Ryan Kraus
893ae15042 Changed component REQUIREMENTS to absolute versions. 2015-08-29 21:39:50 -04:00
Fabian Affolter
d0fc91d84a update header 2015-08-11 19:12:32 +02:00
Michael Auchter
55c778ca0a add missing docstring 2015-08-10 00:30:47 +00:00
Michael Auchter
f49e5514d6 limitlessled: add color support
Add support for setting the color of a LimitlessLED light.
Currently this implementation is limited to the subset of 16 colors
exposed by the ledcontroller package that is used to interact with the
light itself. Technically the lights themselves support 255 colors.
2015-08-10 00:21:38 +00:00
Michael Auchter
4bbe716710 limitlessled: scale brightness to meet ledcontroller expectations
LedController's set_brightness() method expects either an int between 0 and
100, or a float between 0.0 and 1.0, but the brightness here is an int between
0-255. Scale the brightness appropriately.
2015-08-09 14:05:20 -05:00
Paulus Schoutsen
940b2998ea Add REQUIREMENTS list to components 2015-07-07 00:01:46 -07:00
Paulus Schoutsen
d3320963c3 Refactor basic light structure 2015-06-13 16:42:09 -07:00
Alfie "Azelphur" Day
7087c20c4f
And fix the part where I'm being stupid 2015-05-19 02:33:37 +01:00
Alfie "Azelphur" Day
cb54fb5a64
More pylint fixes 2015-05-19 02:31:30 +01:00
Alfie "Azelphur" Day
e2b08a1758
Fix some code styling violations 2015-05-19 02:09:34 +01:00
Alfie "Azelphur" Day
9c7f1d94c0
Add configuration.yaml example in the header 2015-05-19 01:55:37 +01:00
Alfie "Azelphur" Day
a86852fe90
Add basic support for LimitlessLED 2015-05-19 00:27:09 +01:00