Unrelated lights affecting programming lines?

Desert -
I can give that a shot. However, I don't think that will have the intended result. I am tracking the status of two units and want to know when they are both in the off state. If I do it based on triggers I can end up in a situation where if they are both switched off in a short period my code wont execute.
 
Desert -
I can give that a shot. However, I don't think that will have the intended result. I am tracking the status of two units and want to know when they are both in the off state. If I do it based on triggers I can end up in a situation where if they are both switched off in a short period my code wont execute.


I mean the "WHEN" triggers in your code not the "AND IF" conditionals.

Code:
101. WHEN Stairs Light OFF
     WHEN Upstairs Hallway Light OFF
	    AND IF Stairs Light OFF
	    AND IF Upstairs Hallway Light OFF
		THEN Upstairs OFF


It looks to me like the UPB units are reporting Off from the 201 Room Indicate Link and triggering the program block.
I'm trying to circumvent that.
I thought you wanted the off link sent when one or the other of the lights was turned off at the switch itself.


Do the units' status properly track in the Omni?
 
Hi Desert -
That is close to correct. What I am trying to accomplish is to send that link if and only if both units are off. Which is what I think the code snippet above accomplishes. The trigger is either unit going to the off position and then it checks both to make sure they are both off.

The status does track correctly in the omni. What it seems to me is that whenever any scene is set for a room all units default to off until they send a status? Is that possible?
 
I "fixed" it using a timer. Seems kind of lame to me, but this works:

Code:
100. WHEN Stairs Light OFF
WHEN Upstairs Hallway Light OFF
   THEN Indicator Status Timer ON FOR 10 SECONDS
101. WHEN Indicator Status Timer OFF
  AND IF Stairs Light OFF
  AND IF Upstairs Hallway Light OFF
   THEN Upstairs OFF
 
????
I assumed it was 2 seconds because of these lines.

1,03/17/2012 21:53:41,4/4,118,Indicate,255,,,-201,,,
1,03/17/2012 21:53:43,2/2,118,Deactivate,255,,,-52,[multiple receivers],,

Are you using the same Trigger to trigger the timer flag as you used in the first programming block?

Or did you use the "switch" off vs. the Unit off as a trigger?

Otherwise I don't see any difference in those lines of code other than the middle man timer.
But if it is THAT block of code that was triggering the Link 52,
I don't see why it would work using a timer as an intermediary.

Strange.
I assume that link (Upstairs Off) is not found anywhere else in your code.
 
I am using the same trigger as the first programming block.

My current theory is that HLC/Omni does not fully support a UPB Link "deactivate" command which is what is being sent. That when it receives it, all switches in that room are momentarily set to off and that triggers the block.. I am just guessing at this point.

The timer works because it gives the HLC enough time to check the status of the units so the IF blocks do not evaluate to true.
 
I am using the same trigger as the first programming block.

My current theory is that HLC/Omni does not fully support a UPB Link "deactivate" command which is what is being sent. That when it receives it, all switches in that room are momentarily set to off and that triggers the block.. I am just guessing at this point.

The timer works because it gives the HLC enough time to check the status of the units so the IF blocks do not evaluate to true.

I'd be interested to see the UPB traffic with the new program block with the timer.
 
Sorry for the delay, I was out of town.

I am glad you asked, as the logs now reveal an infinite loop.

