I hope you are fine.
Since some days my presence detection is no longer working.
It worked now nearly a year.
Ist just Fritzbox and wifi, so its the fritzbox presence detection component.
Mostly a reboot of the FB solved the issue… not mostly … alle the time if it hangs reboot FB and issue solved.
No, this is no longer working.
I also updates and reboot the PI, so I am running on the latest version.
The problem is, I am not quite sure where to start the trouble shooting. Any ideas ?
Anyone fancy the same issue ?
I did not find any thing related in the search, just some old threads from 2016 but I do not think its still related to this
2018-11-11 15:04:17 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform fritz
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/fritzconnection/fritzconnection.py", line 376, in _get_action
service = self.services[service_name]
KeyError: 'Hosts:1'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site- packages/homeassistant/components/device_tracker/__init__.py", line 177, in async_setup_platform
platform.get_scanner, hass, {DOMAIN: p_config})
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.6/site- packages/homeassistant/components/device_tracker/fritz.py", line 31, in get_scanner
scanner = FritzBoxScanner(config[DOMAIN])
File "/usr/local/lib/python3.6/site- packages/homeassistant/components/device_tracker/fritz.py", line 63, in __init__
self._update_info()
File "/usr/local/lib/python3.6/site- packages/homeassistant/components/device_tracker/fritz.py", line 92, in _update_info
self.last_results = self.fritz_box.get_hosts_info()
File "/usr/local/lib/python3.6/site-packages/fritzconnection/fritzhosts.py", line 77, in get_hosts_info
while index < self.host_numbers:
File "/usr/local/lib/python3.6/site-packages/fritzconnection/fritzhosts.py", line 59, in host_numbers
result = self.action('GetHostNumberOfEntries')
File "/usr/local/lib/python3.6/site-packages/fritzconnection/fritzhosts.py", line 51, in action
return self.fc.call_action(SERVICE, actionname, **kwargs)
File "/usr/local/lib/python3.6/site-packages/fritzconnection/fritzconnection.py", line 405, in call_action
action = self._get_action(service_name, action_name)
File "/usr/local/lib/python3.6/site-packages/fritzconnection/fritzconnection.py", line 378, in _get_action
raise ServiceError('Unknown Service: ' + service_name)
fritzconnection.fritzconnection.ServiceError: Unknown Service: Hosts:1
no, i Meade a clean install yesterday, first it seems to worked fine, but now it seems the issue is kind of back, no 1 person can change state, and ne person is always home.
Did not had the yet to check, but the logs did not say anything right now