The goal is to develop two simpl+ - user modules for Crestron Controllers that controlls LED Bulbs via an Wifi-Bridge (white bulbs and rgb bulbs). The Controlcodes are well documentated unter [login to view URL] So its very easy - open an upd connection on Port 50000 and send the controllcodes - could be easily done with simpl. The goal is to take care of the circumstances:
- send control when control signal change immediatly
- initialize the bulb after turn on - the wifi bridge is a "one-way-ticket" which doesnt return the actual status of the bulb,also there is no "50%" brightness telegramm, only 10 steps "up/down), so we have to dim the bulb i.e. 20times to be sure its on minimum and we can start to get brighter.
- make a pause of 100ms after each telegram
so i think simpl+ would be the better solution. But you can do it in simpl as well.
The module should have the following inputs:
module 1 - White Bulb - digital
- enable Module
- All On
- All Off
- Brightness Up
- Brightness Down (There are ten steps between min and max)
- Warmer
- Cooler (There are ten steps between warmest and coolest)
- Zone 1 On
- Zone 1 Off
- Zone 2 On
- Zone 2 Off
- Zone 3 On
- Zone 3 Off
- Zone 4 On
- Zone 4 Off
- All On Full
- Zone 1 Full
- Zone 2 Full
- Zone 3 Full
- Zone 4 Full
- All Nightlight
- Zone 1 Nightlight
- Zone 2 Nightlight
- Zone 3 Nightlight
- Zone 4 Nightlight
analog (0.65535)
- brighness
- colour temperature
module 2 - rgb bulb - digital
– Lamps On
– Lamps Off
– Brightness Up
– Brightness Down (There are nine steps between min and max)
– Mode Up
– Mode Down (There are 20 modes. The lowest is constant white)
– Speed Up (Fast)
– Speed Down (Slow)
analog
– Set Colour to xx
- brightness
both modules: returnvalue: analog
- brightness