The Vera Community forums have moved!

General => Remote Control => Topic started by: RichardTSchaefer on May 02, 2014, 01:06:07 pm

Title: Vera Proximity New Android Applications
Post by: RichardTSchaefer on May 02, 2014, 01:06:07 pm
This uses the Android's Location Services for Geo-Fencing.
Features:
A plugin to take advantage of the features of this app to facilitate home automation will be coming soon.
Title: Re: Vera Proximity New Android Applications
Post by: clippermiami on May 02, 2014, 01:11:15 pm
Richard, great to hear.

I've downloaded it and tried it but I get a STOP immediately on trying to open it. The background task is apparently running, the icon is in the notification bar. But if I try to open the app itself to configure it, it says it has stopped. The background icon goes away and reappears almost immediately but the app still does not open.

I installed it on an HTC One X+ running Android 4.1.1. Reported to you through Google Play also along with system data

FYI, l also  installed it on my Nexus 7 tablet and it mostly works. I say mostly because it does open and allow configuration but occasionally does crash.
Title: Re: Vera Proximity New Android Applications
Post by: Z-Waver on May 02, 2014, 02:16:04 pm
Price? The play store states that it works unlicensed for 30 days. What' the cost after that?

Will the afore mentioned plug-in be another $5?
Title: Re: Vera Proximity New Android Applications
Post by: SirMeili on May 02, 2014, 02:16:58 pm
Ok. So questions/comments:

1) I see that it needs registration. I'm fine with that, but maybe a popup the first time you open the app to let you know would be nice. I'm sure it has a grace period to "try it before you buy it", but I'm not sure, so I bought you a beer (paid for 1 license) :) I did not see this until after my test, so I may try and retest. Some of my other comments may then be moot.

2) Will it actually work without a registration license for a period of time? My initial test showed it did not work (I set an entry vera action AND tone, neither happened though it showed me outside the fence and then back in it). (I see the post above mine says 30days unlicensed, so never mind)

3) What is the "smallest" fence you would recommend? I did .02 since that is right around my lot. Understand that when opening the app, it actually had me pinpointed in the exact location on my log (My office). There was very little error in it's locating me.

4) When I leave or enter my fence, my phone is in a state of "wifi" confusion as it is trying to figure out if it can connect. Will the app attempt to resend the command X times until it knows it went through? I noticed when I left that I got a popup stating "No data connect". I think it was from this app. It could have been authomation though as I had it up to check on the multiswitch status

5) If the icon is not in the status bar, is it working? I found I had to open the app to get it to work. This seems like a bit of a hassle. Once it was up there, it stayed for a period of time. I'm hoping this works like iViri/iPhone locator in that it just runs in the background and I don't have to actively initiate the app.

I think that is it. I'm anxious to get this working so I can play with geofencing :)
Title: Re: Vera Proximity New Android Applications
Post by: SirMeili on May 02, 2014, 02:20:00 pm
Price? The play store states that it works unlicensed for 30 days. What' the cost after that?

Will the afore mentioned plug-in be another $5?

$5.50 per "client". I assume that means per phone/tablet/etc.
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on May 02, 2014, 03:18:01 pm
1) I see that it needs registration. I'm fine with that, but maybe a popup the first time you open the app to let you know would be nice.

I agree just so there is no question out the gate for some people.

3) What is the "smallest" fence you would recommend? I did .02 since that is right around my lot. Understand that when opening the app, it actually had me pinpointed in the exact location on my log (My office). There was very little error in it's locating me.
I would also like to see what people are using, but I think it comes down to how many false readings you get. Your GPS will bounce you around to certain extent because of satellite reception. Everyone will probley be different in this area. If you make it to small and you get false readings that you left then you need to widen it up a bit. Also to fix delays and wifi connection coming on when you get home, you might need to widen it out a bit also. 

4) When I leave or enter my fence, my phone is in a state of "wifi" confusion as it is trying to figure out if it can connect. Will the app attempt to resend the command X times until it knows it went through? I noticed when I left that I got a popup stating "No data connect". I think it was from this app. It could have been authomation though as I had it up to check on the multiswitch status
Also want to know how this app responds to no data connection, but I think that's all in the setting on how often it reports. Maybe a better understanding from Richard would be goo tho. I also see there is some instant report settings under the fence too.
"No data Connect" is authomation message.

5) If the icon is not in the status bar, is it working? I found I had to open the app to get it to work. This seems like a bit of a hassle. Once it was up there, it stayed for a period of time. I'm hoping this works like iViri/iPhone locator in that it just runs in the background and I don't have to actively initiate the app.
I doesn't stay in the status bar which is a good thing for me, I don't like to be cluttered. It does run in the background.

Richard how bad on the battery do you think this is going to be?
Title: Re: Vera Proximity New Android Applications
Post by: SirMeili on May 02, 2014, 03:39:41 pm
Preface:

It wasn't working before, but then I added another fence to do the "rapid update". That one worked, but my original never did. I deleted all the fences, which then caused the app to force close (bug?). When I reopened it a new fence was added and now that one works. I set it to .1 and walked out of my house and it triggered. A new question though:

1) How long does it take to resolve? I'm guessing that you're "polling" the location and I see a "reporting interval". I'm not sure if these two are tied, but I'm curious if it is in fact polling every once in a while, and if so what is the default polling interval. Another question is if "reporting interval" is tied to that polling.

3) What is the "smallest" fence you would recommend? I did .02 since that is right around my lot. Understand that when opening the app, it actually had me pinpointed in the exact location on my log (My office). There was very little error in it's locating me.

I have it set to .02 and I've had a couple of "entering/exit" notifications as my location pops in and out. not your problem, I just need to fine tune it some for my location. I do plan on testing this via voice/notifications before I put it into any use. I know that this is a tight location and I might be expecting too much right now, but testing will let me know. Since I work from home, I don't use "data" that much as I'm on Wifi so my phone lasts forever on a charge. A little extra GPS use won't hurt me that much.

4) When I leave or enter my fence, my phone is in a state of "wifi" confusion as it is trying to figure out if it can connect. Will the app attempt to resend the command X times until it knows it went through? I noticed when I left that I got a popup stating "No data connect". I think it was from this app. It could have been authomation though as I had it up to check on the multiswitch status
I think this was Authomation now. I haven't left my WiFi range yet, but I'll test that in a bit. Still interested in knowine what happens if there is no data connection at that point in time. Perhaps there can be a setting for "retry X times" and "retry every Y seconds/minutes". Or maybe you are checking for network connection and this just is not necessary ;)

5) If the icon is not in the status bar, is it working? I found I had to open the app to get it to work. This seems like a bit of a hassle. Once it was up there, it stayed for a period of time. I'm hoping this works like iViri/iPhone locator in that it just runs in the background and I don't have to actively initiate the app.
I think that is it. I'm anxious to get this working so I can play with geofencing :)

It doesn't seem to be up there all the time. Good. I like that it does pop up there and tell me when I'm entering/exiting fences, but I can't swipe it away. I think it does go away after a while, so no biggie.

So far, so good. I can't wait to see what the Vera App adds to this!
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on May 02, 2014, 04:01:54 pm
So what do you have your reporting interval set at under main settings? And is that seconds (im asumming) or min?

What do you have your rapid update set at under your fences?
Title: Re: Vera Proximity New Android Applications
Post by: mikee123 on May 02, 2014, 04:05:38 pm
I am using tasker and the autolocation plugin at the moment, but from what i read in your description and given my experience with all your other plugins i will probably move to your app/plugin combo. Do you think you will at some point integrate the app into tasker ?
Title: Re: Vera Proximity New Android Applications
Post by: SirMeili on May 02, 2014, 04:08:24 pm
So what do you have your reporting interval set at under main settings? And is that seconds (im asumming) or min?
It is blank, so it's using the "default". Now that I've look in the app, My guess this is for reporting "where" your phone is. Might be interesting for keeping track of kids under the guise of "Home automation". I could be wrong about this.

I do not know if it is seconds or minutes, but I'm guessing settings. I think, however, this setting is useless until the plugin for Vera is released.

What do you have your rapid update set at under your fences?
I had it set for .05 (I'm guessing this is "miles"?). Then I set it to do rapid update for 2 minutes. Of course it triggered while I was picking up my Son from my mom's house (2 streets over), so I didn't see the full affect. I plan on taking a drive shortly to test this out now that my main fence is working.
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on May 02, 2014, 04:50:11 pm
Quote
So what do you have your reporting interval set at under main settings? And is that seconds (im asumming) or min?

What do you have your rapid update set at under your fences?
THe reporting interval is hh:mm:ss. It will be used when my plugin is released. In addition to fences it will report some distance information back home/
That rapid update is 60 seconds ... but I might make it even faster based on battery strength. So I set it for 5:00 minutes  about 1 mile out .. I might stop at the post box.

Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on May 02, 2014, 05:10:39 pm
I am using tasker and the autolocation plugin at the moment, but from what i read in your description and given my experience with all your other plugins i will probably move to your app/plugin combo. Do you think you will at some point integrate the app into tasker ?

I'm also using Tasker and AutoLocation, but if you switch over why would still want to use Tasker? What other things does tasker do that I might be missing out on? I currently only use it for geofencing.
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on May 02, 2014, 05:23:26 pm
That rapid update is 60 seconds ... but I might make it even faster based on battery strength. So I set it for 5:00 minutes  about 1 mile out .. I might stop at the post box.

Sorry I think I didn't quiet understand. The default is 60 secs sounds like.

You might make it faster which would be less then 60 secs right? Then you say you set it for 5:00 minutes which seems much slower.

I lock my doors when I leave but I forget sometimes and have it set up to check and re-lock. I live in a densely populated area and would like this to happen while I'm in some sight of the house or maybe a block over. So a mile or 5 min. for me would be to long.


Few more questions:

Also rapid update time is only the time when the APP checks with Android to see your current location correct?

The app currently only reports or checks in with Vera when the phone has detected it crossed a geofence right? But your saying the reporting interval is going to change that to be able to check in with vera more often rather then only when a geofence has been crossed?
Title: Re: Vera Proximity New Android Applications
Post by: mikee123 on May 02, 2014, 05:59:54 pm
@integlikewhoa
I am using tasker for quite a few things, i am automating my phone more and more. Vera integration is just a part of it. I use the geofence not only to switch the house to 'home', but also turn the screen lock off when i am at home, and back on when i leave. I turn sound volumes and ringtones down when i am at work, and back up when i leave. Also i use NFC tiles to put the phone into car mode, which reads text messages to me, announces callers, turns on bluetooth, turns the screen lock off... and i keep finding more things i can do... i am starting to experiment with ibeacons now... they are also integrated into tasker.
So lots of reasons for me to want tasker integration. I can work around it if it didnt work, but it would be easier if it was integrated. I also find that the Vera alerts feedback sent to my phone is not always that reliable (thats another mystery i will try to solve at some point), so i rather do it all via tasker and autolocation - hence the wish for integration into tasker
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on May 02, 2014, 06:05:26 pm
@integlikewhoa
I am using tasker for quite a few things, i am automating my phone more and more. Vera integration is just a part of it. I use the geofence not only to switch the house to 'home', but also turn the screen lock off when i am at home, and back on when i leave. I turn sound volumes and ringtones down when i am at work, and back up when i leave. Also i use NFC tiles to put the phone into car mode, which reads text messages to me, announces callers, turns on bluetooth, turns the screen lock off... and i keep finding more things i can do... i am starting to experiment with ibeacons now... they are also integrated into tasker.
So lots of reasons for me to want tasker integration. I can work around it if it didnt work, but it would be easier if it was integrated. I also find that the Vera alerts feedback sent to my phone is not always that reliable (thats another mystery i will try to solve at some point), so i rather do it all via tasker and autolocation - hence the wish for integration into tasker

Thanks for the info, I knew it had alot of uses, just never looked into them really.
Title: Re: Vera Proximity New Android Applications
Post by: SirMeili on May 02, 2014, 06:37:51 pm
That rapid update is 60 seconds ... but I might make it even faster based on battery strength. So I set it for 5:00 minutes  about 1 mile out .. I might stop at the post box.

Sorry I think I didn't quiet understand. The default is 60 secs sounds like.

You might make it faster which would be less then 60 secs right? Then you say you set it for 5:00 minutes which seems much slower.

I lock my doors when I leave but I forget sometimes and have it set up to check and re-lock. I live in a densely populated area and would like this to happen while I'm in some sight of the house or maybe a block over. So a mile or 5 min. for me would be to long.


Few more questions:

Also rapid update time is only the time when the APP checks with Android to see your current location correct?

The app currently only reports or checks in with Vera when the phone has detected it crossed a geofence right? But your saying the reporting interval is going to change that to be able to check in with vera more often rather then only when a geofence has been crossed?

I think the "rapid update" time is 60 seconds instead of a faster time. I'm unclear what the normal polling rate is.

So, for instance, in tonight's test, I set up a "rapid update" fence that is .05 miles from my house. I checked the "rapid update" box and set the length of time for the rapid update to be "5:00" (do the rapid update for 5 minutes). Then I have a smaller "fence" in that fence that is my actual house. The rapid update means it will poll more often so that within a minute or so of being inside my "house" fence, it will trigger as entering it. I do know that without the "rapid update" it does take longer to trigger that I'm home (I did this by just walking out side of my Home fence), but I don't know that timing yet.

It literally told me I was in my "house" fence as I pulled into the area (monitored via Google Maps). However, even if it takes a minute, once pulling in the drive it takes me about a minute to get out of the car and get close, so I think I'm good.

Other uses:

1) When I am within a mile of home and it's night, turn on the front outside lights. This may trigger if it's night and I drive by, but you can have a PLEG to turn them off (or in my case, reset the SmartSwitch) when you exit the fence again.

2) When you are within 1 mile of your house, use the Sonos plugin to announce you, your spouse or kids are on your way home (could be based on time of day as well).

3) When both you and your spouse (and any kids) are out of the house, make sure all the lights/appliances/Electronics are off. If you are gone for over 12 hours, put your house in Away/Vacation mode (maybe utilizing the "vacation ghost" plugin).

Something I am cautious about:

1) Unlocking your door because you are close to your house. I don't like this feature and I realize that some people do this or open their garages. I'm just too much of a security freak to do that. Now, this app has the feature to require you to "unlock" your phone to do a specific action, so I would consider doing the previous if I had to unlock my phone before the commands were sent to the Vera.

P.S. I got most of those examples from reading the threads about iPhone locator and iViri. I don't use apple products, so I was just waiting for an Android version that didn't require tasker (I use it, I just didn't want to use it for this).
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on May 02, 2014, 07:36:02 pm

I think the "rapid update" time is 60 seconds instead of a faster time. I'm unclear what the normal polling rate is.

So, for instance, in tonight's test, I set up a "rapid update" fence that is .05 miles from my house. I checked the "rapid update" box and set the length of time for the rapid update to be "5:00" (do the rapid update for 5 minutes). Then I have a smaller "fence" in that fence that is my actual house. The rapid update means it will poll more often so that within a minute or so of being inside my "house" fence, it will trigger as entering it. I do know that without the "rapid update" it does take longer to trigger that I'm home (I did this by just walking out side of my Home fence), but I don't know that timing yet.

It literally told me I was in my "house" fence as I pulled into the area (monitored via Google Maps). However, even if it takes a minute, once pulling in the drive it takes me about a minute to get out of the car and get close, so I think I'm good.

Other uses:

1) When I am within a mile of home and it's night, turn on the front outside lights. This may trigger if it's night and I drive by, but you can have a PLEG to turn them off (or in my case, reset the SmartSwitch) when you exit the fence again.

2) When you are within 1 mile of your house, use the Sonos plugin to announce you, your spouse or kids are on your way home (could be based on time of day as well).

3) When both you and your spouse (and any kids) are out of the house, make sure all the lights/appliances/Electronics are off. If you are gone for over 12 hours, put your house in Away/Vacation mode (maybe utilizing the "vacation ghost" plugin).

Something I am cautious about:

1) Unlocking your door because you are close to your house. I don't like this feature and I realize that some people do this or open their garages. I'm just too much of a security freak to do that. Now, this app has the feature to require you to "unlock" your phone to do a specific action, so I would consider doing the previous if I had to unlock my phone before the commands were sent to the Vera.

P.S. I got most of those examples from reading the threads about iPhone locator and iViri. I don't use apple products, so I was just waiting for an Android version that didn't require tasker (I use it, I just didn't want to use it for this).

Yea none of this is new. I been using Tasker for awhile now and more recently have gotten my router setup to watch for me and alert vera by MAC address. My lights come one and stuff not when I'm a mile away but when I pull up. Router has been much more accurate then tasker ever was. I think its because when I get home or leave I'm dropping or picking up wifi and phone is in between so it always has delays or is in consistent. I want mine to happen at a reliably in the same 100 yard gap.  With tasker some times I get home a light is on before I turn the block and sometimes light is on when I'm getting out of the car. I have 4 routers around the house already running DDWRT so I now got those setup to watch for when each of our phones connect by MAC address. I get that connection reliable only problem I have now is the disconnect. The Atheros routers I have don't disconnect fast. Router still shows me as a client for sometimes 5 min. after I have turned  wifi or disconnected on my phone. I don't have this problem with the broadcom routers, but haven't wanted to switch all over. Right now I'm using both systems one to switch on one to switch off. And I could never get rid of Geofence if I wanted to do something away from the house (or my router). So I continue to use each of the strong points.

http://forum.micasaverde.com/index.php/topic,24084.0.html
Title: Re: Vera Proximity New Android Applications
Post by: SirMeili on May 02, 2014, 08:01:11 pm
My examples were just examples I thought up really quick :). I likely would not turn on the lights 1 mile out, but you could. Like I said, it picked me up right as I hit my drive (the end of my "Fence"). That could have been a total coincidence, but it worked. I like your idea using the routers, but I unfortunately do not have a DDWRT compatible router at the moment due to business needs. I'm sure I could have do it with a DDWRT router, but at the time, it was easier to buy something that just did what I needed out of the box. This was before any HA concerns/needs of mine. I'm interested how you handle it as you bounce from router to router, but that is a discussion for another thread (perhaps the one you linked to).

I'm definitely interested in seeing what the Vera companion app adds to this Android app. I can't think of anything really "cool", so that means it's likely going to be super cool when I find out!
Title: Re: Vera Proximity New Android Applications
Post by: bucko on May 03, 2014, 08:04:35 pm
@integlikewhoa
I am using tasker for quite a few things, i am automating my phone more and more. Vera integration is just a part of it. I use the geofence not only to switch the house to 'home', but also turn the screen lock off when i am at home, and back on when i leave. I turn sound volumes and ringtones down when i am at work, and back up when i leave. Also i use NFC tiles to put the phone into car mode, which reads text messages to me, announces callers, turns on bluetooth, turns the screen lock off... and i keep finding more things i can do... i am starting to experiment with ibeacons now... they are also integrated into tasker.
So lots of reasons for me to want tasker integration. I can work around it if it didnt work, but it would be easier if it was integrated. I also find that the Vera alerts feedback sent to my phone is not always that reliable (thats another mystery i will try to solve at some point), so i rather do it all via tasker and autolocation - hence the wish for integration into tasker

BIG +1 on tasker!

I'd like to hear more detail on the router disconnect setup. I run 3 routers in my WiFi. 1 is a DDWRT, other 2 are Asus RT-AC66R's
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on May 04, 2014, 09:06:38 am
I will add a tasker  interface.
What do you expect from this ?
    Do you want to use this as a GeoFence front end for Tasker ... i.e. to cause tasker to run some commands as you exit/enter a perimeter fence ?
    Do you want to allow Tasker to send commands to Vera, i.e. as a gateway that knows how to connect through UI5 and UI6 gateways ?

There are solutions to the above two use cases already. I did this for people that did not to have to deal with gluing multiple apps together to solve a problem.

Title: Re: Vera Proximity New Android Applications
Post by: mikee123 on May 04, 2014, 09:33:40 am
For me it would be primarily as a replacement for autolocation, i would love your app to be able to cause tasker to run some commands as you exit/enter a perimeter fence(s). I am using tasker via authomation to send commands back to Vera which works fine most of the time. The problem lately is more Vera reporting back via Vera Alerts (messages not being sent or just stuck for 15 or 20 minutes). If there would be another way for tasker to know what state a for example virtual switch in Vera is, that would be extremely useful. Not sure if that is achievable or realistic though
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on May 04, 2014, 12:06:09 pm
Quote
The problem lately is more Vera reporting back via Vera Alerts (messages not being sent or just stuck for 15 or 20 minutes). If there would be another way for tasker to know what state a for example virtual switch in Vera is, that would be extremely useful. Not sure if that is achievable or realistic though
Are you indicating that Vera Alerts does not report your messages for 15 to 20 minutes ? Or that there is a problem getting the status back ? or what ?
 
Title: Re: Vera Proximity New Android Applications
Post by: clippermiami on May 04, 2014, 12:19:26 pm
Quote
The problem lately is more Vera reporting back via Vera Alerts (messages not being sent or just stuck for 15 or 20 minutes). If there would be another way for tasker to know what state a for example virtual switch in Vera is, that would be extremely useful. Not sure if that is achievable or realistic though
Are you indicating that Vera Alerts does not report your messages for 15 to 20 minutes ? Or that there is a problem getting the status back ? or what ?

Richard I've noticed some delays in Vera Alerts of late, never 15-20 minutes but sometimes several minutes. I have Arm/Disarm alerts sent by both VeraAlerts and SMS and I USUALLY get the SMS alert almost instantly and on occasion the VeraAlert for the same event is several minutes later.
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on May 04, 2014, 12:59:56 pm
I'd like to hear more detail on the router disconnect setup. I run 3 routers in my WiFi. 1 is a DDWRT, other 2 are Asus RT-AC66R's

Take that up here.

http://forum.micasaverde.com/index.php/topic,24084.0.html
Title: Re: Vera Proximity New Android Applications
Post by: mikee123 on May 04, 2014, 02:23:32 pm
@clippermiami
Since about a week i noticed that i did not get my normal status report on Vera Alerts. I have set up a notification for when i leave the house or come back home. When this message arrives on Vera Alerts its stops my tasker sending a command to Vera that i am home or away. Lately walking home i noticed my phone keeps buzzing, as it keeps sending the message. But when i check when i arrive home it has changed the virtual switch, i just did not get a notification. The weird thing is it works most of the time. So its not a setup problem (and it has worked without faults for weeks before). Then i tried at home sending manual messages via Vera Alerts. Nothing come through, until about 15 or 20 minutes later i had about 20 notifications at one. So it looks sometimes they get delayed, occasionally completely lost.
Normally i have my notifications instantly. Only since about a week ago that i noticed these delays/problems
Title: Re: Vera Proximity New Android Applications
Post by: clippermiami on May 04, 2014, 03:32:35 pm
@clippermiami
Since about a week i noticed that i did not get my normal status report on Vera Alerts. I have set up a notification for when i leave the house or come back home. When this message arrives on Vera Alerts its stops my tasker sending a command to Vera that i am home or away. Lately walking home i noticed my phone keeps buzzing, as it keeps sending the message. But when i check when i arrive home it has changed the virtual switch, i just did not get a notification. The weird thing is it works most of the time. So its not a setup problem (and it has worked without faults for weeks before). Then i tried at home sending manual messages via Vera Alerts. Nothing come through, until about 15 or 20 minutes later i had about 20 notifications at one. So it looks sometimes they get delayed, occasionally completely lost.
Normally i have my notifications instantly. Only since about a week ago that i noticed these delays/problems

