[ Under construction ] Geo location plugin (and app)

It’s time for Vera to be able to trigger scenes based on geolocation of phones.
To make this work we need to divide this into a plugin- and apppart.

Plugin part

  1. The plugin should be able to receive positions (or alarms) from a mobile device. Could we have a “master” device for this?
  2. The should be a way to create sub-devices where user can configure a mobile identifier, center geolocation and a radius (in meter or kilometer). When mobile device moves into the defined area the device turns “on”.
  3. Users can trigger scenes based on on/off state.

Mobile app
Here we have two choices.

  1. The app could be “dumb” and just report position at a given frequency or …
  2. We could put all logic in the client which only reports back to vera when it actually have to change state of geo-device in vera.

This is all up for discussion. Would really need some help building this. I could probably build the android client. But iPhones will never exist in my house.

What is the best strategy sending stuff into the vera from internet? How does the controller apps login and communicate?

If this enables my home or away scenes by checking my location via my iphone, that would be brilliant.

There is already a working solution for this, check my post in this thread:
http://forum.micasaverde.com/index.php?topic=9141.msg88241.msg#88241

Edit: it’s Android only though

Cool. Tested Homeauthomation HD (beta version) and Llama. Seems to work excellent.

Saved me alot of time :slight_smile:

Yeah, a Google Latitude plugin would solve this all real fast. I currently don’t have a “smart phone” bout would get one if there were a comprehensive Google Latitude plugin. Imagine the possibilities… You could track how many miles you have driven and get notifications of a needed oil change. Your house comes alive as you near it after work, or after you’ve been out of town, or… I currently have a home/away virtual switch. When I’m going to be gone for a while I set the house to away and I have to do it manually. Then I have to manually set it to coming home beore I get there and to home when I am there. It’s a PITA but does offer me some much appreciated automation.

I’m not holding my breath.

The only problem with Latitude is the long delay between refreshes :frowning:


via Samsung Galaxy S avec Tapatalk

How long is this delay?

[quote=“S-F, post:5, topic:173619”]Yeah, a Google Latitude plugin would solve this all real fast. I currently don’t have a “smart phone” bout would get one if there were a comprehensive Google Latitude plugin. Imagine the possibilities… You could track how many miles you have driven and get notifications of a needed oil change. Your house comes alive as you near it after work, or after you’ve been out of town, or… I currently have a home/away virtual switch. When I’m going to be gone for a while I set the house to away and I have to do it manually. Then I have to manually set it to coming home beore I get there and to home when I am there. It’s a PITA but does offer me some much appreciated automation.

I’m not holding my breath.[/quote]
As I just mentioned two posts above yours everything you mentioned can be done now with an Android smartphone.

[quote=“S-F, post:7, topic:173619”]How long is this delay?[/quote]I can’t give a real value. It depends of the use of the Google Maps application or not, of the GPS state (ON or OFF).
On my phone (International Samsgun Galaxy S 1); if GPS is ON and using another application (Waze), the delay is near 30 seconds. Else if the GPS is OFF, the Google Latitude location is taken from carrier or wifi networks and the delay is several minutes. I think Google Latitude is not accurate to do something for home automation.

But, any android phone with Tasker installed can update a Variable Container (or any device) with a GPS location every 2 minutes; or can say it is into or outside a zone in 1 minute or 2.