diff --git a/c4ctrl.py b/c4ctrl.py index 0b404dc..25a4d9f 100755 --- a/c4ctrl.py +++ b/c4ctrl.py @@ -527,6 +527,13 @@ class Dmx7(Dmx): # {{{1 template = "000000000000ff" # }}}1 +class Rgbw(Dmx): # {{{1 + """ Abstraction of 4 channel (RGBW) LED strips. """ + + # 3 bytes for color plus 1 byte for white. + template = "00000000" +# }}}1 + class C4Room: # {{{1 """ Methods of rooms in the club. """ @@ -755,10 +762,10 @@ class Wohnzimmer(C4Room): # {{{1 Dmx7("dmx/wohnzimmer/mitte3"), Dmx7("dmx/wohnzimmer/gang"), Dmx7("dmx/wohnzimmer/baellebad"), - Dmx4("dmx/wohnzimmer/spuele1"), + Rgbw("dmx/wohnzimmer/spuele1"), Dmx("dmx/wohnzimmer/spuele2"), - Dmx4("dmx/wohnzimmer/tresen"), - Dmx4("dmx/wohnzimmer/tresen2"), + Rgbw("dmx/wohnzimmer/tresen"), + Rgbw("dmx/wohnzimmer/tresen2"), Dmx("dmx/wohnzimmer/chaosknoten") ) # }}}1