GPSLogger on Hassio

Good afternoon.

GPS Logger used to work for months in older versions now it stopped and I can get it to work like before, even after following the official instructions.

Is anyone running succesfully GPSLogger on Hassio RPi after 0.86 ?
Can you provide with clear instructions?
Any reliable alternatives with low battery consumption on an android cellphone?

Thank you

GPS Logger works just fine. There was a change a few major releases ago that changed how it’s implemented.

Set it up in integrations and and follow the directions. It works.

I did. When I try to send from GPS Logger on cellphone to hassio webhook, log shows a code 422 error message:unprocessable entity.

Even if i delete all device_tracker entities and restart hassio, error log is the same on GPS Logger on cellphone.

Sounds like the body isn’t set correctly. Just to verify you’re doing a POST?

Correct a POST.

The http body is a cp from the instructions
plus the no-ip:port part in the beggining and the hassio pass at the end.

There should be no password

This is the only documentation you need for it

Looks like it works now.

Steps that I took to work:
Removed the password from the end of the http body.
Replaced device=%DEVICE_NAME from the http body with device=george
(with device=%DEVICE_NAME didn’t work for me)

After this I got a new entity in known_devices.yaml named george
I got nothing in device_trackers.yaml
In configuration.yaml i added a

map:
entities:
- zone.home
- device_tracker.george

I got the badge of device_tracker.george showing me home on top of the main view.
I will check the map tomorrow when I leave from home.

Thank you very much for the assistance.

I feel like the new integration isn’t updating in hassio as frequently?

How do you set the update interval?

I know how to do it in the app (I have 30 sec set).

Do I need to adjust something in hassio?

I feel like I’m getting like 1/2hr updates…

@flamingm0e ?

Update interval is set on GPS Logger settings performance logging interval

Yeah I found that one in the app and set it to 30 sec, but it still doesn’t seem to be updating very regularly in hassio? I thought that maybe the app logging interval and Hassio update interval were separate?

With the old integration approach, you used to also be able set interval_seconds under the relevant device_tracker in your config, which I always assumed had an affect?

Maybe my issue is elsewhere…

When GPS Logger pushes an update it should be immediate. The server doesn’t poll the GPS Logger

Ok. Makes sense. Thanks for clarifying.

Tried the same setup as George v above and get error in configuration. Yaml check saying entities not intergrated. GPS logger seems like it is working on phone ( no errors). No device showing in HA.

When you use integrations it will not add anything to yaml (aside from known devices).

Read the hassio logs (the file not the web GUI) when you have the GPS logger on the page where you configure the http logging. The log file will tell you what’s wrong

Maybe check tracking is set to true in known devices? Simple, but It caught me out recently.

Where is the known devices set to true?

Always read the docs. :wink:

Thanks. I had thought that new devices were tracked by default? I’ll make the change and see if it works. Also looking into the log file to see if it shows a problem.

The docs also say that known devices yaml file is being phased out. So the discovery true should not matter?