The polling script command may be used for obtaining status from devices where "instant status" is not supported in the device. In the example below, the polling script command has been added to the "Climate" button on the main menu of the standard iPhone project*.
Syntax: &hs.PollDevice "Q2" (where Q2 is the device ID)
*Note that in this case, there are actually two actions assigned to that button, the first polls the thermostat, the second shows the Climate screen.
Syntax: &hs.PollDevice "Q2" (where Q2 is the device ID)
*Note that in this case, there are actually two actions assigned to that button, the first polls the thermostat, the second shows the Climate screen.
Comment