Help with Basement Lights staying on when no motion


#1

1) Give a description of the problem
Lights are staying on when there is no motion and Room Manager room Basement is ‘vacant’

2) What is the expected behavior?
The lights should turn off when Room (Basement) is vacant.

3) What is happening/not happening?
Lights turn on with motion but don’t turn off when room is vacant

**4) Post a Green Snapshot of the piston!


5) Attach any logs (From ST IDE and by turning logging level to Full)
+1ms ╔Received event [Basement Motion Sensor].motion = inactive with a delay of 530ms +131ms ║RunTime Analysis CS > 12ms > PS > 48ms > PE > 71ms > CE +143ms ║Runtime (39020 bytes) successfully initialized in 48ms (v0.2.0ff.20171129) (141ms) +144ms ║╔Execution stage started +165ms ║║Comparison (enum) inactive changes_to (string) active = false (0ms) +167ms ║║Condition #3 evaluated false (17ms) +168ms ║║Condition group #1 evaluated false (state did not change) (18ms) +173ms ║║Condition #10 evaluated false (4ms) +174ms ║║Condition group #2 evaluated false (state did not change) (5ms) +177ms ║╚Execution stage complete. (32ms) +186ms ╚Event processed successfully (186ms) 12/8/2017, 10:18:05 AM +7ms +2ms ╔Received event [Basement Stairs Motion].motion = inactive with a delay of 867ms +151ms ║RunTime Analysis CS > 20ms > PS > 59ms > PE > 72ms > CE +160ms ║Runtime (39018 bytes) successfully initialized in 59ms (v0.2.0ff.20171129) (158ms) +161ms ║╔Execution stage started +181ms ║║Comparison (enum) inactive changes_to (string) active = false (0ms) +183ms ║║Condition #3 evaluated false (16ms) +184ms ║║Condition group #1 evaluated false (state did not change) (17ms) +190ms ║║Condition #10 evaluated false (5ms) +191ms ║║Condition group #2 evaluated false (state did not change) (6ms) +193ms ║╚Execution stage complete. (32ms) +202ms ╚Event processed successfully (202ms) 12/8/2017, 10:17:53 AM +884ms +1ms ╔Received event [Basement Stairs Motion].motion = active with a delay of 929ms +10007ms ║RunTime Analysis CS > 235ms > PS > 9676ms > PE > 96ms > CE +10015ms ║Piston waited at a semaphore for 9617ms +10017ms ║Runtime (39088 bytes) successfully initialized in 9676ms (v0.2.0ff.20171129) (10015ms) +10018ms ║╔Execution stage started +10038ms ║║Comparison (enum) active changes_to (string) active = false (1ms) +10040ms ║║Cancelling condition #3's schedules... +10041ms ║║Condition #3 evaluated false (17ms) +10042ms ║║Cancelling condition #1's schedules... +10043ms ║║Condition group #1 evaluated false (state changed) (19ms) +10049ms ║║Condition #10 evaluated false (5ms) +10050ms ║║Condition group #2 evaluated false (state did not change) (6ms) +10053ms ║╚Execution stage complete. (35ms) +10062ms ╚Event processed successfully (10063ms) 12/8/2017, 10:17:53 AM +535ms +2ms ╔Received event [Basement Stairs Motion].motion = active with a delay of 93ms +128ms ║RunTime Analysis CS > 12ms > PS > 42ms > PE > 73ms > CE +349ms ║Runtime (39012 bytes) successfully initialized in 42ms (v0.2.0ff.20171129) (347ms) +351ms ║╔Execution stage started +371ms ║║Comparison (enum) active changes_to (string) active = true (1ms) +375ms ║║Cancelling statement #4's schedules... +383ms ║║Skipped execution of physical command [Basement Stairs].on([]) because it would make no change to the device. (4ms) +384ms ║║Executed [Basement Stairs].on (5ms) +389ms ║║Skipped execution of physical command [Bottom of Stairs].on([]) because it would make no change to the device. (3ms) +390ms ║║Executed [Bottom of Stairs].on (4ms) +397ms ║║Skipped execution of physical command [Desk].on([]) because it would make no change to the device. (5ms) +398ms ║║Executed [Desk].on (5ms) +404ms ║║Skipped execution of physical command [Table Light].on([]) because it would make no change to the device. (4ms) +405ms ║║Executed [Table Light].on (5ms) +411ms ║║Skipped execution of physical command [TV Room].on([]) because it would make no change to the device. (3ms) +411ms ║║Executed [TV Room].on (5ms) +422ms ║║Executed physical command [Basement Stairs].setColor([[hex: #FFFFFF, hue:0, saturation:0, level:100]]) (7ms) +423ms ║║Executed [Basement Stairs].setColor (9ms) +430ms ║║Executed physical command [Bottom of Stairs].setColor([[hex: #FFFFFF, hue:0, saturation:0, level:100]]) (6ms) +431ms ║║Executed [Bottom of Stairs].setColor (7ms) +438ms ║║Executed physical command [Desk].setColor([[hex: #FFFFFF, hue:0, saturation:0, level:100]]) (6ms) +439ms ║║Executed [Desk].setColor (6ms) +446ms ║║Executed physical command [Table Light].setColor([[hex: #FFFFFF, hue:0, saturation:0, level:100]]) (5ms) +446ms ║║Executed [Table Light].setColor (7ms) +453ms ║║Executed physical command [TV Room].setColor([[hex: #FFFFFF, hue:0, saturation:0, level:100]]) (5ms) +454ms ║║Executed [TV Room].setColor (7ms) +468ms ║║Skipped execution of physical command [Basement Stairs].setLevel([100]) because it would make no change to the device. (9ms) +468ms ║║Executed [Basement Stairs].setLevel (11ms) +475ms ║║Skipped execution of physical command [Bottom of Stairs].setLevel([100]) because it would make no change to the device. (5ms) +476ms ║║Executed [Bottom of Stairs].setLevel (7ms) +491ms ║║Skipped execution of physical command [Desk].setLevel([100]) because it would make no change to the device. (14ms) +492ms ║║Executed [Desk].setLevel (15ms) +499ms ║║Skipped execution of physical command [Table Light].setLevel([100]) because it would make no change to the device. (6ms) +500ms ║║Executed [Table Light].setLevel (6ms) +507ms ║║Skipped execution of physical command [TV Room].setLevel([100]) because it would make no change to the device. (6ms) +508ms ║║Executed [TV Room].setLevel (8ms) +510ms ║║Condition #3 evaluated true (152ms) +511ms ║║Condition group #1 evaluated true (state did not change) (154ms) +513ms ║╚Execution stage complete. (163ms) +523ms ╚Event processed successfully (523ms) 12/8/2017, 10:17:34 AM +968ms +2ms ╔Received event [Basement Motion Sensor].motion = active with a delay of 561ms +149ms ║RunTime Analysis CS > 16ms > PS > 58ms > PE > 75ms > CE +168ms ║Runtime (39020 bytes) successfully initialized in 58ms (v0.2.0ff.20171129) (166ms) +170ms ║╔Execution stage started +192ms ║║Comparison (enum) active changes_to (string) active = true (1ms) +194ms ║║Cancelling condition #3's schedules... +196ms ║║Cancelling statement #4's schedules... +204ms ║║Skipped execution of physical command [Basement Stairs].on([]) because it would make no change to the device. (3ms) +205ms ║║Executed [Basement Stairs].on (5ms) +211ms ║║Skipped execution of physical command [Bottom of Stairs].on([]) because it would make no change to the device. (3ms) +212ms ║║Executed [Bottom of Stairs].on (5ms) +219ms ║║Skipped execution of physical command [Desk].on([]) because it would make no change to the device. (4ms) +220ms ║║Executed [Desk].on (6ms) +226ms ║║Skipped execution of physical command [Table Light].on([]) because it would make no change to the device. (3ms) +227ms ║║Executed [Table Light].on (5ms) +233ms ║║Skipped execution of physical command [TV Room].on([]) because it would make no change to the device. (3ms) +234ms ║║Executed [TV Room].on (5ms) +248ms ║║Executed physical command [Basement Stairs].setColor([[hex: #FFFFFF, hue:0, saturation:0, level:100]]) (11ms) +249ms ║║Executed [Basement Stairs].setColor (13ms) +259ms ║║Executed physical command [Bottom of Stairs].setColor([[hex: #FFFFFF, hue:0, saturation:0, level:100]]) (8ms) +260ms ║║Executed [Bottom of Stairs].setColor (9ms) +269ms ║║Executed physical command [Desk].setColor([[hex: #FFFFFF, hue:0, saturation:0, level:100]]) (8ms) +270ms ║║Executed [Desk].setColor (10ms) +279ms ║║Executed physical command [Table Light].setColor([[hex: #FFFFFF, hue:0, saturation:0, level:100]]) (8ms) +280ms ║║Executed [Table Light].setColor (9ms) +290ms ║║Executed physical command [TV Room].setColor([[hex: #FFFFFF, hue:0, saturation:0, level:100]]) (7ms) +290ms ║║Executed [TV Room].setColor (9ms) +300ms ║║Skipped execution of physical command [Basement Stairs].setLevel([100]) because it would make no change to the device. (5ms) +300ms ║║Executed [Basement Stairs].setLevel (7ms) +314ms ║║Skipped execution of physical command [Bottom of Stairs].setLevel([100]) because it would make no change to the device. (12ms) +315ms ║║Executed [Bottom of Stairs].setLevel (14ms) +323ms ║║Skipped execution of physical command [Desk].setLevel([100]) because it would make no change to the device. (7ms) +324ms ║║Executed [Desk].setLevel (8ms) +331ms ║║Skipped execution of physical command [Table Light].setLevel([100]) because it would make no change to the device. (6ms) +332ms ║║Executed [Table Light].setLevel (7ms) +340ms ║║Skipped execution of physical command [TV Room].setLevel([100]) because it would make no change to the device. (6ms) +340ms ║║Executed [TV Room].setLevel (7ms) +342ms ║║Condition #3 evaluated true (167ms) +343ms ║║Cancelling condition #1's schedules... +344ms ║║Condition group #1 evaluated true (state changed) (168ms) +346ms ║╚Execution stage complete. (177ms) +354ms ╚Event processed successfully (354ms) 12/8/2017, 10:17:28 AM +612ms +2ms ╔Received event [Basement Motion Sensor].motion = inactive with a delay of 680ms +148ms ║RunTime Analysis CS > 15ms > PS > 59ms > PE > 74ms > CE +158ms ║Runtime (39020 bytes) successfully initialized in 59ms (v0.2.0ff.20171129) (155ms) +159ms ║╔Execution stage started +179ms ║║Comparison (enum) inactive changes_to (string) active = false (0ms) +182ms ║║Condition #3 evaluated false (16ms) +183ms ║║Condition group #1 evaluated false (state did not change) (17ms) +188ms ║║Condition #10 evaluated false (4ms) +189ms ║║Condition group #2 evaluated false (state did not change) (6ms) +191ms ║╚Execution stage complete. (32ms) +200ms ╚Event processed successfully (200ms) 12/8/2017, 10:17:07 AM +653ms +2ms ╔Received event [Basement Stairs Motion].motion = inactive with a delay of 668ms +152ms ║RunTime Analysis CS > 16ms > PS > 60ms > PE > 75ms > CE +162ms ║Runtime (39013 bytes) successfully initialized in 60ms (v0.2.0ff.20171129) (159ms) +163ms ║╔Execution stage started +183ms ║║Comparison (enum) inactive changes_to (string) active = false (0ms) +185ms ║║Cancelling condition #3's schedules... +186ms ║║Condition #3 evaluated false (16ms) +187ms ║║Cancelling condition #1's schedules... +188ms ║║Condition group #1 evaluated false (state changed) (19ms) +199ms ║║Condition #10 evaluated false (10ms) +200ms ║║Condition group #2 evaluated false (state did not change) (11ms) +203ms ║╚Execution stage complete. (40ms) +211ms ╚Event processed successfully (211ms) 12/8/2017, 10:17:02 AM +33ms

REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.


#8

are you using this version?

https://community.webcore.co/t/rooms-manager-smartapps-and-rooms-occupancy-dth-now-with-support-for-rules/

if not please upgrade and confirm it works.


#9

I am not sure. I have it setup with the github and I just update it.


#10

Looks like it is version 0.07.3. Is it the correct one?


#11

its only slightly older. please upgrade from IDE. then instead of $status select occupancy and all should be well.

if you still have issue please post here:

https://community.webcore.co/t/rooms-manager-smartapps-and-rooms-occupancy-dth-now-with-support-for-rules/1813/