home-assistant.io/source/getting-started/presence-detection.markdown
cogneato a607910d89 Update to suggest Companion app (#11605)
* Update to suggest Companion app

Removed Owntracks suggestion for Android and point to HA Companion app for both iOS and Android

* replace redirecting ios link

replace /ios which was redirecting to companion.home-assistant.io

* Remove owntracks video

Remove video and add basic description of location setup for the Companion app

* Update source/getting-started/presence-detection.markdown

Co-Authored-By: Franck Nijhof <git@frenck.dev>

* Update source/getting-started/presence-detection.markdown

Co-Authored-By: Franck Nijhof <git@frenck.dev>

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2020-01-03 11:27:41 +01:00

2.5 KiB

title description
Setting up presence detection Instructions on how to setup presence detection within Home Assistant.

Presence detection detects if people are home, which is the most valuable input for automation. Knowing who is home or where they are, will open a whole range of other automation options:

  • Send me a notification when my child arrives at school
  • Turn on the AC when I leave work

Screenshot of Home Assistant showing a school, work and home zone and two people.

Adding presence detection

There are different ways of setting up presence detection. Usually the easiest way to detect presence is by checking which devices are connected to the network. You can do that if you have one of our supported routers. By leveraging what your router already knows, you can easily detect if people are at home.

It's also possible to run an app on your phone to provide detailed location information to your Home Assistant instance. For iOS and Android, we suggest using the Home Assistant Companion app.

During the setup of Home Assistant Companion on your mobile device, the app will ask for permission to allow the device's location to be provided to Home Assistant. Allowing this will create a device_tracker entity for that device which can be used in automations and conditions.

Zones

Zones allow you to name areas on a map. These areas can then be used to name the location a tracked user is, or use entering/leaving a zone as an automation trigger or condition. Zones can be set up from the integration page in the configurations screen.

The map view will hide all devices that are home.

Next step: Join the Community »