add Sheds 30W COB-RGB lights
This commit is contained in:
parent
85c3c1b8e3
commit
1628acd6c3
2 changed files with 19 additions and 0 deletions
16
lights/sheds_30w_cob_rgb.py
Normal file
16
lights/sheds_30w_cob_rgb.py
Normal 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
|
||||||
|
]
|
3
main.py
3
main.py
|
@ -9,6 +9,7 @@ from time import sleep
|
||||||
from conf import load_and_validate_config
|
from conf import load_and_validate_config
|
||||||
from dmx_queue import DMXQueue
|
from dmx_queue import DMXQueue
|
||||||
from lights.ignition_wal_l710 import IgnitionWALL710
|
from lights.ignition_wal_l710 import IgnitionWALL710
|
||||||
|
from lights.sheds_30w_cob_rgb import Sheds30WCOBRGB
|
||||||
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.tsss_led_par_rgbw import TSSS_LED_PAR_RGBW
|
||||||
|
@ -39,6 +40,8 @@ def main():
|
||||||
lights = []
|
lights = []
|
||||||
for addr in config.lights.get('ignition_wal_l710', []):
|
for addr in config.lights.get('ignition_wal_l710', []):
|
||||||
lights.append(IgnitionWALL710(addr))
|
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', []):
|
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', []):
|
for addr in config.lights.get('tsss_led_par_rgbw', []):
|
||||||
|
|
Loading…
Reference in a new issue