Hi there,
I've been using this plugin for about a year, and happy to report no issues.
However, there is one item that pops up in the event log a few times a day:
- Code: Select all
2016-04-22 10:00:07 ColorTouch Thermostat Error Error in plugin execution ExecuteAction:
Traceback (most recent call last):
File "plugin.py", line 1204, in actionControlThermostat
File "plugin.py", line 419, in _handleChangeSetpointAction
<type 'exceptions.KeyError'>: ('cooltemp',)
2016-04-22 10:00:07 ColorTouch Thermostat sending "Thermostat Kitchen" change cool setpoint to 25.0
It doesn't seem to cause any problems, but just thought you'd like to be aware.
Here's a list of the states in the device, just in case they vary from model to model (T7850, api v5):
- Code: Select all
>>> t = indigo.devices[1431507005] # "Thermostat Kitchen"
>>> print t.states
States : (dict)
ctAlertAirFilter : off (on/off bool)
ctAlertService : off (on/off bool)
ctAlertUVLamp : off (on/off bool)
ctAlertsUpdated : 2016-04-22 09:58:16 (string)
ctLastUpdate : 2016-04-22 10:08:01 (string)
ctLastUpdate.ui : 04/22/16, 10:08 AM (string)
ctRuntimes : [{"cool1": 0, "cool2": 0, "ts": "2016-04-15 00:00:00", "fc": 0, "heat2": 0, "heat1": 0, "aux2": 0, "aux1": 0}, {"cool1": 0, "cool2": 0, "ts": "2016-04-16 00:00:00", "fc": 0, "heat2": 0, "heat1": 0, "aux2": 0, "aux1": 0}, {"cool1": 0, "cool2": 0, "ts": "2016-04-17 00:00:00", "fc": 0, "heat2": 0, "heat1": 0, "aux2": 0, "aux1": 0}, {"cool1": 0, "cool2": 0, "ts": "2016-04-18 00:00:00", "fc": 0, "heat2": 0, "heat1": 0, "aux2": 0, "aux1": 0}, {"cool1": 47, "cool2": 0, "ts": "2016-04-19 00:00:00", "fc": 0, "heat2": 0, "heat1": 0, "aux2": 0, "aux1": 0}, {"cool1": 5, "cool2": 0, "ts": "2016-04-20 00:00:00", "fc": 0, "heat2": 0, "heat1": 0, "aux2": 0, "aux1": 0}, {"cool1": 50, "cool2": 0, "ts": "2016-04-20 18:58:34", "fc": 0, "heat2": 0, "heat1": 0, "aux2": 0, "aux1": 0}] (string)
ctRuntimesUpdated : 2016-04-20 18:58:35 (string)
ctScheduleFolders : (string)
ctScheduleMode : 0 (integer)
ctScheduleModeDescription : None (Off) (string)
ctSensors : [{"name": "Thermostat", "temp": 24.0}, {"name": "Outdoor", "temp": -39.0}] (string)
ctSensorsUpdated : 2016-04-20 18:58:35 (string)
ct_availablemodes : 0 (integer)
ct_away : off (on/off bool)
ct_cooltempmax : 37 (real)
ct_cooltempmin : 1.5 (real)
ct_dehum_setpoint : 0 (integer)
ct_heattempmax : 37 (real)
ct_heattempmin : 1.5 (real)
ct_hum_setpoint : 0 (integer)
ct_name : Kitchen (string)
ct_schedule : off (on/off bool)
ct_schedulepart : 255 (integer)
ct_schedulepart.ui : Inactive (string)
ct_setpointdelta : 2 (real)
ct_spacetemp : 23.5 (real)
ct_state : 0 (integer)
ct_tempunits : 1 (integer)
hvacCoolerIsOn : off (on/off bool)
hvacDehumidifierIsOn : off (on/off bool)
hvacFanIsOn : off (on/off bool)
hvacFanMode : 0 (integer)
hvacFanModeIsAlwaysOn : false (bool)
hvacFanModeIsAuto : true (bool)
hvacHeaterIsOn : off (on/off bool)
hvacHumidifierIsOn : off (on/off bool)
hvacOperationMode : 3 (integer)
hvacOperationModeIsAuto : true (bool)
hvacOperationModeIsCool : false (bool)
hvacOperationModeIsHeat : false (bool)
hvacOperationModeIsOff : false (bool)
hvacOperationModeIsProgramAuto : false (bool)
hvacOperationModeIsProgramCool : false (bool)
hvacOperationModeIsProgramHeat : false (bool)
setpointCool : 36 (real)
setpointHeat : 14 (real)
temperatureInput1 : 23.5 (real)
temperatureInputsAll : 23.5 (string)
>>>