Slow piston triggers


#1

1) Give a description of the problem
For some reason my pistons are behaving really slow, especially the sensors, they most of the time trigger after full 10 seconds…I have no idea why how it’s possible the sensors are all positioned the right way.

2) What is the expected behavior?
Sensors or pistons should trigger without a large interval of 5-10 secs.

3)Not happening?
Immediate trigger.


#2

Can you post a log from one of the offending pistons?


#3

Of course! Should’ve done that earlier. Also when I’m in the field of the sensor and im.still moving, it just turns off the light and takes ages to recover, of course it should be overlapping. I’ve already tried two sensors, a Philips hue sensor (st dh) and a Xiaomi sensor.

Code; o3tq8

Kitchensensor 2 rules

Status

This piston is currently active and humming happily.

Pause »

Piston Category

Nothing selected Doorsensors statusTemperature statusBattery statusPistons

Quick Facts

Piston state: false

Last executed: 12/4/2018, 7:28:16 AM

Next scheduled: 12/4/2018, 7:28:15 AM

Subscriptions: 1 event, 6 controls

Devices used: 7

Memory used: 67% (67163 bytes)

External URL: (click to open/execute)

Automatic Backup

Automatic backup enabled.

Touch the box to reveal your backup bin code. Make a note of this code as you may use it later to restore a deleted piston.

o3tq8

Do NOT share this code with anyone.

Script

///* Kitchensensor 2 rules *////* Author : Kitchen sensor workinprogress // Created : 7/19/2018, 1:40:21 AM // Modified : 11/30/2018, 8:54:33 PM // Build : 4 // UI version : v0.3.108.20180906 //**************************************************************/ +0msstart/ Trace started on 12/4/2018, 7:28:16 AM (about 1 minute ago) */ execute+383ms97ms

if /* #1 */

Sensor Kitchen New’s motionchanges to active/* #7 */

and

Goodnight’s switchis off /* #17 */

then+393ms87ms

if /* #8 */

Time is between12:00:00 AM and{$sunset} /* #16 */

then+397ms82ms

with /* #12 */Dimmable light 5, Dimmable light 4, andDimmable light 2do

Set level to 50%; /* #13 */

+424ms▼ ▼ ▼ Wait 2minutes; /* #14 */

+425ms53ms Turn off; /* #15 */

end with;

else

with /* #2 */afzuigkap links,afzuigkap rechts,Dimmable light 2, Dimmable light 4, andDimmable light 5do

Set level to 50%; /* #9 */

Wait 2minutes; /* #10 */

Set level to 1%; /* #11 */

end with;

end if;

end if;

+481msdoneend execute; +525msstop/* Trace ended on 12/4/2018, 7:28:17 AM */

Logs

