With this app you can define geofences like Home, Work or School. Whenever you enter or leave a geofence, you can let Homey know and Homey can act on this event.
Presence and Location has several flow cards that can be used: - a card that will trigger when entering the specified geofence. - a card that will trigger when leaving the specified geofence. - a card that will trigger on a enter / leave event on the specified geofence. This card provides a tag that contains the event (i.e. the values can be enter or leave). - a card that checks if there is one or more people in a given geofence. - a card that triggers homey when the battery percentage of your phone is below a defined percentage.
This app supports the following activity cards: - a card that let Homey speak out the current location of the user specified.
Speech support: - You can ask Homey what the location of a user is. Homey will tell the name of the geofence. When the user is not in a geofence, Homey will try to find the adress based on the current coordinates of the user (using OpenStreet Maps).
How does it work?
Every user needs to install a app on his or her phone that supports the Owntracks specification and needs to be connected to your Homey. Apps for iOS and Android van be found in the Google Play Store or Apple store.
In the apps you can specify the geofences and give names to them. The geofences will automatically be added in the Presence and Location app on Homey. The apps on your phone will transmit location data to your Homey and will tell Homey when you enter or leave a geofence.
How to connect
There are two ways to connect your phone to Homey. First you can connect using the cloud environment from Athom. This is the easiest way and does not need any other apps. You just generate a token in the Homey app and enter a URL in the app on your phone. You can see a tutorial here.
The most secure solution is to use your own MQTT broker or create a private one in the cloud. CloudMQTT is a MQTT hosting service that has a free hosting plan. See my tutorial