Page 1 of 1
Block Hue + Fibaro eye
Posted: Friday 03 February 2017 16:50
by DreaMare
Hello,
I would like to know why this is doesn't work :
Thank for your help : )
Re: Block Hue + Fibaro eye
Posted: Friday 03 February 2017 19:35
by StanHD
1st reason: You cannot nest "If" blocks in Blockly
2nd reason: You must have at least 1 "else if" if you use the block with the blue symbol. For a single If-do, use the other block.
Try re-constructing using If - Else if.....

Re: Block Hue + Fibaro eye
Posted: Sunday 05 February 2017 18:26
by DreaMare
Thank you a lot, this one is working :
how to avoid reactivate accidently motion on when I leave home ?
Re: Block Hue + Fibaro eye
Posted: Sunday 05 February 2017 20:29
by DreaMare
2nd question :
Why the time doesn't work : scene is on at 20:08 ?!
Thank you

Re: Block Hue + Fibaro eye
Posted: Sunday 05 February 2017 20:46
by StanHD
Hi, you still have nested blocks. Also the construction has empty sections. Here is an example that works and is constructed correctly:-
I use the timers in the Auto switch to control the active periods. It can be easier than dealing with the blockly times.
As Domoticz ends the day at 00:00, then your time blocks should use "Or" instead of "And".
Does that help?

Re: Block Hue + Fibaro eye
Posted: Sunday 05 February 2017 23:11
by DreaMare
Thanks you for reply
I do not understand what nest mean?
I will try your sample tomorrow.
Thanks a lot for your patience

Re: Block Hue + Fibaro eye
Posted: Sunday 05 February 2017 23:19
by StanHD
Nested:- "If" block in another "if" block.

Re: Block Hue + Fibaro eye
Posted: Wednesday 08 February 2017 18:46
by DreaMare
Thanks again,
And is there a tutorial to set Auto switch control ?
Or exemple of block event ?