seydx / homebridge-tado-platform

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

Problem with AC control #95

Open Plexitar opened 2 years ago

Plexitar commented 2 years ago

Hi! thank you for the great work!

I have problem with TADO AC Control v.3 - in tado app i see from AC humidity and temprerature. Via tado platform I cannot control the AC and none of the sensor work.

From debug: [10/26/2021, 10:10:51 AM] [TadoPlatform] Lobzo: API request GET /api/v2/homes/448876/zones/5/state [10/26/2021, 10:10:51 AM] [TadoPlatform] Lobzo: API request GET /api/v2/homes/448876/zones/5/state [10/26/2021, 10:10:51 AM] [TadoPlatform] Lobzo: API request GET /api/v2/homes/448876/zones/5/state {"tadoMode":"HOME","geolocationOverride":false,"geolocationOverrideDisableTime":null,"preparation":null,"setting":{"type":"AIR_CONDITIONING","power":"OFF"},"overlayType":null,"overlay":null,"openWindow":null,"nextScheduleChange":{"start":"2021-10-26T20:00:00Z","setting":{"type":"AIR_CONDITIONING","power":"ON","mode":"DRY","fanLevel":"SILENT","verticalSwing":"ON","horizontalSwing":"ON"}},"nextTimeBlock":{"start":"2021-10-26T20:00:00.000Z"},"link":{"state":"ONLINE"},"activityDataPoints":{"acPower":{"timestamp":"2021-10-08T17:38:39.428Z","type":"POWER","value":"OFF"}},"sensorDataPoints":{"insideTemperature":{"celsius":19.95,"fahrenheit":67.91,"timestamp":"2021-10-26T10:03:48.593Z","type":"TEMPERATURE","precision":{"celsius":0.1,"fahrenheit":0.1}},"humidity":{"type":"PERCENTAGE","percentage":56,"timestamp":"2021-10-26T10:03:48.593Z"}}} [10/26/2021, 10:10:51 AM] [TadoPlatform] TypeError: Cannot read property 'celsius' of undefined at updateZones (/homebridge/node_modules/homebridge-tado-platform/src/helper/handler.js:884:49) at processTicksAndRejections (internal/process/task_queues.js:93:5) at getStates (/homebridge/node_modules/homebridge-tado-platform/src/helper/handler.js:607:32)

ArtemKiyashko commented 2 years ago

Confirm AC control not supported at the moment. Is there a chance to get it working someday?