nitaybz / homebridge-tado-ac

Homebridge plugin to support Tado Smart AC Control devices.
MIT License
40 stars 12 forks source link

Different errors when trying to set AC states #111

Open pespinel opened 3 years ago

pespinel commented 3 years ago
[07/09/2021, 22:13:16] [TadoAC] Salón AC  -> Setting New State:
[07/09/2021, 22:13:16] [TadoAC] {
  "termination": {
    "type": "MANUAL"
  },
  "setting": {
    "type": "AIR_CONDITIONING",
    "power": "ON",
    "mode": "DRY"
  }
}
[07/09/2021, 22:13:16] [TadoAC] Creating PUT request to tado° API --->
[07/09/2021, 22:13:16] [TadoAC] https://my.tado.com/api/v2/homes/xxx/zones/1/overlay
[07/09/2021, 22:13:16] [TadoAC] data: {"termination":{"type":"MANUAL"},"setting":{"type":"AIR_CONDITIONING","power":"ON","mode":"DRY"}}
[07/09/2021, 22:13:16] [TadoAC] ERROR: Request failed with status code 422
[07/09/2021, 22:13:16] [TadoAC] {
  errors: [
    {
      code: 'setting.notSupported',
      title: 'temperature required for mode DRY'
    }
  ]
}
[07/09/2021, 22:13:16] [TadoAC] ERROR setting mode to DRY
[07/09/2021, 22:13:18] [TadoAC] Salón AC -> Setting Target HeaterCooler State: COOL
[07/09/2021, 22:13:18] [TadoAC] Salón AC -> Setting AC state Active: true
[07/09/2021, 22:13:18] [TadoAC] Salón AC -> Setting Mode to COOL
[07/09/2021, 22:13:18] [TadoAC] Salón AC -> Setting Target HeaterCooler State: COOL
[07/09/2021, 22:13:18] [TadoAC] Salón AC -> Setting AC state Active: true
[07/09/2021, 22:13:18] [TadoAC] Salón AC -> Setting Mode to COOL
[07/09/2021, 22:13:19] [TadoAC] Salón AC  -> Setting New State:
[07/09/2021, 22:13:19] [TadoAC] {
  "termination": {
    "type": "MANUAL"
  },
  "setting": {
    "type": "AIR_CONDITIONING",
    "power": "ON",
    "mode": "COOL",
    "temperature": {
      "fahrenheit": 64,
      "celsius": 18
    }
  }
}
[07/09/2021, 22:13:19] [TadoAC] Creating PUT request to tado° API --->
[07/09/2021, 22:13:19] [TadoAC] https://my.tado.com/api/v2/homes/xxx/zones/1/overlay
[07/09/2021, 22:13:19] [TadoAC] data: {"termination":{"type":"MANUAL"},"setting":{"type":"AIR_CONDITIONING","power":"ON","mode":"COOL","temperature":{"fahrenheit":64,"celsius":18}}}
[07/09/2021, 22:13:19] [TadoAC] ERROR: Request failed with status code 422
[07/09/2021, 22:13:19] [TadoAC] {
  errors: [
    {
      code: 'setting.notSupported',
      title: 'fan level not in supported fan levels [SILENT, LEVEL1, LEVEL2, LEVEL3, LEVEL4, LEVEL5, AUTO]'
    }
  ]
}
dresken commented 2 years ago

I am seeing one of those too:

[1/17/2022, 9:33:45 AM] [TadoAC] Creating PUT request to tado° API ---> [1/17/2022, 9:33:45 AM] [TadoAC] https://my.tado.com/api/v2/homes/???????/zones/?/overlay [1/17/2022, 9:33:45 AM] [TadoAC] data: {"termination":{"type":"MANUAL"},"setting":{"type":"AIR_CONDITIONING","power":"ON","mode":"COOL","temperature":{"fahrenheit":77,"celsius":25}}} [1/17/2022, 9:33:46 AM] [TadoAC] ERROR: Request failed with status code 422 [1/17/2022, 9:33:46 AM] [TadoAC] { errors: [ { code: 'setting.notSupported', title: 'fan level not in supported fan levels [LEVEL1, LEVEL2, LEVEL3, AUTO]' } ] }