
Re: turn off logging in a script
Try using the transaction 'suppress logging' like this:
- Code: Select all
tell application "IndigoServer"
with transaction
transaction suppress logging
if value of variable "tempDownstairs" is greater than value of variable "tempSet" then
set cool setpoint of device "Thermostat - A/C" to value of variable "tempSetBal"
else if value of variable "tempDownstairs" is less than value of variable "tempSet" then
set cool setpoint of device "Thermostat - A/C" to value of variable "tempSet"
else if value of variable "tempDownstairs" is equal to value of variable "tempSet" then
set cool setpoint of device "Thermostat - A/C" to value of variable "tempSetBal"
end if
end transaction
end tell
Note, however, that if it really is sending out INSTEON commands every minute you might want to optimize it or increase the delay somehow. Depending on how many modules you have, that might be increasing the INSTEON traffic high enough that collisions will be more likely.