Core: Tado component - stopped working

Created on 14 Mar 2019  路  31Comments  路  Source: home-assistant/core

Home Assistant release with the issue:
0.88.2

Last working Home Assistant release (if known):
0.88.2

Operating environment (Hass.io/Docker/Windows/etc.):
Resin OS 2.3.0+rev1

Component/platform:
tado

Description of problem:
Tado invalid config

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Tado component stopped working without any change being made to the system.

First observed on March 2019-14

2019-03-14 20:24:05 ERROR (SyncWorker_8) [homeassistant.components.tado] Unable to connect to mytado with username and password

iOS app still works as intended.

EDIT: Solution proposed by duplex worked for me:
https://community.home-assistant.io/t/setup-failed-for-tado/105570/5?u=kugelfang

Most helpful comment

pyTado2 is updated to pyPi (python-tado 0.2.8). But I do not know if it is still compatible with current tado component, because we are waiting/doing some changes here!

All 31 comments

Same problem for me, works fine on the Tado app and Google Assistant but HA isn't working.

chrism0dwk/PyTado#6

thanks for that, is this something we can do ourselves or does it need to be done on the backend?

It needs to be resolved by PyTado. But that project's last commit was two years ago, I don't know if the author still have interest to maintenance it. I will suggest you guys try to reach out the author of even fix that lib by submit the pull request. If no response in reasonable time, maybe you need think about hard fork.

Second look that lib, it is GPL-licensed, we better find another alternative lib or write our own lib. I am not a lawyer, but in my opinion, this lib is not compatible with HA in terms of licensing.

There seem to be a fork that has been way more active in updating and i saw somthing about a change in auth in their commits.

https://github.com/wmalgadey/PyTado

also available in pypi

https://pypi.org/project/python-tado/

I created a pull request at chrism0dwk/PyTado#7 and wmalgadey/PyTado#12 for the PyTado library, that is used by the home assistant tado component to fix the problem. Hopefully the authors are active enough to merge my PRs and publish them.

Same problem for me. I can not fix it.
Hope it will work again in the next update.
After last update I get:

Invalid config
The following components and platforms could not be set up:

  • Tado
    Please check your config

Fix from https://github.com/chrism0dwk/PyTado/pull/7 works fine.

But there is another issue: ok, Tado component stopped working for some or other reason and throws an error into log every few seconds, but the climate entities and all related sensors continue to have "available" state and display stale data. All of them should become unavailable/unknown in case of an error.

Does it make sense?

pyTado2 is updated to pyPi (python-tado 0.2.8). But I do not know if it is still compatible with current tado component, because we are waiting/doing some changes here!

so, is it fixed? still not working in my HA 0.89.2

@dimitriy-k 0.89.2 was released before this changes. But the updates to the tado component are added to the current master branch of home-assistant.

Still doesn't work with 0.90

The same for me, it does not work in 0.90

There is a solution in #22208, please follow it

For me also not working.

22208 is not a solution for me.

I can not change the line 115 and 140 in the ~/site-packages/PyTado/interface.py
I hope it wil work only with adding the Tado component platform to confguration.yaml file....

As I stated in #22208, the problem is out of our control. The author of upstream lib published a buggy release which did not included the fix. I also help you guys submitted an issue in their repo. Nothing I can help if you cannot help yourself by following the workaround in #22208.

@all, I did upload the correct changes in 0.2.9 to pypi. Sorry for my incompetency on this. I will add a PR for this version to hass.

@wmalgadey is setting the mode to off working again in 0.2.9 then?

Nothing I can help if you cannot help yourself by following the workaround in #22208.
True, sorry for my incompetency also.
Hassio can be complicated for a basic computer user like me....

@SalkinDK https://github.com/home-assistant/home-assistant/pull/21909 contains this change including the new python-tado version.

works again with 0.90.1, thanks!

The same for me. Thank you.

@h4nc and @kimvonmullen is it possible to set the mode to OFF?

I can't answer that as I use it only to view the data of my tado ac control unit. The component was never able to control the device but listen to the sensor data.

By the way
To control it (on/off) via ifttt hooked to home assistant (as a workaround)

works for me as well in docker 0.90.1

@SalkinDK No, I cannot set it to off. All other modes work fine, but not off.

@SalkinDK I think we have to change something again in the pyTado-lib. I get a 422 when I try to use the on/off switch.

@wmalgadey Yes exactly. I use the Off mode alot when a window/door opens etc.
So would love for this to work again.
I get the same error.

For me all is fine again.
Thank you doe the fix !!!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

coolriku picture coolriku  路  3Comments

arangates picture arangates  路  3Comments

kirichkov picture kirichkov  路  3Comments

neonandu picture neonandu  路  3Comments

sh0rez picture sh0rez  路  3Comments