I noticed that my gps logger wasn’t working anymore.
I get this error:
Error handling request
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/aiohttp/web_protocol.py”, line 381, in start
resp = await self._request_handler(request)
File “/usr/lib/python3.6/site-packages/aiohttp/web_app.py”, line 310, in _handle
resp = await handler(request)
File “/usr/lib/python3.6/site-packages/aiohttp/web_middlewares.py”, line 88, in impl
return await handler(request)
File “/usr/lib/python3.6/site-packages/homeassistant/components/http/static.py”, line 68, in staticresource_middleware
return await handler(request)
File “/usr/lib/python3.6/site-packages/homeassistant/components/http/real_ip.py”, line 27, in real_ip_middleware
return await handler(request)
File “/usr/lib/python3.6/site-packages/homeassistant/components/http/ban.py”, line 68, in ban_middleware
return await handler(request)
File “/usr/lib/python3.6/site-packages/homeassistant/components/http/auth.py”, line 52, in auth_middleware
return await handler(request)
File “/usr/lib/python3.6/site-packages/homeassistant/components/http/view.py”, line 104, in handle
result = await result
File “/usr/lib/python3.6/asyncio/coroutines.py”, line 210, in coro
res = func(*args, **kw)
File “/usr/lib/python3.6/site-packages/homeassistant/components/device_tracker/gpslogger.py”, line 86, in get
accuracy = int(float(data[‘accuracy’]))
ValueError: could not convert string to float: ‘�C’
But when I remove all the parameters except for LAT, LONG and device it works…
Thing is that I need it for my battery status…
Any progress or is it still not working for you? “The same Could not parse gps value for [devicename]: (’%LAT’, ‘%LON’)” error?
If I don’t remove direction, speed and altitude the test fails in GPSLogger app. And without them I get the fault message about unable to parse gps value. Same as you´re experiencing?
I’m also having issues. I have it set up correctly, I think, but when i try sending a custom query via browser, it looks ok, i see the followign in logs:
2018-08-31 11:56:13 INFO (MainThread) [homeassistant.components.http.view] Serving /api/gpslogger to 10.32.0.33 (auth: True)
2018-08-31 11:57:15 INFO (MainThread) [homeassistant.components.http.view] Serving /api/gpslogger to 10.32.0.33 (auth: True)
2018-08-31 11:57:23 INFO (MainThread) [homeassistant.components.http.view] Serving /api/gpslogger to 10.32.0.33 (auth: True)
I get a download in my browser with the following contents: Setting location for FA6BJ0303994