Code:
2,03/25/2012 09:03:04,2/2,118,Deactivate,72,Unit 072 - Hallways - Hallway Macr,Button A,-51,[multiple receivers],,
1,03/25/2012 09:03:05,4/4,118,Indicate,255,,,-50,[multiple receivers],,
1,03/25/2012 09:03:06,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:03:13,1/1,118,Report State,4095,,,66,Unit 066 - Hallways - Kitchen Hall,,
2,03/25/2012 09:03:13,1/1,118,State,66,Unit 066 - Hallways - Kitchen Hall,,255,,,0
1,03/25/2012 09:03:13,1/1,118,Report State,4095,,,67,Unit 067 - Hallways - Living Hall,,
2,03/25/2012 09:03:14,1/1,118,State,67,Unit 067 - Hallways - Living Hall,,255,,,0
1,03/25/2012 09:03:14,1/1,118,Report State,4095,,,68,Unit 068 - Hallways - Foyer,,
2,03/25/2012 09:03:15,1/1,118,State,68,Unit 068 - Hallways - Foyer,,255,,,0
1,03/25/2012 09:03:15,1/1,118,Report State,4095,,,69,Unit 069 - Hallways - Stairs,,
2,03/25/2012 09:03:16,1/1,118,State,69,Unit 069 - Hallways - Stairs,,255,,,100
1,03/25/2012 09:03:16,4/4,118,Indicate,255,,,-49,[multiple receivers],,
1,03/25/2012 09:03:18,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:03:19,2/2,118,Deactivate,255,,,-51,[multiple receivers],,
1,03/25/2012 09:03:20,4/4,118,Indicate,255,,,-50,[multiple receivers],,
1,03/25/2012 09:03:21,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:03:27,1/1,118,Report State,4095,,,66,Unit 066 - Hallways - Kitchen Hall,,
2,03/25/2012 09:03:27,1/1,118,State,66,Unit 066 - Hallways - Kitchen Hall,,255,,,0
1,03/25/2012 09:03:27,1/1,118,Report State,4095,,,67,Unit 067 - Hallways - Living Hall,,
2,03/25/2012 09:03:28,1/1,118,State,67,Unit 067 - Hallways - Living Hall,,255,,,0
1,03/25/2012 09:03:28,1/1,118,Report State,4095,,,68,Unit 068 - Hallways - Foyer,,
2,03/25/2012 09:03:29,1/1,118,State,68,Unit 068 - Hallways - Foyer,,255,,,0
1,03/25/2012 09:03:29,1/1,118,Report State,4095,,,69,Unit 069 - Hallways - Stairs,,
2,03/25/2012 09:03:30,1/1,118,State,69,Unit 069 - Hallways - Stairs,,255,,,100
1,03/25/2012 09:03:30,4/4,118,Indicate,255,,,-49,[multiple receivers],,
1,03/25/2012 09:03:31,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:03:33,2/2,118,Deactivate,255,,,-51,[multiple receivers],,
1,03/25/2012 09:03:33,4/4,118,Indicate,255,,,-50,[multiple receivers],,
1,03/25/2012 09:03:35,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:03:41,1/1,118,Report State,4095,,,66,Unit 066 - Hallways - Kitchen Hall,,
2,03/25/2012 09:03:41,1/1,118,State,66,Unit 066 - Hallways - Kitchen Hall,,255,,,0
1,03/25/2012 09:03:41,1/1,118,Report State,4095,,,67,Unit 067 - Hallways - Living Hall,,
2,03/25/2012 09:03:42,1/1,118,State,67,Unit 067 - Hallways - Living Hall,,255,,,0
1,03/25/2012 09:03:42,1/1,118,Report State,4095,,,68,Unit 068 - Hallways - Foyer,,
2,03/25/2012 09:03:43,1/1,118,State,68,Unit 068 - Hallways - Foyer,,255,,,0
1,03/25/2012 09:03:43,1/1,118,Report State,4095,,,69,Unit 069 - Hallways - Stairs,,
2,03/25/2012 09:03:44,1/1,118,State,69,Unit 069 - Hallways - Stairs,,255,,,100
1,03/25/2012 09:03:44,4/4,118,Indicate,255,,,-49,[multiple receivers],,
1,03/25/2012 09:03:45,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:03:47,2/2,118,Deactivate,255,,,-51,[multiple receivers],,
1,03/25/2012 09:03:47,4/4,118,Indicate,255,,,-50,[multiple receivers],,
1,03/25/2012 09:03:49,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:03:55,1/1,118,Report State,4095,,,66,Unit 066 - Hallways - Kitchen Hall,,
2,03/25/2012 09:03:55,1/1,118,State,66,Unit 066 - Hallways - Kitchen Hall,,255,,,0
1,03/25/2012 09:03:55,1/1,118,Report State,4095,,,67,Unit 067 - Hallways - Living Hall,,
2,03/25/2012 09:03:56,1/1,118,State,67,Unit 067 - Hallways - Living Hall,,255,,,0
1,03/25/2012 09:03:56,1/1,118,Report State,4095,,,68,Unit 068 - Hallways - Foyer,,
2,03/25/2012 09:03:57,1/1,118,State,68,Unit 068 - Hallways - Foyer,,255,,,0
1,03/25/2012 09:03:57,1/1,118,Report State,4095,,,69,Unit 069 - Hallways - Stairs,,
2,03/25/2012 09:03:58,1/1,118,State,69,Unit 069 - Hallways - Stairs,,255,,,100
1,03/25/2012 09:03:58,4/4,118,Indicate,255,,,-49,[multiple receivers],,
1,03/25/2012 09:03:59,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:04:01,2/2,118,Deactivate,255,,,-51,[multiple receivers],,
1,03/25/2012 09:04:02,4/4,118,Indicate,255,,,-50,[multiple receivers],,
1,03/25/2012 09:04:03,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:04:09,1/1,118,Report State,4095,,,66,Unit 066 - Hallways - Kitchen Hall,,
2,03/25/2012 09:04:09,1/1,118,State,66,Unit 066 - Hallways - Kitchen Hall,,255,,,0
1,03/25/2012 09:04:09,1/1,118,Report State,4095,,,67,Unit 067 - Hallways - Living Hall,,
2,03/25/2012 09:04:10,1/1,118,State,67,Unit 067 - Hallways - Living Hall,,255,,,0
1,03/25/2012 09:04:10,1/1,118,Report State,4095,,,68,Unit 068 - Hallways - Foyer,,
2,03/25/2012 09:04:11,1/1,118,State,68,Unit 068 - Hallways - Foyer,,255,,,0
1,03/25/2012 09:04:11,1/1,118,Report State,4095,,,69,Unit 069 - Hallways - Stairs,,
2,03/25/2012 09:04:11,1/1,118,State,69,Unit 069 - Hallways - Stairs,,255,,,100
1,03/25/2012 09:04:12,4/4,118,Indicate,255,,,-49,[multiple receivers],,
1,03/25/2012 09:04:13,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:04:15,2/2,118,Deactivate,255,,,-51,[multiple receivers],,
1,03/25/2012 09:04:15,4/4,118,Indicate,255,,,-50,[multiple receivers],,
1,03/25/2012 09:04:17,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:04:23,1/1,118,Report State,4095,,,66,Unit 066 - Hallways - Kitchen Hall,,
2,03/25/2012 09:04:23,1/1,118,State,66,Unit 066 - Hallways - Kitchen Hall,,255,,,0
1,03/25/2012 09:04:23,1/1,118,Report State,4095,,,67,Unit 067 - Hallways - Living Hall,,
2,03/25/2012 09:04:24,1/1,118,State,67,Unit 067 - Hallways - Living Hall,,255,,,0
1,03/25/2012 09:04:24,1/1,118,Report State,4095,,,68,Unit 068 - Hallways - Foyer,,
2,03/25/2012 09:04:25,1/1,118,State,68,Unit 068 - Hallways - Foyer,,255,,,0
1,03/25/2012 09:04:25,1/1,118,Report State,4095,,,69,Unit 069 - Hallways - Stairs,,
2,03/25/2012 09:04:26,1/1,118,State,69,Unit 069 - Hallways - Stairs,,255,,,100
1,03/25/2012 09:04:26,4/4,118,Indicate,255,,,-49,[multiple receivers],,
1,03/25/2012 09:04:28,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:04:29,2/2,118,Deactivate,255,,,-51,[multiple receivers],,
1,03/25/2012 09:04:30,4/4,118,Indicate,255,,,-50,[multiple receivers],,
1,03/25/2012 09:04:31,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:04:37,1/1,118,Report State,4095,,,66,Unit 066 - Hallways - Kitchen Hall,,
2,03/25/2012 09:04:37,1/1,118,State,66,Unit 066 - Hallways - Kitchen Hall,,255,,,0
1,03/25/2012 09:04:37,1/1,118,Report State,4095,,,67,Unit 067 - Hallways - Living Hall,,
2,03/25/2012 09:04:38,1/1,118,State,67,Unit 067 - Hallways - Living Hall,,255,,,0
1,03/25/2012 09:04:38,1/1,118,Report State,4095,,,68,Unit 068 - Hallways - Foyer,,
2,03/25/2012 09:04:39,1/1,118,State,68,Unit 068 - Hallways - Foyer,,255,,,0
1,03/25/2012 09:04:39,1/1,118,Report State,4095,,,69,Unit 069 - Hallways - Stairs,,
2,03/25/2012 09:04:40,1/1,118,State,69,Unit 069 - Hallways - Stairs,,255,,,100
1,03/25/2012 09:04:40,4/4,118,Indicate,255,,,-49,[multiple receivers],,
1,03/25/2012 09:04:41,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:04:43,2/2,118,Deactivate,255,,,-51,[multiple receivers],,
1,03/25/2012 09:04:43,4/4,118,Indicate,255,,,-50,[multiple receivers],,
1,03/25/2012 09:04:45,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:04:50,1/1,118,Report State,4095,,,66,Unit 066 - Hallways - Kitchen Hall,,
2,03/25/2012 09:04:51,1/1,118,State,66,Unit 066 - Hallways - Kitchen Hall,,255,,,0
1,03/25/2012 09:04:51,1/1,118,Report State,4095,,,67,Unit 067 - Hallways - Living Hall,,
2,03/25/2012 09:04:52,1/1,118,State,67,Unit 067 - Hallways - Living Hall,,255,,,0
1,03/25/2012 09:04:52,1/1,118,Report State,4095,,,68,Unit 068 - Hallways - Foyer,,
2,03/25/2012 09:04:53,1/1,118,State,68,Unit 068 - Hallways - Foyer,,255,,,0
1,03/25/2012 09:04:53,1/1,118,Report State,4095,,,69,Unit 069 - Hallways - Stairs,,
2,03/25/2012 09:04:54,1/1,118,State,69,Unit 069 - Hallways - Stairs,,255,,,100
1,03/25/2012 09:04:54,4/4,118,Indicate,255,,,-49,[multiple receivers],,
1,03/25/2012 09:04:55,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:04:57,2/2,118,Deactivate,255,,,-51,[multiple receivers],,
1,03/25/2012 09:04:58,4/4,118,Indicate,255,,,-50,[multiple receivers],,
1,03/25/2012 09:04:59,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:05:05,1/1,118,Report State,4095,,,66,Unit 066 - Hallways - Kitchen Hall,,
2,03/25/2012 09:05:05,1/1,118,State,66,Unit 066 - Hallways - Kitchen Hall,,255,,,0
1,03/25/2012 09:05:05,1/1,118,Report State,4095,,,67,Unit 067 - Hallways - Living Hall,,
2,03/25/2012 09:05:06,1/1,118,State,67,Unit 067 - Hallways - Living Hall,,255,,,0
1,03/25/2012 09:05:06,1/1,118,Report State,4095,,,68,Unit 068 - Hallways - Foyer,,
2,03/25/2012 09:05:07,1/1,118,State,68,Unit 068 - Hallways - Foyer,,255,,,0
1,03/25/2012 09:05:07,1/1,118,Report State,4095,,,69,Unit 069 - Hallways - Stairs,,
2,03/25/2012 09:05:08,1/1,118,State,69,Unit 069 - Hallways - Stairs,,255,,,100
1,03/25/2012 09:05:08,4/4,118,Indicate,255,,,-49,[multiple receivers],,
1,03/25/2012 09:05:09,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:05:11,2/2,118,Deactivate,255,,,-51,[multiple receivers],,
1,03/25/2012 09:05:12,4/4,118,Indicate,255,,,-50,[multiple receivers],,
1,03/25/2012 09:05:13,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:05:19,1/1,118,Report State,4095,,,66,Unit 066 - Hallways - Kitchen Hall,,
2,03/25/2012 09:05:19,1/1,118,State,66,Unit 066 - Hallways - Kitchen Hall,,255,,,0
1,03/25/2012 09:05:19,1/1,118,Report State,4095,,,67,Unit 067 - Hallways - Living Hall,,
2,03/25/2012 09:05:20,1/1,118,State,67,Unit 067 - Hallways - Living Hall,,255,,,0
1,03/25/2012 09:05:20,1/1,118,Report State,4095,,,68,Unit 068 - Hallways - Foyer,,
2,03/25/2012 09:05:21,1/1,118,State,68,Unit 068 - Hallways - Foyer,,255,,,0
1,03/25/2012 09:05:21,1/1,118,Report State,4095,,,69,Unit 069 - Hallways - Stairs,,
2,03/25/2012 09:05:22,1/1,118,State,69,Unit 069 - Hallways - Stairs,,255,,,100
1,03/25/2012 09:05:22,4/4,118,Indicate,255,,,-49,[multiple receivers],,
1,03/25/2012 09:05:23,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:05:25,2/2,118,Deactivate,255,,,-51,[multiple receivers],,
1,03/25/2012 09:05:25,4/4,118,Indicate,255,,,-50,[multiple receivers],,
1,03/25/2012 09:05:27,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:05:33,1/1,118,Report State,4095,,,66,Unit 066 - Hallways - Kitchen Hall,,
2,03/25/2012 09:05:33,1/1,118,State,66,Unit 066 - Hallways - Kitchen Hall,,255,,,0
1,03/25/2012 09:05:33,1/1,118,Report State,4095,,,67,Unit 067 - Hallways - Living Hall,,
2,03/25/2012 09:05:34,1/1,118,State,67,Unit 067 - Hallways - Living Hall,,255,,,0
1,03/25/2012 09:05:34,1/1,118,Report State,4095,,,68,Unit 068 - Hallways - Foyer,,
2,03/25/2012 09:05:35,1/1,118,State,68,Unit 068 - Hallways - Foyer,,255,,,0
1,03/25/2012 09:05:35,1/1,118,Report State,4095,,,69,Unit 069 - Hallways - Stairs,,
2,03/25/2012 09:05:36,1/1,118,State,69,Unit 069 - Hallways - Stairs,,255,,,100
1,03/25/2012 09:05:36,4/4,118,Indicate,255,,,-49,[multiple receivers],,
1,03/25/2012 09:05:37,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:05:39,2/2,118,Deactivate,255,,,-51,[multiple receivers],,
1,03/25/2012 09:05:40,4/4,118,Indicate,255,,,-50,[multiple receivers],,
1,03/25/2012 09:05:41,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:05:46,1/1,118,Report State,4095,,,66,Unit 066 - Hallways - Kitchen Hall,,
2,03/25/2012 09:05:47,1/1,118,State,66,Unit 066 - Hallways - Kitchen Hall,,255,,,0
1,03/25/2012 09:05:47,1/1,118,Report State,4095,,,67,Unit 067 - Hallways - Living Hall,,
2,03/25/2012 09:05:48,1/1,118,State,67,Unit 067 - Hallways - Living Hall,,255,,,0
1,03/25/2012 09:05:48,1/1,118,Report State,4095,,,68,Unit 068 - Hallways - Foyer,,
2,03/25/2012 09:05:49,1/1,118,State,68,Unit 068 - Hallways - Foyer,,255,,,0
1,03/25/2012 09:05:49,1/1,118,Report State,4095,,,69,Unit 069 - Hallways - Stairs,,
2,03/25/2012 09:05:49,1/1,118,State,69,Unit 069 - Hallways - Stairs,,255,,,100
1,03/25/2012 09:05:50,4/4,118,Indicate,255,,,-49,[multiple receivers],,
1,03/25/2012 09:05:51,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:05:53,2/2,118,Deactivate,255,,,-51,[multiple receivers],,
1,03/25/2012 09:05:53,4/4,118,Indicate,255,,,-50,[multiple receivers],,
1,03/25/2012 09:05:55,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:06:00,1/1,118,Report State,4095,,,66,Unit 066 - Hallways - Kitchen Hall,,
2,03/25/2012 09:06:01,1/1,118,State,66,Unit 066 - Hallways - Kitchen Hall,,255,,,0
1,03/25/2012 09:06:01,1/1,118,Report State,4095,,,67,Unit 067 - Hallways - Living Hall,,
2,03/25/2012 09:06:02,1/1,118,State,67,Unit 067 - Hallways - Living Hall,,255,,,0
1,03/25/2012 09:06:02,1/1,118,Report State,4095,,,68,Unit 068 - Hallways - Foyer,,
2,03/25/2012 09:06:03,1/1,118,State,68,Unit 068 - Hallways - Foyer,,255,,,0
1,03/25/2012 09:06:03,1/1,118,Report State,4095,,,69,Unit 069 - Hallways - Stairs,,
2,03/25/2012 09:06:04,1/1,118,State,69,Unit 069 - Hallways - Stairs,,255,,,100
1,03/25/2012 09:06:04,4/4,118,Indicate,255,,,-49,[multiple receivers],,
1,03/25/2012 09:06:05,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:06:07,2/2,118,Deactivate,255,,,-51,[multiple receivers],,
1,03/25/2012 09:06:08,4/4,118,Indicate,255,,,-50,[multiple receivers],,
1,03/25/2012 09:06:09,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:06:14,1/1,118,Report State,4095,,,66,Unit 066 - Hallways - Kitchen Hall,,
2,03/25/2012 09:06:15,1/1,118,State,66,Unit 066 - Hallways - Kitchen Hall,,255,,,0
1,03/25/2012 09:06:15,1/1,118,Report State,4095,,,67,Unit 067 - Hallways - Living Hall,,
2,03/25/2012 09:06:16,1/1,118,State,67,Unit 067 - Hallways - Living Hall,,255,,,0
1,03/25/2012 09:06:16,1/1,118,Report State,4095,,,68,Unit 068 - Hallways - Foyer,,
2,03/25/2012 09:06:17,1/1,118,State,68,Unit 068 - Hallways - Foyer,,255,,,0
1,03/25/2012 09:06:17,1/1,118,Report State,4095,,,69,Unit 069 - Hallways - Stairs,,
2,03/25/2012 09:06:18,1/1,118,State,69,Unit 069 - Hallways - Stairs,,255,,,100
1,03/25/2012 09:06:18,4/4,118,Indicate,255,,,-49,[multiple receivers],,
1,03/25/2012 09:06:19,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:06:21,2/2,118,Deactivate,255,,,-51,[multiple receivers],,
1,03/25/2012 09:06:22,4/4,118,Indicate,255,,,-50,[multiple receivers],,
1,03/25/2012 09:06:23,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:06:29,1/1,118,Report State,4095,,,66,Unit 066 - Hallways - Kitchen Hall,,
2,03/25/2012 09:06:29,1/1,118,State,66,Unit 066 - Hallways - Kitchen Hall,,255,,,0
1,03/25/2012 09:06:30,1/1,118,Report State,4095,,,67,Unit 067 - Hallways - Living Hall,,
2,03/25/2012 09:06:30,1/1,118,State,67,Unit 067 - Hallways - Living Hall,,255,,,0
1,03/25/2012 09:06:30,1/1,118,Report State,4095,,,68,Unit 068 - Hallways - Foyer,,
2,03/25/2012 09:06:31,1/1,118,State,68,Unit 068 - Hallways - Foyer,,255,,,0
1,03/25/2012 09:06:31,1/1,118,Report State,4095,,,69,Unit 069 - Hallways - Stairs,,
2,03/25/2012 09:06:32,1/1,118,State,69,Unit 069 - Hallways - Stairs,,255,,,100
1,03/25/2012 09:06:32,4/4,118,Indicate,255,,,-49,[multiple receivers],,
1,03/25/2012 09:06:34,4/4,118,Indicate,255,,,-201,,,
1,03/25/2012 09:06:35,2/2,118,Deactivate,255,,,-51,[multiple receivers],,
1,03/25/2012 09:06:36,4/4,118,Indicate,255,,,-50,[multiple receivers],,
1,03/25/2012 09:06:37,4/4,118,Indicate,255,,,-201,,,

