Traditore Posted March 2, 2013 Posted March 2, 2013 Hi, Anybody knows why the sensor never "turns on" in ISY? I think it detects motion because the red light blinks when I wave. But current state in ISY is always off. If I push the set button, it toggles between on and off. And there is communications (good or bad, I don't know) when I do it: sam. 03/02/2013 12:42:29 : [iNST-SRX ] 02 50 11.A5.0E 00.00.01 C3 11 01 LTONRR (01) sam. 03/02/2013 12:42:29 : [std-Group ] 11.A5.0E-->Group=1, Max Hops=3, Hops Left=0 sam. 03/02/2013 12:42:29 : [ 11 A5 E 1] DON 1 sam. 03/02/2013 12:42:29 : [ 11 A5 E 1] ST 255 sam. 03/02/2013 12:42:29 : [iNST-SRX ] 02 50 11.A5.0E 00.00.01 C3 11 01 LTONRR (01) sam. 03/02/2013 12:42:29 : [std-Group ] 11.A5.0E-->Group=1, Max Hops=3, Hops Left=0 sam. 03/02/2013 12:42:29 : [iNST-DUP ] Previous message ignored. sam. 03/02/2013 12:42:31 : [iNST-SRX ] 02 50 11.A5.0E 0E.DB.6F 43 11 01 LTONRR (01) sam. 03/02/2013 12:42:31 : [std-Cleanup ] 11.A5.0E-->ISY/PLM Group=1, Max Hops=3, Hops Left=0 sam. 03/02/2013 12:42:31 : [iNST-DUP ] Previous message ignored. Jumpers 1 thru 5 are off. Battery tests a solid 9.4V.
LeeG Posted March 2, 2013 Posted March 2, 2013 The ISY received the Motion On message and marked the Sensor On. sam. 03/02/2013 12:42:29 : [iNST-SRX ] 02 50 11.A5.0E 00.00.01 C3 11 01 LTONRR (01) sam. 03/02/2013 12:42:29 : [std-Group ] 11.A5.0E-->Group=1, Max Hops=3, Hops Left=0 sam. 03/02/2013 12:42:29 : [ 11 A5 E 1] DON 1 sam. 03/02/2013 12:42:29 : [ 11 A5 E 1] ST 255
arw01 Posted March 2, 2013 Posted March 2, 2013 The hops left = 0 is a clue you need some more dual band devices on the network. When it is 0, you never know if your signals will really reach from the motion sensor to the network. Alan
Traditore Posted March 2, 2013 Author Posted March 2, 2013 After a factory reset, it seems to behave the way it should. If Control '11.A5.0E-Sensor' is switched On Then Set Scene 'SS Stairs' On Else Set Scene 'SS Stairs' Off Is this simple program supposed to turn off my scene when the motion sensors times out?
LeeG Posted March 2, 2013 Posted March 2, 2013 No. The Program never executes the Else clause. The following change will drive the Else if/when the motion sensor sends an Off. Whether the motion sensor sends an Off depends on the options in use. If Control '11.A5.0E-Sensor' is switched On Or Control '11.A5.0E-Sensor' is not switched Off Then Set Scene 'SS Stairs' On Else Set Scene 'SS Stairs' Off
Traditore Posted March 2, 2013 Author Posted March 2, 2013 Thank you, it works. But I don't understand the logic of the "Or" clause here. Does it me: "If the Set button is not physically pushed, execute Else"?
LeeG Posted March 2, 2013 Posted March 2, 2013 Using "If Control" the ISY looks at commands flowing from the device being check. The specific command being checked must be received for the Program to be triggered. Since the On command is the only command that was being checked the Program triggered only when an On command is received. The If is True driving the Then clause. Nothing triggers the Program on any other command when using If Control so the Else clause never executes. The second part of the If which checks for an Off command causes the Program to be triggered when an Off command is received. Because it is coded as 'not Off' the If evaluates to False and drives the Else clause. It does not matter whether the two parts of the If are Anded or Ored together when using only If Control. This is unique to If Control because it triggers the Program only when the specific command is received. If the ISY implemented an And as an And the Program would never trigger as True as there is never a case where two commands exist at that same time. Multiple If Control statements execute as though they are Ored together. The above applies no matter why the motion sensor sends an Off message. The Off can be generated with a Set button press, the Off can be generated after the Timeout expires with the correct set of options in effect.
Recommended Posts