1) Give a description of the problem
I have a piston that posts an HTTP request to a local IP when motion is detected on my doorbell sensor. It has worked flawlessly for several years but suddenly started posting the HTTP request twice.
2) What is the expected behaviour?
Only post the http reqeust once
3) What is happening/not happening?
httpRequest being sent twice
**4) Post a Green Snapshot of the piston![image|45x37]
5) Attach logs after turning logging level to Full
10/19/2022, 10:08:35 PM +217ms
+1ms â•”Received event [Front Door].motion = inactive with a delay of 78ms
+64ms â•‘RunTime Analysis CS > 21ms > PS > 4ms > PE > 40ms > CE
+67ms â•‘Runtime (38428 bytes) successfully initialized in 4ms (v0.3.111.20210130) (65ms)
+68ms â•‘â•”Execution stage started
+76ms â•‘â•‘Comparison (enum) inactive changes_to (string) active = false (1ms)
+77ms ║║Cancelling condition #4’s schedules…
+78ms â•‘â•‘Condition #4 evaluated false (6ms)
+80ms ║║Cancelling condition #1’s schedules…
+80ms â•‘â•‘Condition group #1 evaluated false (state changed) (8ms)
+87ms â•‘â•šExecution stage complete. (20ms)
+93ms â•šEvent processed successfully (93ms)
10/19/2022, 10:08:09 PM +916ms
+0ms â•”Received event [My Home].wc_async_reply = httpRequest with a delay of 0ms
+60ms â•‘RunTime Analysis CS > 16ms > PS > 6ms > PE > 39ms > CE
+62ms â•‘Runtime (38435 bytes) successfully initialized in 6ms (v0.3.111.20210130) (61ms)
+63ms â•‘â•”Execution stage started
+64ms â•‘â•šExecution stage complete. (1ms)
+66ms â•‘Setting up scheduled job for Wed, Oct 19 2022 @ 10:08:37 PM CDT (in 27s)
+75ms â•šEvent processed successfully (76ms)
10/19/2022, 10:08:07 PM +56ms
+1ms â•”Received event [My Home].wc_async_reply = httpRequest with a delay of 1ms
+187ms â•‘RunTime Analysis CS > 132ms > PS > 10ms > PE > 44ms > CE
+190ms â•‘Runtime (38439 bytes) successfully initialized in 10ms (v0.3.111.20210130) (188ms)
+191ms â•‘â•”Execution stage started
+226ms â•‘â•‘Executed virtual command wait (1ms)
+229ms â•‘â•‘Requesting a wake up for Wed, Oct 19 2022 @ 10:08:37 PM CDT (in 30.0s)
+255ms â•‘â•šExecution stage complete. (63ms)
+260ms â•‘Setting up scheduled job for Wed, Oct 19 2022 @ 10:08:37 PM CDT (in 29s)
+270ms â•šEvent processed successfully (270ms)
10/19/2022, 10:08:03 PM +981ms
+3ms â•”Received event [Front Door].motion = active with a delay of 87ms
+70ms â•‘RunTime Analysis CS > 19ms > PS > 5ms > PE > 46ms > CE
+73ms â•‘Runtime (38433 bytes) successfully initialized in 5ms (v0.3.111.20210130) (68ms)
+75ms â•‘â•”Execution stage started
+83ms â•‘â•‘Comparison (enum) active changes_to (string) active = true (1ms)
+85ms ║║Cancelling condition #4’s schedules…
+86ms â•‘â•‘Condition #4 evaluated true (6ms)
+87ms ║║Cancelling condition #1’s schedules…
+88ms â•‘â•‘Condition group #1 evaluated true (state changed) (9ms)
+91ms ║║Cancelling statement #12’s schedules…
+117ms â•‘â•‘Sending internal web request to: 10.10.1.3:3000/assistant
+122ms â•‘â•‘Executed virtual command httpRequest (24ms)
+124ms â•‘â•‘Requesting a wake up for Wed, Oct 19 2022 @ 10:08:24 PM CDT (in 20.0s)
+132ms â•‘â•šExecution stage complete. (58ms)
+133ms â•‘Setting up scheduled job for Wed, Oct 19 2022 @ 10:08:24 PM CDT (in 19s)
+161ms â•šEvent processed successfully (161ms)
REMOVE BELOW AFTER READING