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

[API] URL-Change: tccna.honeywell.com → tccna.resideo.com #177

Closed
shemege opened this issue Dec 12, 2024 · 11 comments · Fixed by #179
Closed

[API] URL-Change: tccna.honeywell.com → tccna.resideo.com #177

shemege opened this issue Dec 12, 2024 · 11 comments · Fixed by #179

Comments

@shemege
Copy link

shemege commented Dec 12, 2024

They changing domain from https://tccna.honeywell.com to https://tccna.resideo.com. Certificates don't match.
Change this domain everywhere in homebridge-evohome/lib/evohome.js and plugin will run again.

[Evohome] Error during login: Error: Hostname/IP does not match certificate's altnames: Host: tccna.honeywell.com. is not in the cert's altnames: DNS:TCCNA.resideo.com, DNS:TCCEU.resideo.com, DNS:TCCAP.resideo.com, DNS:TCCNAS.resideo.com, DNS:TCCEUS.resideo.com, DNS:TCCAPS.resideo.com

@luc-ass luc-ass changed the title tccna.honeywell.com [API] URL-Change: tccna.honeywell.com → tccna.resideo.com Dec 12, 2024
@luc-ass
Copy link
Owner

luc-ass commented Dec 12, 2024

Great catch!

@luc-ass
Copy link
Owner

luc-ass commented Dec 12, 2024

Okay, I've quickly created a fix in api-url-change. Would you be so kind and test it? I can't do it at the moment as I am away from home.

From the docs, changed for this branch:

# go to node module directory
cd node_modules
# remove homebridge-evohome and contents
rm -r homebridge-evohome
# recreate the folder
mkdir homebridge-evohome
# clone repo to folder
git clone --single-branch --branch api-url-change https://github.com/luc-ass/homebridge-evohome.git ./homebridge-evohome
# cd into folder
cd homebridge-evohome
# install plugin
npm install

@luc-ass luc-ass linked a pull request Dec 12, 2024 that will close this issue
@jdegouw
Copy link

jdegouw commented Dec 12, 2024

CONFIRMED IT IS WORKING:
image
[12/12/2024, 12:25:13] [Evohome] Stopping child bridge (will not restart)...
[12/12/2024, 12:25:13] Got SIGTERM, shutting down child bridge process...
[12/12/2024, 12:25:18] [Evohome] Child bridge process ended
[12/12/2024, 13:50:09] [Evohome] Initializing Evohome platform...
[12/12/2024, 13:50:09] [Evohome] Initializing child bridge
[12/12/2024, 13:50:11] [Evohome] Launched child bridge with PID
[12/12/2024, 13:50:11] Loaded 0 cached accessories from cachedAccessories..
[12/12/2024, 13:50:15] [Evohome] Loaded homebridge-evohome v0.11.1 child bridge successfully
[12/12/2024, 13:50:15] Loaded 0 cached accessories from cachedAccessories..
[12/12/2024, 13:50:15] [Evohome] Logging into Evohome...
[12/12/2024, 13:50:16] [Evohome] Logged into Evohome!
[12/12/2024, 13:50:16] [Evohome] You have 1 location(s). This instance will be using Index No 0
[12/12/2024, 13:50:16] [Evohome] You have 2 device(s).
[12/12/2024, 13:50:16] [Evohome] 0: Woonkamer (20.5°)
[12/12/2024, 13:50:16] [Evohome] 1: Serre (18.5°)
[12/12/2024, 13:50:16] Initializing platform accessory 'Woonkamer Thermostat'...
[12/12/2024, 13:50:16] Initializing platform accessory 'Serre Thermostat'...
[12/12/2024, 13:50:16] Initializing platform accessory 'Evohome Away Mode'...
[12/12/2024, 13:50:16] Initializing platform accessory 'Evohome Day Off Mode'...
[12/12/2024, 13:50:16] Initializing platform accessory 'Evohome Heating Off Mode'...
[12/12/2024, 13:50:16] Initializing platform accessory 'Evohome Eco Mode'...
[12/12/2024, 13:50:16] Initializing platform accessory 'Evohome Custom Mode'...
[12/12/2024, 13:50:17] Homebridge v1.8.5 (HAP v0.12.3) (Evohome) is running on port 58845.
[12/12/2024, 13:50:17]

image

@PuzzledUser
Copy link

I came here and discovered this thread after doing a manual search and replace for tccna.honeywell.com with tccna.resideo.com in evohome.js after I discovered a certificate mismatch.

 Error [ERR_TLS_CERT_ALTNAME_INVALID]: Hostname/IP does not match certificate's altnames: Host: tccna.honeywell.com. is not in the cert's altnames: DNS:TCCNA.resideo.com, DNS:TCCEU.resideo.com, DNS:TCCAP.resideo.com, DNS:TCCNAS.resideo.com, DNS:TCCEUS.resideo.com, DNS:TCCAPS.resideo.com
    at Object.checkServerIdentity (tls.js:297:12)
    at TLSSocket.onConnectSecure (_tls_wrap.js:1507:27)
    at TLSSocket.emit (events.js:315:20)
    at TLSSocket._finishInit (_tls_wrap.js:932:8)
    at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:706:12) {
  reason: "Host: tccna.honeywell.com. is not in the cert's altnames: DNS:TCCNA.resideo.com, DNS:TCCEU.resideo.com, DNS:TCCAP.resideo.com, DNS:TCCNAS.resideo.com, DNS:TCCEUS.resideo.com, DNS:TCCAPS.resideo.com",

All good for me now

@jdegouw
Copy link

jdegouw commented Dec 12, 2024

The change Lucas made is more friendly. You can now change the URL only once and not on 4 or 5 positions.

@PuzzledUser
Copy link

The change Lucas made is more friendly. You can now change the URL only once and not on 4 or 5 positions.

Yes, I agree. I had already done it and couldn't find the Lucas source, just the diff. Good we're back up and working. Thanks both!

@jdegouw
Copy link

jdegouw commented Dec 12, 2024

# go to node module directory
cd node_modules
# remove homebridge-evohome and contents
rm -r homebridge-evohome
# recreate the folder
mkdir homebridge-evohome
# clone repo to folder
git clone --single-branch --branch api-url-change https://github.com/luc-ass/homebridge-evohome.git ./homebridge-evohome
# cd into folder
cd homebridge-evohome
# install plugin
npm install

This was the solutio to change the version on your homebridge.

@PuzzledUser
Copy link

Yup, better than the 11 inline changes I made! 🤣

@luc-ass
Copy link
Owner

luc-ass commented Dec 12, 2024

Okay, back home. Thanks for all the feedback! I'll quickly review the changes and publish an official release later today.

@behdaad
Copy link

behdaad commented Dec 12, 2024

Thanks. I appreciate the time you're putting into this.

@luc-ass luc-ass linked a pull request Dec 12, 2024 that will close this issue
@luc-ass
Copy link
Owner

luc-ass commented Dec 12, 2024

Okay, I've changed a few more things around. I'd appreciate it if you would test once again. #179 otherwise seems ready for publishing.

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

Successfully merging a pull request may close this issue.

5 participants