add Sheds 30W COB-RGB lights

This commit is contained in:
Franzi 2024-05-21 09:06:46 +02:00
parent 85c3c1b8e3
commit 1628acd6c3
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,16 @@
from .common import BaseDMXLight
class Sheds30WCOBRGB(BaseDMXLight):
name = "Sheds 30W COB-RGB"
def _dump(self):
return self.address, [
self.intensity,
self.red,
self.green,
self.blue,
0, # strobe
0, # mode
0, # speed
]

View file

@ -9,6 +9,7 @@ from time import sleep
from conf import load_and_validate_config
from dmx_queue import DMXQueue
from lights.ignition_wal_l710 import IgnitionWALL710
from lights.sheds_30w_cob_rgb import Sheds30WCOBRGB
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
@ -39,6 +40,8 @@ def main():
lights = []
for addr in config.lights.get('ignition_wal_l710', []):
lights.append(IgnitionWALL710(addr))
for addr in config.lights.get('sheds_30w_cob_rgb', []):
lights.append(Sheds30WCOBRGB(addr))
for addr in config.lights.get('stairville_par_56', []):
lights.append(StairvillePar56(addr))
for addr in config.lights.get('tsss_led_par_rgbw', []):