My first words to thank you all (devs and community) for this great piece of software that allows me to have a lot of fun in my spare time. My knowledge in computers and electronics is rather limited (mechanical engineer) but not my will to learn all your advices. So here is the question:
Anyone got GPSLogger working in HASS 0.34.1? I have but partially. First of all I have to say that I really don’t know if this is a bug from HASS o from GPSLoger (or from my brain). Let me explain a little bit.
I followed the instructions here: GPSLogger - Home Assistant (missing https:// because I can only post two links)
So setting up GPSLoger is as easy as include this lines in config file:
device_tracker:
- platform: gpslogger
Being home with my local network, I got this working in the Android app by setting as URL:
http://192.168.0.8:8123/api/gpslogger?latitude=%LAT&longitude=%LON&battery=�TT&device=%SER&accuracy=�C
HASS logger says:
INFO:homeassistant.components.http:Serving /api/gpslogger to 192.168.0.197 (auth: True)
INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: entity_id=device_tracker.lw067088, new_state=<state device_tracker.lw067088=home; longitude=REDACTED, gps_accuracy=20, battery=60.000004, latitude=REDACTED, friendly_name=Dad @ 2016-12-06T23:38:37.944962+01:00>, old_state=<state device_tracker.lw067088=home; longitude=REDACTED, gps_accuracy=22, battery=61.0, latitude=REDACTED, friendly_name=Dad @ 2016-12-06T23:38:37.944962+01:00>>
For the tests I have performed here I did not setup the api_password in HASS (yes, I know the implications but I wanted to keep it as simple as I could) so I have access to my little raspberry-pi from outside and this works properly when I disable the WIFI in my Android phone, leave mi local network and go to myserver:8123 (missing http:// because I can only post two links). HASS logger says:
INFO:homeassistant.components.http:Serving / to RED.ACT.ED.32 (auth: True)
INFO:homeassistant.components.http:Serving /api/bootstrap to RED.ACT.ED.32 (auth: True)
Now I setup to GPSLogger the URL: http://myserver:8123/api/gpslogger?latitude=%LAT&longitude=%LON&battery=�TT&device=%SER&accuracy=�C but nothing appears in HASS logger.
Maybe we are facing a PEBKAC here but any hint or suggestion will be welcome. Thanks!
Tim