Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Google Maps location sharing device tracker. #12301
This component uses Google Maps location sharing to track device location. This allows to track android devices without battery impact or having to install another app.
Uses https://github.com/costastf/locationsharinglib to fetch the locations of shared accounts.
Documentation is available at: home-assistant/home-assistant.io#4646
Example entry for
referenced this pull request
Feb 12, 2018
changed the title from
WIP: Google Maps location sharing device tracker.
Google Maps location sharing device tracker.
Feb 12, 2018
THing is, if we can use the ID as an internal tracker (check the MAC address for the router based tracking), we could name the device in a sensible way (my_phone, wife_phone, etc) as opposed to the current names required in know_devices.yaml, that are hard to remember.
@Esiravegna Slightly off-topic, but even without the entity registry you can already influence the
001710xxxxxx: => changing this to abc will change the entity_id from device_tracker.001710xxxxxx to device_tracker.abc hide_if_away: false icon: mac: 00:17:10:xx:xx:xx name: 001710xxxxxx => this is used as the device's friendly_name in the UI picture: track: false vendor: Casa Systems Inc. Changes are applied after restarting Home Assistant.
@fanaticDavid Thanks I'm aware of that. Thing is, somewhere in the structure the id generated by this component must reside, otherwise the tracking will not be there. I don't think is the MAC here, and if it is, problem is that the router presence detector also uses them, and thus we won't be able to use both methods.
TL;DR: I'd like to see a way to rename the device, keeping the google maps id and also use the other presence detectors, hence muy point.
Mar 30, 2018
6 checks passed
Please open an issue if you suspect a bug. If you need help please use our help channels:
Merged PRs should not be used for support or bug reports. Thanks!