hass2geo

command module
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2024 License: MIT Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Home Assistant Geolocation Exporter

Exports geolocation data from your Home Assistant SQLite database.

Home Assistant can track your device (phone, table, etc) location if you have location sharing enabled in your Home Assistant companion app. See Home Assistant location documentation.

GeoJSON and GPX formats are supported.

Usage

You'll need direct access to Home Assistant's SQLite database. The database is typically located at config/home-assistant_v2.db.

You will also need the device ID you want to export location data from. You can find the device ID using the sensors subcommand:

hass2geo --db home-assistant_v2.db sensors

That will print a list of IDs and sensors like:

[5236] micro
[5246] mobster
[5255] mini
[5320] ipad

You can then use the export subcommand to export the location data:

hass2geo --db home-assistant_v2.db export --sensor-id 5236 --format geojson # exports `micro` location data
  • Timelinize - Can import geojson and gpx files exported with hass2eo and render a timeline.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址