Tado device tracker async errors (0.37)

Hello,

Has anyone successfully set up the new tado device tracker in 0.37?

It doesn’t seem to work for me, and fills the error log with async errors…

[details=Summary] > 17-01-31 07:59:31 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
> Traceback (most recent call last):
> File “uvloop/future.pyx”, line 372, in uvloop.loop.BaseTask._fast_step (uvloop/loop.c:112669)
> File “/usr/src/app/homeassistant/components/device_tracker/init.py”, line 649, in async_device_tracker_scan
> found_devices = yield from scanner.async_scan_devices()
> File “/usr/src/app/homeassistant/components/device_tracker/tado.py”, line 65, in async_scan_devices
> yield from self._update_info()
> TypeError: ‘NoneType’ object is not iterable
> 17-01-31 07:59:32 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved[/details]

anyone? anyone? bueler?

Fill out a bug report here: https://github.com/home-assistant/home-assistant/issues/new

done. cheers

Have been looking into this to try to find out why it doesn’t work for me, and I have actually discovered that it was my tado password that contained a hash (#) symbol that was causing this issue. My new password only contains letters & numbers now and ta-da! (ta-do!) I now have new devices showing in known_devices

The errors in the log still show every 30 seconds but I think there has been a pr in dev to fix this

TL:DR don’t have # symbols in tado passwords!

Hi @jimbob1001, @Danielhiversen

I’m testing home assistant on Mac to check how does it works with TADO thermostat, I’ve checked` it out with native app, but it doesn’t work as well, I don’t have symbols in my password so I cannot see any device as known.

This is the output data:
17-04-13 12:00:56 ERROR (MainThread) [homeassistant.components.device_tracker.tado] Cannot load Tado data

How have you managed that?

Regards

Sorry, I’m not sure what exactly you are asking?

You’ve set up the device tracker as per the notes?..

device_tracker:
  - platform: tado
    username: tado_user
    password: tado_pass
    home_id: home_id

And found your home_id using instructions on this page?..

hi @jimbob1001,

Sorry I’m newbie in home assistant and maybe I’ve done something wrong.

I’ve only added this to configuration.yaml
device_tracker:
- platform: tado
username: [email protected]
password:xxxx
home_id: 17xxx

When I launch the hass open ui, there is nothing on the top and I cannot see Tado.
In the terminal window I can see:
17-04-15 00:28:28 ERROR (MainThread) [homeassistant.components.device_tracker.tado] Cannot load Tado data
If I add tado:
username: xxx
password: xxx
I can see tado as an invalid config.

So I don’t know how to visualize data on HA.

Thanks.

Firstly make sure you are running at least homeassistant version 0.37 as anything before this version it won’t work at all

From the side menu click on <> to show a list of all entities in homeassistant & you should have an entity called…

device_tracker.tadousername

Where tadousername is whatever you have called your device when you installed tado’s app.mine is named…

device_tracker.james_tado

Hi,
So There is something wrong because my version is 0.42.3 and the entity is:

persistent_notification.invalid_config The following components and platforms could not be set up: * discovery * tado Please check your config title: Invalid config

I’m reading all the steps 10 times and I should be easy :pensive:

I added to configuration.yaml after http: this:
device_tracker:
- platform: tado
username: [email protected]
password: Carxxxxxxxxx
home_id: 17xx

tado:
    username: [email protected]
    password: Carxxxxxxxx

Should I need to put it in a different place?? Should I need to do something more?? I only added this.

Can you post your full configuration.yaml code here, as that may help to troubleshoot?

this is the code:

homeassistant:
              # Name of the location where Home Assistant is running
              name: Home
              # Location required to calculate the time the sun rises and sets
              latitude: 41.3888
              longitude: 2.159
              # Impacts weather/sunrise data (altitude above sea level in meters)
              elevation: 30
              # metric for Metric, imperial for Imperial
              unit_system: metric
              # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
              time_zone: Europe/Madrid

            # Show links to resources in log and frontend
            introduction:

            # Enables the frontend
            frontend:

            # Enables configuration UI
            config:

            http:
              # Uncomment this to add a password (recommended!)
              # api_password: PASSWORD
              # Uncomment this if you are using SSL or running in Docker etc
              # base_url: example.duckdns.org:8123

            device_tracker:
              - platform: tado
                username: [email protected]
                password: Caxxxxx
                home_id: 17xxx

            # Checks for available updates
            updater:

            # Discover some devices automatically
            discovery:

            # Allows you to issue voice commands from the frontend in enabled browsers
            conversation:

            # Enables support for tracking state changes over time.
            history:

            # View all events in a logbook
            logbook:

            # Track the sun
            sun:

            # Weather Prediction
            sensor:
              platform: yr

            # Text to speech
            tts:
              platform: google

            group: !include groups.yaml

Hmmm, formatting seems messed up here. It should look more like this…

homeassistant:
  name: No. 33
  latitude: !secret latitude_home
  longitude: !secret longitude_home
  elevation: !secret elevation_home
  unit_system: metric
  time_zone: Europe/London
  packages: !include_dir_named includes/packages

#introduction:
#discovery:
updater:
frontend:
config:
sun:
conversation:
history:
device_tracker:
  - platform: tado
    username: !secret tado_user
    password: !secret tado_pass
    home_id: !secret home_id

EDIT: I have tried to format your code correctly (deleted all the comments just for ease). You could try renaming your current configuration.yaml to “old_configuration.yaml” then create a new configuration.yaml with this code?

homeassistant:
  name: Home
  latitude: 41.3888
  longitude: 2.159
  elevation: 30
  unit_system: metric
  time_zone: Europe/Madrid

introduction:
discovery:

frontend:
config:
updater:
conversation:
history:
logbook:
sun:

http:
# api_password: PASSWORD
# base_url: example.duckdns.org:8123

device_tracker:
  - platform: tado
    username: [email protected]
    password: Caxxxxx
    home_id: 17xxx

sensor:
- platform: yr

tts:
- platform:google

group: !include groups.yaml