nitaybz / homebridge-tado-ac

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

Fan will not switch on #137

Open bsrobinson opened 3 months ago

bsrobinson commented 3 months ago

I'm having issues using the 'Fan' mode in the plugin.

Everything looks good, and appears correctly. The AC controls also work exactly as expected.

However, when I switch the fan on it just turns itself back off after a short time, the dehumidifier does the same thing. The message doesn't seem to be making through to Tado, as nothing happens.

Any ideas what I can try?

The config is unchanged (all default) I'm running Homebridge on macOS Big Sur with Node v20.15.0

Thanks, Ben

bsrobinson commented 3 months ago

Just spotted the logs:

[6/26/2024, 11:58:15 AM] [homebridge-tado-ac] Master Bedroom AC  -> Setting New State:
[6/26/2024, 11:58:15 AM] [homebridge-tado-ac] {
  "termination": {
    "type": "MANUAL"
  },
  "setting": {
    "type": "AIR_CONDITIONING",
    "power": "ON",
    "mode": "FAN",
    "temperature": {
      "fahrenheit": 77,
      "celsius": 25
    },
    "swing": "OFF"
  }
}
[6/26/2024, 11:58:15 AM] [homebridge-tado-ac] ERROR: Request failed with status code 422
[6/26/2024, 11:58:15 AM] [homebridge-tado-ac] ERROR setting mode to FAN
bsrobinson commented 3 months ago

Fixed it - hopefully correctly!

https://github.com/nitaybz/homebridge-tado-ac/pull/138