1) Give a description of the problem
Hello!
I had this nice project where every 3 hours I run this piston, which makes a GET Web Request to an http api which responds with the CAQI Index (air-pollution index), store it in a variable.
Based on that value, I then used to turn on & off my Air Purifier.
The piston worked just fine until it didn’t…which I find it very strange
2) What is the expected behaviour?
Make Web Request-> store Index decimal value into a variable
3) What is happening/not happening?
After the piston makes the webrequest, value of CAQI index it’s stored in the variable, but just after that a “timer” appears from nowhere in my piston and I don’t understand from where ( “Setting up scheduled job for” - see log bellow). After that timer runs out, my variable it’s auto set to zero and all further task are canceled (meaning that if my air purifier would turn on, the timer until it turns off are canceled, therefore it will run non-stop).
By the way…for the sake of simplicity, I’ve removed the Air Purifier on off tasks from piston…
4) Post a Green Snapshot of the piston![image|45x37]
5) Attach logs after turning logging level to Full
0/14/2021, 4:04:30 PM +94ms
+1ms ╔Received event [Acăsică].time = 1634216671352 with a delay of -1258ms
+54ms ║RunTime Analysis CS > 21ms > PS > 6ms > PE > 27ms > CE
+56ms ║Runtime (41504 bytes) successfully initialized in 6ms (v0.3.113.20210203) (55ms)
+57ms ║╔Execution stage started
+69ms ║║Executed virtual command log (1ms)
+76ms ║║Executed virtual command setVariable (3ms)
+78ms ║╚Execution stage complete. (21ms)
+79ms ║Setting up scheduled job for Thu, Oct 14 2021 @ 4:24:07 PM EEST (in 1177s)
+86ms ╚Event processed successfully (86ms)
10/14/2021, 4:04:07 PM +460ms
+0ms ╔Received event [Acăsică].wc_async_reply = httpRequest with a delay of 1ms
+10066ms ║RunTime Analysis CS > 20ms > PS > 10019ms > PE > 26ms > CE
+10067ms ║Piston waited at a semaphore for 10014ms
+10070ms ║Runtime (41591 bytes) successfully initialized in 10019ms (v0.3.113.20210203) (10068ms)
+10071ms ║╔Execution stage started
+10071ms ║╚Execution stage complete. (1ms)
+10073ms ║Setting up scheduled job for Thu, Oct 14 2021 @ 4:04:31 PM EEST (in 13s), with 1 more job pending**
+10082ms ╚Event processed successfully (10082ms)