Hi everybody!
I just updated my ha to 0.36.1 (coming from 0.36), unfortunately the device track component with platform “fritz” is not working anymore, I get the error:
“Invalid Config, the following components could not be set up: -device_tracker.fritz. Please check your config”.
Since I didn’t change anything in my config, what should I do to fix the problem? Please tell me if you need more info
Please run the following command to see if it deliver some validation error:
hass --script check_config
Maybe the fritz device tracker itself has been modified?
Edit: just checked and I didn’t see anything that could have broke it…
I’m afraid something worst might have happened. I rebooted my system, and now ha is not starting anymore. I’ll investigate further and I’ll let you know. Thanks for the reply!
I’m a chicken
Everything was messed up so I rolled back to 0.36.0
Hi
I´m new in Home Assistant.
I want to activate Fritz Device Tracker but after changing configuration.yaml HA not starting anymore.
Is there something i have to do???
HA version 0.38.4 (Was hard to get that!!! A lot of discription don´t match with the AIO)
Troubleshooting-configuration <- it doesn’t start because your configuration file is invalid.
You can check it with command: hass --script check_config
@elvis85 check the log file - its in the same folder als your yaml config.
About the installation: I currently did a fresh installation with the AIO and found no miss match. The only thing changed recently is that the working directory is no longer called hass but homeassitant, which is not updated in all docus yet. But that is noted in the installation tutorial: https://home-assistant.io/getting-started/installation-raspberry-pi-all-in-one/
From my experience fritz works fine with 0.36 - 0.38.3.
Here is part of my config:
# Device tracking/Presence detection
device_tracker:
- platform: fritz
thx for quick respons
Perhaps I was too impatient. HA come up back again.
But now i get Invalid Config and no records in log.
My config also locks like cgtobi´s. Also add IP and User to the Config
if I put that in to Console I get back “Command not found”.
I also tryed
$ sudo su -s /bin/bash homeassistant
$ source /srv/homeassistant/bin/activate
$ hass --script check_config
I just upgraded to 0.38.4 and now I’m getting the same error message. It was definitly working up to 0.38.3.
Could you post your configuration? You probably have a wrong syntax in your configuration (check the space).
Maybe try without host and username, it should work without (if your user is still admin)
As simple as it can be. It worked until I upgraded to 0.38.4 (about four hours ago) from 0.38.3.
# Device tracking/Presence detection
device_tracker:
- platform: fritz
$ hass --script check_config
returns nothing.
And the front end shows invalid config for device_tracker.fritz.
Did you try to close dismiss the notification in the frontend and restart? Those sticky notification will stay until you dismiss them.
Sure, but it keeps coming back.
I noticed the following line in the systemd service status:
─18546 /srv/homeassistant/bin/python3 -m pip install --quiet fritzconnection==0.6 --upgrade --target /home/hass/.homeassistant/deps
Ok, I’m back up and running.
This is how I got things fixed for my setup, I ran
$ python3 -m pip install fritzconnection==0.6 --upgrade --target /home/hass/.homeassistant/deps
with home assistant being stopped. Once it had finished compiling I started HA and it started scanning perfectly.
Hi there,
im a collegue of elvis85 and can confirm that downgrading the version of fritzconnection like cgtobi has done solves the issue.
i looked in the code of the fritz module at https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/device_tracker/fritz.py
Line 18 says
REQUIREMENTS = [‘fritzconnection==0.6’]
which would be the reason only this version works…
ia am fine with the workaround but the module coder should consider to fix this in his script.
i will give him a hint to this thread
Well spotted.