Now that I think about it is seems to me that this has been going on for a week or so also. The problem is that I don't have a long data base to work from, I only finished setting up my alert processes about three weeks ago anyway. Prior to the licensing change I was using Vera Alerts but [rimarily to send SMS not so much the internal alert mechanism. Since licensing and reconfiguring I'm now using the internal alerting more, generally in conjunction with SMS, SysLog and SMTP depending on the nature of the notifications.

Title: Re: Vera Proximity New Android Applications
Post by: clippermiami on May 05, 2014, 09:08:54 am
Richard, great to hear.

I've downloaded it and tried it but I get a STOP immediately on trying to open it. The background task is apparently running, the icon is in the notification bar. But if I try to open the app itself to configure it, it says it has stopped. The background icon goes away and reappears almost immediately but the app still does not open.

I installed it on an HTC One X+ running Android 4.1.1. Reported to you through Google Play also along with system data

FYI, l also  installed it on my Nexus 7 tablet and it mostly works. I say mostly because it does open and allow configuration but occasionally does crash.

Further to this trouble report, I also loaded it on an HTC One VX running Android 4.0.4 and it again failed immediately.

To recap:
Nexus 7 Tablet, Android 4.4.2 - running fine
HTC One X+ Phone, Android 4.1.1 - crashes immediately
HTC One VX Phone, Android 4.0.4 - crashes immediately
Lenovo A1000 Tablet , Android 4.1.2 - crashes immediately


Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on May 05, 2014, 10:58:49 am
I checked the Log files and the Vera Alert Post Office. It runs on a Google Server. So it should have high reliability and good connectivity. It has an average response (receiving from Vera Plugin and actually sending to the Google Cloud, of about 150 mSec.  The rest of the  journey is all part of the Google infrastructure.

I sometimes see my Google Related Services lock up ... resetting the network frees things up and I get a bunch of notifications from various Google services all at one time. So I think there is some instability in the Google delivery process.

 @clippermiami
I have not seen any crash reports yet.
Title: Re: Vera Proximity New Android Applications
Post by: SirMeili on May 05, 2014, 11:12:58 am
Richard, great to hear.

I've downloaded it and tried it but I get a STOP immediately on trying to open it. The background task is apparently running, the icon is in the notification bar. But if I try to open the app itself to configure it, it says it has stopped. The background icon goes away and reappears almost immediately but the app still does not open.

I installed it on an HTC One X+ running Android 4.1.1. Reported to you through Google Play also along with system data

FYI, l also  installed it on my Nexus 7 tablet and it mostly works. I say mostly because it does open and allow configuration but occasionally does crash.

Further to this trouble report, I also loaded it on an HTC One VX running Android 4.0.4 and it again failed immediately.

To recap:
Nexus 7 Tablet, Android 4.4.2 - running fine
HTC One X+ Phone, Android 4.1.1 - crashes immediately
HTC One VX Phone, Android 4.0.4 - crashes immediately
Lenovo A1000 Tablet , Android 4.1.2 - crashes immediately

Based on what I'm seeing there, could it be that the hooks @RichardTSchaefer is using to get the location data (or really anything in the Android API) is in a version of android greater than 4.1.2? I have not had an issue on my MotoX, but it's running 4.4.x.
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on May 05, 2014, 11:20:54 am
Thats why I need to see a crash report ... the IDE is usually pretty good about flagging these potential problems.
Title: Re: Vera Proximity New Android Applications
Post by: clippermiami on May 05, 2014, 11:42:24 am
Thats why I need to see a crash report ... the IDE is usually pretty good about flagging these potential problems.

I've sent it again this time from the HTC One VX (Android 4.0.4) [I've already uninstalled it from the Android 4.1.1 device but I'll be happy to reinstall]
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on May 05, 2014, 06:41:14 pm

4) When I leave or enter my fence, my phone is in a state of "wifi" confusion as it is trying to figure out if it can connect. Will the app attempt to resend the command X times until it knows it went through? I noticed when I left that I got a popup stating "No data connect". I think it was from this app. It could have been authomation though as I had it up to check on the multiswitch status
Also want to know how this app responds to no data connection, but I think that's all in the setting on how often it reports. Maybe a better understanding from Richard would be goo tho. I also see there is some instant report settings under the fence too.
[/quote]

Richard after I cross the geofence how many retries or so does this app attempt to send the command? And currently it never checks back in with vera to make sure that virtual switch is correct?
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on May 05, 2014, 09:24:43 pm
@clippermiami
I received the crash report today ... I think there is a 1 day delay in delivering them.

I use a feature that has a difference in behavior between 4.4 and earlier. The docs do not indicate a problem, but the Android forums recommended a strategy that works.
I can't test in the simulator because my app uses features that do not run in the simulator. My phone and tablet are already upgraded to 4.4.x

Version 1.2 should fix the problem ... fingers crossed.

@integlikewhoa
It tries  twice to send (4 times if you are on Wifi; twice using LAN Address and twice using Remote Access) the command.
But I noticed I did not check to see if it actually went and report an error in that case. That will be in the next version (1.3).
There should be an error in the log file, but that does not help the user.
Title: Re: Vera Proximity New Android Applications
Post by: clippermiami on May 06, 2014, 07:23:25 am
@clippermiami
I received the crash report today ... I think there is a 1 day delay in delivering them.

I use a feature that has a difference in behavior between 4.4 and earlier. The docs do not indicate a problem, but the Android forums recommended a strategy that works.
I can't test in the simulator because my app uses features that do not run in the simulator. My phone and tablet are already upgraded to 4.4.x

Version 1.2 should fix the problem ... fingers crossed.

@integlikewhoa
It tries  twice to send (4 times if you are on Wifi; twice using LAN Address and twice using Remote Access) the command.
But I noticed I did not check to see if it actually went and report an error in that case. That will be in the next version (1.3).
There should be an error in the log file, but that does not help the user.

@Richard, I will be happy to test and report back. Is the update on the Play Store already?
Title: Re: Vera Proximity New Android Applications
Post by: bucko on May 06, 2014, 09:03:22 am
@Richard

I have been playing more with the app, and opened my Google Play services. In Location which I have on it says Location Reporting not available in China. Also same for Location History.

Is this the root of my problem?
Title: Re: Vera Proximity New Android Applications
Post by: clippermiami on May 06, 2014, 09:25:28 am
@Richard, FYI, I re-installed on my HTC One X+ and it does not crash immediately on startup now. However there are two points in the setup/configuration where it did and i have sent Crash Reports for those incidents.

Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on May 06, 2014, 09:29:54 am
I borrowed an old Samsung S2 on 4.0.4 and I am to run.  So I will wait to see your crash reports.

Title: Re: Vera Proximity New Android Applications
Post by: SirMeili on May 06, 2014, 04:47:57 pm
I wanted to give a quick update. I'm running this on my MotoX running 4.4.x since it was released.

I set my "home" fence to .03 miles (I think it's miles). This is just around my lot and barely crosses across the street (.02 was just too small). I set a larger fence to .5 miles and told it to do rapid update for 2 minutes.

So far when leaving I can about 1 street over in any direction before it says "Exiting home" (my message for when I leave my "Home" fence). I expect this delay as the polling frequency is likely low.  However, upon arriving, WITHOUT fail, it tells me as soon as I enter the fence. I'm sure this is some sort of coincidence since rapid update should be once every 60 seconds, but it has been dead on accurate for me. Same spot, every single time (as soon as I park).

Now, I was on a business call earlier and I walked outside and was walking up and down the drive and when I got off the phone I got a bunch of "arriving home" and "exiting home" tts messages. It ultimately settled on "arriving home", so it wasn't an issue. I don't know how much time was between each one, but I do plan on using PLEG to make sure I was gone for so long before doing most of my actions.

I do not have it doing anything in vera yet except set a multiswitch button (I have a radio set of 2 that are "Frank Home" and "Frank Away"). I will start with doing more stuff via PLEG maybe next week, but so far, this app is doing exactly what I want.

Either way and no matter what, Thanks @RichardTSchaefer for this awesome app!
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on May 06, 2014, 05:09:59 pm
The voice messages and notification tones will be delayed if you are on the phone.
The Vera Commands will be sent right away.I may have to tweak the inter message setting ... this is adjustable in Vera Alerts ... I did not bring out the parameter in Vera Proximity.

There is a standard "rapid" update for all network transistions (wifi to GSM, GSM to wifi), and for Fence entry/exit for 2 minutes.
 I am changing the location sampling interval to 30 seconds for this period.

Title: Re: Vera Proximity New Android Applications
Post by: SirMeili on May 06, 2014, 05:15:51 pm
The voice messages and notification tones will be delayed if you are on the phone.
The Vera Commands will be sent right away.I may have to tweak the inter message setting ... this is adjustable in Vera Alerts ... I did not bring out the parameter in Vera Proximity.

Yeah, I'm used to it because of Vera Alerts. I also assumed the Vera was being set. It was more just referring to the fact that it caught me going in and out of the fence so many times (I think there were 5 sets or so). So it is somewhat accurate and that was all on Wifi. It could have been I was "bouncing" around towers and that was doing it.

There is a standard "rapid" update for all network transistions (wifi to GSM, GSM to wifi), and for Fence entry/exit for 2 minutes.
 I am changing the location sampling interval to 30 seconds for this period.

If this rapid update is when transfering networks, does it do one right off the bat? If so that might be why it's triggering for me so accurately when I get home. My parking spot is right where I start to get Wifi and my phone switches over.
Title: Re: Vera Proximity New Android Applications
Post by: clippermiami on May 07, 2014, 11:34:51 am
@Richard

FYI, I found the update on Play Store and installed it on my HTC One X+. It no longer crashes in any of the functions I've tested so far; setting up fences and Vera functions, etc.

Looks like you got it for earlier Android 4 versions. I'll test it on the other two pre-4.4 Android devices I have but it looks to be working

Thanks
Title: Re: Vera Proximity New Android Applications
Post by: clippermiami on May 07, 2014, 05:26:51 pm
I've installed the current version of the app on:

HTC One X+ - Android 4.1.1
HTC One VX - Android 4.0.4
Nexus 7 - Android 4.4.2

And configured them to update a MultiSwitch on the Vera 3 fore Home/Away status. So far they seem to be working fine. I have not done any comparative testing for acquisition times, switchover time, etc., but I'll do that over the next few days and  report back.

I did have one crash on the HTC One VX editing a GeoFence setting but I did not get a crash report for that incident.

Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on May 07, 2014, 06:34:56 pm
I have problems, my multiswitch currently says I'm home and I'm at work but I haven't been home for hours. I suspect it's because of my bad cell reception and delay (wifi to cell) when leaving my house. Also that combined with my fence set to small. I'f I were to set my fence big enough that I was already in 3g cell coverage I might be ok. 

No one wants battery drain but I really would like to have something with 2 way communication to check that the switch is in the right place every so often. Or Maybe more so like 2-5 min. after a geofence change I guess after that its not as critical.

Right now I guess I could set a double Fence so if the first one doesn't send on the way out just resend the off command again, but all this is kind of disappointing. 

On the way in a double fence means flipping the switch on earlier then using the closer one as backup but that too kind of sucks. I need to test more but If I do it close enough to the house I'm hoping I'm in wifi, connected and get a positive switch. Maybe only need a double fence on the way out.   
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on May 07, 2014, 09:16:55 pm
The following has nothing to do with my software ... but how Geofencing works on Android, and IOS I would imagine:

Geofencing tries hard to save batteries ... and it can use   GPS, GSM, and Wifi (if you enabled it).
When the phone is off, it often wakes up periodically and just checks the GSM location. This is the cheapest in turns of energy usage ...
because the phone's  radio is often still listening for GSM messages. If it's up for a while, and GPS is enabled .. it might take a gps location.
In any case it evaluates the fence descriptions and them wakes up the application that created the fences.

That's where Vera Proximity comes into play.  So a SMALL fence zone will have significant error when the GPS is not readable ... or while it's being turned on.

As a result you should not use a GeoFence in close proximity as a 100% indication of being home or being gone.

The same is true for Ping, Wifi Router Connection, etc ... they can all give false readings as devices turn on and off or are temporarily not reachable.

However they can be coupled with other events to provide a reliable indication.  For example a garage door opening or closing does not provide any indication of arriving or departing. However couple that event with a geofence event using a PLEG sequence expression and you can get a very reliable indicator. I use my garage  door 100% of the time to enter the house.

GarageEvent   GarageOpen or ! GarageOpen;
With a repeat flag!

AtHome       InnerPertimeterEntry; GarageOpen< 5:00
Gone         GarageEvent; InnerPerimterExit < 5:00



 
 
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on May 07, 2014, 11:24:32 pm
Richard my main house has a 1 car wide long driveway down one side of the house and a gate that I don't open to keep the dogs in the yard. A detached garage in the back yard. Both cars park in the driveway and a lot of times during the day on the street depending on who's home first and which car goes in the driveway first.  So even a motion sensor across the driveway won't help much.
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on May 08, 2014, 07:04:20 am
Do you have a door open/close switch on the doors you use to enter the house ... it's the equivalent of what I use the garage door for.
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on May 08, 2014, 12:39:11 pm
Yes, I used the front door 99% of the time, I currently use that to determine coming or going now. When I get home porch and driveway light comes on (if front door hasn't been opened in the last 5 min.) but when I'm leaving it doesn't.

Problem is the front porch light and driveway lights when I pull up rely on the geofence timing alone to activate (the outside lights atleast) and since sometimes it will turn on a few blocks away and sometimes I'm out of my car walking to the house already, it's just frustrating and not working.

Have to think about it more, but if beacon or the such works better then ping (when phones asleep) then maybe a beacon in the mail box might be more reliable. Haven't really looked into all that much.
Title: Re: Vera Proximity New Android Applications
Post by: SirMeili on May 19, 2014, 03:29:45 pm
Quick question/suggestion.

I know that there will eventually be a vera plugin. It would be nice if it were possible to set up fences in the plugin and when you connect a phone to the vera, it will grab those fences. This would allow a person to set up a couple of general fences (home, etc) that would propagate to all phones connected to the vera. It might even be possible to "merge" some kind of MS functionality into the plugin for automatically ticking buttons on/off for each phone (for instance 1 plugin could support 8 phones/devices).

Ok, so the idea got more complex as I was writing out. I'm just thinking that we have 2 phones and perhaps a third one soon and it would be easier for me to set up fences if I could do it from Vera once instead of having to corral phones whenever I need to make adjustments.

Another nice feature would be "ring my phone", where the app could temporarily turn up the volume to max and ring the phone for X minutes (or until the screen is unlocked). I know the Android device manager does this, but it would be cool to have a scene controller on the wall that I could set up to "ring" my fiance's phone (who constantly loses it) instead of having to log in and do it.

I'm still anxious to see what the base functionality of the Vera plugin is going to be for this. I can't imagine what you have in store for us @RichardTSchaefer!
Title: Re: Vera Proximity New Android Applications
Post by: Aaron on May 25, 2014, 12:24:56 pm
Richard, I'm curious...

What is your ultimate goal with this app and what will it provide above what can be done today with a dozen existing apps?

Currently my and most peoples' needs are easily and inexpensively met with some combination of: Tasker (or fill in your favorite task automator) + Authomation + PLEG + Ping Sensor

 ... what will Vera Proximity provide better, or above using these?

I'm not yet seeing why having another, separate, dedicated Vera app is needed. I'd MUCH prefer to see this as a service built-into Vera Alerts we can leverage with Tasker - which can do million times more that a Vera-only app could.

As for Google Location Awareness - I bought Autolocation, which is only a front-end for Google Location Awareness... it is horrible. Tasker's Network Location feature works 1000x better for me. I couple the below methods which to make my location awareness work perfectly - it includes fail safes & redundancy...

a) Tasker's native Network Location - consistently detects my home geofence 0-30 seconds to pulling into the driveway.

b) Tasker Action send Home/Away triggers using Autohomation - detects disconnection from home Wifi network

c) Vera Ping Sensor + PLEG, detects phone connectivity to Wifi and has a ~4 minute delay set Away and instant set Home. (helps with phone reboots or common Wifi glitches)

... and I'm playing with NFC stickers for some things (like in-car, in office, etc) - but the system does not rely on them in any way right now and geofencing would not be able to fill this gap anyway.

Intersted in your thoughts... thanks.


I know that there will eventually be a vera plugin. It would be nice if it were possible to set up fences in the plugin and when you connect a phone to the vera, it will grab those fences. This would allow a person to set up a couple of general fences (home, etc) that would propagate to all phones connected to the vera. It might even be possible to "merge" some kind of MS functionality into the plugin for automatically ticking buttons on/off for each phone (for instance 1 plugin could support 8 phones/devices).

Ok, so the idea got more complex as I was writing out. I'm just thinking that we have 2 phones and perhaps a third one soon and it would be easier for me to set up fences if I could do it from Vera once instead of having to corral phones whenever I need to make adjustments.

This is something I asked for with Vera Alerts... the ability to set a configuration in one place, and propagate it to all devices. This is really needed if as configuring per device, is a pain... and more so when those devices change, get reimaged, etc.
Title: Re: Vera Proximity New Android Applications
Post by: SirMeili on May 27, 2014, 12:36:26 pm
I'm not pretending to speak for RTS, but I'll give my POV on this:

What is your ultimate goal with this app and what will it provide above what can be done today with a dozen existing apps?

While I realize that I could do this with Tasker, I don't currently run it on my MotoX because it's not necessary. The phone does most of the stuff that I would want tasker to do for me.

Currently my and most peoples' needs are easily and inexpensively met with some combination of: Tasker (or fill in your favorite task automator) + Authomation + PLEG + Ping Sensor
 ... what will Vera Proximity provide better, or above using these?

Since i haven't used Tasker for this i can't say if it does it better. I will say that it has been consistant for me in detecting when I arrive home (normally alerting me at the same time). As far as battery usage, I haven't noticed that much of a drain, but I work from home and I am on Wifi 90% of the time, so my phone will normally last me 2 days anyways (though I charge it nightly).

I'm not yet seeing why having another, separate, dedicated Vera app is needed. I'd MUCH prefer to see this as a service built-into Vera Alerts we can leverage with Tasker - which can do million times more that a Vera-only app could.
I would only need Tasker for this 1 thing on my phone. So I'm trading 1 app to do 1 thing for 1 app to do 1 thing, but in this case the setup and communication to Vera is a lot easier (it handles building the URL for me so I don't have to worry about it). I'm also hoping that it will handle communication with UI6 and UI7's MMS (?) authentication easier (I don't think you can just "build a url" for the new authentication system). I'm also not seeing the crossover between VeraAlerts and This. Perhaps you are looking to disable alerts based on proximity or fences? I could see that being interesting, but RTS would merely only have to build hooks into each app, not merge them. You run both, you can do it, but you have the option of running one or the other.

As for Google Location Awareness - I bought Autolocation, which is only a front-end for Google Location Awareness... it is horrible. Tasker's Network Location feature works 1000x better for me. I couple the below methods which to make my location awareness work perfectly - it includes fail safes & redundancy...
I have not used AutoLocation for tasker (yes, I have used Tasker in the past and do use it on my tablets at home). However, so far using the "rapid update" fence I get consistent results when I arrive home.
 
a) Tasker's native Network Location - consistently detects my home geofence 0-30 seconds to pulling into the driveway.
Vera Proximity detects my Home fence (upon arrive) at the same point for me (right as I park) every single time for me. Maybe +/-5 seconds.

b) Tasker Action send Home/Away triggers using Autohomation - detects disconnection from home Wifi network
I personally don't like to depend on Wifi for this as my network might go down and cause a false condition. Its the same reason I'm very wary of Home Automation devices the depend on Wifi for communication.

c) Vera Ping Sensor + PLEG, detects phone connectivity to Wifi and has a ~4 minute delay set Away and instant set Home. (helps with phone reboots or common Wifi glitches)
As I said above, with Vera Proximity, I am getting very consistent detections. I have  had some false positives (Walking around outside on the phone), but that is more of a factor of the size of my fence and it being just about the size of my lot.

I realize that A, B, and C are used in combination, but so far I've found that Vera Proximity has been handling it very well on it's own without a lot of complex setup. I do not currently use it for any automation as I wanted to run tests first.
... and I'm playing with NFC stickers for some things (like in-car, in office, etc) - but the system does not rely on them in any way right now and geofencing would not be able to fill this gap anyway.
I've thought about NFC, but honestly I don't think it will be very good, IMHO, for HA. I want my system Automated, I don't want to have to do something to make it happen (minus typing in a code to get into the house).


Intersted in your thoughts... thanks.

I know you didn't ask for my opinion, but I hope it gives some insight from another user :)
Title: Re: Vera Proximity New Android Applications
Post by: Aaron on May 28, 2014, 02:33:28 am
SirMeili
Not sure why you have issues with Wifi but I don't think most people do. My Wifi is never an issue. The only thing I have seen is some phones have issues with Wifi disconnecting... that is typically a hardware problem or ROM problem. I see this with my wife's LG F3 (aka POS) phone. But, since I use a combo of the 3 methods, it is never a problem.

You mention "rapid update" and it triggers "when you park." What distance and amt of time from your home does it detect you as home? And as away? 
- for me, it needs to detect as home, it will disable the alarm when I'm a few houses down so that when I open the garage door (manually - not using Vera) it does not trigger the garage motion or tilt sensors.

With Tasker's Network Location this works perfectly - with AutoLocation (Google Location Services) is so bad it 100% unusable. I live in a tightly packed rural suburb of Phoenix AZ (~6 million people) with perfect 3G & 4G cell coverage. Coverage is not the problem... Location Services seems to be the problem. Unless AL has some serious bugs, but others say it does not. Also, I've one zero tweaking to Tasker to make it work. I've tried all sorts of things with AutoLocation.

I mentioned combining Vera Alerts and Vera Proximity so there are fewer in-memory services running and less apps to install. Ideally he's create a base app and have plugins and an open API for others to extend. This is what is very nice about Tasker.

Richard makes great apps and I don't mind purchasing them but they need to be easy to setup, backup, restore - these are never first class citizens with his apps.  Multiple separate installs and setups across multiple devices is tedious. When the config crashes or you reinstall the app, or you need to reimage your phone you must start all over. Setting up Vera Alerts with custom audio, time settings, etc  is tedious and time consuming. On a few occasions I've seen custom audio settings change on their own - on two separate, very different, phones. This really needs to be stored in Vera and pushed to the phones (profiles). I had an app called NetRemote back in the Windows CE  days that could do this flawlessly... I'm sure it would be easy for Richard to implement.

Title: Re: Vera Proximity New Android Applications
Post by: SirMeili on May 28, 2014, 10:01:11 am
SirMeili
Not sure why you have issues with Wifi but I don't think most people do. My Wifi is never an issue. The only thing I have seen is some phones have issues with Wifi disconnecting... that is typically a hardware problem or ROM problem. I see this with my wife's LG F3 (aka POS) phone. But, since I use a combo of the 3 methods, it is never a problem.

