Page 1 of 1

Why does this not work ?

Posted: Tuesday 31 January 2017 9:25
by VHK17
I am new to Domoticz and are learning.

I do not understand why this does not work with the and lux_keuken < 1500
Blocky_2.jpg
Blocky_2.jpg (41.82 KiB) Viewed 727 times

It works without the and lux_keuken < 1500
Blocky_1.jpg
Blocky_1.jpg (29.9 KiB) Viewed 727 times
Can someone explain what i am doing wrong ?
Thanks

Re: Why does this not work ?

Posted: Tuesday 31 January 2017 9:31
by Egregius
Your nesting of the blocks is wrong.
Now you have
if('Pir keuken' == ( 'On' AND 'Lux Keuken' < 1500 ) )

should be
if('Pir Keuken' == 'On' AND 'Lux Leuken' < 1500 )

Re: Why does this not work ?

Posted: Tuesday 31 January 2017 10:44
by VHK17
Thanks

For starters like me
Begin with the "AND" , then add "=" , "<"