Alarm, lighting


#1

1) Give a description of the problem
I cant get the lights to flash at the same time and make it stop when i changing the alarm to off

2) What is the expected behaviour?
I want the lights to start flash at the same time as the nest speaker starts to speak

3) What is happening/not happening?
When i set the lights to flash 10 times, the first room will start flash and when its finish the next room will start flashing.

**4) Post a Green Snapshot of the piston![image|45x37]![alarmd|495x500]

5
14.1.2021 17.28.38 +834ms
+0ms ╔Received event [Mit hjem].test = 1610641718834 with a delay of 1ms
+69ms ║RunTime Analysis CS > 15ms > PS > 6ms > PE > 48ms > CE
+72ms ║Runtime (41237 bytes) successfully initialized in 6ms (v0.3.110.20191009) (71ms)
+73ms ║╔Execution stage started
+84ms ║║Condition #2 evaluated false (6ms)
+91ms ║║Condition #19 evaluated false (6ms)
+92ms ║║Condition group #1 evaluated false (state did not change) (14ms)
+101ms ║║Condition #12 evaluated false (6ms)
+103ms ║║Condition group #11 evaluated false (state did not change) (8ms)
+105ms ║╚Execution stage complete. (32ms)
+106ms ╚Event processed successfully (106ms)
14.1.2021 17.28.36 +860ms
+1ms ╔Starting piston… (v0.3.110.20191009)
+159ms ║╔Subscribing to devices…
+176ms ║║Subscribing to Bryggersdør.contact…
+189ms ║║Subscribing to Terrasse dør.contact…
+205ms ║║Subscribing to Arm (away).switch…
+217ms ║║Subscribing to Alarm.switch…
+347ms ║║Subscribing to 1…
+348ms ║║Subscribing to 2…
+349ms ║║Subscribing to 3…
+350ms ║║Subscribing to 4…
+351ms ║║Subscribing to højre…
+353ms ║║Subscribing to venstre…
+355ms ║║Subscribing to Hue color lamp 1…
+356ms ║║Subscribing to Hue color lamp 2…
+357ms ║║Subscribing to nest køkken…
+358ms ║║Subscribing to Lys bryggers…
+359ms ║║Subscribing to Lys køkken…
+360ms ║╚Finished subscribing (205ms)
+401ms ║Comparison (enum) off stays (string) on = false (2ms)
+403ms ║Cancelling condition #4’s schedules…
+404ms ║Cancelling condition #3’s schedules…
+447ms ╚Piston successfully started (446ms)


#2

Try placing the async on each of the “WITH” statements instead of on the REPEAT and see if that gets you better results.