homebridge-tado-ac icon indicating copy to clipboard operation
homebridge-tado-ac copied to clipboard

Request failed with status code 422

Open georgecoca opened this issue 2 years ago • 2 comments

Hi. I'm running Hoobs on latest version 4.1.22 and I've installed this plugin through Hoobs UI. The configuration is the default one, nothing changed there. The accessories are added correctly but every time I want to set in HEAT or COOL mode I get the error code 422 (which seems to be related to authentication). My username and password are the same I use for Tado Account, in fact the plugin works fine getting the state and everything but only fails when i want to set / change the mode / temperature. The OFF option works okay. See here the log:

31/01/2022, 14:47:41Tado Ac Bridge TadoACLiving AC  -> Setting New State:
31/01/2022, 14:47:41Tado Ac Bridge TadoAC{
  "termination": {
    "type": "MANUAL"
  },
  "setting": {
    "type": "AIR_CONDITIONING",
    "power": "OFF"
  }
}
31/01/2022, 14:47:45Tado Ac BridgeTadoACLiving AC  -> Setting New State:
31/01/2022, 14:47:45Tado Ac BridgeTadoAC{
  "termination": {
    "type": "MANUAL"
  },
  "setting": {
    "type": "AIR_CONDITIONING",
    "power": "ON",
    "mode": "HEAT",
    "temperature": {
      "fahrenheit": 68,
      "celsius": 20
    }
  }
}
31/01/2022, 14:47:46Tado Ac Bridge TadoAC ERROR: Request failed with status code 422
31/01/2022, 14:47:46Tado Ac Bridge TadoAC ERROR setting mode to HEAT

georgecoca avatar Jan 31 '22 13:01 georgecoca