17-04-18 16:18:45 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform traccar
Traceback (most recent call last):
File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/device_tracker/__init__.py", line 159, in async_setup_platform
disc_info)
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/hass/.homeassistant/custom_components/device_tracker/traccar.py", line 28, in setup_scanner
TraccarDeviceScanner(hass, config, see)
File "/home/hass/.homeassistant/custom_components/device_tracker/traccar.py", line 41, in __init__
self._update_info()
File "/home/hass/.homeassistant/custom_components/device_tracker/traccar.py", line 49, in _update_info
self._device_data = json.loads(self._devices.text)
File "/usr/lib/python3.4/json/__init__.py", line 318, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.4/json/decoder.py", line 343, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.4/json/decoder.py", line 361, in raw_decode
raise ValueError(errmsg("Expecting value", s, err.value)) from None
ValueError: Expecting value: line 1 column 1 (char 0)
i rebooted my machine and traccar device tracker stopped working which got me thinking
the user that you use in the device tracker must be a administrator in the traccar platformâŚ
Do you use the admin user for the device tracker?
or is your user an admin?
Hi guys, is this component working as expected and will be available from official hass components ?
I am using API for fetching gps coordinates from traccar and showing it as google maps card, but I would like show position on map as other devices.
thanks
@koen01 Your original link to AliExpress doesnât work anymore but is it one of these.
If so what do you have to do to modify it to point at a different service, the one I linked to appears to be setup to work with TrackerHome. I would prefer to log to my own servers which I already do for my mobile.
Im not sure about how much data it uses. Depends on the tracker and update frequency I think.
500mb per month? I have no option to monitor the data use of my sim