In an AppleScript asked for the device's properties and got:
Code: Select all
--> {name:"Thermostat: Foo", description:"", address:"address unknown", type:current application, model:"Proliphix Thermostat", display in remote ui:false, on state:false, brightness:0, temperatures:{}, humidities:{}, heat setpoint:0.0, cool setpoint:0.0, hvac mode:offMode, fan mode:fanAutoOn, zone index:0, binary outputs:{}, binary inputs:{}, analog inputs:{}, sensor inputs:{}, last changed:date "Thursday, November 3, 2011 11:21:16 AM", supports on off:false, supports dimming:false, supports sprinkler:false, supports multiple i/o:false, supports hvac:false, «class SIr »:false, «class SVid»:false, supports all lights on and off:false, supports all off:false, supports status request:false}Am I missing something here, is this even supported yet?
BTW, I will eventually do this in a Python script, but I have some existing AppleScripts that I would like to change from reading variables to reading directly from the device state while I am in transition mode.