![]() So, when I am close to the beacon located inside my mailbox, the entity device_tracker.donn_dleeiphone changes to state Mailbox. The settings I used in the OwnTracks iOS app were donn for the UserID and dleeiphone for the DeviceID. I created a beacon named Mailbox and a Home Assistant zone also called Mailbox. In Home Assistant, the entity-id has the format: Tracking when your iPhone enters the beacon’s region Optionally, configure the OwnTracks integration to process region enter/leave events only (ignore location/GPS updates): owntracks:Īnd restart Home Assistant. Create a new zone for the regionĬreate a zone that matches the OwnTracks region to your Home Assistant configuration.yaml file: zone: This setting has been removed in the latest version of OwnTracks iOS (May 2020). NOTE: Some docs out there haven’t been updated and tell you to ensure share is enabled in the region’s settings. But then, why not use wifi-based presence? This would be something like a super-region that covers the whole house. You can also have multiple beacons with the same UUID and major/minor numbers, and spread them around the house. For example, some people organize their beacons by a single UUID for the whole museum, major number for a wing in the museum, and a minor number for an exhibit within a wing. You can also track on UUID and major number (no minor number). Else, enter the beacon’s major & minor numbers. If you are only tracking on UUID, leave major & minor numbers empty. In the region settings, give the region a name and add your beacon’s details:įor beacon-based regions (rather than GPS-based regions), the radius should be set to 0 (zero) per the docs. On the Regions screen, tap the “+” icon in the top-right to create a new region.Ī region in OwnTracks maps to a zone in Home Assistant.Tap “Regions” at the bottom of the main screen.In the OwnTracks app, create a region represented by your iBeacon/beacon: This must match the Home Assistant OwnTracks integration and is the shared key the iOS app and your Home Assistant backend will use to securely communicate region enter/leave events. For Secret encryption key enter the long string of characters that the Home Assistant OwnTracks integration gave you as encryption key.Leave Password empty, and enabled or disabled doesn’t matter.For UserID, enter your first name, alias/username, or any name you want (it will also be part of the entity-id).Create a DeviceID that will appear in the entity-id.Create a TrackerID (two letters, like initials for your first & last name).In the OwnTracks iOS app, follow the instructions just given by the Home Assistant OwnTracks integration to configure the app’s settings: Install the OwnTracks app from the Apple app store. “entity-id” in this article is the Home Assistant entity ID. Using the Home Assistant web-ui front-end, install the OwnTracks integration.Ĭonfiguration > Integrations > “+” icon, and search for “owntracks”.Ĭopy the instructions and especially the URL and “secret” it gives you and stash it somewhere safe. Article: How-to for RadBeacon Dot beacons Install the Home Assistant OwnTracks integration ![]() ![]() Setup your iBeacon/beaconįirst, setup & configure your iBeacon/beacon. Ditto for “It’s morning, and I have woken up” automations. ![]() It would also be nice to track when I’m in the bedroom for more than 2 hours, after 10pm, to trigger “I have gone to sleep” automations. When my iPhone is close to my mailbox would be a suitable trigger. I want Home Assistant to quickly know when I arrive home, and waiting for my iPhone to connect to my Unifi wifi is too slow, too late, because I don’t blast my wifi APs at full-power to reach very far outside. ![]()
0 Comments
Leave a Reply. |