this
Welcome home announce piston for one or multiple people
I have imported the jm067 piston and made all the necessary changes. However, I notice that when I save it and I look at my list of pistons, it is counting down from 25. Then it says pending and then starts over again. Is this supposed to do this?
Just checked it and now it is counting down from 21 hours. Must have had to have something happen.
I am trying to get this working again (long story). I am not getting a push notification when soneome arrives. I changed it a bit so that the announcement on the speakers would only go between the times 8:00am-10:00pm but I want the push notification to go anytime. What have I done wrong? It also doesnât seem to be announcing arrivals. I have attached a log:
4/4/2019, 11:42:11 AM +762ms
+1ms âStarting piston⌠(v0.3.10a.20190223)
+305ms ââSubscribing to devicesâŚ
+386ms ââSubscribing to Jane.presenceâŚ
+404ms ââSubscribing to Tom.presenceâŚ
+422ms ââSubscribing to Lauren.presenceâŚ
+437ms ââSubscribing to Front Door Sensor.contactâŚ
+454ms ââSubscribing to Garage Door Sensor.contactâŚ
+582ms ââSubscribing to Kitchen SonosâŚ
+583ms ââFinished subscribing (305ms)
+621ms âCalculating (datetime) 1554392532377 - (datetime) 1554390691453 >> (datetime) 1840924
+629ms âComparison (datetime) 1840924 is_greater_than (integer) 350000 = true (3ms)
+631ms âCancelling condition #27âs schedulesâŚ
+633ms âCancelling condition #24âs schedulesâŚ
+668ms âCalculating (integer) 3 - (integer) 1 >> (integer) 2
+676ms âComparison (integer) 2 is_inside_of_range (integer) 0 ⌠(integer) 2 = true (4ms)
+714ms âComparison (boolean) false is (boolean) false = true (2ms)
+729ms âComparison (time) 42132485 happens_daily_at (datetime) 1554390691453 = false (1ms)
+731ms âCancelling condition #49âs schedulesâŚ
+742ms âCancelling statement #49âs schedulesâŚ
+750ms âRequesting time schedule wake up at Fri, Apr 5 2019 @ 11:12:01 AM EDT
+770ms âComparison (boolean) true is (boolean) false = false (2ms)
+784ms âComparison (integer) 0 is_greater_than (integer) 0 = false (2ms)
+816ms âComparison (time) 42132560 is_between (time) 28800000 ⌠(time) 79200000 = true (15ms)
+818ms âTime restriction check passed
+828ms âSetting up scheduled job for Fri, Apr 5 2019 @ 11:12:01 AM EDT (in 84588.864s)
+843ms âPiston successfully started (841ms)
4/4/2019, 11:12:00 AM +245ms
+0ms âReceived event [Home].time = 1554390721453 with a delay of -1209ms
+207ms âRunTime Analysis CS > 45ms > PS > 71ms > PE > 91ms > CE
+212ms âRuntime (76593 bytes) successfully initialized in 71ms (v0.3.10a.20190223) (211ms)
+214ms ââExecution stage started
+230ms ââCalculating (datetime) 1554390720469 - (datetime) 1554390691453 >> (datetime) 29016
+237ms ââComparison (datetime) 29016 is_greater_than (integer) 350000 = false (3ms)
+239ms ââCancelling condition #27âs schedulesâŚ
+241ms ââCondition #27 evaluated false (18ms)
+242ms ââCancelling condition #24âs schedulesâŚ
+243ms ââCondition group #24 evaluated false (state changed) (22ms)
+264ms ââCondition #20 evaluated false (12ms)
+266ms ââCondition group #55 evaluated false (state did not change) (13ms)
+267ms ââCondition group #11 evaluated false (state did not change) (17ms)
+275ms ââComparison (time) 40320516 happens_daily_at (datetime) 1554390691453 = true (1ms)
+277ms ââTime restriction check passed
+279ms ââCancelling condition #49âs schedulesâŚ
+280ms ââCondition #49 evaluated true (8ms)
+281ms ââCancelling statement #49âs schedulesâŚ
+287ms ââRequesting time schedule wake up at Fri, Apr 5 2019 @ 11:12:01 AM EDT
+303ms ââComparison (boolean) true is (boolean) false = false (2ms)
+305ms ââCondition #48 evaluated false (14ms)
+306ms ââCondition group #38 evaluated false (state did not change) (36ms)
+317ms ââComparison (integer) 0 is_greater_than (integer) 0 = false (3ms)
+320ms ââCondition #65 evaluated false (8ms)
+321ms ââCondition group #61 evaluated false (state did not change) (11ms)
+326ms ââExecution stage complete. (112ms)
+328ms âSetting up scheduled job for Fri, Apr 5 2019 @ 11:12:01 AM EDT (in 86400.881s)
+336ms âEvent processed successfully (336ms)
4/4/2019, 11:11:31 AM +22ms
+2ms âReceived event [Lauren].presence = present with a delay of 89ms
+161ms âRunTime Analysis CS > 24ms > PS > 49ms > PE > 88ms > CE
+166ms âRuntime (76593 bytes) successfully initialized in 49ms (v0.3.10a.20190223) (162ms)
+167ms ââExecution stage started
+180ms ââCalculating (datetime) 1554390691197 - (datetime) 1554383252143 >> (datetime) 7439054
+186ms ââComparison (datetime) 7439054 is_greater_than (integer) 350000 = true (2ms)
+188ms ââCondition #27 evaluated true (15ms)
+189ms ââCondition group #24 evaluated true (state did not change) (16ms)
+192ms ââCancelling statement #25âs schedulesâŚ
+307ms ââExecuted virtual command setVariable (111ms)
+314ms ââExecuted virtual command setVariable (3ms)
+324ms ââCancelling statement #3âs schedulesâŚ
+341ms ââExecuted virtual command setVariable (4ms)
+361ms ââCalculating (integer) 3 - (integer) 1 >> (integer) 2
+366ms ââComparison (integer) 2 is_inside_of_range (integer) 0 ⌠(integer) 2 = true (3ms)
+368ms ââCancelling condition #8âs schedulesâŚ
+370ms ââCondition #8 evaluated true (24ms)
+371ms ââCancelling condition #2âs schedulesâŚ
+372ms ââCondition group #2 evaluated true (state changed) (27ms)
+375ms ââCancelling statement #34âs schedulesâŚ
+386ms ââCalculating (dynamic) present == (dynamic) present >> (boolean) true
+394ms ââExecuted virtual command setVariable (3ms)
+417ms ââCalculating (string) + (string) >> (string)
+421ms ââCalculating (string) + (string) Lauren >> (string) Lauren
+428ms ââExecuted virtual command setVariable (4ms)
+436ms ââExecuted virtual command setVariable (4ms)
+454ms ââCondition #20 evaluated false (11ms)
+455ms ââCondition group #55 evaluated false (state did not change) (14ms)
+456ms ââCondition group #11 evaluated false (state did not change) (16ms)
+465ms ââComparison (time) 40291482 happens_daily_at (datetime) 1554390691453 = false (0ms)
+467ms ââCondition #49 evaluated false (6ms)
+468ms ââCancelling statement #49âs schedulesâŚ
+473ms ââRequesting time schedule wake up at Thu, Apr 4 2019 @ 11:12:01 AM EDT
+476ms ââCondition group #38 evaluated false (state did not change) (16ms)
+484ms ââComparison (integer) 0 is_greater_than (integer) 0 = false (2ms)
+487ms ââCondition #65 evaluated false (7ms)
+488ms ââCondition group #61 evaluated false (state did not change) (9ms)
+492ms ââExecution stage complete. (325ms)
+493ms âSetting up scheduled job for Thu, Apr 4 2019 @ 11:12:01 AM EDT (in 29.938s)
+507ms âEvent processed successfully (507ms)
try moving your push statement up a few lines (line 105) in the code so that its above the set variables. i think the task is canceling once you set the variable back
I have a different one that uses Life360 and Echospeaks. I donât know if push notifications work anymore. What problems are you having?
getting errors but it was running correctly. but now I wasnât able to open up the piston so have to force remove it.