misfit wrote: ↑Monday 04 November 2019 9:02
Yes i set the trigger to 'time':
Try with this, State can be something else then 'On' or 'Off'
Changing level to > 0% does switch the devce On and changing level to 0% does switch the device to Off.
misfit wrote: ↑Monday 04 November 2019 9:02
Yes i set the trigger to 'time':
Try with this, State can be something else then 'On' or 'Off'
Changing level to > 0% does switch the devce On and changing level to 0% does switch the device to Off.
dimmer on.pngdimmer off.png
That's working, thank you. Any idea how to change the LED color using blockly?
misfit wrote: ↑Monday 04 November 2019 19:25
That's working, thank you. Any idea how to change the LED color using blockly?
You could call a scene with predefined colors for switches or use [messages] openURL with something like ' http://127.0.0.1:8080/json.htm?type=com ... htness=100'
But it would be to complicated for Blockly for my taste. I would always use dzVents to do something more complicated then switching something on or off.
But that is a matter of personal preference.