12/4/2018, 7:28:16 AM +686ms
+2ms ╔Received event [Sanctuary].time = 1543904895529 with a delay of 1156ms
+333ms ║RunTime Analysis CS > 214ms > PS > 46ms > PE > 73ms > CE
+347ms ║Runtime (37605 bytes) successfully initialized in 46ms (v0.2.0e1.20170728) (342ms)
+349ms ║╔Execution stage started
+442ms ║║Executed physical command [Dimmable light 5].off() (14ms)
+444ms ║║Executed [Dimmable light 5].off (16ms)
+460ms ║║Executed physical command [Dimmable light 4].off() (14ms)
+461ms ║║Executed [Dimmable light 4].off (16ms)
+477ms ║║Executed physical command [Dimmable light 2].off() (14ms)
+478ms ║║Executed [Dimmable light 2].off (16ms)
+493ms ║╚Execution stage complete. (144ms)
+501ms ╚Event processed successfully (501ms)
12/4/2018, 7:26:46 AM +256ms
+1ms ╔Received event [Sensor Kitchen New].motion = inactive with a delay of 90ms
+117ms ║RunTime Analysis CS > 22ms > PS > 39ms > PE > 56ms > CE
+128ms ║Runtime (37601 bytes) successfully initialized in 39ms (v0.2.0e1.20170728) (126ms)
+129ms ║╔Execution stage started
+140ms ║║Comparison (enum) inactive changes_to (string) active = false (1ms)
+142ms ║║Cancelling condition #7’s schedules…
+143ms ║║Condition #7 evaluated false (8ms)
+144ms ║║Cancelling condition #1’s schedules…
+145ms ║║Condition group #1 evaluated false (state changed) (11ms)
+160ms ║╚Execution stage complete. (31ms)
+162ms ║Setting up scheduled job for Tue, Dec 4 2018 @ 7:28:15 AM CET (in 89.112s)
+181ms ╚Event processed successfully (181ms)
12/4/2018, 7:26:15 AM +206ms
+2ms ╔Received event [Sensor Kitchen New].motion = active with a delay of 91ms
+152ms ║RunTime Analysis CS > 27ms > PS > 69ms > PE > 56ms > CE
+162ms ║Runtime (37606 bytes) successfully initialized in 69ms (v0.2.0e1.20170728) (160ms)
+163ms ║╔Execution stage started
+175ms ║║Comparison (enum) active changes_to (string) active = true (1ms)
+177ms ║║Cancelling condition #7’s schedules…
+178ms ║║Condition #7 evaluated true (9ms)
+188ms ║║Comparison (enum) off is (string) off = true (2ms)
+190ms ║║Condition #17 evaluated true (11ms)
+191ms ║║Cancelling condition #1’s schedules…
+192ms ║║Condition group #1 evaluated true (state changed) (23ms)
+238ms ║║Comparison (time) 26775402 is_between (time) 0 … (datetime) 1543936740000 = true (8ms)
+239ms ║║Time restriction check passed
+241ms ║║Condition #16 evaluated true (46ms)
+242ms ║║Condition group #8 evaluated true (state did not change) (47ms)
+245ms ║║Cancelling statement #12’s schedules…
+268ms ║║Executed physical command [Dimmable light 5].setLevel([50]) (15ms)
+269ms ║║Executed [Dimmable light 5].setLevel (17ms)
+297ms ║║Executed physical command [Dimmable light 4].setLevel([50]) (26ms)
+298ms ║║Executed [Dimmable light 4].setLevel (27ms)
+316ms ║║Executed physical command [Dimmable light 2].setLevel([50]) (15ms)
+317ms ║║Executed [Dimmable light 2].setLevel (17ms)
+321ms ║║Executed virtual command [Dimmable light 5, Dimmable light 4, Dimmable light 2].wait (1ms)
+322ms ║║Requesting a wake up for Tue, Dec 4 2018 @ 7:28:15 AM CET (in 120.0s)
+328ms ║╚Execution stage complete. (165ms)
+330ms ║Setting up scheduled job for Tue, Dec 4 2018 @ 7:28:15 AM CET (in 119.994s)
+347ms ╚Event processed successfully (347ms)
12/4/2018, 7:25:45 AM +306ms
+1ms ╔Received event [Sensor Kitchen New].motion = inactive with a delay of 95ms
+320ms ║RunTime Analysis CS > 31ms > PS > 234ms > PE > 55ms > CE
+330ms ║Runtime (37603 bytes) successfully initialized in 234ms (v0.2.0e1.20170728) (328ms)
+331ms ║╔Execution stage started
+341ms ║║Comparison (enum) inactive changes_to (string) active = false (1ms)
+343ms ║║Cancelling condition #7’s schedules…
+344ms ║║Condition #7 evaluated false (6ms)
+345ms ║║Cancelling condition #1’s schedules…
+346ms ║║Condition group #1 evaluated false (state changed) (9ms)
+348ms ║╚Execution stage complete. (18ms)
+355ms ╚Event processed successfully (354ms)
12/4/2018, 7:23:46 AM +198ms
+5ms ╔Received event [Sanctuary].time = 1543904625590 with a delay of 605ms
+2500ms ║RunTime Analysis CS > 2345ms > PS > 67ms > PE > 91ms > CE
+2514ms ║Runtime (37599 bytes) successfully initialized in 67ms (v0.2.0e1.20170728) (2503ms)
+2515ms ║╔Execution stage started
+2615ms ║║Executed physical command [Dimmable light 5].off() (14ms)
+2617ms ║║Executed [Dimmable light 5].off (18ms)
+2634ms ║║Executed physical command [Dimmable light 4].off() (13ms)
+2634ms ║║Executed [Dimmable light 4].off (15ms)
+2650ms ║║Executed physical command [Dimmable light 2].off() (13ms)
+2651ms ║║Executed [Dimmable light 2].off (15ms)
+2666ms ║╚Execution stage complete. (152ms)
+2674ms ╚Event processed successfully (2674ms)
12/4/2018, 7:21:45 AM +319ms
+1ms ╔Received event [Sensor Kitchen New].motion = active with a delay of 82ms
+123ms ║RunTime Analysis CS > 31ms > PS > 39ms > PE > 53ms > CE
+132ms ║Runtime (37606 bytes) successfully initialized in 39ms (v0.2.0e1.20170728) (130ms)
+133ms ║╔Execution stage started
+143ms ║║Comparison (enum) active changes_to (string) active = true (1ms)
+145ms ║║Cancelling condition #7’s schedules…
+146ms ║║Condition #7 evaluated true (7ms)
+155ms ║║Comparison (enum) off is (string) off = true (2ms)
+157ms ║║Condition #17 evaluated true (9ms)
+158ms ║║Cancelling condition #1’s schedules…
+159ms ║║Condition group #1 evaluated true (state changed) (19ms)
+200ms ║║Comparison (time) 26505481 is_between (time) 0 … (datetime) 1543936740000 = true (8ms)
+201ms ║║Time restriction check passed
+202ms ║║Condition #16 evaluated true (40ms)
+203ms ║║Condition group #8 evaluated true (state did not change) (42ms)
+206ms ║║Cancelling statement #12’s schedules…
+229ms ║║Executed physical command [Dimmable light 5].setLevel([50]) (17ms)
+230ms ║║Executed [Dimmable light 5].setLevel (19ms)
+248ms ║║Executed physical command [Dimmable light 4].setLevel([50]) (15ms)
+249ms ║║Executed [Dimmable light 4].setLevel (17ms)
+264ms ║║Executed physical command [Dimmable light 2].setLevel([50]) (13ms)
+265ms ║║Executed [Dimmable light 2].setLevel (15ms)
+270ms ║║Executed virtual command [Dimmable light 5, Dimmable light 4, Dimmable light 2].wait (0ms)
+271ms ║║Requesting a wake up for Tue, Dec 4 2018 @ 7:23:45 AM CET (in 120.0s)
+277ms ║╚Execution stage complete. (144ms)
+279ms ║Setting up scheduled job for Tue, Dec 4 2018 @ 7:23:45 AM CET (in 119.993s)
+297ms ╚Event processed successfully (297ms)
12/4/2018, 7:16:09 AM +85ms
+1ms ╔Received event [Sanctuary].time = 1543904169393 with a delay of -308ms
+135ms ║RunTime Analysis CS > 28ms > PS > 40ms > PE > 66ms > CE
+146ms ║Runtime (37604 bytes) successfully initialized in 40ms (v0.2.0e1.20170728) (144ms)
+147ms ║╔Execution stage started
+197ms ║║Executed physical command [Dimmable light 5].off() (15ms)
+198ms ║║Executed [Dimmable light 5].off (18ms)
+214ms ║║Executed physical command [Dimmable light 4].off() (14ms)
+215ms ║║Executed [Dimmable light 4].off (16ms)
+233ms ║║Executed physical command [Dimmable light 2].off() (14ms)
+234ms ║║Executed [Dimmable light 2].off (16ms)
+238ms ║╚Execution stage complete. (90ms)
+246ms ╚Event processed successfully (246ms)
12/4/2018, 7:14:39 AM +128ms
+1ms ╔Received event [Sensor Kitchen New].motion = inactive with a delay of 112ms
+122ms ║RunTime Analysis CS > 36ms > PS > 33ms > PE > 53ms > CE
+136ms ║Runtime (37602 bytes) successfully initialized in 33ms (v0.2.0e1.20170728) (135ms)
+137ms ║╔Execution stage started
+147ms ║║Comparison (enum) inactive changes_to (string) active = false (0ms)
+148ms ║║Cancelling condition #7’s schedules…
+149ms ║║Condition #7 evaluated false (6ms)
+151ms ║║Cancelling condition #1’s schedules…
+151ms ║║Condition group #1 evaluated false (state changed) (9ms)
+155ms ║╚Execution stage complete. (19ms)
+157ms ║Setting up scheduled job for Tue, Dec 4 2018 @ 7:16:09 AM CET (in 90.108s)
+176ms ╚Event processed successfully (176ms)
12/4/2018, 7:14:09 AM +144ms
+1ms ╔Received event [Sensor Kitchen New].motion = active with a delay of 92ms
+114ms ║RunTime Analysis CS > 20ms > PS > 40ms > PE > 53ms > CE
+128ms ║Runtime (37606 bytes) successfully initialized in 40ms (v0.2.0e1.20170728) (126ms)
+129ms ║╔Execution stage started
+140ms ║║Comparison (enum) active changes_to (string) active = true (1ms)
+142ms ║║Cancelling condition #7’s schedules…
+143ms ║║Condition #7 evaluated true (7ms)
+153ms ║║Comparison (enum) off is (string) off = true (2ms)
+155ms ║║Condition #17 evaluated true (11ms)
+156ms ║║Cancelling condition #1’s schedules…
+157ms ║║Condition group #1 evaluated true (state changed) (22ms)
+201ms ║║Comparison (time) 26049305 is_between (time) 0 … (datetime) 1543936740000 = true (8ms)
+202ms ║║Time restriction check passed
+204ms ║║Condition #16 evaluated true (44ms)
+205ms ║║Condition group #8 evaluated true (state did not change) (45ms)
+209ms ║║Cancelling statement #12’s schedules…
+222ms ║║Skipped execution of physical command [Dimmable light 5].setLevel([50]) because it would make no change to the device. (6ms)
+223ms ║║Executed [Dimmable light 5].setLevel (8ms)
+232ms ║║Skipped execution of physical command [Dimmable light 4].setLevel([50]) because it would make no change to the device. (7ms)
+233ms ║║Executed [Dimmable light 4].setLevel (9ms)
+242ms ║║Skipped execution of physical command [Dimmable light 2].setLevel([50]) because it would make no change to the device. (7ms)
+243ms ║║Executed [Dimmable light 2].setLevel (9ms)
+248ms ║║Executed virtual command [Dimmable light 5, Dimmable light 4, Dimmable light 2].wait (1ms)
+249ms ║║Requesting a wake up for Tue, Dec 4 2018 @ 7:16:09 AM CET (in 120.0s)
+255ms ║╚Execution stage complete. (126ms)
+257ms ║Setting up scheduled job for Tue, Dec 4 2018 @ 7:16:09 AM CET (in 119.993s)
+277ms ╚Event processed successfully (276ms)
12/4/2018, 7:13:17 AM +413ms
+1ms ╔Received event [Sensor Kitchen New].motion = inactive with a delay of 80ms
+106ms ║RunTime Analysis CS > 17ms > PS > 34ms > PE > 56ms > CE
+118ms ║Runtime (37601 bytes) successfully initialized in 34ms (v0.2.0e1.20170728) (117ms)
+119ms ║╔Execution stage started
+130ms ║║Comparison (enum) inactive changes_to (string) active = false (1ms)
+132ms ║║Cancelling condition #7’s schedules…
+133ms ║║Condition #7 evaluated false (7ms)
+134ms ║║Cancelling condition #1’s schedules…
+135ms ║║Condition group #1 evaluated false (state changed) (9ms)
+138ms ║╚Execution stage complete. (18ms)
+139ms ║Setting up scheduled job for Tue, Dec 4 2018 @ 7:14:40 AM CET (in 82.827s)
+160ms ╚Event processed successfully (160ms)
12/4/2018, 7:12:39 AM +90ms
+3ms ╔Received event [Sensor Kitchen New].motion = active with a delay of 1327ms
+1121ms ║RunTime Analysis CS > 983ms > PS > 61ms > PE > 77ms > CE
+1135ms ║Runtime (37610 bytes) successfully initialized in 61ms (v0.2.0e1.20170728) (1129ms)
+1136ms ║╔Execution stage started
+1154ms ║║Comparison (enum) active changes_to (string) active = true (2ms)
+1156ms ║║Cancelling condition #7’s schedules…
+1157ms ║║Condition #7 evaluated true (12ms)
+1167ms ║║Comparison (enum) off is (string) off = true (3ms)
+1169ms ║║Condition #17 evaluated true (11ms)
+1170ms ║║Cancelling condition #1’s schedules…
+1171ms ║║Condition group #1 evaluated true (state changed) (26ms)
+1222ms ║║Comparison (time) 25960265 is_between (time) 0 … (datetime) 1543936740000 = true (10ms)
+1223ms ║║Time restriction check passed
+1225ms ║║Condition #16 evaluated true (51ms)
+1226ms ║║Condition group #8 evaluated true (state did not change) (52ms)
+1229ms ║║Cancelling statement #12’s schedules…
+1253ms ║║Skipped execution of physical command [Dimmable light 5].setLevel([50]) because it would make no change to the device. (7ms)
+1254ms ║║Executed [Dimmable light 5].setLevel (9ms)
+1270ms ║║Skipped execution of physical command [Dimmable light 4].setLevel([50]) because it would make no change to the device. (13ms)
+1271ms ║║Executed [Dimmable light 4].setLevel (14ms)
+1280ms ║║Skipped execution of physical command [Dimmable light 2].setLevel([50]) because it would make no change to the device. (7ms)
+1281ms ║║Executed [Dimmable light 2].setLevel (8ms)
+1286ms ║║Executed virtual command [Dimmable light 5, Dimmable light 4, Dimmable light 2].wait (1ms)
+1288ms ║║Requesting a wake up for Tue, Dec 4 2018 @ 7:14:40 AM CET (in 120.0s)
+1343ms ║╚Execution stage complete. (208ms)
+1351ms ║Setting up scheduled job for Tue, Dec 4 2018 @ 7:14:40 AM CET (in 119.939s)
+1369ms ╚Event processed successfully (1369ms)
12/4/2018, 7:12:08 AM +323ms
+2ms ╔Received event [Sensor Kitchen New].motion = inactive with a delay of 94ms
+112ms ║RunTime Analysis CS > 23ms > PS > 34ms > PE > 55ms > CE
+127ms ║Runtime (37601 bytes) successfully initialized in 34ms (v0.2.0e1.20170728) (124ms)
+128ms ║╔Execution stage started
+139ms ║║Comparison (enum) inactive changes_to (string) active = false (0ms)
+140ms ║║Cancelling condition #7’s schedules…
+141ms ║║Condition #7 evaluated false (7ms)
+142ms ║║Cancelling condition #1’s schedules…
+143ms ║║Condition group #1 evaluated false (state changed) (9ms)
+147ms ║╚Execution stage complete. (19ms)
+148ms ║Setting up scheduled job for Tue, Dec 4 2018 @ 7:13:35 AM CET (in 87.196s)
+169ms ╚Event processed successfully (169ms)
12/4/2018, 7:11:35 AM +431ms
+1ms ╔Received event [Sensor Kitchen New].motion = active with a delay of 77ms
+104ms ║RunTime Analysis CS > 18ms > PS > 32ms > PE > 53ms > CE
+116ms ║Runtime (37606 bytes) successfully initialized in 32ms (v0.2.0e1.20170728) (114ms)
+117ms ║╔Execution stage started
+127ms ║║Comparison (enum) active changes_to (string) active = true (1ms)
+129ms ║║Cancelling condition #7’s schedules…
+130ms ║║Condition #7 evaluated true (7ms)
+139ms ║║Comparison (enum) off is (string) off = true (2ms)
+141ms ║║Condition #17 evaluated true (9ms)
+142ms ║║Cancelling condition #1’s schedules…
+143ms ║║Condition group #1 evaluated true (state changed) (19ms)
+188ms ║║Comparison (time) 25895577 is_between (time) 0 … (datetime) 1543936740000 = true (9ms)
+189ms ║║Time restriction check passed
+191ms ║║Condition #16 evaluated true (45ms)
+192ms ║║Condition group #8 evaluated true (state did not change) (46ms)
+195ms ║║Cancelling statement #12’s schedules…
+208ms ║║Skipped execution of physical command [Dimmable light 5].setLevel([50]) because it would make no change to the device. (5ms)
+209ms ║║Executed [Dimmable light 5].setLevel (7ms)
+218ms ║║Skipped execution of physical command [Dimmable light 4].setLevel([50]) because it would make no change to the device. (7ms)
+219ms ║║Executed [Dimmable light 4].setLevel (8ms)
+228ms ║║Skipped execution of physical command [Dimmable light 2].setLevel([50]) because it would make no change to the device. (7ms)
+229ms ║║Executed [Dimmable light 2].setLevel (9ms)
+233ms ║║Executed virtual command [Dimmable light 5, Dimmable light 4, Dimmable light 2].wait (1ms)
+235ms ║║Requesting a wake up for Tue, Dec 4 2018 @ 7:13:35 AM CET (in 120.0s)
+241ms ║╚Execution stage complete. (123ms)
+242ms ║Setting up scheduled job for Tue, Dec 4 2018 @ 7:13:35 AM CET (in 119.994s)
+262ms ╚Event processed successfully (261ms)
12/4/2018, 7:11:05 AM +575ms
+1ms ╔Received event [Sensor Kitchen New].motion = inactive with a delay of 84ms
+105ms ║RunTime Analysis CS > 18ms > PS > 32ms > PE > 54ms > CE
+119ms ║Runtime (37601 bytes) successfully initialized in 32ms (v0.2.0e1.20170728) (116ms)
+120ms ║╔Execution stage started
+130ms ║║Comparison (enum) inactive changes_to (string) active = false (1ms)
+132ms ║║Cancelling condition #7’s schedules…
+133ms ║║Condition #7 evaluated false (6ms)
+134ms ║║Cancelling condition #1’s schedules…
+135ms ║║Condition group #1 evaluated false (state changed) (9ms)
+138ms ║╚Execution stage complete. (18ms)
+139ms ║Setting up scheduled job for Tue, Dec 4 2018 @ 7:12:35 AM CET (in 90.177s)
+161ms ╚Event processed successfully (160ms)
12/4/2018, 7:10:35 AM +657ms
+1ms ╔Received event [Sensor Kitchen New].motion = active with a delay of 79ms
+103ms ║RunTime Analysis CS > 16ms > PS > 34ms > PE > 53ms > CE
+114ms ║Runtime (37606 bytes) successfully initialized in 34ms (v0.2.0e1.20170728) (113ms)
+115ms ║╔Execution stage started
+126ms ║║Comparison (enum) active changes_to (string) active = true (1ms)
+128ms ║║Cancelling condition #7’s schedules…
+129ms ║║Condition #7 evaluated true (8ms)
+140ms ║║Comparison (enum) off is (string) off = true (2ms)
+141ms ║║Condition #17 evaluated true (11ms)
+142ms ║║Cancelling condition #1’s schedules…
+143ms ║║Condition group #1 evaluated true (state changed) (22ms)
+186ms ║║Comparison (time) 25835805 is_between (time) 0 … (datetime) 1543936740000 = true (8ms)
+187ms ║║Time restriction check passed
+189ms ║║Condition #16 evaluated true (42ms)
+190ms ║║Condition group #8 evaluated true (state did not change) (43ms)
+193ms ║║Cancelling statement #12’s schedules…
+206ms ║║Skipped execution of physical command [Dimmable light 5].setLevel([50]) because it would make no change to the device. (5ms)
+207ms ║║Executed [Dimmable light 5].setLevel (7ms)
+215ms ║║Skipped execution of physical command [Dimmable light 4].setLevel([50]) because it would make no change to the device. (6ms)
+216ms ║║Executed [Dimmable light 4].setLevel (8ms)
+225ms ║║Skipped execution of physical command [Dimmable light 2].setLevel([50]) because it would make no change to the device. (7ms)
+226ms ║║Executed [Dimmable light 2].setLevel (9ms)
+231ms ║║Executed virtual command [Dimmable light 5, Dimmable light 4, Dimmable light 2].wait (1ms)
+233ms ║║Requesting a wake up for Tue, Dec 4 2018 @ 7:12:35 AM CET (in 120.0s)
+239ms ║╚Execution stage complete. (124ms)
+241ms ║Setting up scheduled job for Tue, Dec 4 2018 @ 7:12:35 AM CET (in 119.993s)
+259ms ╚Event processed successfully (259ms)
12/4/2018, 7:09:47 AM +813ms
+1ms ╔Received event [Sensor Kitchen New].motion = inactive with a delay of 83ms
+143ms ║RunTime Analysis CS > 39ms > PS > 50ms > PE > 53ms > CE
+156ms ║Runtime (37601 bytes) successfully initialized in 50ms (v0.2.0e1.20170728) (153ms)
+156ms ║╔Execution stage started
+167ms ║║Comparison (enum) inactive changes_to (string) active = false (1ms)
+169ms ║║Cancelling condition #7’s schedules…
+170ms ║║Condition #7 evaluated false (7ms)
+171ms ║║Cancelling condition #1’s schedules…
+172ms ║║Condition group #1 evaluated false (state changed) (10ms)
+179ms ║╚Execution stage complete. (22ms)
+180ms ║Setting up scheduled job for Tue, Dec 4 2018 @ 7:10:54 AM CET (in 66.251s)
+208ms ╚Event processed successfully (208ms)
12/4/2018, 7:08:53 AM +998ms
+1ms ╔Received event [Sensor Kitchen New].motion = active with a delay of 79ms
+117ms ║RunTime Analysis CS > 30ms > PS > 32ms > PE > 55ms > CE
+129ms ║Runtime (37606 bytes) successfully initialized in 32ms (v0.2.0e1.20170728) (126ms)
+130ms ║╔Execution stage started
+143ms ║║Comparison (enum) active changes_to (string) active = true (1ms)
+145ms ║║Cancelling condition #7’s schedules…
+146ms ║║Condition #7 evaluated true (8ms)
+155ms ║║Comparison (enum) off is (string) off = true (2ms)
+157ms ║║Condition #17 evaluated true (9ms)
+158ms ║║Cancelling condition #1’s schedules…
+158ms ║║Condition group #1 evaluated true (state changed) (21ms)
+201ms ║║Comparison (time) 25734159 is_between (time) 0 … (datetime) 1543936740000 = true (9ms)
+202ms ║║Time restriction check passed
+204ms ║║Condition #16 evaluated true (43ms)
+205ms ║║Condition group #8 evaluated true (state did not change) (45ms)
+208ms ║║Cancelling statement #12’s schedules…
+221ms ║║Skipped execution of physical command [Dimmable light 5].setLevel([50]) because it would make no change to the device. (6ms)
+222ms ║║Executed [Dimmable light 5].setLevel (8ms)
+229ms ║║Skipped execution of physical command [Dimmable light 4].setLevel([50]) because it would make no change to the device. (5ms)
+230ms ║║Executed [Dimmable light 4].setLevel (6ms)
+239ms ║║Skipped execution of physical command [Dimmable light 2].setLevel([50]) because it would make no change to the device. (6ms)
+240ms ║║Executed [Dimmable light 2].setLevel (8ms)
+244ms ║║Executed virtual command [Dimmable light 5, Dimmable light 4, Dimmable light 2].wait (1ms)
+245ms ║║Requesting a wake up for Tue, Dec 4 2018 @ 7:10:54 AM CET (in 120.0s)
+251ms ║╚Execution stage complete. (122ms)
+253ms ║Setting up scheduled job for Tue, Dec 4 2018 @ 7:10:54 AM CET (in 119.994s)
+272ms ╚Event processed successfully (272ms)