My problems are not always with the end of line device, but with WiFi in general. I work from home and I will tell you that even with the best equipment, you can have issues. I'm not saying that Wifi can't be part of proximity, but I would never rely on it for 100% of my presence detection. That is just me. Others may have better experiences, but I haven't, even with Business class devices (which I do use). Its the same reason I stay away from Wemo. I don't want my HA to be tied to a system that to me is unreliable. Now I'm not saying it goes down daily, but for me once a month is bad enough.

You mention "rapid update" and it triggers "when you park." What distance and amt of time from your home does it detect you as home? And as away? 
- for me, it needs to detect as home, it will disable the alarm when I'm a few houses down so that when I open the garage door (manually - not using Vera) it does not trigger the garage motion or tilt sensors.

Rapid update (a feature of the VeraProximity app) triggers on a fence that is about .05 miles from my house and keeps updating my position more frequently (I think RTS said this is 60 seconds). Due to this, and I'm not sure if it's just coincidence, but in the weeks that I've been testing my phone says "Arriving home" as soon as I park. Every. Single. Time. It has bee that accurate for me (as I park in the same spot). Away is a different story as the polling is longer, but normally I get about a block away.

I'm a bit surprised that you said you use proximity to deactivate your alarm. I guess I'm a bit more paranoid than that. I don't currently have an alarm, but when I install mine, I won't be using any kind of proximity detection to turn it on or off (or any automation). My main purpose will be to track the adults/teens in the house and when all are gone, put the house in "away mode" (turn off all lights/appliances except ones that make us look like we're home).

With Tasker's Network Location this works perfectly - with AutoLocation (Google Location Services) is so bad it 100% unusable. I live in a tightly packed rural suburb of Phoenix AZ (~6 million people) with perfect 3G & 4G cell coverage. Coverage is not the problem... Location Services seems to be the problem. Unless AL has some serious bugs, but others say it does not. Also, I've one zero tweaking to Tasker to make it work. I've tried all sorts of things with AutoLocation.

VeraProximity pinpoints me at my exact location in my house (within a few feed I would assume). By looking in Vera alerts and comparing it to the position of my house on my lot, it is spot on accurate. Every once in a while it will flicker between outside the fence and inside the fence, but that is more due to the size of my fence. I am on a .25 acre lot and my fence is set up to just cover that (I think ti's actually .03 radius). Because of this if I am working on the side yard in the garden or walking up and down the drive on a phone call, it will flip back and forth. I will eventually increase my fence, but I did want to see how accurate it was and I will tell you that here in Small Town Florida (Sebring, FL), it is pretty good. I'm not saying your method is flawed or bad in any way, just that VP works fine for me and has a more simple setup than using tasker.

I mentioned combining Vera Alerts and Vera Proximity so there are fewer in-memory services running and less apps to install. Ideally he's create a base app and have plugins and an open API for others to extend. This is what is very nice about Tasker.

I get that, but my phone has more than enough ram to just run them both without an issue at all. Perhaps my Fiance's cheap phone would have had issues, but it has been replaced by another MotoX within the past 2 weeks. My thinking is that 2 apps is just "easier" for the average joe. I know the vera community tends to be more tinkerers and likely more suited to a "tasker" based approach, but in general the 2 apps is likely just more user friendly. That being said, it seems like Tasker is what you want, not VP. I think there is room for both, honestly.

Richard makes great apps and I don't mind purchasing them but they need to be easy to setup, backup, restore - these are never first class citizens with his apps.  Multiple separate installs and setups across multiple devices is tedious. When the config crashes or you reinstall the app, or you need to reimage your phone you must start all over. Setting up Vera Alerts with custom audio, time settings, etc  is tedious and time consuming. On a few occasions I've seen custom audio settings change on their own - on two separate, very different, phones. This really needs to be stored in Vera and pushed to the phones (profiles). I had an app called NetRemote back in the Windows CE  days that could do this flawlessly... I'm sure it would be easy for Richard to implement.

I do agree that a backup/restore system would be nice. Maybe tie into Google Drive or another online storage system for cloud storage. I will say though that after moving to my MotoX, I neither have a need nor desire to flash, root, or do any such things to my phone. It is the first phone I've owned in a long time that is, in my opinion, perfect. I have no desire to re-install it either. It is just as fast as it was the day I bought it (6 months ago). My main concern was just propagating changes through the 3 phones in the house.
Title: Re: Vera Proximity New Android Applications
Post by: SirMeili on May 28, 2014, 10:07:56 am
Sorry for the back to back posts, but I wanted to add this bug report in a separate post.

@RichardTSchaefer, When I first tried VeraProximity I could NOT get the sounds to work for local Alerts, so I used TTS which worked great. Well then sounds started working and it was a bit annoying (as they would go off until I entered my phone) so I turned them off. Now I still get an alert when I leave my home fence occasionally.  I would be open to it being another app except that it goes off right when my phone says "Leaving home" (which is another local alert for the same fence). It is too much of a coincidence for it not to be VeraProximity.

The oddest thing is that I don't think it does it every time. I can't be 100% sure because I sometimes leave my phone on silent (or turned down so low I don't hear it).

Just a heads up. I may try deleting the fences and creating them just to see if that works.
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on May 28, 2014, 10:41:09 am
You need to check your Fences ... both entering and exiting ... as you can have separate alerts on each.

I do have an alarm ... I use Vera Proximity (With Phone Unlocked for entry) as part 1 of my entry/exit key ... 
The second part is the garage door opening/closing.

The order of these (handled by sequence expressions in PLEG within the proper time frame) determines if my alarm system is activiated or deactivated.
This works because I always go through the Garage to enter/exit my property. If I change ... I have to manually arm/disarm the alarm ... I think I still remember how to do that!

If I leave (VeraProximity) and forget to close the Garage door ... it reminds me ... then I can close it remotely and arm the system.
Title: Re: Vera Proximity New Android Applications
Post by: clippermiami on May 28, 2014, 10:44:23 am
I have an inner fence set at .03 and an outer fence set at .06. Entering the outer fence simply starts the rapid checking function (exciting takes no action) whereas entering and exiting the inner fence triggers differ times and sets/clears a virtual switch indicating Home/Away. I had a very tight inner fence but was having constant false indicators so I pushed out out a bit. I "tightened" it up on the driveway/front side by shifting the center toward the center-back of the property.

While the Vera Proximity Android app is the best solution I've used so far (I tried Tasker, Tasker and AutoLocation, CHAOS all left something be desired in reliability) it would be great if Richard could solve the Google Location situation and make the Plug in work Like the iPhone Plug In. I use it for my daughter's iPhone and it is absolutely reliable. It has the additional advantage that it can show where she is, how far from home in time and distance, etc, and map it as well. Great functionality.
Title: Re: Vera Proximity New Android Applications
Post by: SirMeili on May 28, 2014, 10:47:55 am
You need to check your Fences ... both entering and exiting ... as you can have separate alerts on each.
I did, neither of them have the check mark next to "tone".

I think I'll just try recreating the fences.
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on May 28, 2014, 11:49:18 am
You can turn the debug log on as well ... And then look over the log file during the specified time to see if VeraProximity caused the alert.
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on May 28, 2014, 11:58:16 am
@clippermiami
The false hits from a small radius are a result of the location services detecting a change in cell tower strength (or it even changing towers) when the gps is off.
When the phone is in low power mode it often turns off the gps to save power ... then uses cell tower changes to detect location/movement. This can also happen if their is poor gps coverage in the house.  I have some other ideas about how to eliminate the false triggers (which only appear to be momentary) by using some of the other phone sensors.
If your phone is not moving ... it should not be exiting or entering a fence.
 
Title: Re: Vera Proximity New Android Applications
Post by: SirMeili on May 28, 2014, 12:08:30 pm
If your phone is not moving ... it should not be exiting or entering a fence.

So simple, yet so brilliant!
Title: Re: Vera Proximity New Android Applications
Post by: clippermiami on May 28, 2014, 12:13:04 pm
@clippermiami
The false hits from a small radius are a result of the location services detecting a change in cell tower strength (or it even changing towers) when the gps is off.
When the phone is in low power mode it often turns off the gps to save power ... then uses cell tower changes to detect location/movement. This can also happen if their is poor gps coverage in the house.  I have some other ideas about how to eliminate the false triggers (which only appear to be momentary) by using some of the other phone sensors.
If your phone is not moving ... it should not be exiting or entering a fence.

Richard

Yes, the detections are momentary, sometimes as little as a second or two. For testing i have notifications set when the Home/Away changes state and often I get two notifications almost simultaneously. This happened a lot several days ago before I moved the fence out to 0.03, haven't had a false trigger in several days since that.
Title: Re: Vera Proximity New Android Applications
Post by: SirMeili on May 28, 2014, 12:14:39 pm
@clippermiami
The false hits from a small radius are a result of the location services detecting a change in cell tower strength (or it even changing towers) when the gps is off.
When the phone is in low power mode it often turns off the gps to save power ... then uses cell tower changes to detect location/movement. This can also happen if their is poor gps coverage in the house.  I have some other ideas about how to eliminate the false triggers (which only appear to be momentary) by using some of the other phone sensors.
If your phone is not moving ... it should not be exiting or entering a fence.

Richard

Yes, the detections are momentary, sometimes as little as a second or two. For testing i have notifications set when the Home/Away changes state and often I get two notifications almost simultaneously. This happened a lot several days ago before I moved the fence out to 0.03, haven't had a false trigger in several days since that.

I had the same issue before going to .03. Perhaps .02 is too small. I do plan on testing at .04 as well.
Title: Re: Vera Proximity New Android Applications
Post by: clippermiami on June 05, 2014, 10:06:54 am
Update:

This morning AT&T pushed out an Android update to version 4.2.2 to my HTC One X+ and HTC One VX. Immediately after that my Vera Proximity started tripping on and off every few seconds. I can't be certain that it is directly related to the upgrade or not because I was getting occasional false trips Wednesday afternoon as well. I have temporarily disabled Proximity.

The update for my wife's One VX is still downloading and once it installs I will be better able to tell if its related to the Android change or not.

Just FYI, yesterday morning I reset the GeoFence for Home on my One X+ to .04 and was still getting occasional false trips in the afternoon. My wife's GeoFence has been set to .04 all along.

[Timing is everything, I've just upgraded phones to Samsung Galaxy S5s (Android KitKat {4.4.4} and they should be here in a day or two :)]


Title: Re: Vera Proximity New Android Applications
Post by: SirMeili on June 05, 2014, 10:14:40 am

[Timing is everything, I've just upgraded phones to Samsung Galaxy S5s (Android KitKat {4.4.4} and they should be here in a day or two :)]

I think you mean 4.4.2 or 4.4.3 as 4.4.3 is the newest version that was just released to the Nexus devices the other day. And unless you got the Google Play edition, I think it will be 4.4.2 (I could be wrong). The only non-nexus/non-gpe device to get 4.4.3 that I know of so far is the MotoX (T-Mobile version) which was released a day after it was released to the Nexus devices.

There isn't much difference, I just wanted to give you a heads up so you were disappointed.
Title: Re: Vera Proximity New Android Applications
Post by: clippermiami on June 05, 2014, 10:19:24 am

[Timing is everything, I've just upgraded phones to Samsung Galaxy S5s (Android KitKat {4.4.4} and they should be here in a day or two :)]

I think you mean 4.4.2 or 4.4.3 as 4.4.3 is the newest version that was just released to the Nexus devices the other day. And unless you got the Google Play edition, I think it will be 4.4.2 (I could be wrong). The only non-nexus/non-gpe device to get 4.4.3 that I know of so far is the MotoX (T-Mobile version) which was released a day after it was released to the Nexus devices.

There isn't much difference, I just wanted to give you a heads up so you were disappointed.

Type, started typing "." and "4" and couldn't stop :)
Yes, my Nexus was recently updated to 4.4.3.
Title: Re: Vera Proximity New Android Applications
Post by: clippermiami on June 05, 2014, 10:38:15 am
Update:

This morning AT&T pushed out an Android update to version 4.2.2 to my HTC One X+ and HTC One VX. Immediately after that my Vera Proximity started tripping on and off every few seconds. I can't be certain that it is directly related to the upgrade or not because I was getting occasional false trips Wednesday afternoon as well. I have temporarily disabled Proximity.

The update for my wife's One VX is still downloading and once it installs I will be better able to tell if its related to the Android change or not.

Just FYI, yesterday morning I reset the GeoFence for Home on my One X+ to .04 and was still getting occasional false trips in the afternoon. My wife's GeoFence has been set to .04 all along.

[Timing is everything, I've just upgraded phones to Samsung Galaxy S5s (Android KitKat {4.4.4} and they should be here in a day or two :)]

It appears to be strangely coincidental. My wife's One VX completed the Update and it did not suddenly start reporting false trips.

But my One X+ is still popping in and out of home every few seconds so I'v turned off Proximity for now.
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on June 05, 2014, 10:40:03 am
Sounds like GPS is off ... and the phone is switching cell towers.
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on June 05, 2014, 12:38:28 pm
Sounds like GPS is off ... and the phone is switching cell towers.

Richard my Note 3 has several options

Wifi, cell or GPS or any combination. Whats your recommendation? Do you use MAX accuracy and leave them all on?
Title: Re: Vera Proximity New Android Applications
Post by: clippermiami on June 05, 2014, 01:02:30 pm
Sounds like GPS is off ... and the phone is switching cell towers.

GPS is ON. Of course I'm inside so there might be a GPS acquisition problem but the other Location options are all on as well. I do not discount the possibility of switching towers but there isn't much I can do about that :)

I've just turned Proximity back on and it immediately started switching. GPS has a solid 9 satellite fix right now even indoors so it must be switching cell towers --- I've got a pretty weak signal right now. It keeps indicating Exiting/Entering the Home Fence (set to .04 right now) I'll watch for that the next time it switches in and out.
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on June 05, 2014, 01:08:42 pm
The size of your home fence determine the accuracy you should select. The various options have power consumption implications.

I have plans to reduce the false triggers. I have to finish up my current changes to HAL.
Title: Re: Vera Proximity New Android Applications
Post by: SirMeili on June 06, 2014, 02:37:59 pm
Ok, I have a few things to say. First is that the "notification sound" I was hearing was the default communication error. Perhaps you could also put a notification that says there was an error. I had no clue what it meant, but I assumed it was from when I set the exit sound. I'm apparently wrong.

Second, I'm guessing it doesn't try again since the last time I tested, I had made some changes and noticed that my MS never changed in vera (obviously because of the communication error). If it does try again, it's not working (or not letting me know it's not working). If it doesn't try again, I think it should wait maybe 1 minute and try again (and maybe a few times after that).

Third, could there be a way to "mimic" an entry/exit action in the app for testing? It's kind of a pain to get in the car and drive around just to test and even then I'm not in front of vera to see the changes (I know I could use an app, and I am (Authomation)). I thought it was at least resetting the "entry" when you edited a fence, but after recreating my fences, it is not telling me if I exit or enter. Granted, I'm not walking very far either, but I do see in the app that I am moving in and out of the fence. I'm guessing there is a poll, so I just may be missing the poll and entering/exiting too soon.


Lastly, is there a way to remove the notification at the top? I put this on my Fiance's phone and I don't want to add any confusion. The notification doesn't seem to be consistent in it's appearance an option to not show it would be great (As she doesn't care if it's monitoring her location or not). I'm guessing it's there to keep the app live? If not, an option to remove it would be great.
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on June 06, 2014, 02:54:12 pm
All added to the list ...

Actually it's an ANDROID requirement ... that if a service is running in the background ... and it needs to stay running ... even if their is no user interface (What android calls an Activity) that it must have a persistent notification. I will have to think about a better message.

Title: Re: Vera Proximity New Android Applications
Post by: SirMeili on June 06, 2014, 03:01:07 pm
All added to the list ...

Actually it's an ANDROID requirement ... that if a service is running in the background ... and it needs to stay running ... even if their is no user interface (What android calls an Activity) that it must have a persistent notification. I will have to think about a better message.

That's odd. How does Vera Alerts get past that? I assume it is a background service as well (or maybe it's all event driven). Also Moto Assist does it, but then again, Motorola has the option of modifying Android itself to remove those restrictions for their apps.

Either way, she can deal with it (and didn't really say much about it...it was more just me wanting her to not have to see it).
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on June 06, 2014, 03:35:15 pm
All added to the list ...

Actually it's an ANDROID requirement ... that if a service is running in the background ... and it needs to stay running ... even if their is no user interface (What android calls an Activity) that it must have a persistent notification. I will have to think about a better message.

That's odd. How does Vera Alerts get past that? I assume it is a background service as well (or maybe it's all event driven). Also Moto Assist does it, but then again, Motorola has the option of modifying Android itself to remove those restrictions for their apps.

Either way, she can deal with it (and didn't really say much about it...it was more just me wanting her to not have to see it).

Well I have found that on my Note 3 with custom ROM after going under the application manager I can uncheck notifications from this app and all is well. I never see it again.

On my wifes S4 also custom ROM I did the same and she still sees the notifications.

Also on mine even after update I do not get the notifications on the app icon and she does.
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on June 06, 2014, 04:53:19 pm
In general Vera Alerts is NOT a background service.
It is invoked (woken up) by Google Play Services when it (Google) delivers a new message.

In LAN mode ... it stays awake at the expense of battery power by requiring whats called a partial wake lock and a WIFI lock.
Title: Re: Vera Proximity New Android Applications
Post by: clippermiami on July 01, 2014, 02:56:08 pm
Do I require a separate license for each phone? I want to add my wife's phone. Thanks
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on July 01, 2014, 08:39:03 pm
No ... one license per Vera.
Title: Re: Vera Proximity New Android Applications
Post by: clippermiami on July 01, 2014, 08:56:21 pm
Thanks
Title: Re: Vera Proximity New Android Applications
Post by: SirMeili on July 01, 2014, 09:15:02 pm
Oops.. I thought it was one per phone. Oh well.. extra beer for RTS 😁

Sent from my Nexus 7 using Tapatalk

Title: Re: Vera Proximity New Android Applications
Post by: pls90 on July 16, 2014, 08:39:37 am
I'm having troubles to setting up a vera action for a fence. When I click "select" the popup "looking up data" appears, then "error accessing your vera". I gave it a try a couple of times. I double checked my credentials, vera id seems to be right too.
Did I miss something?
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on July 17, 2014, 10:23:13 am
I have a timeout that is on the short side that I have a fix for ... I have some other changes I am testing.

I suggest you configure the Vera settings while on a LAN. The timeout should be fine for triggering an event, when its not on the LAN.
The data size for setup is very big and a slow network link can exceed the timeout.

 
Title: Re: Vera Proximity New Android Applications
Post by: pls90 on July 17, 2014, 01:57:58 pm
I did this over my WLAN. The connection is reasonably fast. Should I wait for the new version with a longer timeout?
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on July 17, 2014, 02:02:04 pm
It should work OK now if you configure it when you are on Wifi at home.
Title: Re: Vera Proximity New Android Applications
Post by: pls90 on July 17, 2014, 02:05:57 pm
Nope. Just tried again. Do I need to get a new version?
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on July 17, 2014, 09:18:41 pm
Are you running UI5 ? UI6 ? UI7 ?
Title: Re: Vera Proximity New Android Applications
Post by: pls90 on July 17, 2014, 11:25:07 pm
UI5 1.5.622
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on July 17, 2014, 11:36:02 pm
Turn on Debug ... (in settings)
In Credentials ... List your Vera IDs.
Then try to configure your Vera Action.
Then send me the log file.
Title: Re: Vera Proximity New Android Applications
Post by: pls90 on July 18, 2014, 03:15:13 am
Richard, I sent you the log. I tried on a different phone, same problem. Thank you for looking into this.
Title: Re: Vera Proximity New Android Applications
Post by: Pseudomizer on July 18, 2014, 12:29:43 pm
Hello Richard,

this looks like a great solution for Geo fencing. I just installed it, entered my MIOS account and my password. A couple of questions if you don't mind answering...

A) it looks like Vera Proximity runs in the background and I can see that at the top of my cell phone running KitKat Samsung S5. When I click on "clear" of my Android update and tasks window all the historical stuff is removed and running apps still are listed with the exception of Vera Proximity. When I hold my left menu button to show me running applications Vera Proximity is listed but Vera Proximity is not showing up at the top of my cell phone. How do I know if it is properly working?
B) I defined an inner and an outer fence. How is this software communicating with Vera? Do I have to install something on Vera too? I am trying to start certain scenes and actions when fence is entered but it seems like I am doing something wrong.
C) The app says it is for free but then I read here about a license key and there is a license key entry field. Is there a fee for this app? Just checking.

Thanks in advance.
Title: Re: Vera Proximity New Android Applications
Post by: Aaron on July 21, 2014, 11:47:08 am
Richard,
Hoping you will soon integrate VP into Tasker?   I, and I'm sure others, have Tasker activities which rely on Network location services (Tasker's native w/o GPS)... would be a duplication of apps/effort to use two separate apps for the same fencing. If we could switch to VP for all fencing, that would be good.

btw, I'm testing VP now and seeing if it provides more accuracy than Tasker's native location service... at my prior home Tasker did better than AutoVera (Google services) so it will be interesting to see which is better at my new home.
Title: Re: Vera Proximity New Android Applications
Post by: Pseudomizer on July 21, 2014, 11:53:51 am
I am testing it too and I cannot make it work. It does show me my location and my 2 zones but when I enter or leave the zones nothing happens regardless if I chose local or Vera or sound. I cannot figure out what is not working properly.
Title: Re: Vera Proximity New Android Applications
Post by: clippermiami on July 21, 2014, 11:59:42 am
I'm having a similar problem but only on one of the two phones on which it's installed. Both phones are Galaxy S5's, mine appears to work but my wife's never reports to Vera that it's away from the home fence and it never indicates on the phone locally

In addition it shows in the notification panel but not all the time on either phone, sometimes it just disappears so have idea it's working.
Title: Re: Vera Proximity New Android Applications
Post by: mikee123 on August 12, 2014, 09:02:11 am
On my Android Vera proximity app, under Actions, I have my geofences in grey. They have a tick box, what is it for ? Also, when I click on the grey geofence, under it I can see the fence with its radius and the settings button. There is also a possibility to tick it. What does that do ?
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on August 12, 2014, 02:36:21 pm
It is used in combination with the map and delete icons.

For map it will make sure the location is on the map.

For delete it will delete any checked items.
Title: Re: Vera Proximity New Android Applications
Post by: mikee123 on August 13, 2014, 02:56:03 am
Ok thanks, I tried it with delete but it didn't delete it. Probably me pressing wrong buttons. Another question. I am trying to use Vera proximity to replace my autolocation, which gave me a few problems lately with switching me to away while i'm at home... so I have implemented my to geofences to Vera proximity. I have created 2 around my home, one small (0.16) and a larger (0.7). The larger one is used to switch on rapid updates, set to 1 min. I have another for work. I had the similar settings for my autolocation plugin, except for the larger home fence and rapid updates. While Vera proximity with these settings works even better and more reliable than autolocation, I noticed quite an increase in battery drain. Instead of having to charge the phone once a day I now have to charge twice a day which is very annoying. Is there anything I can do to reduce battery drain ? I believe autolocation and vera proximity use the same method to establish a location, so battery consumption should be similar ish ?
Title: Re: Vera Proximity New Android Applications
Post by: mikee123 on August 13, 2014, 09:30:05 am
Can I temporarily disable Vera proximity completely ?
Title: Re: Vera Proximity New Android Applications
Post by: RexBeckett on August 13, 2014, 10:13:47 am
Can I temporarily disable Vera proximity completely ?

Yes - you can do this by using Android Settings, selecting Apps, selecting Vera Proximity and clicking the Disable button.
 
Title: Re: Vera Proximity New Android Applications
Post by: mikee123 on August 13, 2014, 10:37:55 am
I have not got disable, I have uninstall and force stop. I have forced stop the app, so its not running now. But once I restart the phone it will restart the app, correct ? Is there a way to disable the app even with a restart ? I do not want to uninstall as I still want to test against autolocation, and want to keep my settings
Title: Re: Vera Proximity New Android Applications
Post by: RexBeckett on August 13, 2014, 12:02:41 pm
What version of Android are you running? The Disable button is on my HTC One running 4.4.2 but that maybe because I have it in Developer mode.

Like you I suspect that Force Stop will only hold until you reboot your phone.
Title: Re: Vera Proximity New Android Applications
Post by: mikee123 on August 13, 2014, 02:25:47 pm
It did not even stop until the next reboot, 1 hour later it was running again. I have uninstalled it, as it was draining my battery like a hoover on steroids. Until i know how i can change the settings to get the battery consumption under control (I have a description of what i did earlier in this thread) there is no point testing any more, for the time being i have reverted back to autolocation (which also has tasker integration which i use)
I have a Samsung S4 on 4.4.2 but not in developer setting
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on August 14, 2014, 02:52:36 pm
@Mike123 you Brits have a great sense of humor.

I have a release that may solve the problems. I have been siting on it for a few weeks testing it.

What is happening is that Vera Proximity keeps the device awake for 30 seconds, and even longer if you specify a rapid updates interval, every time the underlying engine reports a fence transition.

The new logic also verifies motion and ignores events when the phone is not reporting motion from the other secondary sensors.
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on August 14, 2014, 03:54:27 pm
I'm so happy!  ;D

@Mike123 you Brits have a great sense of humor.

I have a release that may solve the problems. I have been siting on it for a few weeks testing it.

What is happening is that Vera Proximity keeps the device awake for 30 seconds, and even longer if you specify a rapid updates interval, every time the underlying engine reports a fence transition.

The new logic also verifies motion and ignores events when the phone is not reporting motion from the other secondary sensors.
Title: Re: Vera Proximity New Android Applications
Post by: mikee123 on August 15, 2014, 02:44:12 am
That sounds good Richard, I definitely want to give it another go. Are you considering tasker integration ? That really would be a very good addition, I use it a lot with autolocation. I can get round that with Vera proximity by using autovera and a few more multi switches on Vera, but it is a lot more complicated, and uses up more devices on Vera.
Title: Re: Vera Proximity New Android Applications
Post by: Aaron on August 24, 2014, 01:45:24 pm
That sounds good Richard, I definitely want to give it another go. Are you considering tasker integration ? That really would be a very good addition, I use it a lot with autolocation. I can get round that with Vera proximity by using autovera and a few more multi switches on Vera, but it is a lot more complicated, and uses up more devices on Vera.

Ditto.

For several weeks I've been testing VP extensively on 2 different phones... VP is less consistent that using Tasker Network Location. Sometime VP is spot on (I use one fence to turn on GPS and another to tell Vera "I'm home")... most of the time the I'm Home fence does not trigger until I'm in my driveway, or even 90 seconds after I'm in my garage... about 2 minutes and 400 yards from the fence line.  I have Android's High Accuracy on at all times.

I use Tasker for several things, so having a single place for setting everything is ideal. And can also VP so I can get use of both location services (VP & Tasker)

[feature requests]
VP's Notification Bar icon to open the app - This is how all other icons work, would be nice to have this for VP
Disable VP from within the app itself - one-click feature to disable VP completely without using the OS's app menus. Tasker and many other apps allow this from within their app.
Map logging/tracking feature - will help troubleshoot and see how accurate VP is. It would be great to be able to pull up a map and see dots with days/times for when the event was triggered... in other words, when & where did VP detect a fence was crossed.
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on August 24, 2014, 03:25:55 pm
I just released what I have been trusting for weeks.
All good ideas ... I will add to the list.
Have to complete my UI7 work first.

Then latest version extends the time out for accessing Vera data ... Needed when you are remote and want to configure settings.

Also I do ignore fence transitions unless other sensor (acceleration, rotation ...) indicate motion.
Title: Re: Vera Proximity New Android Applications
Post by: pls90 on August 24, 2014, 03:45:48 pm
Just updated.
I am now able to configure vera actions, great!
One issue though: when i change to edit mode to change my fences and then try to open the menu VP crashes.
Will continue testing.
Title: Re: Vera Proximity New Android Applications
Post by: Aaron on August 24, 2014, 07:14:20 pm
Also I do ignore fence transitions unless other sensor (acceleration, rotation ...) indicate motion.

I installed the latest and it is still not triggering properly... is it possible is it not properly detecting motion? All my testing is while in a car... so doing 15-25 mph.
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on August 25, 2014, 12:50:58 am
I have tested this for weeks ...  If I touch my phone when in a poor signal area it will allow geo-fence triggers ...

Send me  a debug log file. It could be something device specific in the sensors.
Title: Re: Vera Proximity New Android Applications
Post by: Aaron on August 25, 2014, 11:12:16 am
I have tested this for weeks ...  If I touch my phone when in a poor signal area it will allow geo-fence triggers ...

Send me  a debug log file. It could be something device specific in the sensors.

emailed via the app.
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on August 25, 2014, 12:42:18 pm
Richard after updating both mine and my wife's phones last night neither of our phones are reporting geofence changes. We are both on different custom roms. She has an S4 and I have a note 3. Both running 4.4.
Supposed to flip more then one multiswitch and didn't flip off home when we left and didn't flip on work when I got here.  Was working flawless before this. I see how to email a debug file. Is it error or debug or which you need. And do I have to start recording before or something.  Can you give me the steps to send you my log. Thanks.

EDIT: I sent you something, hope it helps or was right.
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on August 25, 2014, 01:15:47 pm
Simple fix ... I will get it out later today.
Title: Re: Vera Proximity New Android Applications
Post by: pls90 on August 25, 2014, 02:12:36 pm
On leaving my inner and outer fence VP crashed. Entering doesn't cause any problems, voice alert is issued, but my virtual switch isn't flipped.
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on August 25, 2014, 05:59:57 pm
Release with reported bug fixed (sorry I should have caught that) and two requested enhancements:
   1) Click on Notification to pop up app.
   2) Ability to disable App.
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on August 25, 2014, 08:24:34 pm
WOW, Richard your fast!

