Good morning,
I have problems with the platforms for TP-Link device tracker and Google Maps neither of them can start, one from a start-up error and one from a file reading error, does anyone know how to solve?
TP-Link error:
2018-08-01 16:33:22 ERROR (MainThread) [homeassistant.components.device_tracker] Unable to load /config/known_devices.yaml: Config file not found: /config/known_devices.yaml
2018-08-01 16:33:23 ERROR (SyncWorker_10) [homeassistant.components.device_tracker.tplink] AP didn't respond with JSON. Check if credentials are correct
2018-08-01 16:33:23 ERROR (SyncWorker_10) [homeassistant.components.device_tracker.tplink] Couldn't fetch auth tokens! Response was: <html><head><title>500 Internal Server Error</title></head><body><center><h1>500 Internal Server Error</h1></center></body></html>
2018-08-01 16:33:23 ERROR (SyncWorker_10) [homeassistant.components.device_tracker.tplink] Router didn't respond with JSON. Check if credentials are correct
2018-08-01 16:33:23 ERROR (SyncWorker_10) [homeassistant.components.device_tracker.tplink] Router didn't respond with JSON. Check if credentials are correct.
2018-08-01 16:33:23 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform tplink
Google Maps error:
2018-08-01 17:13:07 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform google_maps
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/device_tracker/__init__.py", line 183, in async_setup_platform
disc_info)
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/google_maps.py", line 41, in setup_scanner
scanner = GoogleMapsScanner(hass, config, see)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/device_tracker/google_maps.py", line 59, in __init__
hass.config.path(CREDENTIALS_FILE))
File "/usr/local/lib/python3.6/site-packages/locationsharinglib/locationsharinglib.py", line 367, in __init__
cookies_file=cookies_file)
File "/usr/local/lib/python3.6/site-packages/locationsharinglib/locationsharinglib.py", line 193, in __init__
if cookies_file and self._validate_cookie(cookies_file):
File "/usr/local/lib/python3.6/site-packages/locationsharinglib/locationsharinglib.py", line 220, in _validate_cookie
raise InvalidCookies(message)
the configuration of the two components is this:
device_tracker:
- platform: google_maps
username: [email protected]
password: password - platform: tplink
host: 192.168.1.2
username: “admin”
password: “password”
track_new_devices: True
interval_seconds: 12
consider_home: 180