TrackR ERROR

HASSIO on Ras Pi3

Not a programmer so no idea what is wrong. Any suggestions

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/homeassistant/components/device_tracker/__init__.py", line 155, in async_setup_platform
    disc_info)
  File "/usr/lib/python3.6/asyncio/futures.py", line 331, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup
    future.result()
  File "/usr/lib/python3.6/asyncio/futures.py", line 244, in result
    raise self._exception
  File "/usr/lib/python3.6/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/device_tracker/trackr.py", line 29, in setup_scanner
    TrackRDeviceScanner(hass, config, see)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/device_tracker/trackr.py", line 44, in __init__
    self._update_info()
  File "/usr/lib/python3.6/site-packages/homeassistant/components/device_tracker/trackr.py", line 62, in _update_info
    dev_id = slugify(trackr.name())
  File "/usr/lib/python3.6/site-packages/homeassistant/util/__init__.py", line 42, in slugify
    text = normalize('NFKD', text)
TypeError: normalize() argument 2 must be str, not None

Thanks

Looks like it has something to do with the name of the device you have. What do you have the name set to in the TrackR app?

The error kinda makes it sound like you don’t have a name set at all? Not sure if that is possible.

I am getting the same error all through my logs… my trackr device is named ‘TrackR’

Did you set the name to TrackR or is that a preset name?

I set it to that because I only have the one

I just tried doing that and I am not seeing that error. Can you try running the test script for pytrackr https://github.com/w1ll1am23/pytrackr/blob/master/src/test.py

And provide the output? You can remove the location from the output.

download the file and then run python3 test.py it should prompt you for username and password.

I changed the name of my devices in the trackR qpp on my phone and they just started working

Interesting. So did you have a name set to begin with? If you did I wonder why it wasn’t working.

Yeah but it didn’t pick it up. I have actually removed it from my config - wasn’t reliable enough and didn’t like leaving the app running in the background of my iPhone

That has been my experience. Completely unreliable.

I only have one, and I use it to track my dog to know if she is home or at my grandmother’s (she watches her during the day) I have an old android phone at her house and my phone on me.

With this setup things have been working reliably. I think the biggest problem is if Bluetooth doesn’t separate from the device, for example you have a trackr with you to track you at all times. Their app doesn’t report you location change often enough. However if you do what I am doing and Bluetooth isn’t always seeing the device it seems to work well.

Hopefully that made sense.