#4

Sorry to spam such large text. It all just seems so me as if smartthinfs has become a bit slower/tardier…almost like it’s missing computing power in a way. Hard to explain really, it’s like playing a game when it keeps rubberbanding…


#5

No worries! It had what I wanted to see - that all your triggers are coming in without interruption. The delays you see are due to things being cloud-based for webCoRE, so real-time responses to things can be difficult to implement.

The real lag comes from the sensors, though. I’ve never found motion sensor worth using for what I wanted (oddly enough, turning on the lights when I walked into the kitchen), so I just abandoned them all together for the time being. The battery powered ones are designed for battery life, so it wasn’t unusual for motion reports to be delayed by 7 seconds or more. At that point I would rather just turn the lights on in a room.

Contact sensors react faster because they can wake up immediately when they experience a physical trigger (like a contact opening or closing).

Short version: your webCoRE system is working as designed and as close to real-time as it can with SmartThings. There’s no delayed or missed triggers (or recovery executions) to indicate system issues.


#6

Thanks for your reply. I understand it quite well! Smartthings has an option build in where you can set the refreshing time for the sensor. I would like to implement that in my piston but have no idea how I could simulate such conditions, where let’s say: motionsensor gets reset after 30secs for instance.
Could that be a thing to try? And would you help me with that?


#7

Yeah, if you get your motions sensor set up the way you want in SmartThings, I’d be happy to help you write a piston that makes the best use of it.


#8

Well I would like to keep on using this piston, but maybe you can help me add a line that refreshes the sensor, so that… When I’m still in the sensor it will register that for once ^^


#9

Perhaps I should add that also the contactsensors are slow(er) than before. Especially interesting when everything worked as it should a few weeks before, fast and responsive which leads me to persist in believing something else might be the reason to this.