I can see the active units in that room flipping to "off" every 10 seconds and then see the timer starting for 10 seconds.

The code is:
Code:
100. WHEN Stairs Light OFF
WHEN Upstairs Hallway Light OFF
WHEN Kitchen Hallway Light OFF
WHEN Living Room Hallway Light OFF
   THEN Indicator Status Timer ON FOR 10 SECONDS
101. WHEN Indicator Status Timer OFF
  AND IF Stairs Light OFF
  AND IF Upstairs Hallway Light OFF
   THEN Upstairs OFF
102. WHEN Indicator Status Timer OFF
  AND IF Kitchen Hallway Light OFF
  AND IF Living Room Hallway Light OFF
   THEN Hallway OFF

How odd.
 
The code is:
Code:
100. WHEN Stairs Light OFF
WHEN Upstairs Hallway Light OFF
WHEN Kitchen Hallway Light OFF
WHEN Living Room Hallway Light OFF
   THEN Indicator Status Timer ON FOR 10 SECONDS
101. WHEN Indicator Status Timer OFF
  AND IF Stairs Light OFF
  AND IF Upstairs Hallway Light OFF
   THEN Upstairs OFF
102. WHEN Indicator Status Timer OFF
  AND IF Kitchen Hallway Light OFF
  AND IF Living Room Hallway Light OFF
   THEN Hallway OFF

How odd.

Well I can definitely see why you have an infite loop.

Whenever the "Upstairs OFF" in block 101 or the "Hallway OFF" in block 102 are triggered, they trigger the WHEN xx OFF triggers in block 100 and reset the timer to 10 seconds.
When the timer times out to 0 it triggers blocks 101 and 102, which in turn retrigger block 100, resetting the timer, etc...


I think the primary problem is right here.

2,03/25/2012 09:03:04,2/2,118,Deactivate,72,Unit 072 - Hallways - Hallway Macr,Button A,-51,[multiple receivers],,
1,03/25/2012 09:03:05,4/4,118,Indicate,255,,,-50,[multiple receivers],,

Using the "Deactivate" link causee the Omni to send an Room Indicate OFF (Link 50), which it interprets as all units in that room off. Which triggers your original WHEN OFF code block.
 
Back
Top