Offline Location Data Storage for Continuous History

Problem: Currently, the Home Assistant mobile app does not store location data when there is no internet connection. This results in gaps in the location history, as shown in the attached screenshot. These gaps are bridged by straight lines between points where the connection was restored, which disrupts the continuity of the displayed route.

Proposed Solution: Introduce a feature where the mobile app stores location data locally during periods of no internet connectivity. Once the connection is re-established, the app should synchronize the locally stored data with the server. This will ensure that the location history is continuous and complete, even when there are interruptions in connectivity.

Expected Behavior: The app continuously logs location data, even offline, and uploads it to the server once the connection is restored. The route displayed on the map should be smooth and uninterrupted.

Actual Behavior: When there is no internet connection, location data is not recorded. This results in straight lines connecting the last known location and the next recorded point after the connection is restored, causing gaps in the location history.

Attached Screenshot: The screenshot illustrates the issue with gaps in the location history. During the periods of no connectivity, the route is not tracked, leading to straight lines between restored connection points.

That’s a good FR, but vote for it :slight_smile:

what do you expect to gain automation wise by backlogged data? sure the graphs dont look pretty but is that all? not like you can automate on things in the past.