Tado component down (again?)

It happened last year when TADO changes something on their API, I don’t know if this is the same, but till yesterday at 5 PM the component works without issue, then I got the same error as last year: urllib.error.HTTPError: HTTP Error 422:
Now I cannot toggle the radiators and charts are not update anymore.

Anyone with the same error today?

2019-11-30 11:16:09 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.1908085680] HTTP Error 422: 
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 133, in handle_call_service
    connection.context(msg),
  File "/usr/src/homeassistant/homeassistant/core.py", line 1236, in async_call
    await asyncio.shield(self._execute_service(handler, service_call))
  File "/usr/src/homeassistant/homeassistant/core.py", line 1261, in _execute_service
    await handler.func(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
    self._platforms.values(), func, call, service_name, required_features
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 348, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 370, in _handle_service_platform_call
    await getattr(entity, func)(**data)
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 415, in async_set_hvac_mode
    await self.hass.async_add_executor_job(self.set_hvac_mode, hvac_mode)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/tado/climate.py", line 352, in set_hvac_mode
    self._control_heating()
  File "/usr/src/homeassistant/homeassistant/components/tado/climate.py", line 535, in _control_heating
    "HEATING",
  File "/usr/src/homeassistant/homeassistant/components/tado/__init__.py", line 139, in set_zone_overlay
    zone_id, overlay_mode, temperature, duration, device_type, "ON", mode
  File "/usr/local/lib/python3.7/site-packages/PyTado/interface.py", line 287, in setZoneOverlay
    data = self._apiCall(cmd, "PUT", post_data)
  File "/usr/local/lib/python3.7/site-packages/PyTado/interface.py", line 81, in _apiCall
    response = self.opener.open(req)
  File "/usr/local/lib/python3.7/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/local/lib/python3.7/urllib/request.py", line 641, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/local/lib/python3.7/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/local/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python3.7/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 422:

No one with the TADO component issue?

I have the HA log full of:

2019-11-30 22:58:46 ERROR (MainThread) [homeassistant.components.tado.device_tracker] Cannot load Tado data
2019-11-30 23:08:31 ERROR (MainThread) [homeassistant.components.tado.device_tracker] Cannot load Tado data
2019-12-01 01:17:51 ERROR (MainThread) [homeassistant.components.tado.device_tracker] Cannot load Tado data
2019-12-01 01:22:24 ERROR (MainThread) [homeassistant.components.tado.device_tracker] Cannot load Tado data
2019-12-01 02:35:12 ERROR (MainThread) [homeassistant.components.tado.device_tracker] Cannot load Tado data
2019-12-01 02:38:27 ERROR (MainThread) [homeassistant.components.tado.device_tracker] Cannot load Tado data
2019-12-01 02:45:36 ERROR (MainThread) [homeassistant.components.tado.device_tracker] Cannot load Tado data

The strange thing is that I can switch on/off the radiators from GUI, but since I cannot receive data from TADO, I cannot see radiator switched ON on lovelace GUI and no temperatures are recorded in charts

Hi, just to reply.
I have tado, thermostat + valves. No issue seen here.
I do see charts with flat lines. But that’s not tado related IMHO, as I see that with other devices too. HA issue I think.
Maybe it is local?.
Regards

Tado devices working fine, all curves and datasets showing as expected.

Thank you for reply. So what could be my issue? Is there any way to debug it to understand the root cause?

Hi all,

I’ve rewritten some of the tado code to be more stable. Could you guys try this code? I would like to have some more feedback before merging it.

Thanks!

1 Like

Have also seen charts with flat lines on tado sensors recently.

i have the same issue after update to 103.6

1 Like