Page 1 of 1

first blocky won't work

Posted: Wednesday 21 February 2018 22:08
by carpaccio
hi all,

I just started with creating events in Domoticz, I think it is a easy one but for a noob like me it isn't.
the script won't work. the meaning of the script is when the "tv lamp" goes on (it is a hue) and we are home, this will be checked with the ping on our phone, the other lights goes on.

I hope you can help me out.

Regards, Mario

Re: first blocky won't work

Posted: Wednesday 21 February 2018 22:18
by Domosapiens
Make it
(....) AND ( (Camilla Telefoon=ON) OR (Mario Telefoon = ON) )

Re: first blocky won't work

Posted: Wednesday 21 February 2018 22:57
by carpaccio
thanks for the quick response, you mean like this?
it isn't working yet do you know what is wrong?

thanks in advance

Re: first blocky won't work

Posted: Wednesday 21 February 2018 23:58
by StanHD
Hi, try using a "Set" block for each switch:-

Set switch 1= On
Set switch 2= On

Re: first blocky won't work

Posted: Thursday 22 February 2018 19:49
by carpaccio
i have tried 2 set commands to, is it possible the hue's aren't working with a script?

Re: first blocky won't work

Posted: Thursday 22 February 2018 21:47
by StanHD
carpaccio wrote:i have tried 2 set commands to, is it possible the hue's aren't working with a script?
Can you show your modified Blockly?

Sent from my SM-G950F using Tapatalk