Installed the Update, seems to work fine for now. Still testing tho.
Title: Re: Vera Proximity New Android Applications
Post by: pls90 on August 27, 2014, 01:47:16 am
With the updated version no more crashes.
Still, on entering my inner fence no action in vera is triggered.
On entering the outer fence is set rapid update to one second and disable it in the inner fence. While entering the outer fence is detected spot on, the inner one with a radius of 0.05 is only detected with a delay of 5 to 10 sec. So I am usually right in front of my doorstep until VP realizes I'm home. No good for opening the gate.
Even when home where rapid update should be disabled quite often I see gps updating every second.
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on August 27, 2014, 02:18:30 am
With the updated version no more crashes.
Still, on entering my inner fence no action in vera is triggered.
On entering the outer fence is set rapid update to one second and disable it in the inner fence. While entering the outer fence is detected spot on, the inner one with a radius of 0.05 is only detected with a delay of 5 to 10 sec. So I am usually right in front of my doorstep until VP realizes I'm home. No good for opening the gate.
Even when home where rapid update should be disabled quite often I see gps updating every second.

Rapid update on the outer fence should be on for a few min. not 1 sec.

So when you enter the outter fence your phone checks for position rapidly for a few minutes until you pass the inner fence.

When you get so close to your house, your phone wants to connect to wifi and during the switch over it causes no internet and a delay to resend. Also reception in your area could also affect it.

If it always opens late set the fence bigger.   .05 is cutting it to the min. I would run anyways on your house.
Title: Re: Vera Proximity New Android Applications
Post by: pls90 on August 27, 2014, 03:27:04 pm
Thank you @integlikewhoa. I completely misinterpreted what the rapid update period was! I thought it was the interval after which gps is evaluating my location. I'll try 2min then.
Title: Re: Vera Proximity New Android Applications
Post by: clippermiami on August 27, 2014, 03:47:44 pm
Thank you @integlikewhoa. I completely misinterpreted what the rapid update period was! I thought it was the interval after which gps is evaluating my location. I'll try 2min then.

So if i understand this correctly the Rapid Update is the PERIOD for which you want the rapid update to run, NOT the speed with which it runs, which I gather then is internally  set. I had been using it as if it were how often the update should fire. I will correct mine, maybe it will work better  :)
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on August 27, 2014, 04:31:27 pm
Thank you @integlikewhoa. I completely misinterpreted what the rapid update period was! I thought it was the interval after which gps is evaluating my location. I'll try 2min then.

So if i understand this correctly the Rapid Update is the PERIOD for which you want the rapid update to run, NOT the speed with which it runs, which I gather then is internally  set. I had been using it as if it were how often the update should fire. I will correct mine, maybe it will work better  :)

Yes. This is the time you want your phone to be on the look out for the next up coming fence.
Title: Re: Vera Proximity New Android Applications
Post by: Aaron on August 29, 2014, 04:42:29 pm
Richard,
I'm still not getting the fence to trigger in a reasonable time, almost ever. I have, and always had, 2 fences - the first turns on GPS and has Rapid Update. Then the inner fence is several hundred yards inside that. Usually it has a least a minute or two before it hits the inner fence - yet, it is not triggering even a minute or two after it crosses the inner fence.

I'll send another log.

thx for looking.
Title: Re: Vera Proximity New Android Applications
Post by: pls90 on September 02, 2014, 03:21:49 pm
After changing the rapid period to a value of a couple of minutes my fences are detected quite accurately. Occasionally there is a little hiccup (leaving immediately followed by entering my outer fence), but overall I am very happy with detection. The issue I still have that my virtual switch is not flipped. Is there a way to see if a command is actually sent to my vera? It would be nice if VP would integrate with VA to get some notifications.
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on September 02, 2014, 03:38:38 pm
After changing the rapid period to a value of a couple of minutes my fences are detected quite accurately. Occasionally there is a little hiccup (leaving immediately followed by entering my outer fence), but overall I am very happy with detection. The issue I still have that my virtual switch is not flipped. Is there a way to see if a command is actually sent to my vera? It would be nice if VP would integrate with VA to get some notifications.

Error logs in VP will show you what you need I think. Three things with not flipping the switch.
One the switch info is incorrect. Make sure you set the switch and tell it the on or off position for both entering and exiting. On exiting I usually set my bigger and smaller circles to both turn off the home switch. So If I leave and the first fence misses it, the next fence (maybe your rapid alert fence) will also resend the off or away switch. Also if you go into choose which switch it will reset to default even if you don't make a change. So double check that.

Next issue could be with the licences to use VP. If you don't have one for each VERA you own (not each mobile phone) or don't have it entered right, you'll get everything but the link to VERA. So check options, settings, registration Key make sure one is showing for your VERA or each of your Vera's.

And Last make sure you don't have "Disable Actions" checked in the settings tab. That will also shut down the connection with VERA.
Title: Re: Vera Proximity New Android Applications
Post by: pls90 on September 02, 2014, 03:56:26 pm
@integlikewhoa
I have the same setup you are suggesting: on leaving both fences I set my virtual "ishome" switch to off.
I double checked my settings, seems right to me. Your mentioning the log gave me the idea to send a debug report to myself. I guess your right that licensing could be the problem. I found the following in the log:
02.09.2014 20:03:13 I:VeraProximity.Execute:Handle:Entering Inner Home to Home
02.09.2014 20:03:13 I:VeraConnect.Notify:Notification:Evaluation Period is expired
What should be in the log if a command was actually sent to vera? I Didn't get a license yet because I wanted to see it working first, but I guess I'll buy Richard a beer right away.
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on September 02, 2014, 04:37:20 pm
I'm far from knowing more then just enough to get me in trouble, but Looks like that's your problem.

I'll check my log right now and paste a bit of it.
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on September 02, 2014, 04:49:25 pm
Yup here's my log when I got to work this morning at 9am. LOL

I have XXX'd out my user and password and other personal info from the log.

Code: [Select]
Sep 2, 2014 9:09:28 AM I:VeraProximity.Execute:Handle:Entering Fence to WORK
Sep 2, 2014 9:09:28 AM I:VeraConnect.NetworkListener:GetWIFIIPAddress:0
Sep 2, 2014 9:09:28 AM I:VeraConnect.VeraGateway:URLRequest:https://fwd2.mios.com/XXXXX/PASSWORD/XXXXXXX/data_request?id=action&output_format=json&DeviceNum=81&serviceId=urn:dcineco-com:serviceId:MSwitch1&action=SetStatus3&newStatus3=1
Sep 2, 2014 9:09:29 AM I:VeraConnect.Notify:Notification:Entering Fence to WORK

You can clearly see it logs into my vera and switches my Multiswitch ID 81 and button 3 to ON
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on September 03, 2014, 08:11:06 am
You can refresh your license by clearing the APP data.
Where you can remove APPS there is an option to clear app data ... just select that ... but you will also have to re-define all of your fences ... actions ...

Title: Re: Vera Proximity New Android Applications
Post by: pls90 on September 06, 2014, 02:54:49 am
I finally have it working. Problem was the expired trial period.
Apart from an occasional false leaving and then reentering my fences everything is working fine. The false leave happened once when my phone had been sitting on a table for some time, no movement at all. @richard
VP seems to be more reliable than my ping sensor setup for setting away / home states. Well done, Richard!
Feature request:
Could you bind the leaving / entering event to motion (gyro). That would avoid false triggers. I recall you are already doing something like that.
Could you allow triggering different actions depending on current movement when leaving / entering a fence? This would allow to do something like this : when enter ing in a car / bike (fast movememt) open gate and garage door, when entering fence on foot (slow movement) only open gate, no need to open garage. This would also afford to allow triggering more than one action from within VP.
Thank you for considering this.
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on September 06, 2014, 01:50:24 pm
I finally have it working. Problem was the expired trial period.
Apart from an occasional false leaving and then reentering my fences everything is working fine. The false leave happened once when my phone had been sitting on a table for some time, no movement at all. @richard
VP seems to be more reliable than my ping sensor setup for setting away / home states. Well done, Richard!
Feature request:
Could you bind the leaving / entering event to motion (gyro). That would avoid false triggers. I recall you are already doing something like that.
Could you allow triggering different actions depending on current movement when leaving / entering a fence? This would allow to do something like this : when enter ing in a car / bike (fast movememt) open gate and garage door, when entering fence on foot (slow movement) only open gate, no need to open garage. This would also afford to allow triggering more than one action from within VP.
Thank you for considering this.

Make your fence bigger, your phone GPS/ cell service is only so accurate.
Title: Re: Vera Proximity New Android Applications
Post by: clambert on September 21, 2014, 04:54:52 pm
This app really needs some documentation to know how to use it properly.  I bought it because I appreciate everything Richard does.  The learning curve on this one is a bit challenging though.  You've got inner & outer fences with different radius' and rapid update periods.

All I'm focused on right now is opening my garage door when I get home (because I am that lazy and I can do it).  It's a starting point for me and the app.

Location:  My Home

Inner Fence:  .04 radius
   Enter:  Local Alerts / Tone / Vera Action (Open Garage)
   Exit:  Local Alerts / Tone

Outer Fence:  .45 radius
   Enter:  Local Alerts / Tome / Rapid Update 00:45
   Exit:  Local Alerts / Tone

Issues:

1)  When I go outside and I'm around the house but don't have Wi-Fi it sometimes thinks I've left my inner fence.  Do I need to make my inner fence larger?  If so, how much?

2)  The app notification doesn't seem to always have a persistent notification.  Is it still running in the background?  If I disable the app and re-enable it, it will be persistent again for a while.  At some point it seems to go away.  Greenify is not set to hibernate the app.

3)  I have no idea what version I'm actually running.  Where in the settings do I find this?

My phone:

VZW Samsung Note 3 running 4.4.2 (rooted w/ custom ROM)
Location Services are set to high accuracy (GPS, Wi-Fi, Mobile Network) | Battery Usage reads High for location requests (Is that normal?)

Thanks in advance for any help.
Title: Re: Vera Proximity New Android Applications
Post by: ubun2Junky on September 22, 2014, 06:45:56 pm
Documentation would be nice.  I'd like to see examples of how other people are using this app.  I simply want something that would report to my vera when I was home and when I was away.  I used to do it via ping, but when my phone battery died, it would trigger me as away and start shutting everything in my home!  I see people have inner, middle and outer radius, not sure why or what's the reasoning behind that.  A guide or documentation again would be nice!
Title: Re: Vera Proximity New Android Applications
Post by: Aaron on September 22, 2014, 07:06:22 pm
There is documentation on Richards web page.

I use mine like this...

Outer Fence
   purpose: turn on GPS when entering for accuracy
   Radius:  .20 radius
   Enter:  Rapid Update 03:00
   Exit:  <none>

Inner Fence:
   purpose: trigger Vera Actions
   Radius:  .10 radius
   Enter:  Local Alerts / Voice / Vera Action
   Exit:  Local Alerts / Voice / Vera Action, Rapid Update 01:00   (this is in hopes to increase accuracy)


BUT, none of this (and other settings I've tried) works most of the time. It usually detects I'm home after I pulled into the garage & parked for 10-30 seconds.

So... it is not providing me with the benefits of its intended purpose.

I wish I could get it working properly because the 1 time in 50 that it does, I love it.

Title: Re: Vera Proximity New Android Applications
Post by: clippermiami on September 22, 2014, 07:14:29 pm
I have mine set up with an outer fence at .15 which starts the rapid update. The inner fence is at .04 which sets the VS for at home. The downside is that with that tight an inner fence when the weather turns shaky it will report me as Away then Home then Away then Home .... as the phone keeps switching cell towers.

I too am still looking for the perfect solution.
Title: Re: Vera Proximity New Android Applications
Post by: ubun2Junky on September 22, 2014, 07:17:10 pm
I just let my gps run all the time.  I've tried tasker's location plugins and I've had same sort of results where they haven't been as reliable as you'd like it to be.  I checked out this page http://rts-services.com/Android/VeraProximity/  Seems like he's planning on writting some documentation, but there isn't anything there.  Unless there is another URL you can direct me to.
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on September 22, 2014, 07:34:15 pm
1)  When I go outside and I'm around the house but don't have Wi-Fi it sometimes thinks I've left my inner fence.  Do I need to make my inner fence larger?  If so, how much?
Everyone is different, Every house or property is a different size and shape. Cell towers and reception (triangulation is used from the network) is different. You need to make it bigger if you getting false exits. How much.... you can test .01 at a time until no more false readings. I have mine set at .06 and .08 for a larger vacation house.

2)  The app notification doesn't seem to always have a persistent notification.  Is it still running in the background?  If I disable the app and re-enable it, it will be persistent again for a while.  At some point it seems to go away.  Greenify is not set to hibernate the app.

My Note 3 (also custom rom) doesn't display it on the front and it runs fine in the background. (I don't like it bugging me anyways.) My wife's S4 is always displaying even if I try and hide it.

3)  I have no idea what version I'm actually running.  Where in the settings do I find this?

