1) Give a description of the problem
Trying to figure out how to determine if my TStat is on eco,
2) What is the expected behavior?
(PUT YOUR INFO HERE)
3) What is happening/not happening?
(PUT YOUR INFO HERE)
1) Give a description of the problem
Trying to figure out how to determine if my TStat is on eco,
2) What is the expected behavior?
(PUT YOUR INFO HERE)
3) What is happening/not happening?
(PUT YOUR INFO HERE)
If you are using nest manager, you need to use a custom attribute to see if the thermostat is in eco mode.
See:
http://thingsthataresmart.wiki/index.php?title=NST_Manager#Nest_Eco_Thermostat_Mode
Thanks for the info but reading that kind of goes over my head. I think I will have to read it a few times to figure out what it is saying. Not sure what is meant by Create a “custom” or device specific command in CoRE to call eco(). If anyone has done this please provide me an example
When you are selecting the device, one of the options will be an Eco(). Note, I don’t think this appears if you use the thermostat in a variable and select the variable as the device.
One thing I am struggling with is taking the nest out of eco mode. I tried “Set to heat”, “Set thermostat mode to heat” but no luck. Any ideas?
I see that you can do it with task but can you do it with a condition. If Thermostat is set to echo then change to heat in december
Thanks. I think it was because I didn’t have device command optimisations turned off. Is there any other way around this so that the entire piston doesn’t have to have command optimisations turned off? I don’t want to spam the thermostat with the same temperature that it is already set to.
My guess is one piston to handle the mode and one for the temperatures?
To get the Thermostat out of Eco mode I have used the “heatbtn” variable which is working fine. Equally, using “ecobtn” sets the thermostat back to Eco mode more reliably than the “eco” variable.
I’m trying to do something pretty different than the discussion in this thread, but my problem looks to be stemming from the same issue - ECO mode and the need to ‘create’ custom. Hoping someone can help me pls… banging my head against multiple walls…
When door (contact sensor) opens > 20 seconds, turn the Nest off. When the door closes, turn the Nest back on, to the same mode and temp setting that it was at when it went off. (Rather than turning the Nest off, I guess putting it to ECO mode would be acceptable).
I’m getting all sorts of funky behavior from this piston. It goes OFF as it should. Doesn’t come back on. When I manually turn it on, it ends up turning off by itself and I dunno what’s causing that to happen. Any ideas on this?
12/8/2017, 12:16:53 PM +721ms
+1ms
╔Received event [Slider Door].contact = closed with a delay of 560ms
+369ms
║RunTime Analysis CS > 16ms > PS > 276ms > PE > 78ms > CE
+381ms
║Runtime (40873 bytes) successfully initialized in 276ms (v0.2.0ff.20171129) (378ms)
+382ms
║╔Execution stage started
+394ms
║║Comparison (enum) closed stays (string) open = false (2ms)
+396ms
║║Cancelling any timed trigger schedules for condition 6
+397ms
║║Cancelling statement #6’s schedules…
+398ms
║║Condition #6 evaluated false (9ms)
+398ms
║║Condition group #1 evaluated false (state did not change) (11ms)
+405ms
║║Comparison (enum) closed changes_to (string) closed = true (1ms)
+406ms
║║Cancelling condition #9’s schedules…
+407ms
║║Condition #9 evaluated true (6ms)
+409ms
║║Cancelling condition #7’s schedules…
+410ms
║║Condition group #7 evaluated true (state changed) (8ms)
+416ms
║║Comparison (string) eco is (string) cool = false (1ms)
+417ms
║║Condition #14 evaluated false (5ms)
+418ms
║║Condition group #10 evaluated false (state did not change) (6ms)
+424ms
║║Comparison (string) eco is (string) heat = false (1ms)
+426ms
║║Condition #19 evaluated false (5ms)
+427ms
║║Condition group #15 evaluated false (state did not change) (7ms)
+434ms
║║Comparison (string) eco is (string) Auto = false (2ms)
+435ms
║║Condition #24 evaluated false (5ms)
+436ms
║║Condition group #20 evaluated false (state did not change) (6ms)
+443ms
║║Comparison (string) eco is (string) eco() = false (1ms)
+444ms
║║Condition #28 evaluated false (5ms)
+446ms
║║Condition group #25 evaluated false (state did not change) (6ms)
+449ms
║╚Execution stage complete. (67ms)
+457ms
╚Event processed successfully (457ms)
12/8/2017, 12:16:47 PM +734ms
+2ms
╔Received event [Slider Door].contact = open with a delay of 558ms
+146ms
║RunTime Analysis CS > 15ms > PS > 52ms > PE > 79ms > CE
+156ms
║Runtime (40866 bytes) successfully initialized in 52ms (v0.2.0ff.20171129) (154ms)
+157ms
║╔Execution stage started
+168ms
║║Comparison (enum) open stays (string) open = true (2ms)
+170ms
║║Adding a timed trigger schedule for condition 6
+172ms
║║Condition #6 evaluated false (9ms)
+173ms
║║Condition group #1 evaluated false (state did not change) (11ms)
+180ms
║║Comparison (enum) open changes_to (string) closed = false (0ms)
+182ms
║║Cancelling condition #9’s schedules…
+183ms
║║Condition #9 evaluated false (7ms)
+184ms
║║Cancelling condition #7’s schedules…
+185ms
║║Condition group #7 evaluated false (state changed) (9ms)
+188ms
║╚Execution stage complete. (30ms)
+189ms
║Setting up scheduled job for Fri, Dec 8 2017 @ 12:17:07 PM EST (in 19.981s)
+206ms
╚Event processed successfully (206ms)
12/8/2017, 12:06:46 PM +274ms
+2ms
╔Received event [Slider Door].contact = closed with a delay of 384ms
+143ms
║RunTime Analysis CS > 16ms > PS > 55ms > PE > 72ms > CE
+184ms
║Runtime (40871 bytes) successfully initialized in 55ms (v0.2.0ff.20171129) (180ms)
+185ms
║╔Execution stage started
+195ms
║║Comparison (enum) closed stays (string) open = false (1ms)
+197ms
║║Cancelling any timed trigger schedules for condition 6
+197ms
║║Cancelling statement #6’s schedules…
+198ms
║║Cancelling condition #6’s schedules…
+199ms
║║Condition #6 evaluated false (9ms)
+200ms
║║Cancelling condition #1’s schedules…
+201ms
║║Condition group #1 evaluated false (state changed) (11ms)
+207ms
║║Comparison (enum) closed changes_to (string) closed = true (1ms)
+208ms
║║Cancelling condition #9’s schedules…
+209ms
║║Condition #9 evaluated true (6ms)
+210ms
║║Cancelling condition #7’s schedules…
+211ms
║║Condition group #7 evaluated true (state changed) (7ms)
+216ms
║║Comparison (string) eco is (string) cool = false (1ms)
+217ms
║║Condition #14 evaluated false (4ms)
+218ms
║║Condition group #10 evaluated false (state did not change) (6ms)
+225ms
║║Comparison (string) eco is (string) heat = false (1ms)
+226ms
║║Cancelling condition #19’s schedules…
+227ms
║║Condition #19 evaluated false (6ms)
+228ms
║║Cancelling condition #15’s schedules…
+229ms
║║Condition group #15 evaluated false (state changed) (7ms)
+235ms
║║Comparison (string) eco is (string) Auto = false (2ms)
+236ms
║║Condition #24 evaluated false (5ms)
+237ms
║║Condition group #20 evaluated false (state did not change) (6ms)
+243ms
║║Comparison (string) eco is (string) eco() = false (1ms)
+245ms
║║Condition #28 evaluated false (5ms)
+246ms
║║Condition group #25 evaluated false (state did not change) (6ms)
+248ms
║╚Execution stage complete. (64ms)
+264ms
╚Event processed successfully (264ms)
12/8/2017, 12:06:26 PM +464ms
+0ms
╔Received event [Home].time = 1512752787025 with a delay of -562ms
+140ms
║RunTime Analysis CS > 15ms > PS > 47ms > PE > 78ms > CE
+153ms
║Runtime (40873 bytes) successfully initialized in 47ms (v0.2.0ff.20171129) (152ms)
+154ms
║╔Execution stage started
+162ms
║║Cancelling condition #6’s schedules…
+163ms
║║Condition #6 evaluated true (1ms)
+164ms
║║Cancelling condition #1’s schedules…
+165ms
║║Condition group #1 evaluated true (state changed) (3ms)
+167ms
║║Cancelling statement #2’s schedules…
+178ms
║║Executed virtual command [Nest Thermostat - First Floor].setVariable (3ms)
+187ms
║║Executed virtual command [Nest Thermostat - First Floor].setVariable (3ms)
+923ms
║║Executed physical command [Nest Thermostat - First Floor].off() (734ms)
+924ms
║║Executed [Nest Thermostat - First Floor].off (735ms)
+934ms
║║Condition #9 evaluated false (7ms)
+935ms
║║Condition group #7 evaluated false (state did not change) (8ms)
+938ms
║╚Execution stage complete. (784ms)
+945ms
╚Event processed successfully (945ms)
12/8/2017, 12:06:06 PM +631ms
+1ms
╔Received event [Slider Door].contact = open with a delay of 515ms
+290ms
║RunTime Analysis CS > 13ms > PS > 34ms > PE > 244ms > CE
+378ms
║Runtime (40873 bytes) successfully initialized in 34ms (v0.2.0ff.20171129) (377ms)
+379ms
║╔Execution stage started
+391ms
║║Comparison (enum) open stays (string) open = true (2ms)
+393ms
║║Adding a timed trigger schedule for condition 6
+396ms
║║Condition #6 evaluated false (10ms)
+397ms
║║Condition group #1 evaluated false (state did not change) (11ms)
+403ms
║║Comparison (enum) open changes_to (string) closed = false (1ms)
+405ms
║║Condition #9 evaluated false (6ms)
+406ms
║║Condition group #7 evaluated false (state did not change) (6ms)
+408ms
║╚Execution stage complete. (29ms)
+410ms
║Setting up scheduled job for Fri, Dec 8 2017 @ 12:06:27 PM EST (in 19.985s)
+428ms
╚Event processed successfully (429ms)
12/8/2017, 12:04:51 PM +952ms
+0ms
╔Starting piston… (v0.2.0ff.20171129)
+298ms
║╔Subscribing to devices…
+314ms
║║Subscribing to Slider Door.contact…
+387ms
║║Subscribing to Nest Thermostat - First Floor…
+388ms
║╚Finished subscribing (100ms)
+427ms
║Comparison (enum) closed stays (string) open = false (5ms)
+440ms
║Cancelling condition #9’s schedules…
+441ms
║Cancelling condition #7’s schedules…
+446ms
║Comparison (string) heat is (string) cool = false (1ms)
+455ms
║Comparison (string) heat is (string) heat = true (1ms)
+464ms
║Comparison (string) heat is (string) Auto = false (1ms)
+472ms
║Comparison (string) heat is (string) eco() = false (1ms)
+486ms
╚Piston successfully started (486ms)
12/8/2017, 2:07:21 AM +695ms
+1ms
╔Received event [Slider Door].contact = closed with a delay of 191ms
+114ms
║RunTime Analysis CS > 12ms > PS > 34ms > PE > 68ms > CE
+126ms
║Runtime (40218 bytes) successfully initialized in 34ms (v0.2.0ff.20171129) (124ms)
+127ms
║╔Execution stage started
+137ms
║║Comparison (enum) closed stays (string) open = false (2ms)
+139ms
║║Cancelling any timed trigger schedules for condition 6
+140ms
║║Cancelling statement #6’s schedules…
+141ms
║║Condition #6 evaluated false (8ms)
+141ms
║║Condition group #1 evaluated false (state did not change) (9ms)
+148ms
║║Comparison (enum) closed changes_to (string) closed = true (0ms)
+149ms
║║Cancelling condition #9’s schedules…
+150ms
║║Condition #9 evaluated true (6ms)
+151ms
║║Cancelling condition #7’s schedules…
+151ms
║║Condition group #7 evaluated true (state changed) (7ms)
+157ms
║║Comparison (string) heat is (string) cool = false (2ms)
+158ms
║║Condition #14 evaluated false (4ms)
+159ms
║║Condition group #10 evaluated false (state did not change) (6ms)
+165ms
║║Comparison (string) heat is (string) heat = true (1ms)
+166ms
║║Condition #19 evaluated true (4ms)
+167ms
║║Condition group #15 evaluated true (state did not change) (6ms)
+169ms
║║Cancelling statement #16’s schedules…
+179ms
║║Skipped execution of physical command [Nest Thermostat - First Floor].setThermostatMode([heat]) because it would make no change to the device. (4ms)
+180ms
║║Executed [Nest Thermostat - First Floor].setThermostatMode (4ms)
+480ms
║║Executed physical command [Nest Thermostat - First Floor].setHeatingSetpoint([70.0]) (298ms)
+481ms
║║Executed [Nest Thermostat - First Floor].setHeatingSetpoint (299ms)
+488ms
║║Comparison (string) heat is (string) Auto = false (2ms)
+489ms
║║Condition #24 evaluated false (5ms)
+490ms
║║Condition group #20 evaluated false (state did not change) (6ms)
+493ms
║╚Execution stage complete. (366ms)
+507ms
╚Event processed successfully (507ms)
12/8/2017, 2:07:14 AM +227ms
+1ms
╔Received event [Slider Door].contact = open with a delay of 363ms
+137ms
║RunTime Analysis CS > 16ms > PS > 53ms > PE > 69ms > CE
+148ms
║Runtime (40213 bytes) successfully initialized in 53ms (v0.2.0ff.20171129) (145ms)
+149ms
║╔Execution stage started
+160ms
║║Comparison (enum) open stays (string) open = true (2ms)
+162ms
║║Adding a timed trigger schedule for condition 6
+165ms
║║Condition #6 evaluated false (10ms)
+165ms
║║Condition group #1 evaluated false (state did not change) (11ms)
+172ms
║║Comparison (enum) open changes_to (string) closed = false (1ms)
+174ms
║║Cancelling condition #9’s schedules…
+174ms
║║Condition #9 evaluated false (6ms)
+175ms
║║Cancelling condition #7’s schedules…
+176ms
║║Condition group #7 evaluated false (state changed) (8ms)
+179ms
║╚Execution stage complete. (31ms)
+180ms
║Setting up scheduled job for Fri, Dec 8 2017 @ 2:07:34 AM EST (in 19.983s)
+199ms
╚Event processed successfully (199ms)
12/8/2017, 2:04:22 AM +736ms
+1ms
╔Received event [Slider Door].contact = closed with a delay of 95ms
+114ms
║RunTime Analysis CS > 12ms > PS > 37ms > PE > 65ms > CE
+124ms
║Runtime (40215 bytes) successfully initialized in 37ms (v0.2.0ff.20171129) (122ms)
+125ms
║╔Execution stage started
+135ms
║║Comparison (enum) closed stays (string) open = false (2ms)
+137ms
║║Cancelling any timed trigger schedules for condition 6
+138ms
║║Cancelling statement #6’s schedules…
+138ms
║║Cancelling condition #6’s schedules…
+139ms
║║Condition #6 evaluated false (9ms)
+140ms
║║Cancelling condition #1’s schedules…
+141ms
║║Condition group #1 evaluated false (state changed) (11ms)
+147ms
║║Comparison (enum) closed changes_to (string) closed = true (1ms)
+148ms
║║Cancelling condition #9’s schedules…
+149ms
║║Condition #9 evaluated true (6ms)
+150ms
║║Cancelling condition #7’s schedules…
+151ms
║║Condition group #7 evaluated true (state changed) (7ms)
+156ms
║║Comparison (string) heat is (string) cool = false (2ms)
+157ms
║║Condition #14 evaluated false (4ms)
+158ms
║║Condition group #10 evaluated false (state did not change) (6ms)
+164ms
║║Comparison (string) heat is (string) heat = true (1ms)
+165ms
║║Condition #19 evaluated true (4ms)
+166ms
║║Condition group #15 evaluated true (state did not change) (6ms)
+168ms
║║Cancelling statement #16’s schedules…
+2978ms
║║Executed physical command [Nest Thermostat - First Floor].setThermostatMode([heat]) (2803ms)
+2978ms
║║Executed [Nest Thermostat - First Floor].setThermostatMode (2804ms)
+3242ms
║║Executed physical command [Nest Thermostat - First Floor].setHeatingSetpoint([70.0]) (261ms)
+3242ms
║║Executed [Nest Thermostat - First Floor].setHeatingSetpoint (261ms)
+3249ms
║║Comparison (string) heat is (string) Auto = false (1ms)
+3251ms
║║Condition #24 evaluated false (4ms)
+3251ms
║║Condition group #20 evaluated false (state did not change) (6ms)
+3254ms
║╚Execution stage complete. (3129ms)
+3262ms
╚Event processed successfully (3262ms)
12/8/2017, 2:04:13 AM +337ms
+1ms
╔Received event [Home].time = 1512716654916 with a delay of -1579ms
+154ms
║RunTime Analysis CS > 21ms > PS > 60ms > PE > 72ms > CE
+166ms
║Runtime (40217 bytes) successfully initialized in 60ms (v0.2.0ff.20171129) (163ms)
+167ms
║╔Execution stage started
+176ms
║║Cancelling condition #6’s schedules…
+177ms
║║Condition #6 evaluated true (2ms)
+179ms
║║Cancelling condition #1’s schedules…
+180ms
║║Condition group #1 evaluated true (state changed) (5ms)
+182ms
║║Cancelling statement #2’s schedules…
+198ms
║║Executed virtual command [Nest Thermostat - First Floor].setVariable (6ms)
+210ms
║║Executed virtual command [Nest Thermostat - First Floor].setVariable (3ms)
+3758ms
║║Executed physical command [Nest Thermostat - First Floor].off() (3546ms)
+3759ms
║║Executed [Nest Thermostat - First Floor].off (3548ms)
+3772ms
║║Condition #9 evaluated false (9ms)
+3773ms
║║Condition group #7 evaluated false (state did not change) (10ms)
+3776ms
║╚Execution stage complete. (3610ms)
+3789ms
╚Event processed successfully (3788ms)
12/8/2017, 2:03:54 AM +777ms
+1ms
╔Received event [Slider Door].contact = open with a delay of 166ms
+117ms
║RunTime Analysis CS > 13ms > PS > 42ms > PE > 61ms > CE
+126ms
║Runtime (40213 bytes) successfully initialized in 42ms (v0.2.0ff.20171129) (124ms)
+127ms
║╔Execution stage started
+137ms
║║Comparison (enum) open stays (string) open = true (2ms)
+139ms
║║Adding a timed trigger schedule for condition 6
+141ms
║║Condition #6 evaluated false (9ms)
+142ms
║║Condition group #1 evaluated false (state did not change) (10ms)
+148ms
║║Comparison (enum) open changes_to (string) closed = false (0ms)
+150ms
║║Cancelling condition #9’s schedules…
+151ms
║║Condition #9 evaluated false (5ms)
+152ms
║║Cancelling condition #7’s schedules…
+152ms
║║Condition group #7 evaluated false (state changed) (7ms)
+155ms
║╚Execution stage complete. (29ms)
+157ms
║Setting up scheduled job for Fri, Dec 8 2017 @ 2:04:14 AM EST (in 19.983s)
+174ms
╚Event processed successfully (174ms)
12/8/2017, 12:17:21 AM +408ms
+1ms
╔Received event [Slider Door].contact = closed with a delay of 276ms
+129ms
║RunTime Analysis CS > 16ms > PS > 53ms > PE > 61ms > CE
+138ms
║Runtime (40216 bytes) successfully initialized in 53ms (v0.2.0ff.20171129) (136ms)
+139ms
║╔Execution stage started
+150ms
║║Comparison (enum) closed stays (string) open = false (1ms)
+152ms
║║Cancelling any timed trigger schedules for condition 6
+152ms
║║Cancelling statement #6’s schedules…
+153ms
║║Cancelling condition #6’s schedules…
+154ms
║║Condition #6 evaluated false (9ms)
+155ms
║║Cancelling condition #1’s schedules…
+156ms
║║Condition group #1 evaluated false (state changed) (12ms)
+162ms
║║Comparison (enum) closed changes_to (string) closed = true (1ms)
+163ms
║║Cancelling condition #9’s schedules…
+164ms
║║Condition #9 evaluated true (5ms)
+165ms
║║Cancelling condition #7’s schedules…
+166ms
║║Condition group #7 evaluated true (state changed) (8ms)
+172ms
║║Comparison (string) heat is (string) cool = false (2ms)
+173ms
║║Condition #14 evaluated false (5ms)
+174ms
║║Condition group #10 evaluated false (state did not change) (6ms)
+180ms
║║Comparison (string) heat is (string) heat = true (1ms)
+182ms
║║Condition #19 evaluated true (4ms)
+182ms
║║Condition group #15 evaluated true (state did not change) (6ms)
+185ms
║║Cancelling statement #16’s schedules…
+3435ms
║║Executed physical command [Nest Thermostat - First Floor].setThermostatMode([heat]) (3243ms)
+3436ms
║║Executed [Nest Thermostat - First Floor].setThermostatMode (3245ms)
+3768ms
║║Executed physical command [Nest Thermostat - First Floor].setHeatingSetpoint([70.0]) (329ms)
+3769ms
║║Executed [Nest Thermostat - First Floor].setHeatingSetpoint (330ms)
+3776ms
║║Comparison (string) heat is (string) Auto = false (2ms)
+3777ms
║║Condition #24 evaluated false (5ms)
+3778ms
║║Condition group #20 evaluated false (state did not change) (6ms)
+3781ms
║╚Execution stage complete. (3642ms)
+3788ms
╚Event processed successfully (3788ms)
12/8/2017, 12:14:13 AM +286ms
+0ms
╔Received event [Home].time = 1512710054322 with a delay of -1037ms
+120ms
║RunTime Analysis CS > 14ms > PS > 38ms > PE > 68ms > CE
+133ms
║Runtime (40217 bytes) successfully initialized in 38ms (v0.2.0ff.20171129) (131ms)
+134ms
║╔Execution stage started
+145ms
║║Cancelling condition #6’s schedules…
+146ms
║║Condition #6 evaluated true (2ms)
+147ms
║║Cancelling condition #1’s schedules…
+148ms
║║Condition group #1 evaluated true (state changed) (5ms)
+150ms
║║Cancelling statement #2’s schedules…
+176ms
║║Executed virtual command [Nest Thermostat - First Floor].setVariable (17ms)
+222ms
║║Executed virtual command [Nest Thermostat - First Floor].setVariable (2ms)
+3933ms
║║Executed physical command [Nest Thermostat - First Floor].off() (3709ms)
+3934ms
║║Executed [Nest Thermostat - First Floor].off (3711ms)
+3945ms
║║Condition #9 evaluated false (7ms)
+3946ms
║║Condition group #7 evaluated false (state did not change) (9ms)
+3949ms
║╚Execution stage complete. (3814ms)
+3956ms
╚Event processed successfully (3956ms)
12/8/2017, 12:13:54 AM +173ms
+1ms
╔Received event [Slider Door].contact = open with a delay of 153ms
+124ms
║RunTime Analysis CS > 17ms > PS > 51ms > PE > 57ms > CE
+134ms
║Runtime (40213 bytes) successfully initialized in 51ms (v0.2.0ff.20171129) (132ms)
+135ms
║╔Execution stage started
+146ms
║║Comparison (enum) open stays (string) open = true (2ms)
+149ms
║║Adding a timed trigger schedule for condition 6
+151ms
║║Condition #6 evaluated false (10ms)
+152ms
║║Condition group #1 evaluated false (state did not change) (12ms)
+158ms
║║Comparison (enum) open changes_to (string) closed = false (1ms)
+160ms
║║Cancelling condition #9’s schedules…
+160ms
║║Condition #9 evaluated false (5ms)
+161ms
║║Cancelling condition #7’s schedules…
+162ms
║║Condition group #7 evaluated false (state changed) (8ms)
+165ms
║╚Execution stage complete. (30ms)
+166ms
║Setting up scheduled job for Fri, Dec 8 2017 @ 12:14:14 AM EST (in 19.983s)
+184ms
╚Event processed successfully (184ms)
I do the same thing that you are attempting to do. I have essentially 2 pistons that control this.
The first controls heating when home and is called “Heating - Heat” based on various criteria but the two most important are the location mode being “Home” and the back door contact being closed.
The second puts the thermostat into ECO mode if the back door opens with delay in case its a quick open and close of the door.
When the door closes again it fires “Heating - Heat” and puts it back to the correct temperature as closing the door is a change to the criteria that piston looks for. Ill post the screenshots in a second.