newbie and Rules
Posted: 22 Jun 2017, 19:38
Hi,I am trying to switch a relay on controller 1( gpio 12) by using a rule on controller 2.
Need assistance to troubleshoot were i am going wrong.
the rule on controller 1 is :-
On PIR#Switch=1 do
if [LDR#Light]<300
sendTo 2,event,lighton
endon
the Html command
http://192.168.1.11/control?cmd=event,lighton
works..
rule for lighton is :-
On lighton do
gpio ,12,1
endon
Cheers
Need assistance to troubleshoot were i am going wrong.
the rule on controller 1 is :-
On PIR#Switch=1 do
if [LDR#Light]<300
sendTo 2,event,lighton
endon
the Html command
http://192.168.1.11/control?cmd=event,lighton
works..
rule for lighton is :-
On lighton do
gpio ,12,1
endon
Cheers