Arrival of people including multiple people at once


#262

i have been clicking the test button copying the logs and also when my family have gone out


#263

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.


#264

ok made virtual psensor and contact sensor so its just a case of toggling in ST


#265

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


#266

there is about a 40 sec delay when the speaker announces even dropping it down to 4 milliseconds any ideas ?


#267

Is 40 seconds how long it takes for your motion sensor to become inactive?


#268

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)


#269

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 :rofl:


#270

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


#271

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.


#272

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


#273

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.


#274

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 :gun:) Cheers everyone


#275

Hallelujah! Praise the Lord! I think @borristhecat deserves at least one :beer: for his efforts…


#276

your not wrong he sure went the extra mile :beers:


#277

great news! Good luck with it :smile:


#278

@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)


#279

I think I figured it out will test it tomorrow.


#280

@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?


#281

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.