Hi
I found this as I’m trying to set up trackers in Hassbian, basically so it knows when I’m home based on my mobile connecting to my Fritz!box 7590.
I’ve setup a user in Fritz called MadMax1412 and given it a password, although when I go to the IP address I’m only ever prompted for a password (no username visible or able to be selected) and for that I use the one that came with the box.
Anyway, my config in configuration.yaml is:
device_tracker:
- platform: fritz
host: 192.168.178.1
user: MadMax1412
password: not_telling
But on restarting, I get the following errors:
Error setting up platform fritz
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/device_tracker/init.py”, line 176, in async_setup_platform
platform.get_scanner, hass, {DOMAIN: p_config})
File “/usr/lib/python3.5/asyncio/futures.py”, line 380, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.5/asyncio/tasks.py”, line 304, in _wakeup
future.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/device_tracker/fritz.py”, line 31, in get_scanner
scanner = FritzBoxScanner(config[DOMAIN])
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/device_tracker/fritz.py”, line 47, in init
import fritzconnection as fc
File “/srv/homeassistant/lib/python3.5/site-packages/fritzconnection/init.py”, line 6, in
from .fritzconnection import (
File “/srv/homeassistant/lib/python3.5/site-packages/fritzconnection/fritzconnection.py”, line 39, in
from lxml import etree
ImportError: libxslt.so.1: cannot open shared object file: No such file or directory
And:
Unable to load /home/homeassistant/.homeassistant/known_devices.yaml: Config file not found: /home/homeassistant/.homeassistant/known_devices.yaml
Needless to say with the second one, there’s no known_devices.yaml file but from my research, it appears that there wouldn’t be until you set up trackers and it’s successfully scanned your router (which the first error message implies it can’t).
So, if when I go to 192.168.178.1 I’m only prompted for the password, what would that username be?
EDIT: Based on this page should I install the python 3 package? I’m running Hassbian on a Raspberry Pi 3+
Thanks in advance.