Unable to start thermostat (Ecobee) after stopping it


#1

1) Give a description of the problem
Wrote the attached code. Its successfully detecting the condition, i.e. either of the HVAC is indeed running for a long time and then it’s shutting both down. I get the PUSH message too.
But its never able to start it back up. IGNORE PLEASE THE ASYNC IF block later. No matter how long I give, the piston never brings back up the thermostats. What am I missing or doing wrong?

2) What is the expected behavior?
(PUT YOUR INFO HERE)

3) What is happening/not happening?
The HVAC should stop (Working), then wait for XX minutes and piston should restart it (NOT WORKING).

4) Post a Green Snapshot of the pistonimage

5) Attach logs after turning logging level to Full
1/31/2021, 6:04:57 PM +50ms
+1ms ╔Received event [Upstairs HVAC].thermostatOperatingState = idle with a delay of 47ms
+8263ms ║RunTime Analysis CS > 16ms > PS > 8218ms > PE > 28ms > CE
+8263ms ║Piston waited at a semaphore for 8214ms
+8266ms ║Runtime (47514 bytes) successfully initialized in 8218ms (v0.3.111.20210130) (8264ms)
+8267ms ║╔Execution stage started
+8281ms ║║Comparison (enum) idle is_any_of (string) cooling,fan only,heating = false (2ms)
+8284ms ║║Comparison (enum) idle is_any_of (string) cooling,fan only,heating = false (2ms)
+8286ms ║║Cancelling condition #2’s schedules…
+8287ms ║║Condition #2 evaluated false (15ms)
+8287ms ║║Cancelling condition #1’s schedules…
+8288ms ║║Condition group #1 evaluated false (state changed) (18ms)
+8290ms ║║Cancelling statement #27’s schedules…
+8293ms ║║Executed virtual command setVariable (1ms)
+8299ms ║║Comparison (string) :c03d7935c741d153bab19a0cb311f193: is (string) :c03d7935c741d153bab19a0cb311f193: = true (1ms)
+8300ms ║║Condition #15 evaluated true (4ms)
+8320ms ║║Comparison (enum) closed stays (string) open = false (2ms)
+8322ms ║║Comparison (enum) closed stays (string) open = false (1ms)
+8324ms ║║Comparison (enum) closed stays (string) open = false (1ms)
+8326ms ║║Cancelling any timed trigger schedules for device :675f44a37026db8acf63c05253fae7c6: for condition 16
+8327ms ║║Cancelling statement #16’s schedules…
+8328ms ║║Cancelling any timed trigger schedules for device :e0a936931862ff492bc40c5a584472ee: for condition 16
+8328ms ║║Cancelling statement #16’s schedules…
+8329ms ║║Cancelling any timed trigger schedules for device :efcb9713ffb57ab158afb0accfcf6a67: for condition 16
+8330ms ║║Cancelling statement #16’s schedules…
+8331ms ║║Condition #16 evaluated false (30ms)
+8332ms ║║Condition group #14 evaluated false (state did not change) (35ms)
+8337ms ║║Comparison (boolean) false is (boolean) true = false (2ms)
+8338ms ║║Condition #19 evaluated false (4ms)
+8339ms ║║Condition group #18 evaluated false (state did not change) (6ms)
+8342ms ║╚Execution stage complete. (75ms)
+8346ms ╚Event processed successfully (8346ms)

REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.!


#3

Hi - as this is my 1st. post please forgive, if it usually takes more time to respond.