add support for LED Mini Par RGBWwq

This commit is contained in:
Sophie Schiller 2024-02-06 18:49:03 +01:00
parent 5b0802e618
commit 52cb7b2a90
2 changed files with 20 additions and 0 deletions

View 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,
]

View file

@ -11,6 +11,7 @@ from dmx_queue import DMXQueue
from lights.ignition_wal_l710 import IgnitionWALL710 from lights.ignition_wal_l710 import IgnitionWALL710
from lights.stairville_par_56 import StairvillePar56 from lights.stairville_par_56 import StairvillePar56
from lights.varytec_hero_wash_zoom_712 import VarytecHeroWashZoom712 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 lights.wled import WLED
from mqtt_queue import MQTTQueue from mqtt_queue import MQTTQueue
@ -40,6 +41,8 @@ def main():
lights.append(IgnitionWALL710(addr)) lights.append(IgnitionWALL710(addr))
for addr in config.lights.get('stairville_par_56', []): for addr in config.lights.get('stairville_par_56', []):
lights.append(StairvillePar56(addr)) 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', []): for addr in config.lights.get('varytec_hero_wash_712_zoom', []):
lights.append(VarytecHeroWashZoom712(addr)) lights.append(VarytecHeroWashZoom712(addr))
for addr in config.lights.get('wled_multi_rgb', []): for addr in config.lights.get('wled_multi_rgb', []):