In app I don't know but you can find it in your phone's application manager. Home screen, settings (maybe under the swipe down from the top, not sure which rom you have), then general, then application manager, then click on the app and it will say on the top above force stop and uninstall. 
Title: Re: Vera Proximity New Android Applications
Post by: clambert on September 22, 2014, 08:03:46 pm
Thanks everyone for your feedback. I'll take everyone's advice and continue to play.  It looks like I just need to continue tweaking it in my environment. 
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on September 23, 2014, 01:31:35 pm
If I get an event from the Phone (GeoFence,  Cell Tower Change, Wifi Change, GSM service Change, it will wake up my app.
While my app is awake ... you can NOT remove the notification icon ... after a minute or two it will allow you to remove the notification.

So if you can't remove the notification you are constantly getting one of the above events!

Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on September 23, 2014, 06:40:38 pm
If I get an event from the Phone (GeoFence,  Cell Tower Change, Wifi Change, GSM service Change, it will wake up my app.
While my app is awake ... you can NOT remove the notification icon ... after a minute or two it will allow you to remove the notification.

So if you can't remove the notification you are constantly getting one of the above events!

On the Note 3 with custom rom I get none of the above notifcations.

On my wifes custom Rom S4 see gets the above notifications. She also get the app icon to show a number of new items, where mine does not. I have tryed to disable as much as I can on her phone to hide it like mine, but no go for her.
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on September 24, 2014, 03:27:11 pm
THe # of notifications is a Samsung only option.
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on September 24, 2014, 05:54:27 pm
THe # of notifications is a Samsung only option.

I'm not following. We both have Samsungs (S4 and Note 3) and she gets them I don't. Both rooted but Both on Different Roms but Both 4.4 android. 

I'm assuming something in the ROM if anything.
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on September 25, 2014, 09:54:02 am
Let me put it differently ... they are supported by Samsung Software/Not the physical hardware ... if you are running custom roms you are not Samsung compatible.
Title: Re: Vera Proximity New Android Applications
Post by: pls90 on October 01, 2014, 03:08:18 pm
VP has stopped working, although I didn't make any changes. On entering / leaving fences I don't get any notifications / actions any more. I tried restarting my phone, VP, disabling / enabling the app /notifications /actions. No change. I found a "failed to add geofences" message. What does that mean?
Title: Re: Vera Proximity New Android Applications
Post by: Aaron on October 01, 2014, 06:13:38 pm
Same for me... I have voice alerts and they never occur.
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on October 02, 2014, 02:10:00 pm
Maybe clear the cache and redefine your fences.
Title: Re: Vera Proximity New Android Applications
Post by: Aaron on October 02, 2014, 02:13:30 pm
I tried using a fresh install. No different. I can watch the map and see me move in and out of fences but VP almost never triggers

Sent from my HTC6525LVW using Tapatalk

Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on October 02, 2014, 06:25:56 pm
I tried using a fresh install. No different. I can watch the map and see me move in and out of fences but VP almost never triggers

Sent from my HTC6525LVW using Tapatalk

Did you email yourself or Richard an Error log from inside the app?
Title: Re: Vera Proximity New Android Applications
Post by: Aaron on October 02, 2014, 06:34:42 pm
I tried using a fresh install. No different. I can watch the map and see me move in and out of fences but VP almost never triggers

Sent from my HTC6525LVW using Tapatalk

Did you email yourself or Richard an Error log from inside the app?

I have a few times emailed him directly from the app. I'm not finding any pattern to the issue either.
Title: Re: Vera Proximity New Android Applications
Post by: pls90 on October 03, 2014, 01:39:30 am
I cleared the app cache and data, setup my inner and outer fence fresh, no change. No notification, no action is triggered. I can see myself moving on the map at the right location, but at the fences borders nothing happens.
On setup vp again issued an error about a problem setting up fences (see my post above).
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on October 03, 2014, 01:47:17 am
I cleared the app cache and data, setup my inner and outer fence fresh, no change. No notification, no action is triggered. I can see myself moving on the map at the right location, but at the fences borders nothing happens.
On setup vp again issued an error about a problem setting up fences (see my post above).

Check page 3 post 40 he has similar problems.
Title: Re: Vera Proximity New Android Applications
Post by: pls90 on October 09, 2014, 05:32:07 am
It turns out that google's location services were turned off. After activating them I have everything back to normal. My fault all along :(
Title: Re: Vera Proximity New Android Applications
Post by: pls90 on October 09, 2014, 06:04:52 am
It turns out that google's location services were turned off. After activating them I have everything back to normal. My fault all along :(
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on October 27, 2014, 07:01:40 pm
If I get an event from the Phone (GeoFence,  Cell Tower Change, Wifi Change, GSM service Change, it will wake up my app.
While my app is awake ... you can NOT remove the notification icon ... after a minute or two it will allow you to remove the notification.

So if you can't remove the notification you are constantly getting one of the above events!

Anyone here using Samsung Note 4 for this app? I'm experiencing issues that I never had with my Note 3, Anyone else have same phone working?

EDIT: Think I found the problem some testing tomorrow will confirm, but looks like it was stupid mistake (like always right).

Need a new license when replacing your old phone?
Title: Re: Vera Proximity New Android Applications
Post by: tp546 on November 21, 2014, 12:18:25 pm
Where can I find instructions on how to use this with PLEG? I want to set up a condition for when I am not home based on my location.
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on November 21, 2014, 01:08:27 pm
Where can I find instructions on how to use this with PLEG? I want to set up a condition for when I am not home based on my location.

Not to be rude but you really need to read more first.

This app will allow you to turn a virtual switch in your vera on and off (you need to know what a virtual switch is, what it does and have one first) I recommend multiswitch as that one plugin will give you 8 switches that can be used for different things.

Then Install this app and get it setup to your account and which virtual switch you want to turn it on and off. You can have more then one for different areas, work, home almost home or what ever.

After this is up and working then you can use PLEG to watch the switch and use it to do what you want.

You need to take baby steps and get one at a time working first. PLEG is very complex and may not even be needed for what your trying to do. PLEG is for advanced Scenes.

What do you want to happen when your home are away?
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on November 21, 2014, 01:28:24 pm
Where can I find instructions on how to use this with PLEG? I want to set up a condition for when I am not home based on my location.

Just saw we been helping you with other PLEG stuff already.

Just to get you started I would recommend you install the PING sensor plugin in VERA. It will give you a virtual switch already and it's free fast and easy. Then you can jump right to PLEG and use that plugin as an input.

Jump back over to the PLEG forum and we can help you get your action going based on that.

This app is good, allows you to setup alot of different options for work, home or where ever you want to put a geofence. But it's not stand alone and requires more setup (multiswitch being one) so for the sake of just getting you rolling I would return to this later to add redundancy to you home or away switch.

The most important thing PLEG needs is an input and that can come in the form of alot of things. I have a "Multiswitch" switch. It has 8 buttons which I have labeled for me or my wife home and other things.

So In PLEG you add that multiswitch button your using as your input. I call the inputs "iJIMHOME" and the wifes "iAdrianneHome"

from there I can make conditions here is some ideas

cBothHome = iJIMHOME and iAdrianneHome
or
cAnyoneHome = iJIMHOME or iAdrianneHome
or
cAway = !iJIMHOME and !iAdrianneHome
or
cPorchLightOn = cAnyoneHome and Night and (Night; cAnyoneHome)   This uses the day/night plugin "NIGHT"
or
cAllOff = cAway
or
cAllOff = !iJIMHOME and !iAdrianneHome
Title: Re: Vera Proximity New Android Applications
Post by: tp546 on November 21, 2014, 01:30:28 pm
Where can I find instructions on how to use this with PLEG? I want to set up a condition for when I am not home based on my location.

Not to be rude but you really need to read more first.

This app will allow you to turn a virtual switch in your vera on and off (you need to know what a virtual switch is, what it does and have one first) I recommend multiswitch as that one plugin will give you 8 switches that can be used for different things.

Then Install this app and get it setup to your account and which virtual switch you want to turn it on and off. You can have more then one for different areas, work, home almost home or what ever.

After this is up and working then you can use PLEG to watch the switch and use it to do what you want.

You need to take baby steps and get one at a time working first. PLEG is very complex and may not even be needed for what your trying to do. PLEG is for advanced Scenes.

What do you want to happen when your home are away?

Thank so much - the multiswitch was the piece I was missing. Are there instructions for that somewhere?

Basically I have some lights and devices that I want to turn off when I am away from home and others that I want to turn on when I arrive home. Any help is appreciated :)
Title: Re: Vera Proximity New Android Applications
Post by: tp546 on November 21, 2014, 01:32:00 pm
Where can I find instructions on how to use this with PLEG? I want to set up a condition for when I am not home based on my location.

Just saw we been helping you with other PLEG stuff already.

Just to get you started I would recommend you install the PING sensor plugin in VERA. It will give you a virtual switch already and it's free fast and easy. Then you can jump right to PLEG and use that plugin as an input.

Jump back over to the PLEG forum and we can help you get your action going based on that.

This app is good, allows you to setup alot of different options for work, home or where ever you want to put a geofence. But it's not stand alone and requires more setup (multiswitch being one) so for the sake of just getting you rolling I would return to this later to add redundancy to you home or away switch.

The most important thing PLEG needs is an input and that can come in the form of alot of things. I have a "Multiswitch" switch. It has 8 buttons which I have labeled for me or my wife home and other things.

So In PLEG you add that multiswitch button your using as your input. I call the inputs "iJIMHOME" and the wifes "iAdrianneHome"

from there I can make conditions here is some ideas

cBothHome = iJIMHOME and iAdrianneHome
or
cAnyoneHome = iJIMHOME or iAdrianneHome
or
cAway = !iJIMHOME and !iAdrianneHome
or
cPorchLightOn = cAnyoneHome and Night and (Night; cAnyoneHome)   This uses the day/night plugin "NIGHT"
or
cAllOff = cAway
or
cAllOff = !iJIMHOME and !iAdrianneHome

Awesome, thanks. I think the piece I am missing now is how do I get the proximity app to flip the switch?
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on November 21, 2014, 01:56:27 pm
Awesome, thanks. I think the piece I am missing now is how do I get the proximity app to flip the switch?

in the app under the settings (gear) under your fence (another gear) check vera action on the enter fence select your vera and below that click select and pick what you want to do, scene virtual, or switch miltiswitch then choose on or off and which button.

Before that hope you have your vera credentials in the settings installed. Also I think you have some free time but this app does require a key which you pay for like PLEG.
Title: Re: Vera Proximity New Android Applications
Post by: tp546 on November 21, 2014, 02:12:38 pm
Awesome, thanks. I think the piece I am missing now is how do I get the proximity app to flip the switch?

in the app under the settings (gear) under your fence (another gear) check vera action on the enter fence select your vera and below that click select and pick what you want to do, scene virtual, or switch miltiswitch then choose on or off and which button.

Before that hope you have your vera credentials in the settings installed. Also I think you have some free time but this app does require a key which you pay for like PLEG.

Ahhh this all makes so much sense now! Thanks so much - I'll let you know if I have any more questions.
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on November 21, 2014, 02:15:16 pm
Ahhh this all makes so much sense now! Thanks so much - I'll let you know if I have any more questions.


I have even more questions today then when I started so I know you will too.   ;D
Title: Re: Vera Proximity New Android Applications
Post by: tp546 on November 21, 2014, 02:30:23 pm
Ahhh this all makes so much sense now! Thanks so much - I'll let you know if I have any more questions.


I have even more questions today then when I started so I know you will too.   ;D

Okay you're right haha. Question on the multiswitch. I made one of them for when I go to sleep which I set manually on my phone by running a scene and it turns the switch on to signal that I am sleeping. I have another for when I wake up, but how do you turn the switch off as part of a scene? I can only seem to turn it on and I feel like this should be obvious...
Title: Re: Vera Proximity New Android Applications
Post by: tp546 on November 21, 2014, 04:12:55 pm
Also, I can't seem to get the switch working with the app - I have the app set to turn it on when I am inside the fence and off when I'm outside the fence, but it doesn't actually change the switch. When I go into the fence settings, the home location and the fence are both unchecked and it only allows me to check one or the other, but it doesn't seem to save because when I go back, they are both always unchecked. The app does show in the status bar that I am entering the fence and leaving it though so I have that piece setup correctly I believe.
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on November 21, 2014, 04:17:30 pm
Okay you're right haha. Question on the multiswitch. I made one of them for when I go to sleep which I set manually on my phone by running a scene and it turns the switch on to signal that I am sleeping. I have another for when I wake up, but how do you turn the switch off as part of a scene? I can only seem to turn it on and I feel like this should be obvious...

What UI are you on? If your on ui5......
Under the action you working on go to the advanced tab select pick device and egt your multiswitch, click add, use the new drop down to choose select status and the number of the button you want to change. Then to the right you have 3 options
0 off
1 on
-1 toggle opposite what ever it is.

All this can be found in the multi switch instructions PDF
https://drive.google.com/file/d/0BykZKwGsCBsAaTJiWnNKLWdvR2c/edit

2nd paragraph under "ACTIONS"

EDIT: The manual above was found and further questions can be answered here for the multiswitch.
http://forum.micasaverde.com/index.php?topic=14453.0
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on November 21, 2014, 04:22:57 pm
Also, I can't seem to get the switch working with the app - I have the app set to turn it on when I am inside the fence and off when I'm outside the fence, but it doesn't actually change the switch. When I go into the fence settings, the home location and the fence are both unchecked and it only allows me to check one or the other, but it doesn't seem to save because when I go back, they are both always unchecked. The app does show in the status bar that I am entering the fence and leaving it though so I have that piece setup correctly I believe.

Changes only happen when you cross the fence (sounds like you did) not only because your already inside. For example if you setup now and your inside it wont trigger until you leave and come back. I think you already did this but rather say it then not.

The only check you need to be concirned with is on the enter and exit under "VERA Action"...... Well also under your settings you can't have "Disable Actions" checked either, that will pause all actions. You can also test with local alerts and SMS if that's easier for testing. 
Title: Re: Vera Proximity New Android Applications
Post by: tp546 on November 21, 2014, 04:33:01 pm
Okay you're right haha. Question on the multiswitch. I made one of them for when I go to sleep which I set manually on my phone by running a scene and it turns the switch on to signal that I am sleeping. I have another for when I wake up, but how do you turn the switch off as part of a scene? I can only seem to turn it on and I feel like this should be obvious...

What UI are you on? If your on ui5......
Under the action you working on go to the advanced tab select pick device and egt your multiswitch, click add, use the new drop down to choose select status and the number of the button you want to change. Then to the right you have 3 options
0 off
1 on
-1 toggle opposite what ever it is.

All this can be found in the multi switch instructions PDF
https://drive.google.com/file/d/0BykZKwGsCBsAaTJiWnNKLWdvR2c/edit

2nd paragraph under "ACTIONS"

EDIT: The manual above was found and further questions can be answered here for the multiswitch.
http://forum.micasaverde.com/index.php?topic=14453.0

Got it - thanks!
Title: Re: Vera Proximity New Android Applications
Post by: tp546 on November 21, 2014, 04:34:49 pm
Also, I can't seem to get the switch working with the app - I have the app set to turn it on when I am inside the fence and off when I'm outside the fence, but it doesn't actually change the switch. When I go into the fence settings, the home location and the fence are both unchecked and it only allows me to check one or the other, but it doesn't seem to save because when I go back, they are both always unchecked. The app does show in the status bar that I am entering the fence and leaving it though so I have that piece setup correctly I believe.

Changes only happen when you cross the fence (sounds like you did) not only because your already inside. For example if you setup now and your inside it wont trigger until you leave and come back. I think you already did this but rather say it then not.

The only check you need to be concirned with is on the enter and exit under "VERA Action"...... Well also under your settings you can't have "Disable Actions" checked either, that will pause all actions. You can also test with local alerts and SMS if that's easier for testing.

Yeah something is wrong - I have it set to vibrate when I cross the fence and it didn't do that either. Sounds like I have everything set up correctly though so not sure what the issue is.
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on November 21, 2014, 05:03:54 pm
Yeah something is wrong - I have it set to vibrate when I cross the fence and it didn't do that either. Sounds like I have everything set up correctly though so not sure what the issue is.

I'm assuming there is a trial period, but I have not found what it is. That may or may not be your problem.

Make sure under setting you don't have "disable app" or diasable alerts" or "disable actions" on you can also hit the next settings menu and scroll down to the bottom below your registration key and click debug level. Set it to debug, then go outside your fence and back in then click mail debug report. Erase Richards email and enter your own to email yourself a debug log which you can post here if you can't figure it out. That will tell me if registration is expired or what the issues are.

Also geofence uses cell tower triangulation its not perfect. You phone will bounce your location around maybe a few houses down sometimes. Fences set to tight around your house will give you false readings that you left sometimes. .4 or .5 for a small house is about as tight as I go to prevent false alarms. And when you leave your house your phone has a period of no internet as it drops wifi and pics up cell towers that adds a delay. So you might be a few blocks away before it triggers.

Everyone wants a perfect trigger when you pull in or out of your driveway. But with different phones, different cell towers and reception, this is unlikly (which is why I use more then one way to tell if I'm home). Bottom line make sure you don't set your fence to small and make it bigger if you get false triggers that you left when your home. When you exit the fence don't just walk a few steps outside it. Drive around the block and give it some time to get cell service, login to your vera and make the switch.

You'll also discover the rapid update option. This wakes your phone up and put it on high alert of your position for the time you enter. I have a .50 mile outer perimeter around my house that activates rapid update for 2:00.  So each location can have more then one fence doing different things.

Also make sure in you phones Android menu under "location" you have mode to "HIGH Accuracy" for better results.
Title: Re: Vera Proximity New Android Applications
Post by: tp546 on November 22, 2014, 02:28:31 pm
Okay so I think I have figured out the problem, I just don't know how to solve it. For some reason, it looks like the app is unable to reach Vera when I am outside my home network because when I try to change the switch settings, it tells me it can't find my Vera. I have my credentials set in the settings though so I'm at a loss how to further troubleshoot - any ideas?
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on November 22, 2014, 10:54:54 pm
Okay so I think I have figured out the problem, I just don't know how to solve it. For some reason, it looks like the app is unable to reach Vera when I am outside my home network because when I try to change the switch settings, it tells me it can't find my Vera. I have my credentials set in the settings though so I'm at a loss how to further troubleshoot - any ideas?

If it was working on wifi when you enter your house fence and connect to wifi you should get it. Also local alerts dont rely on vera are you getting that now?
Title: Re: Vera Proximity New Android Applications
Post by: Aaron on November 22, 2014, 11:02:15 pm
Yeah something is wrong - I have it set to vibrate when I cross the fence and it didn't do that either. Sounds like I have everything set up correctly though so not sure what the issue is.

I'm assuming there is a trial period, but I have not found what it is. That may or may not be your problem.

Make sure under setting you don't have "disable app" or diasable alerts" or "disable actions" on you can also hit the next settings menu and scroll down to the bottom below your registration key and click debug level. Set it to debug, then go outside your fence and back in then click mail debug report. Erase Richards email and enter your own to email yourself a debug log which you can post here if you can't figure it out. That will tell me if registration is expired or what the issues are.

Also geofence uses cell tower triangulation its not perfect. You phone will bounce your location around maybe a few houses down sometimes. Fences set to tight around your house will give you false readings that you left sometimes. .4 or .5 for a small house is about as tight as I go to prevent false alarms. And when you leave your house your phone has a period of no internet as it drops wifi and pics up cell towers that adds a delay. So you might be a few blocks away before it triggers.

Everyone wants a perfect trigger when you pull in or out of your driveway. But with different phones, different cell towers and reception, this is unlikly (which is why I use more then one way to tell if I'm home). Bottom line make sure you don't set your fence to small and make it bigger if you get false triggers that you left when your home. When you exit the fence don't just walk a few steps outside it. Drive around the block and give it some time to get cell service, login to your vera and make the switch.

You'll also discover the rapid update option. This wakes your phone up and put it on high alert of your position for the time you enter. I have a .50 mile outer perimeter around my house that activates rapid update for 2:00.  So each location can have more then one fence doing different things.

Also make sure in you phones Android menu under "location" you have mode to "HIGH Accuracy" for better results.

integlikewhoa
How well is Vera Prox & Ping Sensor working for you?  VP is not accurate for me, at all. Usually triggers 30-60 seconds after I'm parked in my garage.. even when GPS is on. Thus, I have turned it off completely - though I wish it was working.  If it is working for you, maybe you can share your secret? I have a fence about .5 miles which turns on GPS, then my home fence I've tried different things but the latest was covering about 200 yrds.

would love to collaborate on this as when it works (about 5% of the time) it is really nice!
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on November 22, 2014, 11:47:18 pm
If your fence is not set big enough then by the time VP starts the process your close enough home that your phones trying to jump on wifi and then VP has to wait for connection to switch and send.
Geofence is never perfect anf wont always be consistent.
Up until recently I was using ddwrt with commands on my 4 routers around the house to sense and trigger a multiswitch. Recently I switched up routers to some that are not compatible with ddwrt. Since then I started using ping senors instead.
Another one im using now but havent menchioned here is Blueiris built in geofencing. So im really using 3 options and I have PLEG to trigger a master when 2 of the 3 are on or off to prevent any false alarms. I also keep the two geofences at different distances.
I have mine and wifes phone pretty constantly turing on some lights when we around 2 doors down to turning in the driveway. Usually by a half block out either one or both geofences have triggered (since atleast one is set a block over and anthor a bit closer).  If the 2nd geofence hasn't trigger by the time I pull in front of the house wifi kicks in and the ping sensor trips before I get up the driveway. I have a router and 3 others set as ap's. So i have good wifi coverage in the street. I believe in numbers the more options you have the better can get it to work.  I have more things to this also. Like if 2 sensors are tripped for more then a few min. PLEG will asume the 3rd one has had an error and will manually fix the 3rd virtual switch so when I leave or return again its back to looking for 2 sensors out of 3 again. I would occasionally get a geofence that never tripped and without exiting and entering again this took care of an automatic reset.

The blueiris geofence I have talked about in the "blueiris unofficial plugin" thread. I already tun the app and it was a feature they have so I thought why not use it also.

If you got questions fire away.
Title: Re: Vera Proximity New Android Applications
Post by: tp546 on November 23, 2014, 02:26:33 am
I have no problem with the size of the fence; when i set up text message alerts they work flawlessly - just not anything that communicates with my vera from outside my network
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on November 23, 2014, 08:35:25 am
Turn on debug ... and  exercise the program ... then mail the log file to yourself   and/or me for review.
Title: Re: Vera Proximity New Android Applications
Post by: tp546 on November 23, 2014, 12:41:15 pm
Turn on debug ... and  exercise the program ... then mail the log file to yourself   and/or me for review.
Thanks Richard - what level should I set the debug to? Error?
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on November 23, 2014, 12:45:05 pm
Turn on debug ... and  exercise the program ... then mail the log file to yourself   and/or me for review.
Thanks Richard - what level should I set the debug to? Error?
DEBUG
Title: Re: Vera Proximity New Android Applications
Post by: tp546 on November 23, 2014, 08:49:04 pm
Turn on debug ... and  exercise the program ... then mail the log file to yourself   and/or me for review.

Here is the log file after I turned on debug mode, left the fence, and entered the fence:
https://dl.dropboxusercontent.com/u/472290/Debug.txt

Let me know what you are able to tell from that. Thanks!
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on November 23, 2014, 10:31:15 pm
Turn on debug ... and  exercise the program ... then mail the log file to yourself   and/or me for review.

Here is the log file after I turned on debug mode, left the fence, and entered the fence:
https://dl.dropboxusercontent.com/u/472290/Debug.txt

Let me know what you are able to tell from that. Thanks!

In the settings do you have unchecked use other sensors? Try turning that off if you don't have it un checked and try again.

Only thing I don't know is right if the line that says
"Nov 23, 2014 7:38:27 PM I:VeraProximity.Execute:ProcessDeferred"
Title: Re: Vera Proximity New Android Applications
Post by: tp546 on November 23, 2014, 10:33:34 pm
Turn on debug ... and  exercise the program ... then mail the log file to yourself   and/or me for review.

Here is the log file after I turned on debug mode, left the fence, and entered the fence:
https://dl.dropboxusercontent.com/u/472290/Debug.txt

Let me know what you are able to tell from that. Thanks!

In the settings do you have unchecked use other sensors? Try turning that off if you don't have it un checked and try again.

Only thing I don't know is right if the line that says
"Nov 23, 2014 7:38:27 PM I:VeraProximity.Execute:ProcessDeferred"

I don't see why that would change anything - the app has no issues sensing when I enter/exit the fence. I have it checked though.
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on November 23, 2014, 10:45:15 pm
I don't see why that would change anything - the app has no issues sensing when I enter/exit the fence. I have it checked though.

You have a point, but I don't know how to read if the sensors are stopping the message from being sent. So it was an option I threw out.

Everything but the "deferred" issue looks good to me. Looks like its flipping a multiswitch with the device #47 and button number "1" off then on.

looks to me like that happened and no errors in connections were made. You sure the multiswitch number and button and everything is correct?
Title: Re: Vera Proximity New Android Applications
Post by: tp546 on November 23, 2014, 11:12:16 pm
I don't see why that would change anything - the app has no issues sensing when I enter/exit the fence. I have it checked though.

You have a point, but I don't know how to read if the sensors are stopping the message from being sent. So it was an option I threw out.

Everything but the "deferred" issue looks good to me. Looks like its flipping a multiswitch with the device #47 and button number "1" off then on.

looks to me like that happened and no errors in connections were made. You sure the multiswitch number and button and everything is correct?

Just to be sure, I cleared the enter/exit settings and set them up again so I'll see if it works better now.
Title: Re: Vera Proximity New Android Applications
Post by: tp546 on November 24, 2014, 01:06:42 pm
This is still not working - here is an updated log:

https://dl.dropboxusercontent.com/u/472290/Debug.txt

Please let me know how best to troubleshoot. Thanks.
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on November 24, 2014, 01:12:45 pm
This is still not working - here is an updated log:

https://dl.dropboxusercontent.com/u/472290/Debug.txt

Please let me know how best to troubleshoot. Thanks.

Did you email it to Richard? He gets busy but he will get back to you either via that email or he might read this.

I don't see anything my untrained eyes but I only know enough to get me into trouble.
Title: Re: Vera Proximity New Android Applications
Post by: tp546 on November 24, 2014, 01:28:03 pm
This is still not working - here is an updated log:

https://dl.dropboxusercontent.com/u/472290/Debug.txt

Please let me know how best to troubleshoot. Thanks.

Did you email it to Richard? He gets busy but he will get back to you either via that email or he might read this.

I don't see anything my untrained eyes but I only know enough to get me into trouble.

No I don't have his email so I just posted it here - if you let me know his email, I can send to him. thanks.
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on November 24, 2014, 06:33:32 pm
No I don't have his email so I just posted it here - if you let me know his email, I can send to him. thanks.

When you click email debug log in the app his name/email is set by default to email it to him.

But just incase here is his website which has his contact info on it.

http://rts-services.com/Vera/Plugin/
Title: Re: Vera Proximity New Android Applications
Post by: tp546 on December 01, 2014, 02:00:47 pm
No I don't have his email so I just posted it here - if you let me know his email, I can send to him. thanks.

When you click email debug log in the app his name/email is set by default to email it to him.

But just incase here is his website which has his contact info on it.

http://rts-services.com/Vera/Plugin/

Thanks - I just emailed it to him
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on May 12, 2015, 10:32:58 pm
I just upgraded the APP to use the latest Google Location Service API ... It simplified the code ... that should help to reduce bugs!
Also I have been running with a lot of logging ... to identify why I was getting occasional false trips.

Occasionally it would report an incorrect GeoFence transition with a large (900M) location accuracy ... quickly followed by the correct GeoFence transition with a normal location accuracy (5-15M).
I added a new setting to set the MAX allowed location accuracy for a legal fence transition. It defaults to 100M.
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on May 12, 2015, 10:34:34 pm
I just upgraded the APP to use the latest Google Location Service API ... It simplified the code ... that should help to reduce bugs!
Also I have been running with a lot of logging ... to identify why I was getting occasional false trips.

Occasionally it would report an incorrect GeoFence transition with a large (900M) location accuracy ... quickly followed by the correct GeoFence transition with a normal location accuracy (5-15M).
I added a new setting to set the MAX allowed location accuracy for a legal fence transition. It defaults to 100M.

Great News.
Title: Re: Vera Proximity New Android Applications
Post by: zedrally on July 01, 2015, 02:39:01 am
RTS, has this plugin been pulled from the Mios store?

When I click on the link from your website, it takes me to the Vera Alerts plugin.

Thanks

Mike
Title: Re: Vera Proximity New Android Applications
Post by: Z-Waver on July 01, 2015, 10:06:55 am
It's an Android app, not a Vera plugin. You'll find it on Google Play.
https://play.google.com/store/apps/details?id=com.rtsservices.veraproximity
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on July 01, 2015, 10:08:30 am
I Never releases the Vera Proximity Plugin.
It added some features that oither location apps have that are not really needed for Home Automation.
Title: Re: Vera Proximity New Android Applications
Post by: williams2353 on July 13, 2015, 09:10:10 pm
I installed Vera Proximity on a Samsung Galaxy S5, Android 5.0.  The app is working, I defined a couple of geofences, and I am receiving SMS alerts.  The problem is that I can't figure out how to create a Vera action from it.  When I check "Vera Action", it opens a "Mobile Device Unlock Required" tick box (didn't check this), and a Vera: blank line.  This line appears to be a drop down, but it does not respond to any taps.  There is also a line:  "Action: Select Action" with a "Select" button, which also does not respond to taps.

Any ideas? 

Am I required to install the Vera Alerts device to make this work?

Thanks,
Tom Williams

Title: Re: Vera Proximity New Android Applications
Post by: williams2353 on July 13, 2015, 09:26:35 pm
Never mind - figured it out.  Had to re-enter my mios credentials about 5 times, it finally connected.  That was the problem.

Tom
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on July 14, 2015, 01:00:23 am
Actually you need to do the List Vera IDs after you enter the credentials for it to work.
Title: Re: Vera Proximity New Android Applications
Post by: williams2353 on July 14, 2015, 05:37:06 am
Do you have any plans to write this app for iPhone?
Title: Re: Vera Proximity New Android Applications
Post by: gwichman on August 07, 2015, 08:19:15 pm
not terribly intuitive.. is there documentation or a guide anywhere? ideally with some common examples people implement?
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on August 11, 2015, 01:28:38 am
not terribly intuitive.. is there documentation or a guide anywhere? ideally with some common examples people implement?

I have not scene any but it was pretty simple for me to setup.

I have a multiswitch setup and use more then one fence size around my house to trigger the multiswitch on and off for home and away.

Do you have any specific questions we can help with?
Title: Re: Vera Proximity New Android Applications
Post by: gwichman on August 11, 2015, 12:39:35 pm
initially i found the app confusing.. namely when editing what i thought was my fence, there was no way to select a vera action to be triggered in line with the fence. i eventually figured out that that's because when i entered my vera credentials, i didn't click the "list id's" button (or whatever it's called.. going off memory here). that's what i mean by it not being terribly intuitive. A simple guide with screenshots setting up what most people will want to do (trigger a scene when they enter/leave their fence) would be helpful.

now that i'm past that, i'm more curious on how people are using the app that i can draw ideas from. Best practices or creative ways it's being used since we don't all need to reinvent the wheel here. e.g..


mostly just looking for ideas and to avoid problems others may have solved..
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on August 11, 2015, 08:37:17 pm
I have fences for home and vacation home and work. I send notifications to my wife (and I receive notifications from her) when we leave work. 

I have 3 distances from my house. I use more then one to turn off my location incase it misses one. I also use the bigger outer one when entering to stop notifications of motion in driveway and front yard before I arrive home. If one of us is home for so long and the outter fence is tripped it also sends who's home a notification that I'm almost home.

smaller fence turns on front porch light and unlocks front door if I have crossed more then on and it now says I'm home.

At work It likes to bounce me out of the smaller circle. So I have a larger circle to say I'm gone and a smaller one to say I'm at work.

I generally like to have atleast 2 if not 3 size fences around the location to be able to watch for 2 tripping in a cirten direction to tell if your coming or going and to have a safety net of a false alert.

I also use a ping sensor ontop of geofence tho. Accurate home and away is important to me from running the roomba, locking unlocking doors or sending notifications.
Title: Re: Vera Proximity New Android Applications
Post by: gwichman on August 13, 2015, 07:12:24 pm
very interesting an helpful.. how do you use the order that fences are tripped functionally? or do you?

e.g. i don't see anything in the app that allows me to specify "if entering fence 1 and then entering fence 2, do X" (because i know it implies that i'm coming or going in a certain direction). so it's not clear to me outside of having rundundent fences in case one doesn't trip invoking the same scene how to use that info.

what do you put for reporting interval? by default its blank?

i can't seem to delete a fence. somehow i accidentally created 3 for work and wanted to delete one but selecting it and selecting the X button does nothing.

how do you deal with when one of you is a work while the other chose to stay home? how do you prevent your device from putting the home in "away" mode when you cross a fence in that scenario?
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on August 14, 2015, 12:21:04 am
very interesting an helpful.. how do you use the order that fences are tripped functionally? or do you?
VERA and PLEG does this not the app. App only trips a certain virtual switch on VERA.

e.g. i don't see anything in the app that allows me to specify "if entering fence 1 and then entering fence 2, do X" (because i know it implies that i'm coming or going in a certain direction). so it's not clear to me outside of having rundundent fences in case one doesn't trip invoking the same scene how to use that info.
Again VERA and PLEG does this not the app. App flips one button on the multiswitch then next fence cross trips another switch in vera. PLEG in vera looks at what just happens and useing order does what I have set. PLEG is the Logic. I don't use scenes. VP just flips on or off a button (or more then one depending on fence) and the app is done.

what do you put for reporting interval? by default its blank?
Not used I think it says.

i can't seem to delete a fence. somehow i accidentally created 3 for work and wanted to delete one but selecting it and selecting the X button does nothing.
Haven't looked or know off the top of my head what your issue is.

how do you deal with when one of you is a work while the other chose to stay home? how do you prevent your device from putting the home in "away" mode when you cross a fence in that scenario?
My home is set in home mode when anyone of us are at home. So if I leave but wife is at home it knows I have left but she hasn't. Since one or more of us is at home don't auto lock doors or send me notifications any time there is motion, door or window opened or .........Ect.  But as soon as everyone else also leave it sends me a notification wife left home, and now from that point until one of us arrives back home the house will send me alerts, if any door opens, motion is tripped in any room, any door is opened, outside gate or pretty much anything changes while we all gone.

PLEG is all my logic for the above, I don't use scense nor would that have the power to do this. PLEG is the heart.
Title: Re: Vera Proximity New Android Applications
Post by: williams2353 on August 22, 2015, 07:05:47 am
I am using Vera Proximity on my wife's phone to provide a PLEG with home and away status, using the inner and outer geofence logic described by Richard Schaefer, and it is working well.  What I can't figure out is how to stop Vera Proximity notifications on her phone?  I would like for the app to carry out the Vera actions without any messages or notifications on the device.

"Disable Alerts" is checked, but she is still getting them.  It is a Samsung Galaxy S5, Android 5.0.

Any suggestions?

Thanks,
Tom Williams
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on August 22, 2015, 08:20:45 am
Edit each Fence Action ...
Turn off the notifications for that action.
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on August 24, 2015, 06:46:52 pm
Richard,

When upgrading your phone is there away to export all your data, fences and such to your new unrooted phone?
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on August 24, 2015, 07:00:53 pm
There is no way to go from a Normal Phone to a rooted phone.
That's an Android security feature.

You can go from a Rooted phone to another rooted phone ... since you can access the APP's cached files which is where all of the settings are stored.

Titanium Backup is a good app for this for Rooted phones!
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on August 24, 2015, 07:08:56 pm
There is no way to go from a Normal Phone to a rooted phone.
That's an Android security feature.

You can go from a Rooted phone to another rooted phone ... since you can access the APP's cached files which is where all of the settings are stored.

Titanium Backup is a good app for this for Rooted phones!

How about Not Rooted to Not Rooted.

Yes I have used Titanium Backup before, but new phone (Note 5) and KNOX and Samsung Pay might not play so nice with rooted especially yet.

The deal currently is I already went from note 4 to note 5 (rooted to unrooted) and I manually redid everything from scratch. Its working now on my unrooted note 5. But I currently have an issue with my Note 5 that's only a week old and I'm going to get a replacement. I don't want to have to redo everything again from scratch again.

So now I need to transfer from Note5 to Note 5 both stock. Any way to backup something to cut down on me re making all my fences.

Also I tried to run registration (as I assume I am on my 30 day trial with this new device) but I don't see how to get a serial key or if I even need one. How does registration work when changing phones (I swapped both mine and my wifes phones to note 5's and we were both running VP before on 3 different vera's)
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on August 24, 2015, 09:36:14 pm
To copy NON-ROOTED to NOT-ROOTED you need to copy the files in the cache directory for the app.
Title: Re: Vera Proximity New Android Applications
Post by: alpha1 on October 12, 2015, 05:06:35 am
Hi Richard

How do i go about registering Vera Proximity.

I have 2 devices id like to register

Thanks
N
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on October 12, 2015, 12:42:18 pm
Hi Richard

How do i go about registering Vera Proximity.

I have 2 devices id like to register

Thanks
N

Open Vera Proximity, go to settings, scroll down to registration key, select the VERA your using this on and click the registration portal button.
Title: Re: Vera Proximity New Android Applications
Post by: embeeded on February 08, 2016, 02:28:22 am
I just installed this nice app and I have some several questions:

1 - What is the recommend fence configuration for detecting home/away? I don't need a complicated solution
2 - Do I need to play with the rapid update option?
3 - Can I get phone notifications when I enter/exit fence?

Thanks!
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on February 08, 2016, 11:32:27 am
I just installed this nice app and I have some several questions:

1 - What is the recommend fence configuration for detecting home/away? I don't need a complicated solution
2 - Do I need to play with the rapid update option?
3 - Can I get phone notifications when I enter/exit fence?

Thanks!

1 -  a single fence can do that
2 - You don't have to but you should if you want a faster update. By default your phone on checks it location every so often to say battery on using all the sensors. (you should use most accurate in your gps location settings under andriod side) Rapid update puts your phone in a constant check for what ever period you want. I most common way to use this is to make a larger fence around your house and when entering that fence have it run a rapid update for several min (long enough to pass the smaller fence). When you pass the larger fence depending on when your phone polls it's location it may or may not update right away (make sure the fence is large enough to kick in rapid update before you cross the small fence). So if you run only one small fence around your house, you might get home and it takes a min or two before it actually says your home without rapid update. 
I have doors unlock and outside motion sensors stop sensing notifications when I get home. If my update was delayed I would get alot of unwanted notifications as I pulled up the driveway walked on front porch and had to manually unlock the door.  I also don't want to set the fence so far away that it unlocks my door before I can see my house. This is where rapid update shines. Not using Rapid Update may or may not be fine for your needs.

3- Yes under the fence you have vera actions but you also have "local alerts". That is to vibrate or notify your own phone. Besides some minor testing (which this doesn't account for internet and vera delay) I'm not sure why you would need to know when your phone is home.
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on February 08, 2016, 12:42:59 pm
If you make the Fence radius to small you can have two types of problems:

1) When you leave (if you have poor GPS coverage inside your house)
    You might cross the fence before your have good GPS quality. And if the quality is below threshold, the transition will be lost.

2) If its two small and you have poor GPS coverage ... it might convert to cell phone triangulation, which is less accurate and place you outside of you small fence.

The reason for SMS is not to notify yourself, but to notify some one else if you are leaving or arriving at a location.
Title: Re: Vera Proximity New Android Applications
Post by: embeeded on February 08, 2016, 12:53:43 pm
thanks, this is what I configured:
1 - fence 0.5 mile with actions on entry / exit
2 - fence 2.0 miles with rapid update for 10 minutes (1000) on entry

Let me know what you think.
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on February 08, 2016, 02:18:39 pm
thanks, this is what I configured:
1 - fence 0.5 mile with actions on entry / exit
2 - fence 2.0 miles with rapid update for 10 minutes (1000) on entry

Let me know what you think.

Your needs maybe different. For me my fences are much smaller. I live in a heavy populated area. For me 1/2 mile would say I'm home way before I could see my house and in traffic maybe 5 min way still (stop signs and such in my area). I use .06 to .09 for my small houses here. My rapid update starts at .5 miles but a mile out might be better if your moving fast to get home (no traffic or stop signs in your area).

I like to have mine trip when I can see my house as door unlock, alarm shuts off, alerts stop when I get home. So for me (may not matter for you) 1/2 mile is to far away.

Other things you need to keep in mind when moving to a small fence (not in your current case) is that the wifi to cell tower transitions that happen as you enter or leave your house don't happen right at the same time your crossing the fence. That will cause you phone not to have internet and not be able to fire off the info to vera during this transition. This happens more so when your leaving the house as you phone has fully dropped wifi and switched to 3g/4g/LTE yet.
Title: Re: Vera Proximity New Android Applications
Post by: embeeded on February 08, 2016, 02:34:36 pm
thanks, this is what I configured:
1 - fence 0.5 mile with actions on entry / exit
2 - fence 2.0 miles with rapid update for 10 minutes (1000) on entry

Let me know what you think.

Your needs maybe different. For me my fences are much smaller. I live in a heavy populated area. For me 1/2 mile would say I'm home way before I could see my house and in traffic maybe 5 min way still (stop signs and such in my area). I use .06 to .09 for my small houses here. My rapid update starts at .5 miles but a mile out might be better if your moving fast to get home (no traffic or stop signs in your area).

I like to have mine trip when I can see my house as door unlock, alarm shuts off, alerts stop when I get home. So for me (may not matter for you) 1/2 mile is to far away.

Other things you need to keep in mind when moving to a small fence (not in your current case) is that the wifi to cell tower transitions that happen as you enter or leave your house don't happen right at the same time your crossing the fence. That will cause you phone not to have internet and not be able to fire off the info to vera during this transition. This happens more so when your leaving the house as you phone has fully dropped wifi and switched to 3g/4g/LTE yet.

Thanks for the detailed answer.
I will use 1.5 mile with rapid update of 10 minutes to overcome traffic and stop signs and 0.2 fence for changing house modes.
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on February 08, 2016, 03:02:44 pm
You do  not need to worry about the WiFi ... I handle retries and deal with the transition from WiFi to cellular data.
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on February 08, 2016, 03:19:52 pm
thanks, this is what I configured:
1 - fence 0.5 mile with actions on entry / exit
2 - fence 2.0 miles with rapid update for 10 minutes (1000) on entry

Let me know what you think.

Your needs maybe different. For me my fences are much smaller. I live in a heavy populated area. For me 1/2 mile would say I'm home way before I could see my house and in traffic maybe 5 min way still (stop signs and such in my area). I use .06 to .09 for my small houses here. My rapid update starts at .5 miles but a mile out might be better if your moving fast to get home (no traffic or stop signs in your area).

I like to have mine trip when I can see my house as door unlock, alarm shuts off, alerts stop when I get home. So for me (may not matter for you) 1/2 mile is to far away.

Other things you need to keep in mind when moving to a small fence (not in your current case) is that the wifi to cell tower transitions that happen as you enter or leave your house don't happen right at the same time your crossing the fence. That will cause you phone not to have internet and not be able to fire off the info to vera during this transition. This happens more so when your leaving the house as you phone has fully dropped wifi and switched to 3g/4g/LTE yet.

Thanks for the detailed answer.
I will use 1.5 mile with rapid update of 10 minutes to overcome traffic and stop signs and 0.2 fence for changing house modes.

You'll probley be fine with those settings but tweak it to fit your needs. 10min rapid update can't hurt anything but your battery % on the phone. It will use more of your battery during that time. A few times of timing your route from the outer fence to the inner should give you a good idea of general time it takes. If you find the longest is 10 min then use it or move the fence closer and shorten the time. 10min is probley a long time for your phone to be in rapid update.
Title: Re: Vera Proximity New Android Applications
Post by: embeeded on February 10, 2016, 03:37:40 am
Thanks for the tip, I would change the rapid time to 0500 as I moved the outer fence closer.
I have another problem: my wife work is less than 5 minutes from home, and the app doesn't have enough time to get her position and update
the vera on exit inner fence.

I have a condition that is true when there's no ping replay for 20 seconds AND the out of the inner geo-fence which never evaluates to True
I don't want to change the condition to OR as something we loss the wifi connectivity at home.

How do you suggest me overcome this issue?

Thanks
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on February 10, 2016, 09:24:13 am
Set a fence at her work ... so it starts an rapid update as soon as she leaves work.
You do not need any other actions other than setting rapid update on for when she leaves work. Maybe a fence of 1/2 mile around her work.

Title: Re: Vera Proximity New Android Applications
Post by: embeeded on February 10, 2016, 09:36:46 am
The issue is that vera doesn't detect she's away.
I think I found a solution:

for the inner fence I will do:
1 - on entry - change multi switch on
2 - on exit - start rapid update for 3M

for the outer fence I will do:
1 - on entry - start rapid update for 3M
2 - on exit - change multi switch off

What do you say?

Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on February 10, 2016, 09:38:39 am
Reread:
http://forum.micasaverde.com/index.php/topic,24896.msg268835.html#msg268835
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on February 10, 2016, 10:20:49 am
The issue is that vera doesn't detect she's away.
I think I found a solution:

for the inner fence I will do:
1 - on entry - change multi switch on
2 - on exit - start rapid update for 3M

for the outer fence I will do:
1 - on entry - start rapid update for 3M
2 - on exit - change multi switch off

What do you say?

Just so you know you can also have your small fence turn off switch along with the outter, you can also have a rapid update start at the same time on either...... But i dont think a 3min rapid update is necessary on exit. If it detects the inner fence leaving why bother with starting a rapid update, just turn off the switch and call it done.

If when u leave its not switching,  your fenfe might be to small and your cell hasn't got 3g yet as its switchibg from wifi to cell towers. In this case your idea for using the larger fence probably works. You could also make a middle fence that maybe is not as large as the "large" fence but is bigger then the small fence. It can do nothin on entering but turn off the switch on exit. Rapid update of :30 or 1:00 on leaving the inner may make more sense in that case.

I also wouldn't hesitate to turn off the switch on exit on all 3 just to make sure its not missed.
Title: Re: Vera Proximity New Android Applications
Post by: embeeded on February 10, 2016, 10:26:07 am
The issue is that vera doesn't detect she's away.
I think I found a solution:

for the inner fence I will do:
1 - on entry - change multi switch on
2 - on exit - start rapid update for 3M

for the outer fence I will do:
1 - on entry - start rapid update for 3M
2 - on exit - change multi switch off

What do you say?

Just so you know you can also have your small fence turn off switch along with the outter, you can also have a rapid update start at the same time on either...... But i dont think a 3min rapid update is necessary on exit. If it detects the inner fence leaving why bother with starting a rapid update, just turn off the switch and call it done.

If when u leave its not switching,  your fenfe might be to small and your cell hasn't got 3g yet as its switchibg from wifi to cell towers. In this case your idea for using the larger fence probably works. You could also make a middle fence that maybe is not as large as the "large" fence but is bigger then the small fence. It can do nothin on entering but turn off the switch on exit. Rapid update of :30 or 1:00 on leaving the inner may make more sense in that case.

I also wouldn't hesitate to turn off the switch on exit on all 3 just to make sure its not missed.

I agree, I will have the inner fence turn off the switch on exit, in addition to the outer fence exit.
I will stick to the 2 fences solution and see how it works.

Thanks
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on February 10, 2016, 02:44:52 pm
By indicating NOT Home when the inner fence exits you defeat the purpose of two zones.

It's the inner zone that suffers from false readings as gps signal degrades and cell towers are used.

You detect arriving home on the inner zone ... You detect you left home on the outer zone!

Title: Re: Vera Proximity New Android Applications
Post by: embeeded on February 10, 2016, 02:57:32 pm
I didn't understand your last message.
I tried 3 fences and still no good. it didn't detect my wife's exit
the inner fence (0.09) sets the switch on on entry and off on exit
the second fence (0.6) sets the switch off on entry and sets rapid update on exit
and the same goes for the third fence.

Please let me what I'm doing wrong.

Thanks
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on February 10, 2016, 05:28:48 pm
I didn't understand your last message.
I tried 3 fences and still no good. it didn't detect my wife's exit
the inner fence (0.09) sets the switch on on entry and off on exit
the second fence (0.6) sets the switch off on entry and sets rapid update on exit
and the same goes for the third fence.

Please let me what I'm doing wrong.

Thanks

Inner fence is good
2nd fence need to be set to switch off when you exit nothing when you enter
3rd fence or larger needs rapid update when you enter for 3-5 min how how ever long it will take to get home from that fence. On exit you can turn of switch.

3 fences are probley more then are needed for this basic application but post back the results.

Also how big is your 3rd fence?


 
Title: Re: Vera Proximity New Android Applications
Post by: embeeded on February 11, 2016, 02:39:17 pm
Still not 100% working, sometimes doesn't pick up arrival and sometimes exit.
My wife and I have 3 fences with the same logic: 0.09, 0.6 and 0.9
on exit for all fences we set switch off and on entry for 0.09 fence we set it on.
on entry for the 0.9 entry rapid update is running for 0600.

Any tweaks are highly appreciated.
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on February 11, 2016, 04:47:18 pm
Still not 100% working, sometimes doesn't pick up arrival and sometimes exit.
My wife and I have 3 fences with the same logic: 0.09, 0.6 and 0.9
on exit for all fences we set switch off and on entry for 0.09 fence we set it on.
on entry for the 0.9 entry rapid update is running for 0600.

Any tweaks are highly appreciated.

That's more then enough (to many fences so far). If it can't pickup an exit after 3 fences almost a mile out I would have to look at logs to see if it's an internet or vera issue or whats going on.

What do you have your accuracy threshold set to in the settings?
Title: Re: Vera Proximity New Android Applications
Post by: embeeded on February 12, 2016, 01:10:25 am
Still not 100% working, sometimes doesn't pick up arrival and sometimes exit.
My wife and I have 3 fences with the same logic: 0.09, 0.6 and 0.9
on exit for all fences we set switch off and on entry for 0.09 fence we set it on.
on entry for the 0.9 entry rapid update is running for 0600.

Any tweaks are highly appreciated.

That's more then enough (to many fences so far). If it can't pickup an exit after 3 fences almost a mile out I would have to look at logs to see if it's an internet or vera issue or whats going on.

What do you have your accuracy threshold set to in the settings?

100 and use sensors is enabled.
I will enable the logs.
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on February 12, 2016, 01:28:42 am
Still not 100% working, sometimes doesn't pick up arrival and sometimes exit.
My wife and I have 3 fences with the same logic: 0.09, 0.6 and 0.9
on exit for all fences we set switch off and on entry for 0.09 fence we set it on.
on entry for the 0.9 entry rapid update is running for 0600.

Any tweaks are highly appreciated.

That's more then enough (to many fences so far). If it can't pickup an exit after 3 fences almost a mile out I would have to look at logs to see if it's an internet or vera issue or whats going on.

What do you have your accuracy threshold set to in the settings?

100 and use sensors is enabled.
I will enable the logs.

100 should be fine, I would try turning off the use sensors for now. It's supposed to prevent false alarms if the sensors think the phone isn't moving. I don't know for sure but in your case it might prvent the real trip from happening. Turn it off for now during testing to see what happens, I currently don't use that myself.
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on February 12, 2016, 03:01:18 pm

Turn on Logs Vebose.
Then paper cycle the phone.

Make a little trip around the neighborhood making notes of the time you are at various locations. You can simulate going to work and coming home.

The mail the log to yourself.
You can kind of follow what is happening and can correlate with the times you wrote down where you are at.
Title: Re: Vera Proximity New Android Applications
Post by: embeeded on February 14, 2016, 03:28:06 am
Thanks, I will to this when I find the time.

It seems that the app doesn't monitor my location when the phone's screen is off.
How frequently this app monitors the location? can I change it?
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on February 14, 2016, 10:37:07 am
Thanks, I will to this when I find the time.

It seems that the app doesn't monitor my location when the phone's screen is off.
How frequently this app monitors the location? can I change it?

Rapid update process does this.
Title: Re: Vera Proximity New Android Applications
Post by: embeeded on February 14, 2016, 11:00:16 am
Yes but what if the rapid update never triggers?
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on February 14, 2016, 01:43:16 pm
Yes but what if the rapid update never triggers?

Why would rapid update never trigger?

The app does monitor your location when the screen is off. The app actually use Googles location settings. So all those settings are set in your phone location settings menu and you should have high accuracy or GPS, WIFI, and Mobile network option turned on.

The app can force an update also. And Richard does this for several different things (which I don"t know every one of them) When you unlock the app, change your location settings or open the app it will all force a manual update at that time then it will then go back to normal checking every so often based on googles rules.

The reason why you put your phone is rapid update more then 5 min away from home (could be a mile or less depending on your city traffic and streets you take) is so if your phone is only checking for update every 2-5 min (to conserve battery) is to make sure that some time between that large rapid update fence and the small enter fence your phone wakes up and puts it in rapid update before you cross the small fence.
If your larger fence and smaller fence are too close together it is true your phone may never wake up (not enough time or distance) and poll between those two and rapid update will never be kicked in (which maybe your problem now). Unless you open the phone or app and Richards manual check kicks in and then all starts working (which also maybe where your at now).

So based on what your saying I would try a bigger outer or rapid update fence or turn on debugging and email your self the log after to see what your phone is seeing.
Title: Re: Vera Proximity New Android Applications
Post by: charettepa on May 30, 2016, 11:12:02 am
No ... one license per Vera.

@RichardTSchaefer

is this still the case
I have used the trial and like it
I am ready to buy a lisence
my wife and I both use it

the registration server says 1 per vera per client
do i need 2 licenses
or is one still suffiient as per your previous post?
Title: Re: Vera Proximity New Android Applications
Post by: gwichman on May 31, 2016, 04:49:23 pm
what is the point of the app's badge icon notification number? Everytime i look at my phone, the app's icon has a little number as though it has some number of notification alerts. And yet when i launch the app, i don't see any notifications or ability to see why the badge icon said "1" or "4" or whatever the number is currently. Of course once you launch the app, it disappears.

Thanks!
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on May 31, 2016, 05:41:16 pm
what is the point of the app's badge icon notification number? Everytime i look at my phone, the app's icon has a little number as though it has some number of notification alerts. And yet when i launch the app, i don't see any notifications or ability to see why the badge icon said "1" or "4" or whatever the number is currently. Of course once you launch the app, it disappears.

Thanks!

This is only on samsung phones and it was discussed before in better detail then I'll explain right now. If I rem. correctly it was the # of events that have happened since the app was last opened. Fence crossing or anything.
Title: Re: Vera Proximity New Android Applications
Post by: gwichman on May 31, 2016, 06:07:25 pm
This is only on samsung phones and it was discussed before in better detail then I'll explain right now. If I rem. correctly it was the # of events that have happened since the app was last opened. Fence crossing or anything.

thanks. In my case it's an LG G4 so it seems not limited to samsung phones. But in any case, fairly benign as i suspected. It does trigger my OCD to want the number to go away though :D
Title: Re: Vera Proximity New Android Applications
Post by: charettepa on June 01, 2016, 11:34:53 am
No ... one license per Vera.

@RichardTSchaefer

is this still the case
I have used the trial and like it
I am ready to buy a lisence
my wife and I both use it

the registration server says 1 per vera per client
do i need 2 licenses
or is one still suffiient as per your previous post?

I can no longer use the app as it has expired
I dont want to reset and use the trial again
I am trying to pay for it
a response from the developer would be nice
since I am trying to support him and can clearly see he has been online several times and still not replied to this post or my private message
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on June 01, 2016, 03:09:43 pm
No ... one license per Vera.

@RichardTSchaefer

is this still the case
I have used the trial and like it
I am ready to buy a lisence
my wife and I both use it

the registration server says 1 per vera per client
do i need 2 licenses
or is one still suffiient as per your previous post?

I can no longer use the app as it has expired
I dont want to reset and use the trial again
I am trying to pay for it
a response from the developer would be nice
since I am trying to support him and can clearly see he has been online several times and still not replied to this post or my private message

It seems he's already given you the anwser and your looking for a 2nd confirmation? Also you can purchases a single licence and test for yourself as you know your gonna need atleast one anyways and there is no discount for 2 nor do they need to be purchased at the same time for any reason. So I think you'll find you can just purchase one and that's all you'll need to continue on.

You can Also email Richard if you cant contact him via the forums. Not sure which way is faster.
Title: Re: Vera Proximity New Android Applications
Post by: charettepa on June 01, 2016, 03:20:25 pm
I have emailed (sent private message)
his profile shows he has been on several times since my attempt to contact

he has never confirmed anything to me
I quoted a message to someone else from 2014

however as I noted
his confirmation contradicts what his license page says
so one would assume that it has possibly changed

I don't think I should have to "purchases a single licence and test for yourself"
it should not be this difficult to to get an honest answer when I am trying to support and pay for this product
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on June 01, 2016, 04:21:02 pm
I have emailed (sent private message)
his profile shows he has been on several times since my attempt to contact

he has never confirmed anything to me
I quoted a message to someone else from 2014

however as I noted
his confirmation contradicts what his license page says
so one would assume that it has possibly changed

I don't think I should have to "purchases a single licence and test for yourself"
it should not be this difficult to to get an honest answer when I am trying to support and pay for this product

I purchased one for each device myself (two total). But like I said you have several options if you can't wait for a replay (which seems to be tuff). Richards full time job is not to respond to everyone's posts ASAP. I would also say that PLEG always has alot of questions and he doesn't always answer right away, even if he was online doesn't mean it was able to get to all questions for all of his plugins he creates.  Depending on how much you flooded his inbox's he may have also chosen to wait until last to respond (that's what I would have done, but not saying Richard is like me) to you.

Also You don't have to "purchases a single licence and test for yourself" but that is an option..... again your not testing you know you needed atleast one but your choosing to wait anyways. Only reason I can see to not purchase one atleast is if you feel that if you need two you will not spend the money and purchases anything at all. If that is NOT the case and you will purchase two anyways, then your really just making this much harder then it needs to. No one is going to get rich off your onetime payment of 5.95. It's a hobby not a retirement plan.
Title: Re: Vera Proximity New Android Applications
Post by: charettepa on June 01, 2016, 04:48:22 pm
ok, well i did not flood his inbox, i sent 1 message
it potentially duplicated which i appologized for if it did

you are correct
the 2 licenses for me would be an issue
this is why i need to know
as once all is all complete i need this on my phone, my wifes phone, and my 2 kids
if its licensed per device thats 4 licenses

@5.95$ US ~ 8$ CAD
I am now at 32$

i can see per device or per vera but not per device per vera
as if and when i upgrade my vera ill have to pay 32$+ again
imagine someone who had the lite, then the edge, then the plus
that would be 96$ as its not transferable

now you can see how this 6$ app gets rediculously expensive
if it is truly per vera, as stated in 2014, i will buy a license
if the pricing model is fair
and then i will also get pleg and plts

it does not seem to be asking to much to have a 2 second clarification
common curtosy
so i can make an informed decision
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on June 01, 2016, 05:48:36 pm
There is upgrade discounts already in place to help with some of this. So if you do upgrade from a vera lite to a EDGE like I have done and you own PLEG, VERA ALERTS, VERA PROXIMITY he does give discounts for each licences you have over the first one. It comes out to paying around half price if you have 3 or 4 licensees of each.

I'm sure he will get back to you just be more patient and expect to pay what the license page says.

Upgrading VERA's is another problem all in it's own. I went threw the list myself with an upgrade every year since I started in home automation and vera's. Started with Lite's moved to edges due to lack of RAM and reboots and when problems hit again I preordered the Plus only to cancel the order and move to Homeseer on two of the 3 houses now. 
Title: Re: Vera Proximity New Android Applications
Post by: gwichman on June 04, 2016, 06:14:56 pm
any suggestions on how to troubleshoot vera proximity if it's no longer updating my virtual switch? I can tell it's triggering because i also have it do a different tone when i exit or enter my fence.. however it seems everytime i then look at vera, the switch remains off. unfortunately everything looks like it's configured correctly to me :(.

I also tried modifying the logging level to warnign in the app, and sending myself the log file when i cross the fence but there were no warning log entries (nor error which i assume it'd also show if there was some kind of error)
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on June 04, 2016, 08:45:58 pm
any suggestions on how to troubleshoot vera proximity if it's no longer updating my virtual switch? I can tell it's triggering because i also have it do a different tone when i exit or enter my fence.. however it seems everytime i then look at vera, the switch remains off. unfortunately everything looks like it's configured correctly to me :(.

I also tried modifying the logging level to warnign in the app, and sending myself the log file when i cross the fence but there were no warning log entries (nor error which i assume it'd also show if there was some kind of error)

you need to turn on logging, restart the app and then run it like that for a few times and email yourself or Richard the log. It will say if it tried to connect to vera and if it flipped the switch. If your license is expired or if it didn't try to do anything since maybe a sensor or setting was preventing it or telling it not to.
Title: Re: Vera Proximity New Android Applications
Post by: gwichman on June 05, 2016, 11:01:25 am
you need to turn on logging, restart the app and then run it like that for a few times and email yourself or Richard the log. It will say if it tried to connect to vera and if it flipped the switch. If your license is expired or if it didn't try to do anything since maybe a sensor or setting was preventing it or telling it not to.
thanks! i think i figured out what the problem was.. I recently replaced my phone and upon setting up very prox, probably forgot to register it on the new phone since it was working in evaluation mode. Spotted the below in the log file which i assume is the problem..

Jun 4, 2016 6:59:57 PM I:VeraProximity.Execute:Request:Exiting Fence from Home
Jun 4, 2016 6:59:57 PM I:VeraProximity.Execute:Handle:Exiting Fence from Home
Jun 4, 2016 6:59:57 PM I:VeraConnect.Notify:Notification:Evaluation Period is expired
Jun 4, 2016 6:59:57 PM I:VeraConnect.Notify:Notification:Waiting for next Fence Event!
Jun 4, 2016 7:00:06 PM I:VeraProximity.SysEvent:onReceive:android.intent.action.USER_PRESENT
Jun 4, 2016 7:00:06 PM I:VeraProximity.Execute:HasDeferredfalse


Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on June 05, 2016, 01:54:40 pm
you need to turn on logging, restart the app and then run it like that for a few times and email yourself or Richard the log. It will say if it tried to connect to vera and if it flipped the switch. If your license is expired or if it didn't try to do anything since maybe a sensor or setting was preventing it or telling it not to.
thanks! i think i figured out what the problem was.. I recently replaced my phone and upon setting up very prox, probably forgot to register it on the new phone since it was working in evaluation mode. Spotted the below in the log file which i assume is the problem..

Jun 4, 2016 6:59:57 PM I:VeraProximity.Execute:Request:Exiting Fence from Home
Jun 4, 2016 6:59:57 PM I:VeraProximity.Execute:Handle:Exiting Fence from Home
Jun 4, 2016 6:59:57 PM I:VeraConnect.Notify:Notification:Evaluation Period is expired
Jun 4, 2016 6:59:57 PM I:VeraConnect.Notify:Notification:Waiting for next Fence Event!
Jun 4, 2016 7:00:06 PM I:VeraProximity.SysEvent:onReceive:android.intent.action.USER_PRESENT
Jun 4, 2016 7:00:06 PM I:VeraProximity.Execute:HasDeferredfalse


Yup that will do it. Enter you serial code from before in your new phone and you should be good to go.
Title: Re: Vera Proximity New Android Applications
Post by: charettepa on June 06, 2016, 12:12:25 pm
you need to turn on logging, restart the app and then run it like that for a few times and email yourself or Richard the log. It will say if it tried to connect to vera and if it flipped the switch. If your license is expired or if it didn't try to do anything since maybe a sensor or setting was preventing it or telling it not to.
thanks! i think i figured out what the problem was.. I recently replaced my phone and upon setting up very prox, probably forgot to register it on the new phone since it was working in evaluation mode. Spotted the below in the log file which i assume is the problem..

Jun 4, 2016 6:59:57 PM I:VeraProximity.Execute:Request:Exiting Fence from Home
Jun 4, 2016 6:59:57 PM I:VeraProximity.Execute:Handle:Exiting Fence from Home
Jun 4, 2016 6:59:57 PM I:VeraConnect.Notify:Notification:Evaluation Period is expired
Jun 4, 2016 6:59:57 PM I:VeraConnect.Notify:Notification:Waiting for next Fence Event!
Jun 4, 2016 7:00:06 PM I:VeraProximity.SysEvent:onReceive:android.intent.action.USER_PRESENT
Jun 4, 2016 7:00:06 PM I:VeraProximity.Execute:HasDeferredfalse


Yup that will do it. Enter you serial code from before in your new phone and you should be good to go.


@gwichman or @integlikewhoa

when you add your code
could you please do me a favour and let me know if it works on more than one device
the developer is just not getting back to me
I would really appreciate it

Thanks in advance

Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on June 06, 2016, 12:39:27 pm

@gwichman or @integlikewhoa

when you add your code
could you please do me a favour and let me know if it works on more than one device
the developer is just not getting back to me
I would really appreciate it

Thanks in advance

I already ran out of suggestions on this after talking with you on this topic before. Sorry to here Richard hasn't gotten back to you. I purchased two licences for the only two phones I use. When you purchases more then one it still rolls under one serial or key. So I have one key but two licences under it. I also no longer run this app or VERA anyways. So altho I think one licence does work, I'm unable to provide you with that info to be sure.
Title: Re: Vera Proximity New Android Applications
Post by: charettepa on June 06, 2016, 01:39:05 pm
thanks for taking the time to reply
I do appreciate it
nice to see there are still some good people here

I understand you no longer use the vera
should you have time to test using 2 devices/1 license
I would be very appreciative



Thank you
Title: Re: Vera Proximity New Android Applications
Post by: gwichman on June 06, 2016, 03:13:43 pm
when you add your code
could you please do me a favour and let me know if it works on more than one device
the developer is just not getting back to me
I would really appreciate it

Thanks in advance

I can confirm that since inputting the code, my new phone's vera prox is working again. That's not the same as saying a single code can be used at the same time across two devices. I can't test that since I don't have the old phone anymore..

btw, didn't you get your answer already? It looks pretty clear in this thread that you only need 1 licence per vera, not per phone.
Title: Re: Vera Proximity New Android Applications
Post by: charettepa on June 06, 2016, 03:43:36 pm
when you add your code
could you please do me a favour and let me know if it works on more than one device
the developer is just not getting back to me
I would really appreciate it

Thanks in advance

I can confirm that since inputting the code, my new phone's vera prox is working again. That's not the same as saying a single code can be used at the same time across two devices. I can't test that since I don't have the old phone anymore..

btw, didn't you get your answer already? It looks pretty clear in this thread that you only need 1 licence per vera, not per phone.

yes, however
that answer from the developer is from 2014
and his license page says otherwise
so things could have changed

I am just trying to make an informed decision
I was hoping since the developer is not answering that a fellow forum member could verify
if you have a chance to verify on another phone, tablet, friends device, etc..
I would appreciate it

maybe I can be of help elsewhere in return?
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on June 06, 2016, 06:10:49 pm
yes, however
that answer from the developer is from 2014
and his license page says otherwise
so things could have changed

I also think that Richard thought might be trying to charge for each device, but on the device side of this plugin he doesn't have much control and he implements most of his stuff based on the vera side or vera serial. Thus I think you may find that he would like you to pay for each device but his app only check for the licences against the vera serial and therefor works on more then one device at a time. 

His current security setup doesn't have anything in place stopping me from setting up one phone and then transferring to another phone when I get a new one. Which leads me to believe that..... How is his software going to know if your using it on your new phone or your wifes phone. I'm just guessing but this key just looks that the vera serial its contacting has a valid license and lets any device or number of devices connect to that vera if the vera serial is valid. 

Again I can't test this for you but that's my guess.

I also know that if he could lock it to one device if he wanted but it maybe more work and headaches (think of how often people change phones) then he found thought would be worth doing. So he's asking you to pay for each device and figures the most would. Like I said I just bought two was like 11.00 per vera (which only last me a year until now).

He may not want to answer possibly as he don't want to fully put out that it works with one license.

Also I completely understand he should have gotten back to you, but still surprised you haven't even thrown the 6.00 towards his development and time. I have probley given him 100.00 over several veras in the last 3 years. I'm pretty sure hes rich still broke tinkering with home automation.
Title: Re: Vera Proximity New Android Applications
Post by: charettepa on June 06, 2016, 06:29:31 pm
Thank you for your reply. I appreciate your detailed thoughts on the subject. Please remember we are 4 people and 6US$   is over 9CAD$. So it can add up fast. I do understand what you mean when you say that it could impact his sales if he publicly admits that 1 license is enough.  That being said he could have responded to my private message. It's very poor way to treat someone that has done no wrong to him. In the end other people reading this thread see this and it could be a real deal breaker for them. Right now I need this plugin but am still holding off as I am finding it really hard to give any$ given the situation. No other developer on this forum has done this, they have all been very courtious respectfull and helpful.  I have even worked with them and shared personal enhancements.The next problem is that if I do buy 1 and it works. What's to say he won't just turn around and change it forcing me to buy more. Given the way things have been so far.

Sent from my ONE A2005 using Tapatalk
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on July 18, 2016, 09:58:56 pm
VeraProximity has been upgraded:

1) Supports New UI7 feature where accounts can be mixed case.
    Previously MCV would lower case the name when the account was created.
2) Support URL action for when you enter/exit a fence.
    If this is a relative URL ... it can be any URL you would send to the your Vera ..
    i.e.
Code: [Select]
    /data_request?id=action&output_format=json&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=RunScene&SceneNum=24
3) Support for Android 6.0 Privilege changes.
4) Retry after 15 seconds if Remote Data request fails for 4 times.

