Page 1 of 1

My block event script doesnt work ..

Posted: Friday 13 November 2015 9:34
by skunk
Hello People,

I followed on the internet tutorials to make automatic action with the GUI "EVENT " but I do not understand why ... It does not work !
To understand , I want when I active a switch, another is automatically activated ... but it does not work ...

My Equipement :
Raspberry pi 2 B (Os RaspBian)

Usb Key :
OpenZwave Usb

Switch :
GreenWave PowerNode 6 port

Sensor :
Aeotec MultiSensor 6

And My script is in attached file ..

Thank you for your great help !

SK,

Re: My block event script doesnt work ..

Posted: Friday 13 November 2015 9:37
by skunk
Maybe domoticz has no rights fort execute the script ?

Re: My block event script doesnt work ..

Posted: Friday 13 November 2015 13:06
by wboerhoop
Hi,

Why don't you try:
if ventilateur = on AND test = off
set test = on


suc6

Re: My block event script doesnt work ..

Posted: Friday 13 November 2015 14:12
by jcjames13009
Hi Skunk

Try using
If Do.PNG
If Do.PNG (1.54 KiB) Viewed 1100 times
Instead of
If Do Else 1.PNG
If Do Else 1.PNG (1.93 KiB) Viewed 1100 times
Which I guess is waiting for an "else if" condition
If Do Else 2.PNG
If Do Else 2.PNG (7.41 KiB) Viewed 1100 times
JC

Re: My block event script doesnt work ..

Posted: Friday 13 November 2015 16:16
by skunk
Hello,

Thanks for your replies, now it's working.

I have just activate the polling in my sensor ...

I don't know why the polling is important for this action ?

Best regard's,

Re: My block event script doesnt work ..

Posted: Wednesday 07 February 2018 10:58
by vivoraju