I have tried to use blockly for a scene, but I have a few problems :
– can’t find a way to “wait” or sleep for a few seconds (found only in util “sleep for x minutes”)
– when I try in a scene to give a value to a lov selector, the value does not update in the panel on the dashboard : I use “device xx yy new value zz” but it doesn’t update.
Here is the code (is there a way to copy / paste between scenes ? besides templates ?) :
(I’m new to this, so it must be pretty bad, and for you to understand, I have the following devices involved :
– one zwave dual switch
– one virtual binary switch
– one virtual lov selector
You have under the “Util” tab a block called “Timer”. This block will execute the actions specified in it after x minutes. If your scene is called again, the timer will recalculate the time.
If you want to try it with your scene in attachment, add the block “run scene manually”.
The scene will only be execute when you click on it on the dashboard.
For your second question :
Try to run your scene step by step.
1/ Add the “IF” block” and set the value of “Volets auto” to true;
2/ Add the “AND” in your if and see if it’s still OK
3/ Add the timer block
I think it’s needed if your are not familiar with blockly.
Note : Once you have created your scenes dont forget to regenerate your panels to have it on the dashboard.