Title: Re: Vera Proximity New Android Applications
Post by: pls90 on July 20, 2016, 05:52:14 am
Richard, could you please expand on 4)? How precisely are errors handled in the new version?
I would also like to make a feature request. It would be brilliant to have an event log. Date &  time of entering / leaving a fence, acknowledgement of data sent or errors that occurred (plain list like in vera alerts). Ideally the log would be opened when you tap the Vera Proximity Message in the Android Message Center.
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on July 20, 2016, 09:18:59 am
Some folks have indicated that there fence definitions are in locations where they have poor or no data coverage ... and as a result the ability to contact Vera fails.
So now I will try if that fails.
Title: Re: Vera Proximity New Android Applications
Post by: pls90 on July 22, 2016, 02:37:09 am
Ok, thank you, I thought that much. Just curious: How many times / for how long will you try to resend?
Any chance for my request to make it on your roadmap for future implementations?
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on July 22, 2016, 08:28:10 am
I put your request on the list

4 Retries ... 15 seconds apart.
Title: Re: Vera Proximity New Android Applications
Post by: pls90 on July 22, 2016, 08:37:41 am
Understood. In my case that would probably not work as it takes me at least 2min by car to get into an area with a signal again.
What if you would introduce 2 parameters to be entered under settings: number of retries and wait period in seconds before retry? This way each user could tailor this to his specific needs.
And Thanks a lot for putting my request on the list!
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on July 22, 2016, 10:04:23 am
I put your request on the list

