northernman54 / homebridge-tcc Goto Github PK
View Code? Open in Web Editor NEWHoneywell Total Connect Comfort support for Homebridge
Honeywell Total Connect Comfort support for Homebridge
Hey guys, hate to open an issue. I know it's not the proper channel or use. But neither of you have contact details for the project or on your profiles.
First THANK YOU for your work on this.
Second, I can confirm that this also works with my Honeywell RTH9580 - got it up and running this evening.
Cheers.
In Home Kit, the temp is in Fahrenheit but Siri is in Celsius.
Is there anyway that this can be changed?
It seems like the plugin spams the TCC site if you make too many adjustments the site will then lock you out and you get the login will failed.
Maybe its possible to get the plugin added to the subscribed applications with TCC.
Getting this error about every 30 minutes or so. I'm not sure if it has any significance to functioning of the app. I have 3 different TCC thermostats.
pollThermostat Error: ERROR: GetLocations
Hi,
I'm using the international site of the my totalconnect comfort. I got error messages regarding that the plugin cannot login. So I've modified the url in the tcc.js, but it is still cannot login.
I get
"TCC Login Failed, can't connect to TCC Web Site { Error: Hostname/IP doesn't match certificate's altnames: "Host: mytotalconnectcomfort.com. is not in the cert's altnames: DNS:.azurewebsites.net, DNS:.scm.azurewebsites.net, DNS:.azure-mobile.net, DNS:.scm.azure-mobile.net""
international url:
https://international.mytotalconnectcomfort.com/
Can you please help me to solve this problem? Maybe an option will be handy in the HB config file.
Many Thanks
Zoltan
Would you like to merge with my plugin? I think Wochenende could better maintain one complete plugin rather than two separate ones...
Does your plugin already include domestic hot water and emea_zones?
On the latest homebridge-tcc update, I can set a temperature in the Home app, but the temperature will not change on my thermostat. If I close the Home app and then reopen it, the temperature setting will have the original setting and not the one I chose. If I watch my Homebridge log, it does register the attempted change:
[6/9/2020, 5:06:29 PM] [Thermostat] Setting switch for LOWER LEVEL to 2
[6/9/2020, 5:06:33 PM] [Thermostat] Setting target temperature for LOWER LEVEL to 23.9°
(I'm not sure why it has this in Celsius -- is this the problem?)
Hey,
do you have any ideas to bring my Honeywell Global Guard Security System into homebridge?
There is a Webinterface for arming and disarming: https://globalguard.friedland.co.uk
I would love to control my Security System with Siri :)
Thanks
I was using a prior version (I believe is was 0.22) of home bridge-tcc and it seemed to be working for a couple of weeks. I decided to check to see if there were updates and noticed that there was a new version. When I updated , I got the following error that the Device is not reachable has shown below. In this case, I don't have the thermostat on. If turn the thermostat on, the device state seems to be tracking (on, temperature set, etc) still remains unreachable.
[Thermostat] getTemperatureDisplayUnits Main Floor
[Thermostat] Temperature unit for Main Floor is set to F
[Thermostat] Target temperature for Main Floor is 20.6°
[Thermostat] Current temperature of Main Floor is 20.6°
[Thermostat] getTargetHeatingCooling is 0 Main Floor
[Thermostat] getCurrentHeatingCoolingState is 0 Main Floor
[Thermostat] getCurrentHeatingCoolingState: Device not reachable
[Thermostat] getCurrentHeatingCoolingState is 0 Main Floor
[Thermostat] getCurrentHeatingCoolingState: Device not reachable
Having an issue with running homebridge after adding in a second thermostat as a second platform on the config.json file. I can run each thermostat independently but once I add both together in the config.json file homebridge will not run. Here is my config.json file:
{
"bridge": {
"name": "Homebridge",
"username": "xx:xx:xx:xx:xx:xx",
"port": xxxxx,
"pin": "xxx-xx-xxx"
},
"description": "Need your help",
"platforms": [{
"platform": "tcc",
"name": "Downstairs Thermostat",
"username": "[email protected]",
"password": "xxxxxxxx",
"deviceID": "xxxxxxx"
},{
"platform": "tcc",
"name": "Upstairs Thermostat",
"username": "[email protected]",
"password": "xxxxxxxx",
"deviceID": "xxxxxxx"
},{
"platform": "LiftMaster2",
"username": "[email protected]",
"password": "xxxxxxxx"
}]
}
And here is my homebridge log:
[12/21/2016, 8:03:53 PM] [Upstairs Thermostat] PU Failed: [TypeError: Cannot read property 'getCharacteristic' of undefined]
And if I try and run again shortly after then I get this:
[12/21/2016, 8:11:58 PM] [Downstairs Thermostat] PU Failed: [TypeError: Cannot read property 'getCharacteristic' of undefined]
I just found this code while looking for some code that can talk to TCC. I'd like to adapt this code for another platform. I see in the code that you need an app id to authenticate with TCC. Where do I get the app id?
Hi again NorthernMan54,
Just wanted to let you know of an issue I discovered where when you reboot Homebridge multiple times (about 2 or more), the entire thermostat configuration gets removed from the Home app (the Bridge still stays, it’s just the thermostats that disappear). Just wanted to let you know about this. It’s not that big of a deal, but I discovered this when Honeywell went down this week, and I tried to reboot Homebridge a few times as I thought the plugin disconnected or something.
Thanks,
ayanm00
Debug log as requested, deviceid's removed.
[12/30/2016, 10:21:08 PM] [Master Bedroom] Update Values Master Bedroom { success: true,
deviceLive: true,
communicationLost: false,
latestData:
{ uiData:
{ DispTemperature: 71,
HeatSetpoint: 69,
CoolSetpoint: 75,
DisplayUnits: 'F',
StatusHeat: 0,
StatusCool: 0,
HoldUntilCapable: true,
ScheduleCapable: true,
VacationHold: 0,
DualSetpointStatus: false,
HeatNextPeriod: 2,
CoolNextPeriod: 2,
HeatLowerSetptLimit: 50,
HeatUpperSetptLimit: 88,
CoolLowerSetptLimit: 61,
CoolUpperSetptLimit: 88,
ScheduleHeatSp: 69,
ScheduleCoolSp: 75,
SwitchAutoAllowed: true,
SwitchCoolAllowed: true,
SwitchOffAllowed: true,
SwitchHeatAllowed: true,
SwitchEmergencyHeatAllowed: false,
SystemSwitchPosition: 1,
Deadband: 3,
IndoorHumidity: 128,
DeviceID: XXX,
Commercial: false,
DispTemperatureAvailable: true,
IndoorHumiditySensorAvailable: false,
IndoorHumiditySensorNotFault: true,
VacationHoldUntilTime: 0,
TemporaryHoldUntilTime: 0,
IsInVacationHoldMode: false,
VacationHoldCancelable: false,
SetpointChangeAllowed: true,
OutdoorTemperature: 31,
OutdoorHumidity: 49,
OutdoorHumidityAvailable: true,
OutdoorTemperatureAvailable: true,
DispTemperatureStatus: 0,
IndoorHumidStatus: 128,
OutdoorTempStatus: 0,
OutdoorHumidStatus: 0,
OutdoorTemperatureSensorNotFault: true,
OutdoorHumiditySensorNotFault: true,
CurrentSetpointStatus: 0,
EquipmentOutputStatus: null },
fanData:
{ fanMode: null,
fanModeAutoAllowed: false,
fanModeOnAllowed: false,
fanModeCirculateAllowed: false,
fanModeFollowScheduleAllowed: false,
fanIsRunning: null },
hasFan: false,
canControlHumidification: false,
drData:
{ CoolSetpLimit: null,
HeatSetpLimit: null,
Phase: -1,
OptOutable: false,
DeltaCoolSP: null,
DeltaHeatSP: null,
Load: null } },
alerts: '\r\n\r\n' }
[12/30/2016, 10:21:08 PM] [Master Bedroom] Change Master Bedroom { deviceLive: true }
[12/30/2016, 10:21:08 PM] [Master Bedroom] Target temperature for Master Bedroom is 20.6°
[12/30/2016, 10:21:08 PM] [Master Bedroom] Current temperature of Master Bedroom is 21.7°
[12/30/2016, 10:21:08 PM] [Master Bedroom] getCurrentHeatingCoolingState is null Master Bedroom
[12/30/2016, 10:21:08 PM] [Master Bedroom] getTargetHeatingCooling is 1 Master Bedroom
[12/30/2016, 10:21:08 PM] [Master Bedroom] Cool Setpoint temperature of Master Bedroom is 23.9°
[12/30/2016, 10:21:08 PM] [Master Bedroom] Heat Setpoint temperature of Master Bedroom is 20.6°
[12/30/2016, 10:21:08 PM] [Master Bedroom] Update Values Bedroom 2 { success: true,
deviceLive: true,
communicationLost: false,
latestData:
{ uiData:
{ DispTemperature: 69,
HeatSetpoint: 69,
CoolSetpoint: 75,
DisplayUnits: 'F',
StatusHeat: 0,
StatusCool: 0,
HoldUntilCapable: true,
ScheduleCapable: true,
VacationHold: 0,
DualSetpointStatus: true,
HeatNextPeriod: 33,
CoolNextPeriod: 33,
HeatLowerSetptLimit: 50,
HeatUpperSetptLimit: 69,
CoolLowerSetptLimit: 71,
CoolUpperSetptLimit: 88,
ScheduleHeatSp: 69,
ScheduleCoolSp: 75,
SwitchAutoAllowed: false,
SwitchCoolAllowed: true,
SwitchOffAllowed: true,
SwitchHeatAllowed: true,
SwitchEmergencyHeatAllowed: false,
SystemSwitchPosition: 2,
Deadband: 0,
IndoorHumidity: 128,
DeviceID: XXX,
Commercial: false,
DispTemperatureAvailable: true,
IndoorHumiditySensorAvailable: false,
IndoorHumiditySensorNotFault: true,
VacationHoldUntilTime: 0,
TemporaryHoldUntilTime: 0,
IsInVacationHoldMode: false,
VacationHoldCancelable: false,
SetpointChangeAllowed: false,
OutdoorTemperature: 31,
OutdoorHumidity: 49,
OutdoorHumidityAvailable: true,
OutdoorTemperatureAvailable: true,
DispTemperatureStatus: 0,
IndoorHumidStatus: 128,
OutdoorTempStatus: 0,
OutdoorHumidStatus: 0,
OutdoorTemperatureSensorNotFault: true,
OutdoorHumiditySensorNotFault: true,
CurrentSetpointStatus: 0,
EquipmentOutputStatus: null },
fanData:
{ fanMode: null,
fanModeAutoAllowed: false,
fanModeOnAllowed: false,
fanModeCirculateAllowed: false,
fanModeFollowScheduleAllowed: false,
fanIsRunning: null },
hasFan: false,
canControlHumidification: false,
drData:
{ CoolSetpLimit: null,
HeatSetpLimit: null,
Phase: -1,
OptOutable: false,
DeltaCoolSP: null,
DeltaHeatSP: null,
Load: null } },
alerts: '\r\n\r\n' }
[12/30/2016, 10:21:08 PM] [Master Bedroom] Change Bedroom 2 { deviceLive: true }
[12/30/2016, 10:21:08 PM] [Master Bedroom] Target temperature for Bedroom 2 is 10°
[12/30/2016, 10:21:08 PM] [Master Bedroom] Current temperature of Bedroom 2 is 20.6°
[12/30/2016, 10:21:08 PM] [Master Bedroom] getCurrentHeatingCoolingState is null Bedroom 2
[12/30/2016, 10:21:08 PM] [Master Bedroom] getTargetHeatingCooling is 0 Bedroom 2
[12/30/2016, 10:21:08 PM] [Master Bedroom] getTemperatureDisplayUnits Living Room
[12/30/2016, 10:21:08 PM] [Master Bedroom] Temperature unit for Living Room is set to F
[12/30/2016, 10:21:08 PM] [Master Bedroom] Target temperature for Living Room is 20.6°
[12/30/2016, 10:21:08 PM] [Master Bedroom] Current temperature of Living Room is 21.7°
[12/30/2016, 10:21:08 PM] [Master Bedroom] getTargetHeatingCooling is 1 Living Room
[12/30/2016, 10:21:08 PM] [Master Bedroom] getCurrentHeatingCoolingState is null Living Room
[12/30/2016, 10:21:08 PM] [Master Bedroom] getCurrentHeatingCoolingState: Device not reachable
[12/30/2016, 10:21:08 PM] [Master Bedroom] Target temperature for Garage is 4.4°
[12/30/2016, 10:21:08 PM] [Master Bedroom] Current temperature of Garage is 12.2°
[12/30/2016, 10:21:08 PM] [Master Bedroom] getTargetHeatingCooling is 1 Garage
[12/30/2016, 10:21:08 PM] [Master Bedroom] getCurrentHeatingCoolingState is 0 Garage
[12/30/2016, 10:21:08 PM] [Master Bedroom] getCurrentHeatingCoolingState: Device not reachable
[12/30/2016, 10:21:08 PM] [Master Bedroom] getTargetHeatingCooling is 1 Upper Level
[12/30/2016, 10:21:08 PM] [Master Bedroom] getCurrentHeatingCoolingState is null Upper Level
[12/30/2016, 10:21:08 PM] [Master Bedroom] getCurrentHeatingCoolingState: Device not reachable
[12/30/2016, 10:21:08 PM] [Master Bedroom] Target temperature for Upper Level is 18.9°
[12/30/2016, 10:21:08 PM] [Master Bedroom] Current temperature of Upper Level is 21.7°
[12/30/2016, 10:21:08 PM] [Master Bedroom] getTemperatureDisplayUnits Garage
[12/30/2016, 10:21:08 PM] [Master Bedroom] Temperature unit for Garage is set to F
[12/30/2016, 10:21:08 PM] [Master Bedroom] Heat Setpoint temperature of Master Bedroom is 20.6°
[12/30/2016, 10:21:08 PM] [Master Bedroom] Target temperature for Master Bedroom is 20.6°
[12/30/2016, 10:21:08 PM] [Master Bedroom] getCurrentHeatingCoolingState is null Master Bedroom
[12/30/2016, 10:21:08 PM] [Master Bedroom] Cool Setpoint temperature of Master Bedroom is 23.9°
[12/30/2016, 10:21:08 PM] [Master Bedroom] Current temperature of Master Bedroom is 21.7°
[12/30/2016, 10:21:08 PM] [Master Bedroom] getTemperatureDisplayUnits Master Bedroom
[12/30/2016, 10:21:08 PM] [Master Bedroom] Temperature unit for Master Bedroom is set to F
[12/30/2016, 10:21:08 PM] [Master Bedroom] getTargetHeatingCooling is 1 Master Bedroom
[12/30/2016, 10:21:09 PM] [Master Bedroom] Update Values Upper Level { success: true,
deviceLive: true,
communicationLost: false,
latestData:
{ uiData:
{ DispTemperature: 71,
HeatSetpoint: 66,
CoolSetpoint: 85,
DisplayUnits: 'F',
StatusHeat: 2,
StatusCool: 0,
HoldUntilCapable: true,
ScheduleCapable: true,
VacationHold: 0,
DualSetpointStatus: true,
HeatNextPeriod: 32,
CoolNextPeriod: 32,
HeatLowerSetptLimit: 50,
HeatUpperSetptLimit: 69,
CoolLowerSetptLimit: 71,
CoolUpperSetptLimit: 88,
ScheduleHeatSp: 55,
ScheduleCoolSp: 85,
SwitchAutoAllowed: false,
SwitchCoolAllowed: true,
SwitchOffAllowed: true,
SwitchHeatAllowed: true,
SwitchEmergencyHeatAllowed: false,
SystemSwitchPosition: 1,
Deadband: 0,
IndoorHumidity: 128,
DeviceID: XXX,
Commercial: false,
DispTemperatureAvailable: true,
IndoorHumiditySensorAvailable: false,
IndoorHumiditySensorNotFault: true,
VacationHoldUntilTime: 0,
TemporaryHoldUntilTime: 0,
IsInVacationHoldMode: false,
VacationHoldCancelable: false,
SetpointChangeAllowed: true,
OutdoorTemperature: 30,
OutdoorHumidity: 49,
OutdoorHumidityAvailable: true,
OutdoorTemperatureAvailable: true,
DispTemperatureStatus: 0,
IndoorHumidStatus: 128,
OutdoorTempStatus: 0,
OutdoorHumidStatus: 0,
OutdoorTemperatureSensorNotFault: true,
OutdoorHumiditySensorNotFault: true,
CurrentSetpointStatus: 2,
EquipmentOutputStatus: null },
fanData:
{ fanMode: null,
fanModeAutoAllowed: false,
fanModeOnAllowed: false,
fanModeCirculateAllowed: false,
fanModeFollowScheduleAllowed: false,
fanIsRunning: null },
hasFan: false,
canControlHumidification: false,
drData:
{ CoolSetpLimit: null,
HeatSetpLimit: null,
Phase: -1,
OptOutable: false,
DeltaCoolSP: null,
DeltaHeatSP: null,
Load: null } },
alerts: '\r\n\r\n' }
[12/30/2016, 10:21:09 PM] [Master Bedroom] Change Upper Level { deviceLive: true }
[12/30/2016, 10:21:09 PM] [Master Bedroom] Target temperature for Upper Level is 18.9°
[12/30/2016, 10:21:09 PM] [Master Bedroom] Current temperature of Upper Level is 21.7°
[12/30/2016, 10:21:09 PM] [Master Bedroom] getCurrentHeatingCoolingState is null Upper Level
[12/30/2016, 10:21:09 PM] [Master Bedroom] getTargetHeatingCooling is 1 Upper Level
[12/30/2016, 10:21:09 PM] [Master Bedroom] Update Values Living Room { success: true,
deviceLive: true,
communicationLost: false,
latestData:
{ uiData:
{ DispTemperature: 71,
HeatSetpoint: 69,
CoolSetpoint: 74,
DisplayUnits: 'F',
StatusHeat: 0,
StatusCool: 0,
HoldUntilCapable: true,
ScheduleCapable: true,
VacationHold: 0,
DualSetpointStatus: true,
HeatNextPeriod: 95,
CoolNextPeriod: 2,
HeatLowerSetptLimit: 50,
HeatUpperSetptLimit: 72,
CoolLowerSetptLimit: 72,
CoolUpperSetptLimit: 88,
ScheduleHeatSp: 69,
ScheduleCoolSp: 74,
SwitchAutoAllowed: false,
SwitchCoolAllowed: true,
SwitchOffAllowed: true,
SwitchHeatAllowed: true,
SwitchEmergencyHeatAllowed: false,
SystemSwitchPosition: 1,
Deadband: 0,
IndoorHumidity: 128,
DeviceID: XXX,
Commercial: false,
DispTemperatureAvailable: true,
IndoorHumiditySensorAvailable: false,
IndoorHumiditySensorNotFault: true,
VacationHoldUntilTime: 0,
TemporaryHoldUntilTime: 0,
IsInVacationHoldMode: false,
VacationHoldCancelable: false,
SetpointChangeAllowed: true,
OutdoorTemperature: 31,
OutdoorHumidity: 49,
OutdoorHumidityAvailable: true,
OutdoorTemperatureAvailable: true,
DispTemperatureStatus: 0,
IndoorHumidStatus: 128,
OutdoorTempStatus: 0,
OutdoorHumidStatus: 0,
OutdoorTemperatureSensorNotFault: true,
OutdoorHumiditySensorNotFault: true,
CurrentSetpointStatus: 0,
EquipmentOutputStatus: null },
fanData:
{ fanMode: null,
fanModeAutoAllowed: false,
fanModeOnAllowed: false,
fanModeCirculateAllowed: false,
fanModeFollowScheduleAllowed: false,
fanIsRunning: null },
hasFan: false,
canControlHumidification: false,
drData:
{ CoolSetpLimit: null,
HeatSetpLimit: null,
Phase: -1,
OptOutable: false,
DeltaCoolSP: null,
DeltaHeatSP: null,
Load: null } },
alerts: '\r\n\r\n' }
[12/30/2016, 10:21:09 PM] [Master Bedroom] Change Living Room { deviceLive: true }
[12/30/2016, 10:21:09 PM] [Master Bedroom] Target temperature for Living Room is 20.6°
[12/30/2016, 10:21:09 PM] [Master Bedroom] Current temperature of Living Room is 21.7°
[12/30/2016, 10:21:09 PM] [Master Bedroom] getCurrentHeatingCoolingState is null Living Room
[12/30/2016, 10:21:09 PM] [Master Bedroom] getTargetHeatingCooling is 1 Living Room
[12/30/2016, 10:21:10 PM] [Master Bedroom] Update Values Garage { success: true,
deviceLive: true,
communicationLost: false,
latestData:
{ uiData:
{ DispTemperature: 54,
HeatSetpoint: 40,
CoolSetpoint: 0,
DisplayUnits: 'F',
StatusHeat: 0,
StatusCool: 0,
HoldUntilCapable: true,
ScheduleCapable: true,
VacationHold: 0,
DualSetpointStatus: true,
HeatNextPeriod: 24,
CoolNextPeriod: 0,
HeatLowerSetptLimit: 40,
HeatUpperSetptLimit: 90,
CoolLowerSetptLimit: 50,
CoolUpperSetptLimit: 99,
ScheduleHeatSp: 40,
ScheduleCoolSp: 82,
SwitchAutoAllowed: false,
SwitchCoolAllowed: false,
SwitchOffAllowed: true,
SwitchHeatAllowed: true,
SwitchEmergencyHeatAllowed: false,
SystemSwitchPosition: 1,
Deadband: 0,
IndoorHumidity: 128,
DeviceID: XXX,
Commercial: false,
DispTemperatureAvailable: true,
IndoorHumiditySensorAvailable: false,
IndoorHumiditySensorNotFault: true,
VacationHoldUntilTime: 0,
TemporaryHoldUntilTime: 0,
IsInVacationHoldMode: false,
VacationHoldCancelable: false,
SetpointChangeAllowed: true,
OutdoorTemperature: 128,
OutdoorHumidity: 128,
OutdoorHumidityAvailable: false,
OutdoorTemperatureAvailable: false,
DispTemperatureStatus: 0,
IndoorHumidStatus: 128,
OutdoorTempStatus: 128,
OutdoorHumidStatus: 128,
OutdoorTemperatureSensorNotFault: true,
OutdoorHumiditySensorNotFault: true,
CurrentSetpointStatus: 0,
EquipmentOutputStatus: 0 },
fanData:
{ fanMode: 0,
fanModeAutoAllowed: true,
fanModeOnAllowed: true,
fanModeCirculateAllowed: false,
fanModeFollowScheduleAllowed: false,
fanIsRunning: false },
hasFan: true,
canControlHumidification: false,
drData:
{ CoolSetpLimit: null,
HeatSetpLimit: null,
Phase: -1,
OptOutable: false,
DeltaCoolSP: null,
DeltaHeatSP: null,
Load: null } },
alerts: '\r\n\r\n' }
[12/30/2016, 10:21:10 PM] [Master Bedroom] Change Garage { deviceLive: true }
[12/30/2016, 10:21:10 PM] [Master Bedroom] Target temperature for Garage is 4.4°
[12/30/2016, 10:21:10 PM] [Master Bedroom] Current temperature of Garage is 12.2°
[12/30/2016, 10:21:10 PM] [Master Bedroom] getCurrentHeatingCoolingState is 0 Garage
[12/30/2016, 10:21:10 PM] [Master Bedroom] getTargetHeatingCooling is 1 Garage
I installed the tcc plugin to my homebridge running on my Synology DSM. It is not connecting to honeywell and communicating with my thermostat.
I have setup the config.json and when I run homebridge and look in the log I see that it loads 0 accessories and it says
"Logged into tcc! undefined"
"Error during Login: TypeError: Cannot read property 'map' of undefined"
Am I doing something wrong? The only thing I have setup with my config.json is the thermostat.
{
"bridge": {
"name": "Homebridge",
"username": "..redacted...",
"port": 51826,
"pin": "..redacted..."
},
"description": "This is an example",
"accessories": [
],
"platforms": [
{
"platform": "tcc",
"name" : "Thermostat",
"username" : "..redacted...",
"password" : "..redacted...",
"deviceID": "..redacted...",
"debug": "True"
}
]
}
-John
Dear,
the plugin was working correctly with no issue. I did the update to the last verion today and then when I restart Homebridge, I get this message :
[2020-05-09 09 h 07 min 06 s] Loaded plugin: homebridge-tcc
[2020-05-09 09 h 07 min 07 s] ====================
[2020-05-09 09 h 07 min 07 s] ERROR INITIALIZING PLUGIN homebridge-tcc:
[2020-05-09 09 h 07 min 07 s] Error: No valid exports main found for 'C:\Users\patri\AppData\Roaming\npm\node_modules\homebridge-tcc\node_modules\uuid'
at resolveExportsTarget (internal/modules/cjs/loader.js:622:9)
at applyExports (internal/modules/cjs/loader.js:499:14)
at resolveExports (internal/modules/cjs/loader.js:548:12)
at Function.Module._findPath (internal/modules/cjs/loader.js:654:22)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:953:27)
at Function.Module._load (internal/modules/cjs/loader.js:859:27)
at Module.require (internal/modules/cjs/loader.js:1028:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object. (C:\Users\patri\AppData\Roaming\npm\node_modules\homebridge-tcc\node_modules\googleapis-common\build\src\apirequest.js:19:14)
at Module._compile (internal/modules/cjs/loader.js:1139:30)
[2020-05-09 09 h 07 min 07 s] ====================
Then plugin is no more working.
Can you help me to fix it. Thank in advance for your support.
Best regards.
Patrick Ceretti
Can you please suppress dateless log entries every minute?
[4/29/2020, 3:29:35 PM] [Thermostat] Change Home {}
[4/29/2020, 3:30:35 PM] [Thermostat] updateValues 1
SOAP FAIL: Error: Request failed with status code 400
pollThermostat Error: undefined
also
[6/8/2020, 8:38:28 AM] [Thermostat] ERROR: pollDevices
I changed the info of the sample config, and it says the .json file is wrong/broken. How do I add to to the config?
Hi northernman, thank you for you TCC plug-in. After installing it with MKH1 I have it reading the current temperature and status of my AC but any attempt to change the AC status leads to a Not Responding message. On the homebridge Log I get the following message: “ Error: This callback function has already been called by someone else; it can only be called one time.” Any ideas? Thank you.
I noticed that you released a storage option about 7 months ago but I am not sure how to implement this option. Can you update the readme or maybe I missed how this is implemented somewhere else ?
HI @NorthernMan54 - Thanks for getting this started!
I have a RedLink Internet Gateway that connects my thermostat to TCC. As part of the configuration, there is a Device MAC ID and Device CRC. I've tried both of these, and they result in homebridge erroring out when I start it up (currently running lots of other stuff through homebridge - not a total noob to Homebridge :-) ). After thinking this through, I'm thinking you may not have built this to interact with the Honeywell RedLink Gateway, and are using a Wireless Thermostat?
Thanks Again!
Ken
[9/23/2019, 5:17:56 PM] [Thermostat] Logged into tcc! [ { deviceID: '2077898', name: 'Living Room' } ]
tcc Device { Redirect: '/portal/Home/TermsAndConditions' } +0ms
[9/23/2019, 5:17:56 PM] [Thermostat] Adding TCC Device Living Room 2077898
[9/23/2019, 5:17:56 PM] [Thermostat] Initializing platform accessory 'Living Room'...
[9/23/2019, 5:17:56 PM] [Thermostat] getServices Living Room
(node:7890) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'uiData' of undefined
at tccAccessory.getServices (/Users/sgracey/Code/homebridge-tcc/index.js:402:32)
at Server._createAccessory (/Users/sgracey/npm/lib/node_modules/homebridge/lib/server.js:427:36)
at Server. (/Users/sgracey/npm/lib/node_modules/homebridge/lib/server.js:413:32)
at /Users/sgracey/npm/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once.js:16:19
at Promise.all.then (/Users/sgracey/Code/homebridge-tcc/index.js:92:9)
at process._tickCallback (internal/process/next_tick.js:68:7)
And after accepting the T's and C's via a browser, got this
[9/23/2019, 5:28:00 PM] [Thermostat] Logged into tcc! [ { deviceID: '2077898', name: 'Living Room' } ]
Error _request https://mytotalconnectcomfort.com/portal/Device/CheckDataSession/2077898?_=1569274080800 401
CDS Failed: HTTP Error 401
[9/23/2019, 5:28:00 PM] [Thermostat] Create Device Error HTTP Error 401
When changing the cool setting on the "auto" mode I get a 302 response from Honeywell.
Thanks for writing this!
I'm seeing SystemSwitchPosition becoming 5 on the TCC site, which is causing homebridge-tcc to mark the system as off. I'm not sure why/how this is happening; I see heat as 1, off as 2, cool as 3, and auto as 4. After another refresh, it returned 5 (through my browser's dev tools).
After attempting to reproduce methodically for the issue, I was unable to.
I'm wondering if others have also seen this, and perhaps value 5 needs to be mapped to something or be ignored entirely.
I have your Tcc plugin working with a Honeywell TH8321WF1001 and everything seem to work very well. The only issue that I have run across is that the Emergency Heat button does not show, without it this spring the heat pump may try to start before the ice is out of the condenser. Is there something I have missed in setting up the Homebridge or is something else? Thank You for a great plugin.
C Login Failed, can't connect to TCC Web Site { Error: unable to verify the first certificate
at TLSSocket. (_tls_wrap.js:1098:38)
at emitNone (events.js:105:13)
at TLSSocket.emit (events.js:207:7)
at TLSSocket._finishInit (_tls_wrap.js:628:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:458:38) code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE' }
[2017-9-5 13:31:02] [Thermostat] Error during Login: TCC Login failed, can't connect to TCC Web Site
After maintenance of the TCC site, the active session is logged out, and subsequent requests receive an http 401 error until homebridge is restarted
Log is filled with this
[11/29/2016, 6:22:18 AM] [Thermostat] periodicUpdate
[11/29/2016, 6:22:18 AM] [Thermostat] updateValues
Error 401
CDS Failed: HTTP Error
[11/29/2016, 6:23:18 AM] [Thermostat] periodicUpdate
Homebridge-TCC was working fine for about 2 weeks. Then it suddenly disappeared from my installed plugins. . I tried to reinstall it but i'm "gettinggyp ERR! find Python". I'm using home bridge on windows 10. How can i fix this?
Thanks.
Hi,
I'm trying to configure the plugin to not use permanent holds on temperature setting events, but it does not seem to work.
I've got the following in my appropriate device block:
"usePermanentHolds": false
The temperature is set appropriately, but always on permanent hold. Any ideas?
Thanks.
[3/3/2020, 22:57:12] [Thermostat] getServices Thermostat
(node:18921) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'uiData' of undefined
at tccAccessory.getServices (/usr/local/lib/node_modules/homebridge-tcc/index.js:402:32)
at Server._createAccessory (/usr/local/lib/node_modules/homebridge/lib/server.js:427:36)
at Server. (/usr/local/lib/node_modules/homebridge/lib/server.js:413:32)
at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/once.js:16:19
at /usr/local/lib/node_modules/homebridge-tcc/index.js:92:9
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:18921) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:18921) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[3/3/2020, 22:57:13] [HB Supervisor] Homebridge Process Ended. Code: 0, Signal: null
[3/3/2020, 22:57:18] [HB Supervisor] Restarting Homebridge...
I have 6 Honeywell thermostats, but the tcc plugin will only show a maximum of 4. It used to show them all, but something has changed. I've tried deleting the plugin, as well as the persist / accessories data and restarting (tried several times), but to no avail. Even did an entire new setup on a second Raspberry Pi. The startup info. suggests that the plugin recognizes all 6 thermostats, but then only 4 appear in HomeKit. It isn't a logical pattern - it doesn't seem to follow the order of the thermostat listings in the config.json, but if I rearrange the listings sometimes I get a different set of 4. I'm running the latest plugin / homekit server / nodejs. I think this only recently started (about a month ago, all worked fine). Anybody else see this behavior?
Hi again @NorthernMan54,
I'm having an issue where I can't set my temperature to 65 (it goes up to 66 if I do). Any way I can help solve this again?
Thanks,
@ayanm00
went to update to latest version and it failed here's what it told me:
npm install -g homebridge-tcc
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated [email protected]: This module has moved and is now available at @hapi/topo. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN deprecated [email protected]: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
I was Able to Connect to This Thermostat, I can Adjust the Temp and Turn it on and Off So Far So Good.
Home app is showing the Thermostat with a temperature reading of 163 degrees (actually is 73), the cool set temperature is correct at 75.
In the log, I see the outdoor temp and humidity updating and they appear to be correct.
Is it possible to increase the default on time for a set temperature from the 10 minutes as used by the this and the homebridge-evohome plug in? Something like 60 minutes would at least make the feature useful.
I generally keep my thermostat on permanent hold. Every time I use homekit to make temperature changes, it switches to a temporary hold which makes my temperature changes irregular since I don't have a schedule set. Am I doing something wrong or is there a way to make it so that it stays on permanent hold when I change the temperature?
Hello. I live in Italy and I have the user on https://international.mytotalconnectcomfort.com
, could you help me?
After upgrading to the latest release of homebridge-tcc, my thermostats jumped from 72 degrees to 154 degrees as the current temperature.
NM54, thanks for all your help on these plugins. I use this one and your Alexa plugin.
Hey,
Just wondering if you could make this plugin to work with honeywell home(lyric) thermostats. I don’t know how to code that well, and I know that Honeywell has a website for their Honeywell Home api (https://developer.honeywell.com/). Just wondering if you could make this support their other thermostats too?
When a thermostat is unreachable, it responds to periodic update with
{ deviceLive: false,
communicationLost: true,
latestData:
{ fanData:
{ fanMode: null,
fanModeAutoAllowed: false,
fanModeOnAllowed: false,
fanIsRunning: null },
hasFan: false },
alerts: '\r\n\r\n <div id="PageAlerts">\r\n <div class="topmiddle-border">\r\n </div>\r\n <div class="alert-content">\r\n <div class="information-image">\r\n <img src="/portal/Images/Alerts/alert_red_icon.png?v=2.2.4" alt="Alert Information" />\r\n </div>\r\n <div class="alert-messages">\r\n <ul>\r\n <li>\r\n <span>The internet connection to this thermostat was lost at 11/12/2016 4:23:49 PM. You will not be able to make updates or view status until the connection is restored. For suggestions to resolve this alert check for an alert email, check FAQs or call Honeywell Customer Care at 1-855-733-5465.\r\n </span>\r\n </li>\r\n </ul>\r\n </div>\r\n <div class="dealerinfobutton gray-31-button">\r\n </div>\r\n <div class="clear"></div>\r\n </div>\r\n <div class="bottommiddle-border">\r\n </div>\r\n </div>\r\n' }
When device becomes reachable the message changes too
{ deviceLive: true,
communicationLost: false,
latestData:
{ fanData:
{ fanMode: 0,
fanModeAutoAllowed: true,
fanModeOnAllowed: true,
fanIsRunning: false },
hasFan: true },
alerts: '\r\n\r\n' }
Need to toggle reachability based on deviceLive: true/false
After updating from homebridge v0.4.19 to homebridge v0.4.28 the set temperature in my Home app sometimes does not match the set temperature on my thermostat. I believe this is due to either a rounding or decimal to integer issue with the celsius to fahrenheit conversion, but oddly the current temperature at the same value is displaying correctly. I am not sure if the problem resides in homebridge or the homebridge-tcc plugin.
For example, Home is reporting that my thermostat's current temperature is 74 degrees and it is set to 73 degrees:
However both values are actually 74 degrees as displayed in the Honeywell app:
Other values such as 70 degrees display correctly which is what makes me think it's a rounding or decimal to integer issue because 70F = 21.1111C and 21C = 69.8F (rounded up to 70), but 74F = 23.3333C and 23C = 73.4F (rounded down to 73).
I am using the latest version of homebridge-tcc (0.0.31). This issue is not present when using the plugin with homebridge v0.4.19 but is present when using the plugin with homebridge v0.4.28.
I mistakenly uninstalled and then reinstalled the plugin but using my config that previously worked, I'm getting a login error. I know the user name/password/device id is all good as it worked before.
I'm not sure if something didn't get reinstalled properly but this is the error I'm getting:
[1/1/2017, 10:01:52 AM] [Thermostat] Logged into tcc! undefined
[1/1/2017, 10:01:52 AM] [Thermostat] Error during Login: TypeError: Cannot read property 'map' of undefined
at Object.<anonymous> (/usr/lib/node_modules/homebridge-tcc/index.js:64:40)
at _fulfilled (/usr/lib/node_modules/homebridge-tcc/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (/usr/lib/node_modules/homebridge-tcc/node_modules/q/q.js:816:30)
at Promise.promise.promiseDispatch (/usr/lib/node_modules/homebridge-tcc/node_modules/q/q.js:749:13)
at /usr/lib/node_modules/homebridge-tcc/node_modules/q/q.js:557:44
at flush (/usr/lib/node_modules/homebridge-tcc/node_modules/q/q.js:108:17)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
Hi again NorthernMan54,
Just wanted to inform you of another issue I discovered while Honeywell went down this past week. The plugin failed to connect (since Honeywell was down), and it just hung there for a few minutes and then self-exited Homebridge. Wouldn’t it be better if continued to try and reconnect so that when Honeywell comes back up, the plugin would connect again?
Thanks,
ayanm00
Since the new update my Redlink Gateway thermostats all show as Off while the thermostats are clearly On and the mobile app displays them as On.
Thoughts?
[REDACTED]
Hey There. I have been struggling to get my Homebridge instance to work with my Honeywell VisionPro 8000 (TH8321WF1001). I get an error at start-up that says:
[Thermostat] Error during Login: TypeError: this.devices.map is not a function
I suppose it could be that the Honeywell device does not support management by this Homebridge module, it almost seems (in my limited knowledge) that it is a Java Script error?
This device is capable to be managed with the Total Connect website, the TCC app from the apple store, and my Logitech Harmony Home device.
I am able to start and stop activities from Homebridge (with the Harmony Hub module) so it appears that Homebridge itself is working.
Thanks for any help you can give me!
Hey. I’m very new to homebridge. Any chance you could provide a sample config.json on where to put the refresh code? I would like to change the refresh rate to 5 or 10 minutes. Thank you!
When it comes back, it's always in the default room and loses the icon positioning data I've done in the room it belongs.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.