seydx / homebridge-tado-platform

Homebridge plugin for controlling Tado devices
MIT License
126 stars 65 forks source link

Cannot connect to Tado: ECONNREFUSED #135

Open adspen opened 1 year ago

adspen commented 1 year ago

Hello

I've repeatedly had problems configuring this plugin with Homebridge. The 'auto configuration' tool works really well and I enter my Tado username and password. It connects correctly and reads all my Tado devices and configuration.

However it has so far never connected to the API within Homebridge (I set it up days ago).

I've turned on debug logging and get the following every time it tries to connect:

[1/13/2023, 5:13:18 PM] [TadoPlatform] House: Polling Zones... [1/13/2023, 5:13:18 PM] [TadoPlatform] House: Checking access token.. [1/13/2023, 5:13:18 PM] [TadoPlatform] House: Access token NOT expired [1/13/2023, 5:13:18 PM] [TadoPlatform] House: Using https://my.tado.com [1/13/2023, 5:13:18 PM] [TadoPlatform] House: API request GET /api/v2/homes/9999999/zones [1/13/2023, 5:13:22 PM] [TadoPlatform] House: API request GET /api/v2/homes/9999999/zones connect ECONNREFUSED ::1:443 [1/13/2023, 5:13:22 PM] [TadoPlatform] House: {"code":"ECONNREFUSED","message":"Cannot reach Tado. No response received."}

(note my house name and house ID I've replaced above for privacy)

Any thoughts? Thanks in anticipation.

Alex