4 Retries ... 15 seconds apart.

What about if your on the phone and don't have a data connection when you cross a fence? I know people can spend more then a min. on the phone.
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on July 22, 2016, 10:13:15 am
If it fails because you are on the phone (AT&T customers do not have that limitation) it's not considered a failure ... it will be delayed until you are off the phone.
Title: Re: Vera Proximity New Android Applications
Post by: integlikewhoa on July 22, 2016, 10:24:11 am
If it fails because you are on the phone (AT&T customers do not have that limitation) it's not considered a failure ... it will be delayed until you are off the phone.

Got it! (Sprint customer here)
Title: Re: Vera Proximity New Android Applications
Post by: pls90 on July 26, 2016, 02:40:15 pm
With the latest version of vera proximity my presence detection somehow got flaky . The multiswitch I use to flip when entering /leaving my home fence doesn't change reliably. I suspect that the app for some reason just stops running. Also after booting the phone I am unsure if the app was started. I am on Android 6 and have configured for the app to continue to run even when screen is off. Is there a way to tell if vera proximity is actually running?

Gesendet von meinem SGP612 mit Tapatalk

Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on July 26, 2016, 03:08:55 pm
It should be running all the time by default.
When you enter your password or turn the wifi on/off ... it should present the notification in the task bar.
Title: Re: Vera Proximity New Android Applications
Post by: pls90 on July 27, 2016, 04:34:50 am
So you are saying vera proximity could be running even when not showing on the taskbar? And to verify if it actually is running i would turn wifi of/on, it then would show up with a notification? I would really like to have an option for vera proximity to always show it's icon in the taskbar when running!
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on July 27, 2016, 08:50:54 am
Vera Proximity is event Driven ....

