Webcore not triggering (previously worked, nothing changed)


#1

1) Give a description of the problem
I have two pistons that have stopped triggering, if I set media to playing and then run test, it will close the curtain or turn of the light as it should. But they will not trigger on their own.

2) What is the expected behaviour?
When media player enters paused or stopped state, light should come on
When media player enters playing state between sunset and sunrise, curtain should close.

3) What is happening/not happening?
Pistons not triggering on their own. Only when I hit test.

4) Post a Green Snapshot of the pistonimage


5) Attach logs after turning logging level to Full

+1ms ╔Received event [Home].test = 1611640279282 with a delay of 0ms
+57ms ║RunTime Analysis CS > 19ms > PS > 6ms > PE > 32ms > CE
+115ms ║Runtime (37577 bytes) successfully initialized in 6ms (v0.3.110.20191009) (112ms)
+116ms ║╔Execution stage started
+129ms ║║Comparison (string) paused is (string) playing = false (2ms)
+130ms ║║Cancelling condition #3's schedules...
+131ms ║║Condition #3 evaluated false (10ms)
+132ms ║║Cancelling condition #1's schedules...
+133ms ║║Condition group #1 evaluated false (state changed) (13ms)
+142ms ║║Comparison (string) paused is (string) stopped = false (1ms)
+144ms ║║Cancelling condition #5's schedules...
+145ms ║║Condition #5 evaluated false (9ms)
+153ms ║║Comparison (string) paused is (string) paused = true (2ms)
+155ms ║║Cancelling condition #10's schedules...
+156ms ║║Condition #10 evaluated true (10ms)
+157ms ║║Condition group #4 evaluated true (state did not change) (22ms)
+159ms ║║Cancelling statement #6's schedules...
+231ms ║║Executed physical command [null].on() (67ms)
+232ms ║║Executed [Kitchen Strip 1 ST].on (69ms)
+267ms ║║Executed physical command [TV Strip ST].on() (32ms)
+268ms ║║Executed [TV Strip ST].on (34ms)
+271ms ║╚Execution stage complete. (155ms)
+272ms ╚Event processed successfully (272ms)```

26/01/2021, 16:51:08 +294ms
+1ms ╔Received event [Home].test = 1611640268294 with a delay of 0ms
+68ms ║RunTime Analysis CS > 22ms > PS > 9ms > PE > 37ms > CE
+73ms ║Runtime (37825 bytes) successfully initialized in 9ms (v0.3.110.20191009) (71ms)
+75ms ║╔Execution stage started
+116ms ║║Comparison (time) 60668374 is_between (datetime) 1611601800000 … (datetime) 1611651900000 = true (8ms)
+117ms ║║Time restriction check passed
+120ms ║║Condition #2 evaluated true (39ms)
+123ms ║║Cancelling statement #2’s schedules…
+130ms ║║Requesting time schedule wake up at Tue, Jan 26 2021 @ 8:05:00 PM AEDT
+157ms ║║Comparison (string) paused is (string) playing = false (1ms)
+159ms ║║Cancelling condition #3’s schedules…
+160ms ║║Condition #3 evaluated false (26ms)
+161ms ║║Cancelling condition #1’s schedules…
+162ms ║║Condition group #1 evaluated false (state changed) (83ms)
+197ms ║║Comparison (string) paused is (string) stopped = false (1ms)
+198ms ║║Cancelling condition #5’s schedules…
+199ms ║║Condition #5 evaluated false (34ms)
+201ms ║║Cancelling condition #4’s schedules…
+202ms ║║Condition group #4 evaluated false (state changed) (37ms)
+235ms ║╚Execution stage complete. (160ms)
+238ms ║Setting up scheduled job for Tue, Jan 26 2021 @ 8:05:00 PM AEDT (in 11631.469s)
+247ms ╚Event processed successfully (247ms)```


#2

Ok, after going into the piston and saving it and exciting about 5 times each, they have both started working.

Is this a thing with Webcore? Why is it all of a sudden so fickle?


#3

I’m seeing the same behaviour. in my case ALL of my piston stopped working. they get executed when I manually test them, but not getting triggered. Its about 2 weeks now.


#4

try pause/resume your pistons. if that fails, login to IDE > locations > smartapps and click on the play icon next to the pistons


#5

Similar issue here, three pistons weren’t subscribing to a date trigger. Notice that one magically subscribed after making an edit and saving. Pause/Resume should work too.


#6

Thanks guys!

Ill keep it in mind :slight_smile: