add support for LED Mini Par RGBWwq
This commit is contained in:
parent
5b0802e618
commit
52cb7b2a90
2 changed files with 20 additions and 0 deletions
17
lights/tsss_led_par_rgbw.py
Normal file
17
lights/tsss_led_par_rgbw.py
Normal file
|
@ -0,0 +1,17 @@
|
|||
from .common import BaseDMXLight
|
||||
|
||||
|
||||
class TSSS_LED_PAR_RGBW(BaseDMXLight):
|
||||
name = "TSSS LED PAR RGBW"
|
||||
|
||||
def _dump(self):
|
||||
return self.address, [
|
||||
0, # function
|
||||
0, # mode
|
||||
0, # speed
|
||||
self.intensity,
|
||||
self.red,
|
||||
self.green,
|
||||
self.blue,
|
||||
self.white,
|
||||
]
|
3
main.py
3
main.py
|
@ -11,6 +11,7 @@ from dmx_queue import DMXQueue
|
|||
from lights.ignition_wal_l710 import IgnitionWALL710
|
||||
from lights.stairville_par_56 import StairvillePar56
|
||||
from lights.varytec_hero_wash_zoom_712 import VarytecHeroWashZoom712
|
||||
from lights.tsss_led_par_rgbw import TSSS_LED_PAR_RGBW
|
||||
from lights.wled import WLED
|
||||
from mqtt_queue import MQTTQueue
|
||||
|
||||
|
@ -40,6 +41,8 @@ def main():
|
|||
lights.append(IgnitionWALL710(addr))
|
||||
for addr in config.lights.get('stairville_par_56', []):
|
||||
lights.append(StairvillePar56(addr))
|
||||
for addr in config.lights.get('tsss_led_par_rgbw', []):
|
||||
lights.append(TSSS_LED_PAR_RGBW(addr))
|
||||
for addr in config.lights.get('varytec_hero_wash_712_zoom', []):
|
||||
lights.append(VarytecHeroWashZoom712(addr))
|
||||
for addr in config.lights.get('wled_multi_rgb', []):
|
||||
|
|
Loading…
Reference in a new issue