Events include:
       Phone Booting,  GeoFence Transitions,  Network Status Change, Unlocking the phone.

       I forgot, that I do not force the notification icon to display when you Unlock the phone (Request from users).

       GeoFence Transitions are provided by Android system, my App does not need to be running to detect these. Android will wake up my app when they happen. On Boot event, or the map interface, I define the GeoFences that Android will respond to.
   
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on August 08, 2016, 06:46:03 pm
I have a bug fix to release today (3.1) that will fix a problem with new installs.
Title: Re: Vera Proximity New Android Applications
Post by: simonk1969 on August 21, 2016, 03:19:32 pm
I've got a couple of questions with regards to Vera Proximity:

1. Where in Vera is the information shown about where you have just entered or exited?

2. Does/can it pass back the actual GPS location of the user, so that they could be plotted on a map?

Thanks
Simon
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on August 21, 2016, 04:14:39 pm
Vera Proximity can be used to run a scene  (in that case it's up to you to decide where the info is stored)
It can also set/reset a MultiSwitch, a Virtual Switch, or run any URL.
The GPS location is not sen t back to Vera.
It has a map in the App. It is not a location sharing app.
Title: Re: Vera Proximity New Android Applications
Post by: simonk1969 on August 21, 2016, 06:18:19 pm
Vera Proximity can be used to run a scene  (in that case it's up to you to decide where the info is stored)
It can also set/reset a MultiSwitch, a Virtual Switch, or run any URL.
The GPS location is not sen t back to Vera.
It has a map in the App. It is not a location sharing app.

Thanks for your response I was just trying to see if I could get rid of location sharing app if using this.

If it were to update a scene could this then change the status of the Home/Away/Night/Vacation Mode?
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on August 21, 2016, 06:40:00 pm
Yes, it's on my list to make this an option.
But it's only useful if one persons lives at home.
Title: Re: Vera Proximity New Android Applications
Post by: simonk1969 on August 22, 2016, 08:01:50 am
Yes, it's on my list to make this an option.
But it's only useful if one persons lives at home.

There is two of us at home, so I've set up a multi switch which is correctly showing the home/away status can I progmatically then change the main Home/Away/Night/Vacation Mode status on my VeraPlus?
If so could you briefly explain how.

Thanks
Simon
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on August 22, 2016, 08:17:39 am
I (and many others) use the PLEG plugin for automation logic.

Inputs:
MrIsHome                  When the man of the house is home indicated by appropriate Multi Switch
MrsIsHome                When the woman of the house is home indicated by appropriate Multi Switch


Condition:
AllGone                     !MrIsHome  and !MrsIsHome
SomeoneHome           MrIsHome or MrsIsHome

Actions:
AllGone                     Set house to away
SomeoneHome          Set house to home

Title: Re: Vera Proximity New Android Applications
Post by: tomdp on September 26, 2016, 08:03:38 pm
I am getting Android Force Closed whenever I tried and go to the the setup menu to configure my Fence. Sometimes, force close will show an error with the GoogpleApiClient.

I tried to contact Richard but he had stopped responding. This is after I paid for the license.
Title: Re: Vera Proximity New Android Applications
Post by: niharmehta on January 07, 2017, 04:09:44 pm
Hi Richard,
Is Vera Proximity still actively being supported by you or with the Vera native capability  there is less focus on it now?  The web site seems to link to the VA thread and there does not seem to be a lot of active posts on this in recent periods.
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on January 08, 2017, 08:54:18 am
I still use it ... I do not run Vera's mobil app.
Title: Re: Vera Proximity New Android Applications
Post by: gwichman on January 10, 2017, 05:18:53 pm
Hi Richard,

Ever since returning from vacation a couple of weeks ago, VeraProx stopped working for me. It may have stopped before vacation even back in early Dec but i digress..

Basically it doesn't update the VS on my Vera when i enter/exit my defined zone. I also have it set up to trigger a tone as i enter/exit which it also doesn't do. Credentials seem fine and haven't changed (plus it pulls up my vera in the interface when i have it list them). I'm at a loss as to why it stopped working. Everything looks correct.

I have an LG G4 android phone on AT&T (6.0, security patch level 2016-11-01, kernel 3.10.84, build MRA58K) and i notice that in the notification bar up top, I usually do not see the VeraProx icon anymore which i find suspicious. Don't know if that's related.. I do see it *sometimes*.. not sure why it's showing it sometimes but not most of the time.

I did send the logs to myself (debug) and looked through them but around the time i left my house this morning i'm not spotting anything obvious (see attached particularly around 10-10:30AM). in fact i dont see it registering an entry/exit log entry at all nor attempting to contact the vera to update the VS.

any ideas?
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on January 10, 2017, 05:34:05 pm
Do you have a license ?
Title: Re: Vera Proximity New Android Applications
Post by: gwichman on January 10, 2017, 05:48:00 pm
Do you have a license ?
ahhh.. i bet that's it. I looked in the app and the field was blank. Yes i do.. i've entered it from the registration portal. We'll see if that fixes it. Now that you mention it I did have an issue with my G4 right before vacation where AT&T had to send me a new one. I bet i never entered the reg key when setting up the replacement phone.

Now to see if it works again :)  thanks as always!
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on January 11, 2017, 10:03:18 am
I have a new version of Vera Proximity I have been sitting on (using personally).
It has a log panel that shows the latest events ... and make its easy to see that your license expired.
I will release this ...
Title: Re: Vera Proximity New Android Applications
Post by: gwichman on January 23, 2017, 05:00:49 pm
Hey Richard,

Sometimes when i look at my android notification bar i see the vera proximity icon.. sometimes i do not. What should I read from that? If I don't see it, does that mean it's not running and android killed it or is it something to be concerned about? I honestly don't recall seeing it do this before (e.g. last year).
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on January 23, 2017, 08:09:35 pm
If you see it ...  and you can't cancel it ... it's actively looking for a location (at a high rate).
When it's not there .. or can be canceled ... it's looking for a location at a much slower rate (This is the normal mode).
Title: Re: Vera Proximity New Android Applications
Post by: gwichman on February 03, 2017, 01:16:37 pm
is there something going on with vera prox lately? Mine no longer updates my vera when i enter/exit zones and i see a lot of this in the log files:

Code: [Select]
Jan 29, 2017 4:51:05 PM E:VeraConnect.VeraGateway:URLConnection
Exception:java.io.IOException: unexpected end of stream on Connection{vera-us-oem-relay31.mios.com:443, proxy=DIRECT@ hostAddress=173.255.250.75 cipherSuite=TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 protocol=http/1.1} (recycle count=0)
at com.a
ndroid.okhttp.internal.http.HttpConnection.readResponse(HttpConnection.java:210)
at com.android.okhttp.internal.http.HttpTransport.readResponseHeaders(HttpTransport.java:80)
at com.android.okhttp.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:906)
at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:790)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:439)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:384)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:497)
at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:105)
at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java)
at com.rtsservices.veraconnect.access.h.b(Unknown Source)
at com.rtsservices.veraconnect.access.h.a(Unknown Source)
at com.rtsservices.veraconnect.access.f.a(Unknown Source)
at com.rtsservices.veraconnect.access.f.a(Unknown Source)
at com.rtsservices.veraconnect.access.g.a(Unknown Source)
at com.rtsservices.veraconnect.access.b.a(Unknown Source)
at com.rtsservices.veraconnect.access.g.b(Unknown Source)
at com.rtsservices.veraproximity.geofence.a.b(Unknown Source)
at com.rtsservices.veraproximity.geofence.a.b(Unknown Source)
at com.rtsservices.veraproximity.geofence.h.run(Unknown Source)
at java.util.Timer$TimerImpl.run(Timer.java:284)
Caused by: java.io.EOFException: \n not found: size=0 content=...
at com.android.okhttp.okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:200)
at com.android.okhttp.internal.http.HttpConnection.readResponse(HttpConnection.java:191)
... 19 more

Jan 29, 2017 4:51:05 PM E:VeraConnect.VeraGateway:URLConnection
Exception:java.net.UnknownHostException: Unable to resolve host "vera-us-oem-relay32.mios.com": Unknown error
Jan 29, 2017 4:51:05 PM E:VeraConnect.VeraGateway:URLConnection
Exception:java.net.UnknownHostException: Unable to resolve host "vera-us-oem-relay32.mios.com": Unknown error
Jan 29, 2017 4:51:05 PM E:VeraConnect.VeraGateway:URLConnection
Exception:java.net.UnknownHostException: Unable to resolve host "vera-us-oem-relay32.mios.com": Unknown error
Jan 29, 2017 4:51:05 PM W:VeraConnect.LocalRemoteManager:URLRequest: Failed for all BaseURLs
Jan 29, 2017 4:51:05 PM W:VeraConnect.UI6Gateway:FetchURL: Resetting Connection Info:UI6-45005970
Jan 30, 2017 6:30:13 PM W:VeraConnect.UI6Gateway:UI6VeraAccess: Setting Connection Info:UI6-45005970
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on February 03, 2017, 03:54:31 pm
Resolve host errors indicate Internet connectivity issues.
Title: Re: Vera Proximity New Android Applications
Post by: whoami on February 27, 2017, 03:32:50 pm
i updated the app few days ago and the status now indicates "no sensor activity" when i enter/exit zones and no vera action being triggered... does it mean my license expired and i need a new one? thanks in advance
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on February 27, 2017, 11:21:54 pm
You can change things in the Settings to suit your needs.

Title: Feature request - Vera Proximity to scan for bt beacons
Post by: pls90 on March 03, 2017, 06:16:30 am
Richard,
on my new phone vera proximity is working quite nicely.
I setup some logic to automatically open my garage door when I pull into my driveway.
I am using a beacon scanner app on my android phone to detect a beacon in my car which toggles a multiswitch on vera "Peter_in_car" to on or off.
I need this so that the garage door is only opened when I return home by car.
Only downside to this is that I am only able to set the switch as long as I am home. When I leave the car when not in reach of my  home wifi the switch is not toggled.
Beeing on UI7 I see no way to do this remotely as the old UI5 approach doesn't work any more
Code: [Select]
https://fwd7.mios.com/user/pwd/vera_id/data_request?id=lu_action&DeviceNum=xx&serviceId=urn:upnp-org:serviceId:SwitchPower1&action=SetTarget&newTargetValue=0
Vera proximity has everything we need to accomplish this (remote authentication, ability to flip switches)
All we need would be the ability to scan for a beacon within the app and then trigger some actions (scenes, switch, etc.)

After all, VP has "proximity" in it's name  :)

What do you think?
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on March 03, 2017, 11:25:32 am
You might look into Tasker ... there is a plugin that enables remote access to Vera from tasker.

I have been waiting for a feature in Android that IOS implemented about a couple of years ago ...
 
Title: Re: Vera Proximity New Android Applications
Post by: pls90 on March 03, 2017, 12:24:28 pm
I tried tasker but the autovera plugin is a monthly subscription. I'd rather pay you for an upgrade :D
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on March 03, 2017, 03:23:02 pm
I did not know o
It had a subscription... I am busy on a project right now ... but I will look into this a little later this year.
Title: Re: Vera Proximity New Android Applications
Post by: baxy_AU on March 03, 2017, 11:05:25 pm
Richard,
on my new phone vera proximity is working quite nicely.
I setup some logic to automatically open my garage door when I pull into my driveway.
I am using a beacon scanner app on my android phone to detect a beacon in my car which toggles a multiswitch on vera "Peter_in_car" to on or off.
I need this so that the garage door is only opened when I return home by car.
Only downside to this is that I am only able to set the switch as long as I am home. When I leave the car when not in reach of my  home wifi the switch is not toggled.
Beeing on UI7 I see no way to do this remotely as the old UI5 approach doesn't work any more
Code: [Select]
https://fwd7.mios.com/user/pwd/vera_id/data_request?id=lu_action&DeviceNum=xx&serviceId=urn:upnp-org:serviceId:SwitchPower1&action=SetTarget&newTargetValue=0
Vera proximity has everything we need to accomplish this (remote authentication, ability to flip switches)
All we need would be the ability to scan for a beacon within the app and then trigger some actions (scenes, switch, etc.)

After all, VP has "proximity" in it's name  :)

What do you think?
I use Automate and authomation android apps to do this exact thing. Automate is similar to tasker and can access vera through the authomation app which exposes as tasker compatible plugin. How I have done it is using a automate's built proximity and Bluetooth triggers so that when my phone approaches my home it checks if I'm connected to my car hands-free and if so pops up a request dialogue asking if I want to run the scene on my vera. The scene on my vera opens the garage door and unlocks the access door , and if it is night it also turns on the garage lights
Title: Re: Vera Proximity New Android Applications
Post by: pls90 on March 04, 2017, 01:14:51 am
richard, thanks a lot for considering.
baxy_AU, i didnt know about automate. will look into this today. thank you for sharing.
Title: Re: Vera Proximity New Android Applications
Post by: DeAmelia on November 16, 2017, 11:20:19 pm
Greetings,

I'm having a reliability problem with Vera Alerts.

I have three fences set up around my home:  Inner (0.2 miles), Middle (4 miles) and Outer (50 miles).    Entering/Exiting the Inner fence works 100% of the time, but entering/exiting the Middle/Outer fences has at best a 50/50 chance of working.   I have all three setup the same in Vera Alerts, except that the three fences trigger different scenes in the Vera.

When it fails, the Status display in Vera Alerts is not showing entering/exiting the fences.

Besides the radius, another thing different between the fences is I cross Inner at about 25 mph in my neighborhood, Middle at 45 mph, and Outer at 75 mph on the Interstate.   All have good cell coverage, and based on running a GPS logger in parallel, I'm seeing no GPS dropouts.

Is there a different setting I should be using on the Middle/Outer fences?

Thanks
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on November 17, 2017, 05:32:49 am
Turn on Logging in the APP.
Then when it fails ... send me the log ... indicate the time when you crossed a zone and it did not work.
Title: Re: Vera Proximity New Android Applications
Post by: Flexelex on December 01, 2017, 09:42:09 am
Dear Richard,

I have been playing around with Proximity now for a while. In the beginning it worked nicely but somehow it stopped working reliable. At some point i saw you needed a license which i purchased a couple of days ago but still it does not work reliable. Sometimes it works, some times it doesn't. I have been looking into the settings in andriod to ensure it uses location services which it does. I have no idea how to look into errors or what settings need to be tweaked as it all looked straight forward. SOme help would be great.
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on December 01, 2017, 09:11:42 pm
Make sure you have not restricted it's power usage, you might be putting it to sleep to save power.
Android keeps finding ways to shut down your app so the phones get that 15 minutes longer up time.
Title: Re: Vera Proximity New Android Applications
Post by: Flexelex on December 02, 2017, 07:53:06 am
Thanks Richard! I will give that a try.
Title: Re: Vera Proximity New Android Applications
Post by: Don Phillips on December 03, 2017, 01:31:20 pm
Make sure you have not restricted it's power usage, you might be putting it to sleep to save power.
Android keeps finding ways to shut down your app so the phones get that 15 minutes longer up time.

An "advantage" over Apple phones  8)
Title: Re: Vera Proximity New Android Applications
Post by: twiseva on January 24, 2018, 08:52:25 am
I am having this issue recently also ... And in general its stopped working after being solid for some time. I see big gaps with no alerts now (like days). And then I am seeing the 'no sensor activity' message. Any thoughts? Any info I can send to help?
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on January 24, 2018, 01:49:16 pm
I will review android changes ... I may need to release using updated spis.

Sent from my SAMSUNG-SM-G935A using Tapatalk

Title: Re: Vera Proximity New Android Applications
Post by: Mike Yeager on April 22, 2018, 04:49:24 pm
Does this app constantly report home and consume data or just when it actually runs an action? Also, how many retries does it make (if any) when an action doesn't run successfully?
Title: Re: Vera Proximity New Android Applications
Post by: pls90 on April 23, 2018, 01:59:24 am
I think it only sends data when a fence is tripped. It is light on the battery.
When sending of an action fails it will try 2 more times after a short time.
Sadly this is not configurable in the app (I asked Richard but couldn't convince him).
Apart from that little snag which causes a problem when leaving my house in a certain direction which has no cell coverage (my specific personal problem) I can wholeheartedly recommend the app.

Gesendet von meinem SM-G930F mit Tapatalk

Title: Re: Vera Proximity New Android Applications
Post by: Mike Yeager on April 23, 2018, 10:04:52 am
Right now, I'm using AutoVera to change a multiswitch when I enter and exit a geofence (AutoLocation). I realize this is 2 extra plugins, but I use them for other things as well. I am in a testing phase with this as I was using a ping sensor to detect our phones being at the house but that has become unreliable. With the method I'm currently testing, I can detect whether or not the action was successful, wait a certain amount of time, and try again up to a certain number of times. This basically sounds like what the proximity app does except it's all wrapped into one place with the app. :-)
Title: Re: Vera Proximity New Android Applications
Post by: gdme on July 17, 2018, 06:09:56 pm
Hi all,

I'm in Australia and I can't seem to find VeraProximity on the Google Play store.

Have I missed something?

Thanks!
Title: Re: Vera Proximity New Android Applications
Post by: RichardTSchaefer on July 26, 2018, 03:28:53 pm
It should be back soon ... I was removed because I did not answer a NEW Question. They wanted to know if my APP was targeted to kids.
Title: Re: Vera Proximity New Android Applications
Post by: gdme on August 04, 2018, 02:00:30 am
No worries, sheesh, the amount of complaining I see online about these sorts of things with the App Stores is incredible  :-[

Available now anyway, thanks Richard  8)

Title: Re: Vera Proximity New Android Applications
Post by: 3rdStng on August 16, 2018, 06:21:35 pm
Is there a tuning recommendation to make Vera Proximity more reliable? For the three Android Pie devices I have running VP, they each have a .5 mile fence. On my Vera I have a multi-switch that will turn on or off depending on if you are entering or exiting the fence. After a couple of days, the app appears to stop sending the actions and my multi-switch remains in its previous state.

For example I returned home from a trip this morning and I can see the Fence Entry. But I left about 45 minutes later and returned again about 90 minutes after that. There are no entries in my Status window.

My daughter has two fences set on her phone. One fence to see she is home/away. The other to see when she arrives/leaves school. Today, neither of these triggered. My Vera think she is at home today, which then messes with my Home/Away settings. And yes, I have disabled my battery optimization. What else can I enable/disable to make it more accurate? I have tried using Additional Sensors, for less false positives, but I see no change. I have used the Rapid update with a 1 minute run time, either entering or exiting.

Last topic of note. Vera Proximity has a small GUI issue with Android 9 (Pie.) When I am setting up my action to turn on or off my multi-switch, I cannot scroll and see ALL of the switch options. If I rotate the phone to landscape, I see a few more, but I can never see the very top item. This worked perfectly in Android 8 and 8.1. Android 9 is now publicly available.
Title: Re: Vera Proximity New Android Applications
Post by: korttoma on September 06, 2018, 07:45:00 am
I just found the Vera Proximity Android app a few weeks ago and so far it has been working grate!
I use it to send me notifications for when my son leaves home and gets to school and the other way around.
Thanks Richard for yet another awesome Vera addon.
Title: Re: Vera Proximity New Android Applications
Post by: Jamr on November 14, 2018, 02:35:57 am
After many months of no geofence with Vera and Android, I am finally testing this out. Seems to be working great. Thank you for it.
Are you still actively working on this?
If I missed it, I do apologize. How do I set up 2 people with 2 different mobiles with the same fence locations connected to one Vera to only trigger away mode when they both leave the fence either together or at separate times?

Again, I don't remember seeing this being discussed anywhere. Sorry if I missed it.
Title: Re: Vera Proximity New Android Applications
Post by: JJ10 on December 04, 2018, 02:35:28 am
Is there a tuning recommendation to make Vera Proximity more reliable? For the three Android Pie devices I have running VP, they each have a .5 mile fence. On my Vera I have a multi-switch that will turn on or off depending on if you are entering or exiting the fence. After a couple of days, the app appears to stop sending the actions and my multi-switch remains in its previous state.

For example I returned home from a trip this morning and I can see the Fence Entry. But I left about 45 minutes later and returned again about 90 minutes after that. There are no entries in my Status window.

My daughter has two fences set on her phone. One fence to see she is home/away. The other to see when she arrives/leaves school. Today, neither of these triggered. My Vera think she is at home today, which then messes with my Home/Away settings. And yes, I have disabled my battery optimization. What else can I enable/disable to make it more accurate? I have tried using Additional Sensors, for less false positives, but I see no change. I have used the Rapid update with a 1 minute run time, either entering or exiting.

Last topic of note. Vera Proximity has a small GUI issue with Android 9 (Pie.) When I am setting up my action to turn on or off my multi-switch, I cannot scroll and see ALL of the switch options. If I rotate the phone to landscape, I see a few more, but I can never see the very top item. This worked perfectly in Android 8 and 8.1. Android 9 is now publicly available.

I have the same issue with my Xiaomi Pocophone, but I am still on Android 8.1. to you use Xiaomi phones as well (With Miui 10)?
Title: Re: Vera Proximity New Android Applications
Post by: blavla on February 07, 2019, 12:21:43 pm
v3.12 and 13 keeped crashing when opening the app. 3.11 worked as a charm for me since many months. Update:3.14 does not crash but it keeps registering that the fence is being entered which put my vera in home mode even though I am at home. Now entering or exiting doesn't do anything. I did battery optimize the app. Even when the app is open andI enter or exit the fence nothing is happening. I already created a rapid update fence but that also does not help?

Update:
For the last 3 days it seems to work again. The only thing I changed was that I removed the Rapid Update fence I created. But if that was the solution? I don't think so.
Title: Re: Vera Proximity New Android Applications
Post by: twiseva on February 07, 2019, 08:41:50 pm
I am also experiencing many issues recently. Used to work like a charm when I first got this. Now it sometimes works, sometimes does not, sometimes indicates an action was taken, sometimes not. If anyone has any thoughts on Android settings that might be causing issues let me know. But basically this is now so unreliable I can't use it for any home automation triggers. I am on a Samsung S8 and have only 2 fences -- work and home. Home on sets a virtual switch on/off. That's it.

I am happy to debug, send other information if it might help. I have done several updates of Android over the year or so I have had my Samsung. Possibly newer android version are making this behave unexpectedly?