i have been clicking the test button copying the logs and also when my family have gone out
Arrival of people including multiple people at once
Clicking the test button isnât going to trigger the piston for you, you need to follow @borristhecatâs advice and insert a virtual trigger so you can test the piston yourself repeatedly. It will be MUCH quicker this way.
ok feel so so so stupid right now.
light came on with a bit of a delay would be good to get it close to when the door opens maybe speaker worked with no problems again long delay
there is about a 40 sec delay when the speaker announces even dropping it down to 4 milliseconds any ideas ?
im still on the virtual switches i presuming this is right or should i keep virtual p sensor and use the non virtual contact sensor ?
this is off the log
3/9/2020, 11:45:39 AM +535ms
+1ms âReceived event [test door sensor].contact = open with a delay of 49ms
+63ms âRunTime Analysis CS > 15ms > PS > 5ms > PE > 43ms > CE
+67ms âRuntime (76844 bytes) successfully initialized in 5ms (v0.3.110.20191009) (65ms)
Why is the departure delay so low? Iâm assuming where you were trying to spead things up? That but wonât help I would have that to 1-2 mins, just incase your getting a back fire. Iâll need to have a look at the logs properly as I havenât seen WC logs for a while and there is a lot of information to go through
borristhecat i took the screen shoot just to say even at that spped the speaker still wouldnt sound until about 1-2 minutes everything is back to normal to the piston you gave me
Yeah in the logs there is a actual delay, but canât work out why yet, it never used to do that so something is up. I need to have a proper play with in in my set up to see what is causing it.
ok iâm wondering if the delay is to do with the motion on the ring door bell does this piston wait until it goes inactive before it goes to lights then speaker ?
i remembered you say ring motion is not as good
ill read up on making my sunlife sensor to work in webcore then try that
itâs not that itâs just that motion isnât always a clear signal that your in the house and are ready for the message. Remember this is designed around someone coming home, the something triggering to prove that they are close enough to the speaker to here the message to welcome them home and turn on the light.
The only delay after the trigger is this
and thatâs just so you have enough time to get in to hear it. Thatâs the only reason why a contact is better, because you come in open the door, then once your IN you close it and OFF it goes. Where as a motion might go inactive before your ready or active as you come to the door or before your presence has triggered.
yes it does but you can change that by changing this to active instead of inactive.
the other reason for the contact is for easy testing and its giving you a delay of 12 but i canât see where from. The light thing is due to its position on the code and that can be moved with no issue now.
this would be moved to between line 82 and 83. you can literally drag and drop if you select the black down triangle option.
thank you all for having the patience to help me with this piston it must have been so frustrating for you all it is now working (even tho my family turns the switches off every so often ) Cheers everyone
Hallelujah! Praise the Lord! I think @borristhecat deserves at least one for his effortsâŚ
@borristhecat I could use your help. Im using your Piston and just recently the arrival and departure messages are occurring in reverse. so when someone leave the arrival announcement occurs and when someone arrives the departure announcement fires. not sure what is happening, would you mind reviewing my recent log and help?
LOG:
4/7/2020, 11:53:56 AM +104ms
+1ms âReceived event [Home].time = 1586274836990 with a delay of -886ms
+381ms âRunTime Analysis CS > 21ms > PS > 151ms > PE > 208ms > CE
+384ms âRuntime (77050 bytes) successfully initialized in 151ms (v0.3.110.20191009) (382ms)
+385ms ââExecution stage started
+395ms ââCalculating (datetime) 1586274836495 - (datetime) 1586274821990 >> (datetime) 14505
+400ms ââComparison (datetime) 14505 is_greater_than (integer) 350000 = false (2ms)
+401ms ââCondition #27 evaluated false (11ms)
+402ms ââCondition group #24 evaluated false (state did not change) (12ms)
+413ms ââCondition #20 evaluated false (6ms)
+419ms ââCondition #87 evaluated false (6ms)
+420ms ââCondition group #55 evaluated false (state did not change) (14ms)
+421ms ââCondition group #11 evaluated false (state did not change) (16ms)
+426ms ââComparison (time) 42836527 happens_daily_at (datetime) 1586274821990 = true (1ms)
+427ms ââTime restriction check passed
+428ms ââCancelling condition #49âs schedulesâŚ
+429ms ââCondition #49 evaluated true (6ms)
+430ms ââCancelling statement #49âs schedulesâŚ
+433ms ââRequesting time schedule wake up at Wed, Apr 8 2020 @ 11:53:56 AM EDT
+440ms ââComparison (boolean) false is (boolean) false = true (1ms)
+442ms ââCancelling condition #48âs schedulesâŚ
+442ms ââCondition #48 evaluated true (7ms)
+443ms ââCancelling condition #38âs schedulesâŚ
+444ms ââCondition group #38 evaluated true (state changed) (21ms)
+446ms ââCancelling statement #39âs schedulesâŚ
+453ms ââExecuted virtual command setVariable (4ms)
+459ms ââComparison (integer) 2 is_greater_than (integer) 0 = true (1ms)
+460ms ââCancelling condition #65âs schedulesâŚ
+461ms ââCondition #65 evaluated true (5ms)
+462ms ââCancelling condition #61âs schedulesâŚ
+462ms ââCondition group #61 evaluated true (state changed) (7ms)
+542ms ââComparison (time) 42836569 is_between (time) 1586303280000 ⌠(time) 1586257680000 = false (10ms)
+543ms ââCondition #89 evaluated false (79ms)
+544ms ââCondition group #76 evaluated false (state did not change) (80ms)
+547ms ââCancelling statement #52âs schedulesâŚ
+555ms ââExecuted virtual command [Echo - Aidenâs Echo, Echo - Jesse, Echo - Main-Echo, Echo - Spot].setVariable (3ms)
+569ms ââCalculating (decimal) 0.0 - (decimal) 1.0 >> (decimal) -1.0
+576ms ââExecuted virtual command [Echo - Aidenâs Echo, Echo - Jesse, Echo - Main-Echo, Echo - Spot].setVariable (4ms)
+606ms ââCalculating (integer) 4 - (integer) -1 >> (integer) 5
+610ms ââCalculating (integer) 5 - (integer) 2 >> (integer) 3
+621ms ââCalculating (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 + (string) and >> (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 and
+627ms ââCalculating (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 and + (string) ama >> (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 and ama
+632ms ââCalculating (integer) -1 > (integer) 0 >> (boolean) false
+640ms ââExecuted virtual command [Echo - Aidenâs Echo, Echo - Jesse, Echo - Main-Echo, Echo - Spot].setVariable (4ms)
+1182ms ââExecuted physical command [Echo - Aidenâs Echo].setVolumeSpeakAndRestore([50, How is everything Mama, Mama is blowing in., 20]) (532ms)
+1183ms ââExecuted [Echo - Aidenâs Echo].setVolumeSpeakAndRestore (534ms)
+1540ms ââExecuted physical command [Echo - Jesse].setVolumeSpeakAndRestore([50, How is everything Mama, Mama is blowing in., 20]) (353ms)
+1541ms ââExecuted [Echo - Jesse].setVolumeSpeakAndRestore (355ms)
+1790ms ââExecuted physical command [Echo - Main-Echo].setVolumeSpeakAndRestore([50, How is everything Mama, Mama is blowing in., 20]) (246ms)
+1791ms ââExecuted [Echo - Main-Echo].setVolumeSpeakAndRestore (248ms)
+2049ms ââExecuted physical command [Echo - Spot].setVolumeSpeakAndRestore([50, How is everything Mama, Mama is blowing in., 20]) (254ms)
+2049ms ââExecuted [Echo - Spot].setVolumeSpeakAndRestore (256ms)
+2059ms ââCalculating (integer) 2 == (integer) 1 >> (boolean) false
+2075ms ââCalculating (integer) 4 - (integer) -1 >> (integer) 5
+2078ms ââCalculating (integer) 5 - (integer) 2 >> (integer) 3
+2085ms ââCalculating (integer) 2 == (integer) 1 >> (boolean) false
+2091ms ââCalculating (string) Mama + (string) has >> (string) Mama has
+2095ms ââCalculating (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 + (string) and >> (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 and
+2099ms ââCalculating (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 and + (string) ama >> (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 and ama
+2103ms ââCalculating (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 and ama + (string) have >> (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 and ama have
+2106ms ââCalculating (integer) -1 <= (integer) 0 >> (boolean) true
+2112ms ââExecuted virtual command [Echo - Aidenâs Echo, Echo - Jesse, Echo - Main-Echo, Echo - Spot].setVariable (3ms)
+2120ms ââCalculating (integer) 2 == (integer) 1 >> (boolean) false
+2124ms ââCalculating (string) Mama has + (string) left home. >> (string) Mama has left home.
+2128ms ââExecuted virtual command [Echo - Aidenâs Echo, Echo - Jesse, Echo - Main-Echo, Echo - Spot].setVariable (3ms)
+2151ms ââCalculating (integer) 2 == (integer) 1 >> (boolean) false
+2176ms ââCalculating (integer) 2 == (integer) 1 >> (boolean) false
+2181ms ââCalculating (string) Toodles + (string) Mama >> (string) Toodles Mama
+2184ms ââCalculating (string) Toodles Mama + (string) , >> (string) Toodles Mama,
+2187ms ââCalculating (string) Toodles Mama, + (string) Mama has >> (string) Toodles Mama, Mama has
+2189ms ââCalculating (string) Toodles Mama, Mama has + (string) buggered off. >> (string) Toodles Mama, Mama has buggered off.
+2194ms ââExecuted virtual command [Echo - Aidenâs Echo, Echo - Jesse, Echo - Main-Echo, Echo - Spot].setVariable (3ms)
+2211ms ââExecuted virtual command [Echo - Aidenâs Echo, Echo - Jesse, Echo - Main-Echo, Echo - Spot].sendPushNotification (12ms)
+2216ms ââExecuted virtual command [Echo - Aidenâs Echo, Echo - Jesse, Echo - Main-Echo, Echo - Spot].setVariable (4ms)
+2222ms ââExecuted virtual command [Echo - Aidenâs Echo, Echo - Jesse, Echo - Main-Echo, Echo - Spot].setVariable (4ms)
+2225ms ââExecution stage complete. (1840ms)
+2226ms âSetting up scheduled job for Wed, Apr 8 2020 @ 11:53:56 AM EDT (in 86398.661s)
+2236ms âEvent processed successfully (2236ms)
4/7/2020, 11:53:41 AM +691ms
+1ms âReceived event [Mom].presence = not present with a delay of 63ms
+207ms âRunTime Analysis CS > 17ms > PS > 130ms > PE > 60ms > CE
+210ms âRuntime (77043 bytes) successfully initialized in 130ms (v0.3.110.20191009) (208ms)
+211ms ââExecution stage started
+219ms ââCalculating (datetime) 1586274821907 - (datetime) 1586274560548 >> (datetime) 261359
+222ms ââComparison (datetime) 261359 is_greater_than (integer) 350000 = false (1ms)
+224ms ââCondition #27 evaluated false (8ms)
+224ms ââCondition group #24 evaluated false (state did not change) (9ms)
+230ms ââCancelling statement #3âs schedulesâŚ
+242ms ââExecuted virtual command setVariable (2ms)
+256ms ââCalculating (integer) 5 - (integer) 1 >> (integer) 4
+259ms ââComparison (integer) 3 is_inside_of_range (integer) 0 ⌠(integer) 4 = true (2ms)
+260ms ââCondition #8 evaluated true (15ms)
+261ms ââCondition group #2 evaluated true (state did not change) (17ms)
+263ms ââCancelling statement #34âs schedulesâŚ
+270ms ââCalculating (dynamic) not present == (dynamic) present >> (boolean) false
+276ms ââExecuted virtual command setVariable (4ms)
+290ms ââCalculating (string) + (string) >> (string)
+293ms ââCalculating (string) + (string) Mama >> (string) Mama
+297ms ââExecuted virtual command setVariable (3ms)
+302ms ââExecuted virtual command setVariable (2ms)
+313ms ââCancelling condition #20âs schedulesâŚ
+314ms ââCondition #20 evaluated false (9ms)
+320ms ââCondition #87 evaluated false (5ms)
+321ms ââCancelling condition #55âs schedulesâŚ
+322ms ââCondition group #55 evaluated false (state changed) (16ms)
+322ms ââCondition group #11 evaluated false (state did not change) (17ms)
+327ms ââComparison (time) 42822016 happens_daily_at (datetime) 1586274821990 = false (0ms)
+329ms ââCondition #49 evaluated false (3ms)
+329ms ââCancelling statement #49âs schedulesâŚ
+332ms ââRequesting time schedule wake up at Tue, Apr 7 2020 @ 11:53:56 AM EDT
+334ms ââCondition group #38 evaluated false (state did not change) (10ms)
+339ms ââComparison (integer) 0 is_greater_than (integer) 0 = false (1ms)
+340ms ââCondition #65 evaluated false (4ms)
+341ms ââCondition group #61 evaluated false (state did not change) (5ms)
+343ms ââExecution stage complete. (132ms)
+345ms âSetting up scheduled job for Tue, Apr 7 2020 @ 11:53:56 AM EDT (in 14.955s)
+384ms âEvent processed successfully (384ms)
4/7/2020, 11:52:45 AM +548ms
+1ms âReceived event [Front Door Sensor].contact = closed with a delay of 100ms
+244ms âRunTime Analysis CS > 18ms > PS > 156ms > PE > 70ms > CE
+248ms âRuntime (77052 bytes) successfully initialized in 156ms (v0.3.110.20191009) (246ms)
+249ms ââExecution stage started
+257ms ââCalculating (datetime) 1586274765802 - (datetime) 1586274560548 >> (datetime) 205254
+261ms ââComparison (datetime) 205254 is_greater_than (integer) 350000 = false (1ms)
+263ms ââCondition #27 evaluated false (9ms)
+263ms ââCondition group #24 evaluated false (state did not change) (10ms)
+272ms ââComparison (enum) closed changes_to (string) closed = true (1ms)
+274ms ââCancelling condition #20âs schedulesâŚ
+274ms ââCondition #20 evaluated true (6ms)
+276ms ââCancelling condition #55âs schedulesâŚ
+276ms ââCondition group #55 evaluated true (state changed) (8ms)
+282ms ââComparison (boolean) true is (boolean) false = false (1ms)
+283ms ââCancelling condition #29âs schedulesâŚ
+284ms ââCondition #29 evaluated false (7ms)
+285ms ââCondition group #11 evaluated false (state did not change) (18ms)
+290ms ââComparison (time) 42765836 happens_daily_at (datetime) 1586274560548 = false (0ms)
+291ms ââCondition #49 evaluated false (4ms)
+292ms ââCancelling statement #49âs schedulesâŚ
+296ms ââRequesting time schedule wake up at Wed, Apr 8 2020 @ 11:49:35 AM EDT
+298ms ââCondition group #38 evaluated false (state did not change) (11ms)
+303ms ââComparison (integer) 0 is_greater_than (integer) 0 = false (1ms)
+304ms ââCondition #65 evaluated false (4ms)
+305ms ââCondition group #61 evaluated false (state did not change) (5ms)
+308ms ââExecution stage complete. (59ms)
+309ms âSetting up scheduled job for Wed, Apr 8 2020 @ 11:49:35 AM EDT (in 86209.692s)
+323ms âEvent processed successfully (323ms)
4/7/2020, 11:52:43 AM +764ms
+2ms âReceived event [Front Door Sensor].contact = open with a delay of 106ms
+217ms âRunTime Analysis CS > 21ms > PS > 132ms > PE > 64ms > CE
+221ms âRuntime (77046 bytes) successfully initialized in 132ms (v0.3.110.20191009) (218ms)
+222ms ââExecution stage started
+230ms ââCalculating (datetime) 1586274763991 - (datetime) 1586274560548 >> (datetime) 203443
+234ms ââComparison (datetime) 203443 is_greater_than (integer) 350000 = false (2ms)
+235ms ââCondition #27 evaluated false (9ms)
+236ms ââCondition group #24 evaluated false (state did not change) (10ms)
+245ms ââComparison (enum) open changes_to (string) closed = false (0ms)
+246ms ââCancelling condition #20âs schedulesâŚ
+247ms ââCondition #20 evaluated false (6ms)
+256ms ââCondition #87 evaluated false (8ms)
+258ms ââCancelling condition #55âs schedulesâŚ
+258ms ââCondition group #55 evaluated false (state changed) (18ms)
+259ms ââCancelling condition #11âs schedulesâŚ
+260ms ââCondition group #11 evaluated false (state changed) (20ms)
+265ms ââComparison (time) 42764027 happens_daily_at (datetime) 1586274560548 = false (0ms)
+266ms ââCondition #49 evaluated false (4ms)
+267ms ââCancelling statement #49âs schedulesâŚ
+271ms ââRequesting time schedule wake up at Wed, Apr 8 2020 @ 11:49:35 AM EDT
+273ms ââCondition group #38 evaluated false (state did not change) (10ms)
+278ms ââComparison (integer) 0 is_greater_than (integer) 0 = false (2ms)
+279ms ââCancelling condition #65âs schedulesâŚ
+280ms ââCondition #65 evaluated false (5ms)
+281ms ââCancelling condition #61âs schedulesâŚ
+282ms ââCondition group #61 evaluated false (state changed) (7ms)
+284ms ââExecution stage complete. (62ms)
+285ms âSetting up scheduled job for Wed, Apr 8 2020 @ 11:49:35 AM EDT (in 86211.499s)
+317ms âEvent processed successfully (317ms)
4/7/2020, 11:50:51 AM +193ms
+1ms âReceived event [Home].time = 1586274652618 with a delay of -1425ms
+189ms âRunTime Analysis CS > 15ms > PS > 119ms > PE > 55ms > CE
+193ms âRuntime (77010 bytes) successfully initialized in 119ms (v0.3.110.20191009) (191ms)
+194ms ââExecution stage started
+223ms ââExecuted virtual command setVariable (2ms)
+228ms ââComparison (time) 42651419 happens_daily_at (datetime) 1586274560548 = false (0ms)
+230ms ââCondition #49 evaluated false (4ms)
+231ms ââCancelling statement #49âs schedulesâŚ
+234ms ââRequesting time schedule wake up at Wed, Apr 8 2020 @ 11:49:35 AM EDT
+236ms ââCondition group #38 evaluated false (state did not change) (11ms)
+242ms ââComparison (integer) 1 is_greater_than (integer) 0 = true (1ms)
+243ms ââCancelling condition #65âs schedulesâŚ
+244ms ââCondition #65 evaluated true (6ms)
+245ms ââCancelling condition #61âs schedulesâŚ
+246ms ââCondition group #61 evaluated true (state changed) (8ms)
+296ms ââComparison (time) 42651441 is_between (time) 1586303280000 ⌠(time) 1586257680000 = false (10ms)
+297ms ââCondition #89 evaluated false (49ms)
+298ms ââCondition group #76 evaluated false (state did not change) (51ms)
+301ms ââCancelling statement #52âs schedulesâŚ
+309ms ââExecuted virtual command [Echo - Aidenâs Echo, Echo - Jesse, Echo - Main-Echo, Echo - Spot].setVariable (3ms)
+320ms ââCalculating (decimal) 0.0 - (decimal) 1.0 >> (decimal) -1.0
+326ms ââExecuted virtual command [Echo - Aidenâs Echo, Echo - Jesse, Echo - Main-Echo, Echo - Spot].setVariable (4ms)
+344ms ââCalculating (integer) 4 - (integer) -1 >> (integer) 5
+347ms ââCalculating (integer) 5 - (integer) 2 >> (integer) 3
+352ms ââCalculating (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 + (string) and >> (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 and
+356ms ââCalculating (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 and + (string) ama >> (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 and ama
+359ms ââCalculating (integer) -1 > (integer) 0 >> (boolean) false
+364ms ââExecuted virtual command [Echo - Aidenâs Echo, Echo - Jesse, Echo - Main-Echo, Echo - Spot].setVariable (3ms)
+925ms ââExecuted physical command [Echo - Aidenâs Echo].setVolumeSpeakAndRestore([50, Hope you have a great time Mama, Mama has bid farewell., 20]) (556ms)
+926ms ââExecuted [Echo - Aidenâs Echo].setVolumeSpeakAndRestore (558ms)
+1174ms ââExecuted physical command [Echo - Jesse].setVolumeSpeakAndRestore([50, Hope you have a great time Mama, Mama has bid farewell., 20]) (244ms)
+1175ms ââExecuted [Echo - Jesse].setVolumeSpeakAndRestore (246ms)
+1403ms ââExecuted physical command [Echo - Main-Echo].setVolumeSpeakAndRestore([50, Hope you have a great time Mama, Mama has bid farewell., 20]) (225ms)
+1404ms ââExecuted [Echo - Main-Echo].setVolumeSpeakAndRestore (226ms)
+1632ms ââExecuted physical command [Echo - Spot].setVolumeSpeakAndRestore([50, Hope you have a great time Mama, Mama has bid farewell., 20]) (224ms)
+1633ms ââExecuted [Echo - Spot].setVolumeSpeakAndRestore (226ms)
+1643ms ââCalculating (integer) 1 == (integer) 1 >> (boolean) true
+1658ms ââCalculating (integer) 4 - (integer) -1 >> (integer) 5
+1661ms ââCalculating (integer) 5 - (integer) 2 >> (integer) 3
+1667ms ââCalculating (integer) 1 == (integer) 1 >> (boolean) true
+1673ms ââCalculating (string) Mama + (string) is >> (string) Mama is
+1677ms ââCalculating (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 + (string) and >> (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 and
+1680ms ââCalculating (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 and + (string) ama >> (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 and ama
+1683ms ââCalculating (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 and ama + (string) are >> (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 and ama are
+1816ms ââCalculating (integer) -1 <= (integer) 0 >> (boolean) true
+1822ms ââExecuted virtual command [Echo - Aidenâs Echo, Echo - Jesse, Echo - Main-Echo, Echo - Spot].setVariable (3ms)
+1832ms ââCalculating (integer) 1 == (integer) 1 >> (boolean) true
+1836ms ââCalculating (string) Mama is + (string) now at home. >> (string) Mama is now at home.
+1841ms ââExecuted virtual command [Echo - Aidenâs Echo, Echo - Jesse, Echo - Main-Echo, Echo - Spot].setVariable (3ms)
+1877ms ââCalculating (integer) 1 == (integer) 1 >> (boolean) true
+1916ms ââCalculating (integer) 1 == (integer) 1 >> (boolean) true
+1925ms ââCalculating (string) How is everything + (string) Mama >> (string) How is everything Mama
+1931ms ââCalculating (string) How is everything Mama + (string) , >> (string) How is everything Mama,
+1935ms ââCalculating (string) How is everything Mama, + (string) Mama is >> (string) How is everything Mama, Mama is
+1939ms ââCalculating (string) How is everything Mama, Mama is + (string) blowing in. >> (string) How is everything Mama, Mama is blowing in.
+1946ms ââExecuted virtual command [Echo - Aidenâs Echo, Echo - Jesse, Echo - Main-Echo, Echo - Spot].setVariable (3ms)
+1972ms ââExecuted virtual command [Echo - Aidenâs Echo, Echo - Jesse, Echo - Main-Echo, Echo - Spot].sendPushNotification (20ms)
+1980ms ââExecuted virtual command [Echo - Aidenâs Echo, Echo - Jesse, Echo - Main-Echo, Echo - Spot].setVariable (4ms)
+1988ms ââExecuted virtual command [Echo - Aidenâs Echo, Echo - Jesse, Echo - Main-Echo, Echo - Spot].setVariable (3ms)
+1993ms ââExecution stage complete. (1799ms)
+1995ms âSetting up scheduled job for Wed, Apr 8 2020 @ 11:49:35 AM EDT (in 86322.361s)
+2013ms âEvent processed successfully (2013ms)
4/7/2020, 11:50:44 AM +350ms
+1ms âReceived event [Front Door Sensor].contact = closed with a delay of 121ms
+222ms âRunTime Analysis CS > 24ms > PS > 133ms > PE > 66ms > CE
+226ms âRuntime (77018 bytes) successfully initialized in 133ms (v0.3.110.20191009) (223ms)
+227ms ââExecution stage started
+235ms ââCalculating (datetime) 1586274644582 - (datetime) 1586274560548 >> (datetime) 84034
+238ms ââComparison (datetime) 84034 is_greater_than (integer) 350000 = false (1ms)
+240ms ââCondition #27 evaluated false (9ms)
+241ms ââCondition group #24 evaluated false (state did not change) (11ms)
+249ms ââComparison (enum) closed changes_to (string) closed = true (1ms)
+250ms ââCancelling condition #20âs schedulesâŚ
+251ms ââCondition #20 evaluated true (6ms)
+252ms ââCancelling condition #55âs schedulesâŚ
+253ms ââCondition group #55 evaluated true (state changed) (8ms)
+258ms ââComparison (boolean) false is (boolean) false = true (1ms)
+259ms ââCancelling condition #29âs schedulesâŚ
+260ms ââCondition #29 evaluated true (7ms)
+261ms ââCancelling condition #11âs schedulesâŚ
+262ms ââCondition group #11 evaluated true (state changed) (18ms)
+264ms ââCancelling statement #12âs schedulesâŚ
+266ms ââExecuted virtual command wait (0ms)
+268ms ââRequesting a wake up for Tue, Apr 7 2020 @ 11:50:52 AM EDT (in 8.0s)
+272ms ââExecution stage complete. (46ms)
+273ms âSetting up scheduled job for Tue, Apr 7 2020 @ 11:50:52 AM EDT (in 7.995s), with 1 more job pending
+285ms âEvent processed successfully (284ms)
4/7/2020, 11:50:42 AM +168ms
+2ms âReceived event [Front Door Sensor].contact = open with a delay of 140ms
+253ms âRunTime Analysis CS > 54ms > PS > 130ms > PE > 69ms > CE
+257ms âRuntime (77017 bytes) successfully initialized in 130ms (v0.3.110.20191009) (254ms)
+258ms ââExecution stage started
+267ms ââCalculating (datetime) 1586274642431 - (datetime) 1586274560548 >> (datetime) 81883
+270ms ââComparison (datetime) 81883 is_greater_than (integer) 350000 = false (1ms)
+271ms ââCondition #27 evaluated false (9ms)
+272ms ââCondition group #24 evaluated false (state did not change) (10ms)
+281ms ââComparison (enum) open changes_to (string) closed = false (1ms)
+282ms ââCondition #20 evaluated false (5ms)
+288ms ââCondition #87 evaluated false (5ms)
+289ms ââCondition group #55 evaluated false (state did not change) (13ms)
+290ms ââCondition group #11 evaluated false (state did not change) (14ms)
+296ms ââComparison (time) 42642461 happens_daily_at (datetime) 1586274560548 = false (0ms)
+297ms ââCancelling condition #49âs schedulesâŚ
+298ms ââCondition #49 evaluated false (5ms)
+299ms ââCancelling statement #49âs schedulesâŚ
+302ms ââRequesting time schedule wake up at Wed, Apr 8 2020 @ 11:49:35 AM EDT
+304ms ââCondition group #38 evaluated false (state did not change) (12ms)
+309ms ââComparison (integer) 0 is_greater_than (integer) 0 = false (1ms)
+311ms ââCondition #65 evaluated false (5ms)
+312ms ââCondition group #61 evaluated false (state did not change) (6ms)
+314ms ââExecution stage complete. (56ms)
+315ms âSetting up scheduled job for Wed, Apr 8 2020 @ 11:49:35 AM EDT (in 86333.065s)
+331ms âEvent processed successfully (331ms)
4/7/2020, 11:49:34 AM +212ms
+0ms âReceived event [Home].time = 1586274575548 with a delay of -1337ms
+243ms âRunTime Analysis CS > 25ms > PS > 149ms > PE > 70ms > CE
+247ms âRuntime (77013 bytes) successfully initialized in 149ms (v0.3.110.20191009) (246ms)
+248ms ââExecution stage started
+257ms ââCalculating (datetime) 1586274574466 - (datetime) 1586274560548 >> (datetime) 13918
+261ms ââComparison (datetime) 13918 is_greater_than (integer) 350000 = false (1ms)
+262ms ââCancelling condition #27âs schedulesâŚ
+263ms ââCondition #27 evaluated false (11ms)
+264ms ââCancelling condition #24âs schedulesâŚ
+265ms ââCondition group #24 evaluated false (state changed) (13ms)
+278ms ââCondition #20 evaluated false (8ms)
+285ms ââCondition #87 evaluated false (6ms)
+286ms ââCondition group #55 evaluated false (state did not change) (17ms)
+287ms ââCondition group #11 evaluated false (state did not change) (18ms)
+292ms ââComparison (time) 42574502 happens_daily_at (datetime) 1586274560548 = true (0ms)
+293ms ââTime restriction check passed
+295ms ââCancelling condition #49âs schedulesâŚ
+295ms ââCondition #49 evaluated true (6ms)
+296ms ââCancelling statement #49âs schedulesâŚ
+300ms ââRequesting time schedule wake up at Wed, Apr 8 2020 @ 11:49:35 AM EDT
+307ms ââComparison (boolean) true is (boolean) false = false (2ms)
+308ms ââCancelling condition #48âs schedulesâŚ
+309ms ââCondition #48 evaluated false (8ms)
+310ms ââCondition group #38 evaluated false (state did not change) (21ms)
+315ms ââComparison (integer) 0 is_greater_than (integer) 0 = false (1ms)
+317ms ââCondition #65 evaluated false (4ms)
+317ms ââCondition group #61 evaluated false (state did not change) (5ms)
+320ms ââExecution stage complete. (72ms)
+321ms âSetting up scheduled job for Wed, Apr 8 2020 @ 11:49:35 AM EDT (in 86401.016s)
+329ms âEvent processed successfully (330ms)
4/7/2020, 11:49:20 AM +122ms
+2ms âReceived event [Mom].presence = present with a delay of 84ms
+322ms âRunTime Analysis CS > 44ms > PS > 137ms > PE > 141ms > CE
+326ms âRuntime (77001 bytes) successfully initialized in 137ms (v0.3.110.20191009) (324ms)
+327ms ââExecution stage started
+335ms ââCalculating (datetime) 1586274560454 - (datetime) 1586270995191 >> (datetime) 3565263
+338ms ââComparison (datetime) 3565263 is_greater_than (integer) 350000 = true (1ms)
+339ms ââCancelling condition #27âs schedulesâŚ
+340ms ââCondition #27 evaluated true (10ms)
+341ms ââCancelling condition #24âs schedulesâŚ
+342ms ââCondition group #24 evaluated true (state changed) (12ms)
+344ms ââCancelling statement #25âs schedulesâŚ
+349ms ââExecuted virtual command setVariable (3ms)
+353ms ââExecuted virtual command setVariable (3ms)
+359ms ââCancelling statement #3âs schedulesâŚ
+371ms ââExecuted virtual command setVariable (2ms)
+385ms ââCalculating (integer) 5 - (integer) 1 >> (integer) 4
+388ms ââComparison (integer) 3 is_inside_of_range (integer) 0 ⌠(integer) 4 = true (2ms)
+389ms ââCondition #8 evaluated true (15ms)
+390ms ââCondition group #2 evaluated true (state did not change) (17ms)
+392ms ââCancelling statement #34âs schedulesâŚ
+399ms ââCalculating (dynamic) present == (dynamic) present >> (boolean) true
+404ms ââExecuted virtual command setVariable (3ms)
+418ms ââCalculating (string) + (string) >> (string)
+420ms ââCalculating (string) + (string) Mama >> (string) Mama
+425ms ââExecuted virtual command setVariable (3ms)
+430ms ââExecuted virtual command setVariable (3ms)
+441ms ââCondition #20 evaluated false (8ms)
+447ms ââCondition #87 evaluated false (4ms)
+448ms ââCondition group #55 evaluated false (state did not change) (14ms)
+448ms ââCondition group #11 evaluated false (state did not change) (15ms)
+453ms ââComparison (time) 42560573 happens_daily_at (datetime) 1586274560548 = false (0ms)
+455ms ââCancelling condition #49âs schedulesâŚ
+455ms ââCondition #49 evaluated false (4ms)
+456ms ââCancelling statement #49âs schedulesâŚ
+459ms ââRequesting time schedule wake up at Tue, Apr 7 2020 @ 11:49:35 AM EDT
+461ms ââCancelling condition #38âs schedulesâŚ
+462ms ââCondition group #38 evaluated false (state changed) (12ms)
+467ms ââComparison (integer) 0 is_greater_than (integer) 0 = false (1ms)
+468ms ââCancelling condition #65âs schedulesâŚ
+469ms ââCondition #65 evaluated false (5ms)
+470ms ââCancelling condition #61âs schedulesâŚ
+471ms ââCondition group #61 evaluated false (state changed) (6ms)
+473ms ââExecution stage complete. (147ms)
+474ms âSetting up scheduled job for Tue, Apr 7 2020 @ 11:49:35 AM EDT (in 14.952s)
+486ms âEvent processed successfully (486ms)
@borristhecat, I want to use your approach to grouping a family of fourâs presence sensors (iphones) to then open the garage door and push a message saying those individuals are arriving (in one message) and then make an announcement on a sonos saying those individuals are arriving home. Can I use the base of the code to do this ? and how?
Im assuming your not on ST anymore, not much point in trying if you are as it will stop working soon. Yes though you could, I had to tweak it some bit for HE, not fully tested it yet to be honest but it works.