Location sharing and record the track

When you are out of home or have wifi turned off, can you turn on a light using the app?
Test that.

I’m starting to believe you do not have outside access.
Without that the phones can’t report their positions when they are any other place than home.

You specifically have to have excluded the entity or domain in the recorder settings. If you did not then it will be being recorded.

Yes yes i can, iv had outside access since the begining, im exposing the server using nginx proxy manager

No really! If there is no exclusion, but inclusions only, then only included entities are recorded and by default everything else is excluded.

No i havent excluded anything from the history records, right now it says that my last update was 3 days ago, idk how to force the updates more often

well he said that if i dont exclude the device, by default they are recorded, but u just said that if i dont include the device then it wont be recorded?

I’m saying that if you have no explicit exclusions in your config and only inclusions, then everything is excluded by default, except what was specifically included. So to some extend yes, there might be the case that if entity is not specifically included it will not be recorded.

Not sure if this is helpful, but I use sql to manually extract the data points and then use an online converter to convert it to a format that works with Google Earth – then I can see it in Google Earth with all its power…

For example:
- Export geolocations: Time, longitude, latitude, altitude

            (SENSOR=115; START=1738872000; END=1738880100; sqlite3 $DB "SELECT DATETIME(last_updated_ts, 'unixepoch', 'localtime'), shared_attrs FROM states JOIN state_attributes ON(states.attributes_id = state_attributes.attributes_id) WHERE metadata_id = $SENSOR AND last_updated_ts >= $START AND last_updated_ts <= $END" | sed 's/\([^|]*\)|.*latitude":\([^,]*\).*longitude":\([^,]*\).*altitude":\([^,]*\).*/\1\t\2\t\3\t\4/')

Then Convert to KML or KMZ using GPS Visualizer: Map a GPS data file with Google Earth (KML)
Then import to Google Earth

but i havent touch the config one way or the other, what should be the default behaviour then?

Default is everything is recorded, so that’s not your issue.

Check permissions on your phone & location settings in the HA app. If that doesn’t work then your next place to troubleshoot is the nginx proxy

then it should be recorded and issue is somewhere else :frowning:

i tried to give the app permision to check location all the time but still my location on home assistant shows as 4 days ago :frowning: