Announcement Piston help


#21

piston for when my wife turns up at around 4.30


#22

I modified it for you…


#23

i do belive this has worked just need to find the volume for the alexa

+0ms ╔Received event [My home].time = 1583424980577 with a delay of -485ms
+101ms ║RunTime Analysis CS > 36ms > PS > 5ms > PE > 59ms > CE
+105ms ║Runtime (58715 bytes) successfully initialized in 5ms (v0.3.110.20191009) (104ms)
+107ms ║╔Execution stage started
+126ms ║║Executed physical command [IKEA TRÅDFRI LED Bulb porch].setLevel([40]) (14ms)
+128ms ║║Fast executing schedules, waiting for 457ms to sync up
+599ms ║║Executed physical command [IKEA TRÅDFRI LED Bulb porch].setLevel([40]) (11ms)
+659ms ║║Executed physical command [IKEA TRÅDFRI LED Bulb porch].off() (16ms)
+660ms ║║Executed [IKEA TRÅDFRI LED Bulb porch].off (18ms)
+665ms ║║Cancelling statement #52’s schedules…
+681ms ║║Executed virtual command [Echo - Living room Echo].setVariable (3ms)
+702ms ║║Calculating (integer) 4 - (integer) -1 >> (integer) 5
+706ms ║║Calculating (integer) 5 - (integer) 2 >> (integer) 3
+714ms ║║Calculating (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 + (string) and >> (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 and
+719ms ║║Calculating (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 and + (string) isa >> (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 and isa
+723ms ║║Calculating (integer) -1 > (integer) 0 >> (boolean) false
+729ms ║║Executed virtual command [Echo - Living room Echo].setVariable (3ms)
+750ms ║║Calculating (integer) 4 - (integer) -1 >> (integer) 5
+753ms ║║Calculating (integer) 5 - (integer) 2 >> (integer) 3
+762ms ║║Calculating (integer) 1 == (integer) 1 >> (boolean) true
+773ms ║║Calculating (integer) 1 == (integer) 1 >> (boolean) true
+780ms ║║Calculating (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 + (string) and >> (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 and
+785ms ║║Calculating (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 and + (string) isa >> (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 and isa
+790ms ║║Calculating (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 and isa + (string) are >> (string) java.lang.StringIndexOutOfBoundsException: String index out of range: -1 and isa are
+795ms ║║Calculating (string) Lisa + (string) is >> (string) Lisa is
+799ms ║║Calculating (integer) -1 > (integer) 0 >> (boolean) false
+805ms ║║Executed virtual command [Echo - Living room Echo].setVariable (3ms)
+816ms ║║Calculating (integer) 1 == (integer) 1 >> (boolean) true
+821ms ║║Calculating (string) Lisa is + (string) now at home. >> (string) Lisa is now at home.
+827ms ║║Executed virtual command [Echo - Living room Echo].setVariable (4ms)
+842ms ║║Calculating (integer) 1 == (integer) 1 >> (boolean) true
+856ms ║║Calculating (integer) 1 == (integer) 2 >> (boolean) false
+863ms ║║Calculating (string) Nice you see you + (string) Lisa >> (string) Nice you see you Lisa
+867ms ║║Calculating (string) Nice you see you Lisa + (string) , >> (string) Nice you see you Lisa,
+872ms ║║Calculating (string) Nice you see you Lisa, + (string) Lisa is >> (string) Nice you see you Lisa, Lisa is
+875ms ║║Calculating (string) Nice you see you Lisa, Lisa is + (string) here. >> (string) Nice you see you Lisa, Lisa is here.
+881ms ║║Executed virtual command [Echo - Living room Echo].setVariable (3ms)
+920ms ║║Executed virtual command [Echo - Living room Echo].sendPushNotification (35ms)
+933ms ║║Comparison (time) 58581015 is_between (time) 50400000 … (time) 55800000 = false (8ms)
+936ms ║║Cancelling condition #75’s schedules…
+937ms ║║Condition #75 evaluated false (14ms)
+938ms ║║Cancelling condition #74’s schedules…
+939ms ║║Condition group #74 evaluated false (state changed) (17ms)
+942ms ║║Cancelling statement #76’s schedules…
+947ms ║║Executed virtual command setVariable (3ms)
+953ms ║║Executed virtual command setVariable (3ms)
+958ms ║╚Execution stage complete. (852ms)
+960ms ║Setting up scheduled job for Fri, Mar 6 2020 @ 4:12:56 PM GMT (in 86195.369s)
+979ms ╚Event processed successfully (979ms)

#24

i`ve added your modified piston and ill run it tonight before im at work and let you know the outcome later

thank you so much for helping me so far i really appreciate it