Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Carrier Cor? TP-WEM01 #25

Open
thatvirtualboy opened this issue Jul 17, 2018 · 13 comments
Open

Carrier Cor? TP-WEM01 #25

thatvirtualboy opened this issue Jul 17, 2018 · 13 comments

Comments

@thatvirtualboy
Copy link

From what I've read, the Carrier Cor (corSmart) is essentially a rebranded Ecobee. I was able to get this plugin installed on Homebridge, successfully add the authorization code in my "Apps" on the Cor login page (everything is basically the same as ecobee).. but when launching homebridge, I get
Not supported thermostat | My home (corSmart

I don't have sensors, just trying to get the Cor setup with homebridge. It's the TP-WEM01 Model which doesn't have native Homekit compatibility. The TP-WEM01-A (which came out years later) is what has native compatibility.

Is this something we can tweak to make work, or am I barking up the wrong tree?

@vojtamolda
Copy link
Owner

Hello @thatvirtualboy,

I think if the plugin managed to run all the way to this error message, there's a decent chance that you might get it working, but as usual you're on your own there.

Good place where to start hacking is the thermostat model check in platform.js:232.

Have fun!

@thatvirtualboy
Copy link
Author

Thanks for the tip! Will play around

@thatvirtualboy
Copy link
Author

I changed line 231 to read
if (thermostatConfig.modelNumber != 'corSmart') {
and it appears we make progress, but on my homekit app in iOS it shows homebridge as "No Response" (it was working previously, so I'm guessing it's something in the config?)

$ homebridge
[7/18/2018, 4:25:06 PM] Loaded config.json with 1 accessories and 1 platforms.
[7/18/2018, 4:25:06 PM] ---
[7/18/2018, 4:25:06 PM] Loaded plugin: homebridge-chamberlain
[7/18/2018, 4:25:06 PM] Registering accessory 'homebridge-chamberlain.Chamberlain'
[7/18/2018, 4:25:06 PM] ---
[7/18/2018, 4:25:06 PM] Loaded plugin: homebridge-ecobee3-sensors
Homebridge API version: 2.2
[7/18/2018, 4:25:06 PM] Registering platform 'homebridge-ecobee3-sensors.Ecobee 3 Sensors'
[7/18/2018, 4:25:06 PM] ---
[7/18/2018, 4:25:06 PM] Loading 1 platforms...
[7/18/2018, 4:25:06 PM] [Ecobee] Initializing Ecobee 3 Sensors platform...
[7/18/2018, 4:25:06 PM] Loading 1 accessories...
[7/18/2018, 4:25:06 PM] [Garage Door] Initializing Chamberlain accessory...
[7/18/2018, 4:25:07 PM] [Ecobee] Cached | Thermostat Temperature | undefined
Setup Payload:
X-HM://0023ISYWY8BF9
Scan this code with your HomeKit app on your iOS device to pair with Homebridge:
// REMOVED
Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:
// REMOVED

[7/18/2018, 4:25:07 PM] Homebridge is running on port 51826.
[7/18/2018, 4:25:07 PM] [Ecobee] Update sensors
[7/18/2018, 4:25:07 PM] [Ecobee] Cached | Thermostat Temperature | undefined
[7/18/2018, 4:25:07 PM] [Ecobee] [Thermostat Temperature] Initialized | undefined
[7/18/2018, 4:25:07 PM] [Ecobee] [Thermostat Temperature] 24.0°C
[7/18/2018, 4:25:07 PM] [Ecobee] [Thermostat Temperature]
[7/18/2018, 4:25:07 PM] [Ecobee] [Thermostat Temperature]
[7/18/2018, 4:25:07 PM] [Ecobee] Wait | 30 seconds
[7/18/2018, 4:25:38 PM] [Ecobee] Update sensors
[7/18/2018, 4:25:38 PM] [Ecobee] [Thermostat Temperature] 24.0°C
[7/18/2018, 4:25:38 PM] [Ecobee] [Thermostat Temperature]
[7/18/2018, 4:25:38 PM] [Ecobee] [Thermostat Temperature]
[7/18/2018, 4:25:38 PM] [Ecobee] Wait | 30 seconds
[7/18/2018, 4:26:10 PM] [Ecobee] Update sensors

@thatvirtualboy
Copy link
Author

In further testing, something in the HB config for this plugin is causing Homekit to not connect to HB. I removed the documented data from config.json (so it was as before with just my garage door data), cleared accessories and persist folder, and HB was able to be added to Homekit again.

@thatvirtualboy
Copy link
Author

Ok I've narrowed it down some. As soon as I add the App to my Cor's App page (by authorizing it with the code given when starting HB) it fails, and HB stops responding.
Strange, since it seems to be talking with the thermostat and printing the temperature.. but then as soon a I add the app HB fails.

@thatvirtualboy
Copy link
Author

I believe it has something to do with the sensors. Since all I have is the thermostat, it causes HB to fail, and/or cause Homekit to not want to connect to HB.. like it fails once it sees it has devices to configure (sensors) that it can't. I've set all the exclusions in config.json to true, except for thermostat temp but same behavior.

@thatvirtualboy
Copy link
Author

If I add homebridge before authorizing the app at the Cor's webpage, HB gets added, but says
Additional Setup Required
Add related accessories with "Homebridge"in the manufacturer's app.

@thatvirtualboy
Copy link
Author

Well that's my journey so far. We're so close! If I can provide any logs or information to help troubleshoot, please let me know! @vojtamolda

@vojtamolda
Copy link
Owner

It looks like a fun project and I'd love to take a look, @thatvirtualboy, but I'm not sure when I'll be able to find the time to do it, so I can't promise anything.

@thatvirtualboy
Copy link
Author

That you'd find this comical.. I opened an unrelated support case with Carrier regarding the Cor and the support tech's email and sig was plastered with "ecobee Support"

@dbknightx
Copy link

@vojtamolda

I realize this is an old "issue", but I've just started experimenting with HomeBridge and have a Carrier TP-WEM01 just like the one discussed in this thread. I may have gotten further than @thatvirtualboy. I've attached a debug log snippet below that shows the activity when a refresh is requested once every 30 seconds:

carrier cor.log

I have this configured with the default config.json platform configuration, with all 'exclude_*' properties set to false.

The net result is I've got a Temperature Sensor showing up that seems to be reading the correct temperature, but I don't have a Thermostat with the ability to change the usual thermostat related properties.

Seems like we are really close! Is there anything anybody can suggest to get this stubborn device working?

@dbknightx
Copy link

Here is what the accessory looks like in homebridge-config-ui:
Homebridge Config UI accessory

And here is the accessory detail:
Accessory Detail

@thatvirtualboy
Copy link
Author

Here is what the accessory looks like in homebridge-config-ui:
Homebridge Config UI accessory

And here is the accessory detail:
Accessory Detail

That’s awesome you were able to get the temp sensor added in. Definitely a step in the right direction! Thanks for sharing. Unfortunately I’ve abandoned my attempt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants