--- layout: page title: "Setting up presence detection" description: "Instructions how to setup presence detection within Home Assistant." date: 2015-10-4 12:08 sidebar: true comments: false sharing: true footer: true ---
We care about privacy. Collected data is only stored in your instance of Home Assistant.
Presence detection detects if people are home, which is the most important 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.
OwnTracks communicates directly with your MQTT broker; no data will pass through their servers.
### {% linkable_title Zones %}
Home Assistant will know the location of your device if you are using OwnTracks. By [setting up zones][zone] you will be able to add names to the locations of your devices. This way you can easily spot on the state page where the people in your house are and use it as [triggers][trigger] and [conditions][condition] for automation.
### [Next step: Setting up automation »](/getting-started/automation/)
[routers]: /components/#presence-detection
[nmap]: /components/device_tracker.nmap_tracker/
[ha-owntracks]: /components/device_tracker.owntracks/
[ha-locative]: /components/device_tracker.locative/
[mqtt-self]: /components/mqtt/#run-your-own
[mqtt-cloud]: /components/mqtt/#cloudmqtt
[zone]: /components/zone/
[trigger]: /getting-started/automation-trigger/#zone-trigger
[condition]: /getting-started/automation-condition/#zone-condition