Thanks for all the help - and I know that some of you will be very pleased!
Let's hope I got it right first time
Let me know how it goes for you!
One thought is that the API is very sensitive to case. I hit that issue a few times over the weeks.Jpaction wrote:I wanted to turn my nest off with applescript. I have figured out how to set different modes but can't figure out how to turn it off.
I assumed it would be
set HVAC Mode of Device "Nest" to Off
since I can do the following without a problem
set HVAC Mode of Device "Nest" to coolOn
&
set HVAC Mode of Device "Nest" to heatOn
Any help will be appreciated.
Jpaction wrote:I wanted to turn my nest off with applescript. I have figured out how to set different modes but can't figure out how to turn it off.
I assumed it would be
set HVAC Mode of Device "Nest" to Off
since I can do the following without a problem
set HVAC Mode of Device "Nest" to coolOn
&
set HVAC Mode of Device "Nest" to heatOn
Any help will be appreciated.
Ok I've done a little digging and I found the following information for device commands in applescript.Jpaction wrote:I am using embedded applescript and the way to change from heating to cooling is
set hvac mode of device "Nest" to coolOn
To change from cooling mode to heating mode it's
set hvac mode of device "Nest" to heatOn
I've tried many forms of this for turning the Nest off but none seem to work. I do have a trigger that sets the "away" mode but it would be nice to turn it off as well.
Thx,