great! looks good and i tried to test it right away. however i couldn’t test it, because i’m still on HA version 0.31.1 and you’re using hass.data which was introduced a little later than 0.31.1. i’ll test it later on another, up to date HA server.

ok, tried to run it on HA 0.35.3 and got SSL handshake errors:

17-01-03 14:40:35 homeassistant.bootstrap: Error during setup of component tado_v1
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 1318, in do_open
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1239, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1285, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1234, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1026, in _send_output
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 964, in send
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1400, in connect
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 401, in wrap_socket
    _context=self, _session=session)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 808, in __init__
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 1061, in do_handshake
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 683, in do_handshake
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)

i tried to disable verifying certificates, but can’t change the PyTado-Dependency locally. curiously when i use PyTado with my own simple scripts, i do not get SSL errors.

(i also did a fresh install of python3 and HA. installing. an install of pip3 install certifi didn’t help either.)

according to the poster of this hint, it’s „highly discouraged“ to do this, but it works. i added this to the top of the tado_v1.py file:

import ssl
ssl._create_default_https_context = ssl._create_unverified_context

I had the same problem on my mac (mac os sierra).

There semse to be a problem with python using the correct openssl version. I couldn’t fix this problem neither, but it did work on my raspberry pi with debian jessy.

It works great on Raspberry Pi HA 35.3. Thanks for your work and look forward to the updates :wink:

1 Like

Great! I will try to create a climate-device. When I figure out, how to change the temperature setting through the api :slight_smile:

hmm diplix posted the solution already! will try that for the next version!


i don’t know much about python programming, but i’m glad if i can assist, help out or test. i’ll also keep on watching the github-repo.

(oh, and i also got tado_v1 to run. works great and looks good.)

Thanks a lot! I was working on something similar and just by chance I found this.

Thanks for the custom component, it works great for the Smart Thermostat. I am also using a Smart Radiator Thermostat and the Climate function for that device isnt working correctly for me. It constantly shows 21 degrees for the schedule and doesnt show a current temperature.

The standalone temperature sensor works fine and shows correctly though.

Also what does the Overlay sensor relate to?

Sorry for asking a dump question, but in the source it is mentioned that https://github.com/wmalgadey/PyTado/archive/0.1.10.zip#PyTado==0.1.10’ is required. Do you have a hint how to install it? Thanks.

this is normaly installed by hass automatically.

Do you get an error message?

I do not own a radiator thermostat. I thought that tado hides the actual thermostats and just presents a zone! I am working on a hass release as an official component. Maybe try again with this component?

The Overlay sensor is just for information purpose. On my.tado.com the change to the temperature setting is done with an overlay type (manual, timer or “tado mode”).

1 Like

I have found the problem. diplix mentioned it already a few posts earlier - thanks:

according to the poster of this http://stackoverflow.com/questions/27835619/ssl-certificate-verify-failed-error, it’s „highly discouraged“ to do this, but it works. i added this to the top of the tado_v1.py file:

import ssl
ssl._create_default_https_context = ssl._create_unverified_context

Is there a possibility to get also the presence information from the tado response?
Thx manmac

This is already taken care of in pytado dependency!?

There is already an official tado presenc_detection component. (FYI my tado thermostat component is also finished to be merged into the hass repository)

If I use the standard config the presence data is not loaded. In the logfile I get this minimal entry:
Cannot load Tado data
After some investigation it seems to have it’s root cause in

Congrats that your thermostat component will be merged in the repository - like :slight_smile:

Hi, I can’t get the Tado component included in the HASS repository to work. Get the following error in the logs:

Any ideas what I could be doing wrong? Thanks

I recently extended my tado ecosystem with two radiator thermostats, and I guess the battery will not last as much as in the wall thermostat.
As asked here by another user Battery Level and Temperature Offset for Tado ,
Would it be possible to add the battery_level attribute to the tado thermostats component?



is possible to add support for multiple tado istance? Cause I have 2 house managed by tado and I can’t add more accounts to HA

1 Like

What is the right procedure for ask a feature enhancement for add multiple tado istance?

I know this is quite old, but does this still work? I always get authentification invalid. But I don’t know if there’s a special way to put the credentials.
I want to set and get the child lock feature using a PUT request