"set fan mode of device "First Floor" to fanAlwaysOn -- keeps the fan running all the time - fanAutoOn is the other
option"
tell application "IndigoServer"
set fan mode of device "ThemostatUpstairs" to fanAlwaysOn
end tell
get an error message:
error "IndigoServer got an error: Can’t set fan mode of device \"ThemostatUpstairs\" to \"fanAlwaysOn\"." number -10006 from fan mode of device "ThemostatUpstairs"
what am I doing wrong?
using Indigo 6 b10 and Zwave trane thermostat
Tanks
Karl
ps I know I should be doing this in py by now..
to get started, could someone post the py lines to do this
- Code: Select all
tell application "IndigoServer"
set tempRemote to (get value of variable "Inside_Temperature_remote_sensor")
set tempUPs to (get value of ... temperature of thermostat ..??) -- get temperature of thermostat
end tell
if (tempRemote - tempUPs) > 3 then -- switch on fan if temperature difference is larger than 3 degrees
set fan mode of device "ThemostatUpstairs" to fanAlwaysOn
end if