Closed readylmay closed 1 year ago
Thank you very much for the debug detail on the issue, it really helped to pin point where the potential issue is.
I was following thru the temperature setting code, and it checks the system switch setting as part sending the response - https://github.com/NorthernMan54/homebridge-tcc/blob/8b84f7f3e01c07defcb7a5d900803607375aa6b0/lib/tccMessage.js#L326
And with your thermostat it reporting that the SystemSwitchPosition is 0
Can you share position of your switch, and if you have a few minutes could you trying changing to the other switch positions and share the reported SystemSwitchPosition:
value ? I'm looking to validate this table, before making a fix.
case 1: // TCC Heat
case 2: // TCC Off
case 3: // TCC Cool
case 4: // TCC Auto heat
case 5: // TCC Auto cool
I beleive this is what you are looking for: I have two heat sources connected to my thermosat. Heat is connect to my Heat Pump, and "EM Heat" / Emergency Heat is connected to my gas furnace.
My thermostat is set to "Emergency Heat"
See screenshot from TCC app.
Done in order:
Log for Off:
[07/03/2023, 15:16:24] [Thermostat] Setting switch for THERMOSTAT to 0
Tue, 07 Mar 2023 23:16:24 GMT tcc put 8230923 -> { TargetHeatingCooling: 0 }
Tue, 07 Mar 2023 23:16:24 GMT tcc-lib Queue: Working on item #3. Size: 0 Pending: 0
Tue, 07 Mar 2023 23:16:24 GMT tcc-lib _UpdateThermostat() { ThermostatID: 8230923, TargetHeatingCooling: 0 }
Tue, 07 Mar 2023 23:16:24 GMT tcc-lib _UpdateThermostat: SOAP Message <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://services.alarmnet.com/Services/MobileV2/"><soap:Body><ChangeThermostatUI><sessionID>CE0DBC66-1CD7-4A2A-8EDD-CB846BB3B3A4</sessionID><thermostatID>8230923</thermostatID><changeSystemSwitch>1</changeSystemSwitch><systemSwitch>2</systemSwitch><changeHeatSetpoint>1</changeHeatSetpoint><heatSetpoint>18</heatSetpoint><changeCoolSetpoint>1</changeCoolSetpoint><coolSetpoint>29.5</coolSetpoint><changeHeatNextPeriod>1</changeHeatNextPeriod><heatNextPeriod>72</heatNextPeriod><changeCoolNextPeriod>1</changeCoolNextPeriod><coolNextPeriod>72</coolNextPeriod><changeStatusHeat>1</changeStatusHeat><statusHeat>2</statusHeat><changeStatusCool>1</changeStatusCool><statusCool>2</statusCool></ChangeThermostatUI></soap:Body></soap:Envelope> CE0DBC66-1CD7-4A2A-8EDD-CB846BB3B3A4 { ThermostatID: 8230923, TargetHeatingCooling: 0 } {
ThermostatID: 8230923,
Name: 'THERMOSTAT',
Model: 'Duo No Humidifier',
OutsideTemperature: 10,
CurrentTemperature: 19,
TargetTemperature: 18,
HeatingThresholdTemperature: 18,
CoolingThresholdTemperature: 29.5,
CurrentHeatingCoolingState: 0,
TargetHeatingCoolingState: 1,
TargetHeatingCoolingStateValidValues: [ 0, 1, 2 ],
TargetTemperatureHeatMinValue: 4.5,
TargetTemperatureHeatMaxValue: 30,
TargetTemperatureCoolMinValue: 18,
TargetTemperatureCoolMaxValue: 37,
OutsideHumidity: 128,
InsideHumidity: 41,
device: {
ThermostatID: 8230923,
MacID: 'B82CA024EB95',
DomainID: 32588,
Instance: 0,
DeviceName: 'THERMOSTAT',
UserDefinedDeviceName: 'THERMOSTAT',
Upgrading: false,
ThermostatsAlerts: {},
UI: {
Created: '2023-03-07T23:16:18.6069883',
ThermostatLocked: false,
OutdoorTemp: 10,
DispTemperature: 19,
HeatSetpoint: 18,
CoolSetpoint: 29.5,
DisplayedUnits: 'C',
StatusHeat: 2,
StatusCool: 2,
HoldUntilCapable: true,
ScheduleCapable: true,
VacationHold: 0,
DualSetpointStatus: false,
HeatNextPeriod: 72,
CoolNextPeriod: 72,
HeatLowerSetptLimit: 4.5,
HeatUpperSetptLimit: 30,
CoolLowerSetptLimit: 18,
CoolUpperSetptLimit: 37,
SchedHeatSp: 19,
SchedCoolSp: 29.5,
SystemSwitchPosition: 2,
CanSetSwitchAuto: false,
CanSetSwitchCool: true,
CanSetSwitchOff: true,
CanSetSwitchHeat: true,
CanSetSwitchEmergencyHeat: true,
CanSetSwitchSouthernAway: false,
Deadband: 0,
OutdoorHumidity: 128,
IndoorHumidity: 41,
Commercial: false,
SystemSwitchChangeSource: [Object],
HeatSetpointChangeSource: [Object],
CoolSetpointChangeSource: [Object]
},
Fan: {
CanControl: true,
Position: 'Auto',
CanSetAuto: true,
CanSetCirculate: true,
CanFollowSchedule: false,
CanSetOn: true,
IsFanRunning: false
},
Humidification: {
CanControlHumidification: false,
CanControlDehumidification: false,
HumidificationSetPoint: 0,
HumidificationUpperLimit: 0,
HumidificationLowerLimit: 0,
HumidificationMode: 'Off',
DehumidificationSetPoint: 0,
DehumidificationUpperLimit: 0,
DehumidificationLowerLimit: 0,
DehumidificationMode: 'Off',
Deadband: 0
},
EquipmentStatus: 'Off',
CanControlSchedule: true,
WillSupportSchedule: false,
ModelTypeID: 13,
ModelTypeName: 'Duo No Humidifier'
}
} true
Tue, 07 Mar 2023 23:16:25 GMT tcc-lib Success: _UpdateThermostat { Result: 'Success', CommTaskID: 425326696 } <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://services.alarmnet.com/Services/MobileV2/"><soap:Body><ChangeThermostatUI><sessionID>CE0DBC66-1CD7-4A2A-8EDD-CB846BB3B3A4</sessionID><thermostatID>8230923</thermostatID><changeSystemSwitch>1</changeSystemSwitch><systemSwitch>2</systemSwitch><changeHeatSetpoint>1</changeHeatSetpoint><heatSetpoint>18</heatSetpoint><changeCoolSetpoint>1</changeCoolSetpoint><coolSetpoint>29.5</coolSetpoint><changeHeatNextPeriod>1</changeHeatNextPeriod><heatNextPeriod>72</heatNextPeriod><changeCoolNextPeriod>1</changeCoolNextPeriod><coolNextPeriod>72</coolNextPeriod><changeStatusHeat>1</changeStatusHeat><statusHeat>2</statusHeat><changeStatusCool>1</changeStatusCool><statusCool>2</statusCool></ChangeThermostatUI></soap:Body></soap:Envelope>
Tue, 07 Mar 2023 23:16:25 GMT tcc-lib GetCommTaskState Success {
Result: 'Success',
CommTaskID: 425326696,
State: 'Running',
FaultReason: 'GatewayNotFound'
}
Log For Heat:
[07/03/2023, 15:17:18] [Thermostat] Setting switch for THERMOSTAT to 1
Tue, 07 Mar 2023 23:17:18 GMT tcc put 8230923 -> { TargetHeatingCooling: 1 }
Tue, 07 Mar 2023 23:17:19 GMT tcc-lib Queue: Working on item #4. Size: 0 Pending: 0
Tue, 07 Mar 2023 23:17:19 GMT tcc-lib _UpdateThermostat() { ThermostatID: 8230923, TargetHeatingCooling: 1 }
Tue, 07 Mar 2023 23:17:19 GMT tcc-lib _UpdateThermostat: SOAP Message <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://services.alarmnet.com/Services/MobileV2/"><soap:Body><ChangeThermostatUI><sessionID>CE0DBC66-1CD7-4A2A-8EDD-CB846BB3B3A4</sessionID><thermostatID>8230923</thermostatID><changeSystemSwitch>1</changeSystemSwitch><systemSwitch>1</systemSwitch><changeHeatSetpoint>1</changeHeatSetpoint><heatSetpoint>18</heatSetpoint><changeCoolSetpoint>1</changeCoolSetpoint><coolSetpoint>29.5</coolSetpoint><changeHeatNextPeriod>1</changeHeatNextPeriod><heatNextPeriod>72</heatNextPeriod><changeCoolNextPeriod>1</changeCoolNextPeriod><coolNextPeriod>72</coolNextPeriod><changeStatusHeat>1</changeStatusHeat><statusHeat>2</statusHeat><changeStatusCool>1</changeStatusCool><statusCool>2</statusCool></ChangeThermostatUI></soap:Body></soap:Envelope> CE0DBC66-1CD7-4A2A-8EDD-CB846BB3B3A4 { ThermostatID: 8230923, TargetHeatingCooling: 1 } {
ThermostatID: 8230923,
Name: 'THERMOSTAT',
Model: 'Duo No Humidifier',
OutsideTemperature: 10,
CurrentTemperature: 19,
TargetTemperature: 18,
HeatingThresholdTemperature: 18,
CoolingThresholdTemperature: 29.5,
CurrentHeatingCoolingState: 0,
TargetHeatingCoolingState: 0,
TargetHeatingCoolingStateValidValues: [ 0, 1, 2 ],
TargetTemperatureHeatMinValue: 4.5,
TargetTemperatureHeatMaxValue: 30,
TargetTemperatureCoolMinValue: 18,
TargetTemperatureCoolMaxValue: 37,
OutsideHumidity: 128,
InsideHumidity: 41,
device: {
ThermostatID: 8230923,
MacID: 'B82CA024EB95',
DomainID: 32588,
Instance: 0,
DeviceName: 'THERMOSTAT',
UserDefinedDeviceName: 'THERMOSTAT',
Upgrading: false,
ThermostatsAlerts: {},
UI: {
Created: '2023-03-07T23:16:25.020903',
ThermostatLocked: false,
OutdoorTemp: 10,
DispTemperature: 19,
HeatSetpoint: 18,
CoolSetpoint: 29.5,
DisplayedUnits: 'C',
StatusHeat: 2,
StatusCool: 2,
HoldUntilCapable: true,
ScheduleCapable: true,
VacationHold: 0,
DualSetpointStatus: false,
HeatNextPeriod: 72,
CoolNextPeriod: 72,
HeatLowerSetptLimit: 4.5,
HeatUpperSetptLimit: 30,
CoolLowerSetptLimit: 18,
CoolUpperSetptLimit: 37,
SchedHeatSp: 19,
SchedCoolSp: 29.5,
SystemSwitchPosition: 1,
CanSetSwitchAuto: false,
CanSetSwitchCool: true,
CanSetSwitchOff: true,
CanSetSwitchHeat: true,
CanSetSwitchEmergencyHeat: true,
CanSetSwitchSouthernAway: false,
Deadband: 0,
OutdoorHumidity: 128,
IndoorHumidity: 41,
Commercial: false,
SystemSwitchChangeSource: [Object],
HeatSetpointChangeSource: [Object],
CoolSetpointChangeSource: [Object]
},
Fan: {
CanControl: true,
Position: 'Auto',
CanSetAuto: true,
CanSetCirculate: true,
CanFollowSchedule: false,
CanSetOn: true,
IsFanRunning: false
},
Humidification: {
CanControlHumidification: false,
CanControlDehumidification: false,
HumidificationSetPoint: 0,
HumidificationUpperLimit: 0,
HumidificationLowerLimit: 0,
HumidificationMode: 'Off',
DehumidificationSetPoint: 0,
DehumidificationUpperLimit: 0,
DehumidificationLowerLimit: 0,
DehumidificationMode: 'Off',
Deadband: 0
},
EquipmentStatus: 'Off',
CanControlSchedule: true,
WillSupportSchedule: false,
ModelTypeID: 13,
ModelTypeName: 'Duo No Humidifier'
}
} true
Tue, 07 Mar 2023 23:17:19 GMT tcc-lib Success: _UpdateThermostat { Result: 'Success', CommTaskID: 425328251 } <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://services.alarmnet.com/Services/MobileV2/"><soap:Body><ChangeThermostatUI><sessionID>CE0DBC66-1CD7-4A2A-8EDD-CB846BB3B3A4</sessionID><thermostatID>8230923</thermostatID><changeSystemSwitch>1</changeSystemSwitch><systemSwitch>1</systemSwitch><changeHeatSetpoint>1</changeHeatSetpoint><heatSetpoint>18</heatSetpoint><changeCoolSetpoint>1</changeCoolSetpoint><coolSetpoint>29.5</coolSetpoint><changeHeatNextPeriod>1</changeHeatNextPeriod><heatNextPeriod>72</heatNextPeriod><changeCoolNextPeriod>1</changeCoolNextPeriod><coolNextPeriod>72</coolNextPeriod><changeStatusHeat>1</changeStatusHeat><statusHeat>2</statusHeat><changeStatusCool>1</changeStatusCool><statusCool>2</statusCool></ChangeThermostatUI></soap:Body></soap:Envelope>
Tue, 07 Mar 2023 23:17:19 GMT tcc-lib GetCommTaskState Success {
Result: 'Success',
CommTaskID: 425328251,
State: 'Running',
FaultReason: 'GatewayNotFound'
}
Log For Cool:
[07/03/2023, 15:17:56] [Thermostat] Setting switch for THERMOSTAT to 2
Tue, 07 Mar 2023 23:17:56 GMT tcc put 8230923 -> { TargetHeatingCooling: 2 }
Tue, 07 Mar 2023 23:17:56 GMT tcc-lib Queue: Working on item #5. Size: 0 Pending: 0
Tue, 07 Mar 2023 23:17:56 GMT tcc-lib _UpdateThermostat() { ThermostatID: 8230923, TargetHeatingCooling: 2 }
Tue, 07 Mar 2023 23:17:56 GMT tcc-lib _UpdateThermostat: SOAP Message <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://services.alarmnet.com/Services/MobileV2/"><soap:Body><ChangeThermostatUI><sessionID>CE0DBC66-1CD7-4A2A-8EDD-CB846BB3B3A4</sessionID><thermostatID>8230923</thermostatID><changeSystemSwitch>1</changeSystemSwitch><systemSwitch>3</systemSwitch><changeHeatSetpoint>1</changeHeatSetpoint><heatSetpoint>18</heatSetpoint><changeCoolSetpoint>1</changeCoolSetpoint><coolSetpoint>29.5</coolSetpoint><changeHeatNextPeriod>1</changeHeatNextPeriod><heatNextPeriod>72</heatNextPeriod><changeCoolNextPeriod>1</changeCoolNextPeriod><coolNextPeriod>72</coolNextPeriod><changeStatusHeat>1</changeStatusHeat><statusHeat>2</statusHeat><changeStatusCool>1</changeStatusCool><statusCool>2</statusCool></ChangeThermostatUI></soap:Body></soap:Envelope> CE0DBC66-1CD7-4A2A-8EDD-CB846BB3B3A4 { ThermostatID: 8230923, TargetHeatingCooling: 2 } {
ThermostatID: 8230923,
Name: 'THERMOSTAT',
Model: 'Duo No Humidifier',
OutsideTemperature: 10,
CurrentTemperature: 19,
TargetTemperature: 18,
HeatingThresholdTemperature: 18,
CoolingThresholdTemperature: 29.5,
CurrentHeatingCoolingState: 0,
TargetHeatingCoolingState: 1,
TargetHeatingCoolingStateValidValues: [ 0, 1, 2 ],
TargetTemperatureHeatMinValue: 4.5,
TargetTemperatureHeatMaxValue: 30,
TargetTemperatureCoolMinValue: 18,
TargetTemperatureCoolMaxValue: 37,
OutsideHumidity: 128,
InsideHumidity: 41,
device: {
ThermostatID: 8230923,
MacID: 'B82CA024EB95',
DomainID: 32588,
Instance: 0,
DeviceName: 'THERMOSTAT',
UserDefinedDeviceName: 'THERMOSTAT',
Upgrading: false,
ThermostatsAlerts: {},
UI: {
Created: '2023-03-07T23:17:19.306292',
ThermostatLocked: false,
OutdoorTemp: 10,
DispTemperature: 19,
HeatSetpoint: 18,
CoolSetpoint: 29.5,
DisplayedUnits: 'C',
StatusHeat: 2,
StatusCool: 2,
HoldUntilCapable: true,
ScheduleCapable: true,
VacationHold: 0,
DualSetpointStatus: false,
HeatNextPeriod: 72,
CoolNextPeriod: 72,
HeatLowerSetptLimit: 4.5,
HeatUpperSetptLimit: 30,
CoolLowerSetptLimit: 18,
CoolUpperSetptLimit: 37,
SchedHeatSp: 19,
SchedCoolSp: 29.5,
SystemSwitchPosition: 3,
CanSetSwitchAuto: false,
CanSetSwitchCool: true,
CanSetSwitchOff: true,
CanSetSwitchHeat: true,
CanSetSwitchEmergencyHeat: true,
CanSetSwitchSouthernAway: false,
Deadband: 0,
OutdoorHumidity: 128,
IndoorHumidity: 41,
Commercial: false,
SystemSwitchChangeSource: [Object],
HeatSetpointChangeSource: [Object],
CoolSetpointChangeSource: [Object]
},
Fan: {
CanControl: true,
Position: 'Auto',
CanSetAuto: true,
CanSetCirculate: true,
CanFollowSchedule: false,
CanSetOn: true,
IsFanRunning: false
},
Humidification: {
CanControlHumidification: false,
CanControlDehumidification: false,
HumidificationSetPoint: 0,
HumidificationUpperLimit: 0,
HumidificationLowerLimit: 0,
HumidificationMode: 'Off',
DehumidificationSetPoint: 0,
DehumidificationUpperLimit: 0,
DehumidificationLowerLimit: 0,
DehumidificationMode: 'Off',
Deadband: 0
},
EquipmentStatus: 'Off',
CanControlSchedule: true,
WillSupportSchedule: false,
ModelTypeID: 13,
ModelTypeName: 'Duo No Humidifier'
}
} true
Tue, 07 Mar 2023 23:17:56 GMT tcc-lib Success: _UpdateThermostat { Result: 'Success', CommTaskID: 425328958 } <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://services.alarmnet.com/Services/MobileV2/"><soap:Body><ChangeThermostatUI><sessionID>CE0DBC66-1CD7-4A2A-8EDD-CB846BB3B3A4</sessionID><thermostatID>8230923</thermostatID><changeSystemSwitch>1</changeSystemSwitch><systemSwitch>3</systemSwitch><changeHeatSetpoint>1</changeHeatSetpoint><heatSetpoint>18</heatSetpoint><changeCoolSetpoint>1</changeCoolSetpoint><coolSetpoint>29.5</coolSetpoint><changeHeatNextPeriod>1</changeHeatNextPeriod><heatNextPeriod>72</heatNextPeriod><changeCoolNextPeriod>1</changeCoolNextPeriod><coolNextPeriod>72</coolNextPeriod><changeStatusHeat>1</changeStatusHeat><statusHeat>2</statusHeat><changeStatusCool>1</changeStatusCool><statusCool>2</statusCool></ChangeThermostatUI></soap:Body></soap:Envelope>
Tue, 07 Mar 2023 23:17:56 GMT tcc-lib GetCommTaskState Success {
Result: 'Success',
CommTaskID: 425328958,
State: 'Running',
FaultReason: 'GatewayNotFound'
}
Those logs were really good. Please update to the latest and try again.
Also please keep in mind that HomeKit does not support emergency heat, so the system switch within HomeKit is not likely to work for you.
Same result. Log below.
Wed, 08 Mar 2023 01:27:06 GMT tcc-lib _UpdateThermostat() { ThermostatID: 8230923, TargetTemperature: 18.5 }
Wed, 08 Mar 2023 01:27:06 GMT tcc-lib _UpdateThermostat: SOAP Message <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://services.alarmnet.com/Services/MobileV2/"><soap:Body><ChangeThermostatUI><sessionID>31B79A80-8F9F-4459-8D71-60F8B995AC09</sessionID>
<thermostatID>8230923</thermostatID>
<changeSystemSwitch>1</changeSystemSwitch><systemSwitch>0</systemSwitch>
<changeHeatSetpoint>1</changeHeatSetpoint><heatSetpoint>18.5</heatSetpoint>
<changeCoolSetpoint>1</changeCoolSetpoint><coolSetpoint>29.5</coolSetpoint>
<changeHeatNextPeriod>1</changeHeatNextPeriod><heatNextPeriod>72</heatNextPeriod>
<changeCoolNextPeriod>1</changeCoolNextPeriod><coolNextPeriod>72</coolNextPeriod>
<changeStatusHeat>1</changeStatusHeat><statusHeat>2</statusHeat><changeStatusCool>1</changeStatusCool>
<statusCool>2</statusCool></ChangeThermostatUI>
</soap:Body></soap:Envelope> 31B79A80-8F9F-4459-8D71-60F8B995AC09
{ ThermostatID: 8230923, TargetTemperature: 18.5 }
{
ThermostatID: 8230923,
Name: 'THERMOSTAT',
Model: 'Duo No Humidifier',
OutsideTemperature: 8,
CurrentTemperature: 19,
TargetTemperature: 19,
HeatingThresholdTemperature: 18.5,
CoolingThresholdTemperature: 29.5,
CurrentHeatingCoolingState: 0,
TargetHeatingCoolingState: 1,
TargetHeatingCoolingStateValidValues: [ 0, 1, 2 ],
TargetTemperatureHeatMinValue: 4.5,
TargetTemperatureHeatMaxValue: 30,
TargetTemperatureCoolMinValue: 18,
TargetTemperatureCoolMaxValue: 37,
OutsideHumidity: 128,
InsideHumidity: 42,
device: {
ThermostatID: 8230923,
MacID: 'B82CA024EB95',
DomainID: 32588,
Instance: 0,
DeviceName: 'THERMOSTAT',
UserDefinedDeviceName: 'THERMOSTAT',
Upgrading: false,
ThermostatsAlerts: {},
UI: {
Created: '2023-03-08T01:26:59.9803599',
ThermostatLocked: false,
OutdoorTemp: 8,
DispTemperature: 19,
HeatSetpoint: 18.5,
CoolSetpoint: 29.5,
DisplayedUnits: 'C',
StatusHeat: 2,
StatusCool: 2,
HoldUntilCapable: true,
ScheduleCapable: true,
VacationHold: 0,
DualSetpointStatus: false,
HeatNextPeriod: 72,
CoolNextPeriod: 72,
HeatLowerSetptLimit: 4.5,
HeatUpperSetptLimit: 30,
CoolLowerSetptLimit: 18,
CoolUpperSetptLimit: 37,
SchedHeatSp: 19,
SchedCoolSp: 29.5,
SystemSwitchPosition: 0,
CanSetSwitchAuto: false,
CanSetSwitchCool: true,
CanSetSwitchOff: true,
CanSetSwitchHeat: true,
CanSetSwitchEmergencyHeat: true,
CanSetSwitchSouthernAway: false,
Deadband: 0,
OutdoorHumidity: 128,
IndoorHumidity: 42,
Commercial: false,
SystemSwitchChangeSource: [Object],
HeatSetpointChangeSource: [Object],
CoolSetpointChangeSource: [Object]
},
Fan: {
CanControl: true,
Position: 'Auto',
CanSetAuto: true,
CanSetCirculate: true,
CanFollowSchedule: false,
CanSetOn: true,
IsFanRunning: false
},
Humidification: {
CanControlHumidification: false,
CanControlDehumidification: false,
HumidificationSetPoint: 0,
HumidificationUpperLimit: 0,
HumidificationLowerLimit: 0,
HumidificationMode: 'Off',
DehumidificationSetPoint: 0,
DehumidificationUpperLimit: 0,
DehumidificationLowerLimit: 0,
DehumidificationMode: 'Off',
Deadband: 0
},
EquipmentStatus: 'Off',
CanControlSchedule: true,
WillSupportSchedule: false,
ModelTypeID: 13,
ModelTypeName: 'Duo No Humidifier'
}
} true
Wed, 08 Mar 2023 01:27:06 GMT tcc-lib Success: _UpdateThermostat { Result: 'Success', CommTaskID: 425505369 } <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://services.alarmnet.com/Services/MobileV2/"><soap:Body><ChangeThermostatUI><sessionID>31B79A80-8F9F-4459-8D71-60F8B995AC09</sessionID><thermostatID>8230923</thermostatID><changeSystemSwitch>1</changeSystemSwitch><systemSwitch>0</systemSwitch><changeHeatSetpoint>1</changeHeatSetpoint><heatSetpoint>18.5</heatSetpoint><changeCoolSetpoint>1</changeCoolSetpoint><coolSetpoint>29.5</coolSetpoint><changeHeatNextPeriod>1</changeHeatNextPeriod><heatNextPeriod>72</heatNextPeriod><changeCoolNextPeriod>1</changeCoolNextPeriod><coolNextPeriod>72</coolNextPeriod><changeStatusHeat>1</changeStatusHeat><statusHeat>2</statusHeat><changeStatusCool>1</changeStatusCool><statusCool>2</statusCool></ChangeThermostatUI></soap:Body></soap:Envelope>
Wed, 08 Mar 2023 01:27:06 GMT tcc-lib GetCommTaskState Success {
Result: 'Success',
CommTaskID: 425505369,
State: 'Running',
FaultReason: 'GatewayNotFound'
}
Humm
Log shows that it is working
<heatSetpoint>18.5</heatSetpoint>
Confirmed. When i first tested it, i would set the temperature in HomeKit UI and then 2 seconds later, the UI would flip back to the previous temperature. Guessing that I got a timeout or rate limited?
In any event, fixed - thank you!
I have not been able to set the temperature for my thermostat. When I make the request, in the below case, from 19C to 20.5C, the request gets processed with the result block as
GetComTaskState Result:
In this request, permanent holds are set to true. The request is sent and my thermostat updates to a permenent hold, but does NOT update the temperature to the updated value (20.5C). The only effect it has is changes the state of the device from a schedule based temp, to a permenant hold with the same temp.
If permeholds are false, a similar outcome occurs. A scheduled based temperature, updates the to a time based hold, but the temperature DOES NOT update.
Any ideas here?
Full Log: