The Vera Community forums have moved!

General => Remote Control => VeraMate (iOS) => Topic started by: veramate on July 21, 2014, 06:31:57 pm

Title: VeraMate GeoFences (Version >= 7.0)
Post by: veramate on July 21, 2014, 06:31:57 pm
I'd like to open a new topic for any GeoFence related queries and problems.

I'm hoping it is straight forward in the UI to create GeoFences, but there are some more instructions here: http://www.veramate.com/faq (http://www.veramate.com/site/veramatefaq)

The steps are:
Once you have your fence created, you can choose which scene will be activated by entering edit mode for the scene:

As it uses the GPS hardware, you will notice increased battery usage.  This will be continuously tweaked over the next versions to use the hardware only when necessary.  There is a new setting to decrease battery usage further by losing a small amount of accuracy.  Currently there may be a noticeable increase when you remain inside a GeoFence which also has an exit scene activation (tweaked further for 7.1).

[EDIT]  Tirggering scenes based on whether multiple users are in a GeoFence

I've added some more details for how to have scenes trigger only when multiple users are home, or away, for example.  Since this is fairly involved, I've only add this to the FAQ section on VeraMate's website. 
http://www.veramate.com/faq/geofence#GeoFence-multi
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: lemrock on July 22, 2014, 12:11:41 pm
I'm having trouble setting up the GeoFence. I am reading the instructions but I don't see some of the things that are mentioned. I'm on Veramate 7.0.1 on an Iphone 5. When I go to the Veramate settings I see a GEOFENCES section that has "Alert if no scenes", "Alert on activation", and"Force less accuracy"....that's it. No map, no pins, no nothing. Am I looking in the wrong place???
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: veramate on July 22, 2014, 12:15:46 pm
I'm having trouble setting up the GeoFence. I am reading the instructions but I don't see some of the things that are mentioned. I'm on Veramate 7.0.1 on an Iphone 5. When I go to the Veramate settings I see a GEOFENCES section that has "Alert if no scenes", "Alert on activation", and"Force less accuracy"....that's it. No map, no pins, no nothing. Am I looking in the wrong place???

Yep :)  It's the GeoFence tab that you need to view - down the bottom right you should see a tab with a location symbol and "GeoFence".   If it's not premium it'll be pushed into the "More" menu, but simply click on More to view extra settings.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: lemrock on July 22, 2014, 12:17:57 pm
Got it. Thanks!
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: n0ir on August 04, 2014, 06:32:37 am
Is it possible to have the new geofence feature turn on and off a virtual switch instead of a scene?

I use PLEG to run scenes and specifically with presence detection I always try to use more than one way of knowing if a person is home or away. Right now I use one virtual switch for geofencing and one for wifi ping. If BOTH are off my system run the away scene.

Would be really great to use VeraMates geofence feature this way!
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: veramate on August 04, 2014, 01:11:52 pm
Is it possible to have the new geofence feature turn on and off a virtual switch instead of a scene?

I use PLEG to run scenes and specifically with presence detection I always try to use more than one way of knowing if a person is home or away. Right now I use one virtual switch for geofencing and one for wifi ping. If BOTH are off my system run the away scene.

Would be really great to use VeraMates geofence feature this way!

I want to have GeoFences supported by devices in the future, but also wanted to get core the functionality out first.   The reason behind this is scenes can be used to activate, for example, the virtual switch anyway.  Is that not an option, to have the GeoFence fire a scene which turns on/off the virtual switch?  I admit it's a bit of an overhead for now, but should allow you to get this implementation.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: veramate on August 05, 2014, 12:49:11 pm
I've been meaning to do this for a little while, but I've now added some more details for how to have scenes trigger only when multiple users are home, or away, for example.  Since this is fairly involved, I've only add this to the FAQ section on VeraMate's website. 
http://veramate.com/site/veramatefaq#GeoFence-multi

For simplicity I've specified using a combination switch, but if you use PLEG the same concept applies.  I.E, you need to create 2 scenes to turn on/off the virtual switch.  A little bit of an overhead, but I'll get this supported in VeraMate in the future.

Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: lemrock on September 03, 2014, 12:33:13 pm
I have been using your GeoFence feature since it was added and for the most part it has worked as advertised. But over the course of time, the scenes that are triggered as I enter or leave the GeoFence are now being triggered sporatically. I do get the alert that I have entered or left the GeoFence, that happens 100% of the time but my scenes get executed now less than 50% of the time. I only have two scenes being triggered; to arm security at home when I leave the GeoFence and to disarm when I re-enter. Why has the reliability gone from 100% to less than 50%? I have not upgraded to UI7 but I am on UI6 on Vera 3.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: veramate on September 03, 2014, 12:44:04 pm
I have been using your GeoFence feature since it was added and for the most part it has worked as advertised. But over the course of time, the scenes that are triggered as I enter or leave the GeoFence are now being triggered sporatically. I do get the alert that I have entered or left the GeoFence, that happens 100% of the time but my scenes get executed now less than 50% of the time. I only have two scenes being triggered; to arm security at home when I leave the GeoFence and to disarm when I re-enter. Why has the reliability gone from 100% to less than 50%? I have not upgraded to UI7 but I am on UI6 on Vera 3.

I've noticed this problem over the last little while as well.  Honestly I'm not sure why it has seemed to decrease in reliability - but I am literally working on this right now.  I can actually see the Apple api sending a location which just isn't right, though I'm checking for invalid ones (which can happen) - seems to happen mostly if you switch on/off the wifi/3G.   I'm changing the way I currently handle these notices.

7.3 should be being released any time now, so I'll have a fix for this in 7.4.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: Juppers on September 25, 2014, 06:29:03 pm
I'm having trouble setting the geofence to the size I want. I'm trying to cover my house plus a bit of the street, but the scale is so fine it jumps when I take my finger off the slider. Perhaps some + - buttons instead of the slider for fine tuning ability. Also it is confusing on how to save changes to an existing geofence. I don't know if it is even possible. Great app BTW. I like it a lot.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: petequintanilla on September 26, 2014, 05:40:35 pm
What about using geofences only during some schedules? Like for instance only make some scene happen during the night.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: veramate on September 29, 2014, 05:44:12 am
I'm having trouble setting the geofence to the size I want. I'm trying to cover my house plus a bit of the street, but the scale is so fine it jumps when I take my finger off the slider. Perhaps some + - buttons instead of the slider for fine tuning ability. Also it is confusing on how to save changes to an existing geofence. I don't know if it is even possible. Great app BTW. I like it a lot.

I'll be trying to make the interface for the GeoFences a little better in the next versions; I realize my attempt at a simple UI hasn't quite worked...

What about using geofences only during some schedules? Like for instance only make some scene happen during the night.

I'm going to try and include this in version 8.  At the moment you can do this by using some LUUP code in your trigger, but I do want this in VeraMate's interface as well.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: aaronsquire on September 30, 2014, 06:48:56 pm
If I click on Geofences the app crashes.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: Juppers on September 30, 2014, 11:45:06 pm
Geofences don't appear to work since today's update. Also, what is the ibeacon for?
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: veramate on October 01, 2014, 05:56:45 am
Geofences don't appear to work since today's update. Also, what is the ibeacon for?

Looking into the GeoFencing issue now.  The location services can't be activated for VeraMate after the last recompile.  Will update when I have more information.

Where are you seeing iBeacon?  This hasn't been enabled for 7.5.....
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: veramate on October 01, 2014, 06:04:24 am
Ok I've found the problem - there has been a change with iOS8 for location services.  GeoFencing will be broken until I get a patch out.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: Juppers on October 01, 2014, 09:34:28 am
I see ibeacon right under my geofence when I look at a scene in edit mode.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: veramate on October 01, 2014, 09:42:43 am
I see ibeacon right under my geofence when I look at a scene in edit mode.

Ah - that's... a sneak preview of the upcoming iBeacon support :)   (It's not enabled yet, so it shouldn't actually be showing.)   It's starting support for iBeacons in the next version - iBeacons are effectively little geofence devices for local/inside areas (see http://estimote.com/).
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: n0ir on October 19, 2014, 10:44:53 am
Just letting you know I have had some problems with geofencing lately...

My VeraMate says I have left, and almost immediately later arrived at, my assigned geofence, even though I am still in the same place and the assigned geofence is much larger than the GPS margin.

I just thought it was a temporary bug so I stopped using VeraMate for a couple of weeks but today when I re-installed everything I still get this behaviour.

Do you now why this suddenly have stopped working properly?
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: n0ir on October 26, 2014, 03:42:55 pm
Updated to version 8 today and thought the problems described above should maybe have sorted themselves, but it seems the problem persist.

Any thought on why, veramate?
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: lemrock on October 27, 2014, 12:43:37 pm
GeoFences is misbehaving. I have only one GeoFence setup for home and the entry and exit designations won't stick.  For example I setup the Geofence then I say on exit run a Scene. When I recheck it now says on entry. NO matter what I do it continues to do this behavior. Geo Fences was working beautifully some weeks ago, now it can't use it at all. I am on iOS8 but this started happening when I was also on iOS7.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: lemrock on October 27, 2014, 02:22:21 pm
Nevermind. It's working again.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: veramate on October 28, 2014, 05:58:57 am
Updated to version 8 today and thought the problems described above should maybe have sorted themselves, but it seems the problem persist.

Any thought on why, veramate?

The intrinsic problem with GeoFences is the accuracy.  iPhones send a lot of location information, a lot of which is useless/wrong, which VeraMate has to filter out.  And when it jumps around if it can't get a good location, it might seem you're entering and exiting.

Suggestions I would make is:

I'm currently testing some code which attempts to re-verify the location, so am weighing this up to any discernible delays over accuracy.  This might make it into the next release.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: veramate on October 28, 2014, 06:00:07 am
Nevermind. It's working again.

Let me know if it does - I haven't been able to replicate this, not sure what might've happened...
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: n0ir on October 28, 2014, 06:11:28 am
The intrinsic problem with GeoFences is the accuracy.  iPhones send a lot of location information, a lot of which is useless/wrong, which VeraMate has to filter out.  And when it jumps around if it can't get a good location, it might seem you're entering and exiting.

Suggestions I would make is:
  • making the range bigger?  Maybe your area doesn't have good coverage, so the little corrections could jump you out of the fence too easily.
  • the iPhone uses the wifi signal to better triangulate, so if this isn't on already, it might provide better accuracy

I'm currently testing some code which attempts to re-verify the location, so am weighing this up to any discernible delays over accuracy.  This might make it into the next release.

I have already tried this but unfortunately to no avail.

The weird thing it USED to work. It's just the latest couple of months geofencing have stopped working properly. I have not switched iPhone or operator, nor have I made any upgrades on my Vera. Could it have anything do to with upgrading to iOS 7 a while back?
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: veramate on October 28, 2014, 06:53:01 am
I have already tried this but unfortunately to no avail.

The weird thing it USED to work. It's just the latest couple of months geofencing have stopped working properly. I have not switched iPhone or operator, nor have I made any upgrades on my Vera. Could it have anything do to with upgrading to iOS 7 a while back?

I doubt it had anything to do with your phone - every release I've tried to refine the parameters of detecting the fence, and it looks like in your situation these made it worst.  My tests are performed in a large city, which obviously has great coverage, and I know of users who seem to get bad reception but still are able to use it with large fences.

Would you be able to send me a diagnostic after it jumps in and out of a fence?  I might be able to glean something for that.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: n0ir on October 29, 2014, 04:07:50 am
Would you be able to send me a diagnostic after it jumps in and out of a fence?  I might be able to glean something for that.

Yes, of course but how? ;)
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: veramate on October 29, 2014, 04:22:15 am
Yes, of course but how? ;)

:)  Use the contact tab in the settings, and when you press the email button it'll ask if you'd like to include diagnostics.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: Juppers on October 29, 2014, 11:42:39 am
Mine seems to like to leave the fence without ever reentering. I am well within the fence the whole time. I'll send some diagnostics from the app.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: veramate on November 08, 2014, 10:46:18 am
(Sorry for the delay in replying/updating - I've been travelling so haven't had a chance).

Mine seems to like to leave the fence without ever reentering. I am well within the fence the whole time. I'll send some diagnostics from the app.

Although you haven't physically left the fence, VeraMate only knows what iOS tells it, which in these cases have been that you've managed to jump out, and back in.   :-\

I've just had 8.1 released - this update doesn't believe everything iOS tells us, so does a bit of statistical analysis before triggering anything.  This might cause a couple seconds more delay, but I'm hoping it will negate these issues.   I'll be interested if you still have these issues after the upgrade.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: aaronsquire on November 08, 2014, 08:12:57 pm
If I click on geofences, it still crashes.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: Kullematz on November 09, 2014, 04:07:21 am
Same problem... ???
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: lemrock on November 10, 2014, 02:00:08 pm
GeoFences on my Iphone 5 (iOS 8.x) has started to act in a funny fashion. Although I am well within the GeoFence and the phone is stationary, It will all of a sudden signal it's outside the fence and start to run my Away from Home scene. It was exibiting the same behavior last week but I thought changing the size of the fence (larger) would solve that problem...not so. I also experimented with the less accurate usage and that didn't solve the problem either.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: East on November 10, 2014, 04:25:36 pm
What about using geofences only during some schedules? Like for instance only make some scene happen during the night.

I'm going to try and include this in version 8.  At the moment you can do this by using some LUUP code in your trigger, but I do want this in VeraMate's interface as well.
[/quote]

I'm using version 8.1.1.1 of Veramate, have you add the sunset to the geofence trigger yet? Because I can't find it.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: veramate on November 10, 2014, 05:28:57 pm
If I click on geofences, it still crashes.

I believe I have been able to replicate this (with some help).  If a fence is deleted that is part of an active scene, with no other fences, this will cause a crash next time you enter the screen.  The only way around this at the moment is to delete and re-install VeraMate.   This will of course clear out any configuration you have unfortunately.

I have a patch ready to get to Apple, so otherwise, expect a patch for this in a week.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: veramate on November 10, 2014, 05:48:05 pm
I'm using version 8.1.1.1 of Veramate, have you add the sunset to the geofence trigger yet? Because I can't find it.

No it hasn't made it into 8 yet - I didn't have quite enough time as UI changes can cost quite a bit of time.  I'll expect it within the next couple of versions to bring it inline/extend with the iBeacon interface which'll be at the same time.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: cnibbana on November 12, 2014, 02:43:01 pm
GeoFences on my Iphone 5 (iOS 8.x) has started to act in a funny fashion. Although I am well within the GeoFence and the phone is stationary, It will all of a sudden signal it's outside the fence and start to run my Away from Home scene.

Having similar issues.  Sitting in my house, stationary, Geofence will randomly activate Home or Away mode.  A few minutes to a few hours later, Geofence will activate Home or Away mode again.  This happens all day long and is quickly killing the battery in my Z-Wave door lock.  When I'm actually away (many, many miles away), sometimes it randomly activates Home or Away mode.  I have an iPhone 5s, iOS 8.1 and veraMate Premium 8.1.2.1.  These problems just started once the GeoFence feature was reinitiated to work with iOS8.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: RevMillertime on November 19, 2014, 10:19:49 pm
GeoFences on my Iphone 5 (iOS 8.x) has started to act in a funny fashion. Although I am well within the GeoFence and the phone is stationary, It will all of a sudden signal it's outside the fence and start to run my Away from Home scene.

Having similar issues.  Sitting in my house, stationary, Geofence will randomly activate Home or Away mode.  A few minutes to a few hours later, Geofence will activate Home or Away mode again.  This happens all day long and is quickly killing the battery in my Z-Wave door lock.  When I'm actually away (many, many miles away), sometimes it randomly activates Home or Away mode.  I have an iPhone 5s, iOS 8.1 and veraMate Premium 8.1.2.1.  These problems just started once the GeoFence feature was reinitiated to work with iOS8.

Same here.  Frequency increased over the last week.   Got so bad that I shut both off... or so i thought.  Still getting notifications of "entry" and "exit", with no scene attached.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: veramate on November 26, 2014, 05:57:39 am
Same here.  Frequency increased over the last week.   Got so bad that I shut both off... or so i thought.  Still getting notifications of "entry" and "exit", with no scene attached.

I'll just add an update here - I've found a bug in VeraMate where it was checking vertical (altitude) accuracy for one of the tests rather then along the ground.... pretty silly :), but, will have an impact on the fences.   In testing now, and will release in next version (8.4) to hopefully help out some of these issues.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: East on December 10, 2014, 02:23:43 pm
Geofencing is really draining the battery while running in the background. I'm using iOS 8.1.2 on iPhone 6 plus. The Philips hue app is much more energy efficient.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: n0ir on December 10, 2014, 06:06:58 pm
Yes, it is really killing my battery too...

VeraMate obviously drained 43% (!) of my battery yesterday. :S 25% last week. iPhone 5.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: East on December 11, 2014, 07:25:40 am
I've turned on "force less accuracy" in the settings of Veramate, battery drain is much reduced now.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: veramate on December 12, 2014, 03:19:20 am
I'm working on improvements for the GeoFencing algorithm - in order to make sure VeraMate gets an accurate reading, it needs to turn on GPS to a high accuracy, which causes the battery drain (this is to prevent the multiple firings we've been seeing).

I'm in the process of tweaking this, as although the accuracy is increased the closer you are to a fence, there are improvements that can be done to the code.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: East on December 12, 2014, 06:21:06 am
I think the Philips Hue app wifi to get accurate location for geofencing.

And can you add the option that only after sunset a scene will be triggered when entering the defined geofence area.


Edit:
According to:http://www.pcadvisor.co.uk/reviews/gadget/3506391/philips-hue-review/

Philips Hue review: Geofencing in action

To use the geofencing facilities, you'll need to set up an account with Philips and remain logged in with your smartphone at all times. We asked Philips about the potential for running down the phone's battery if the app is constantly polling for your location.
'Philips hue's geofencing feature mitigates against significant battery consumption by not relying on energy-hungry GPS technology,' we were informed.
'Instead, hue's smartphone platforms using geofencing rely on cell phone tower and WiFi network triangulation. Communicating and scanning for these is something the phone is doing anyway in order to receive phone calls and automatically connect to known WiFi hotspots; therefore the extra power consumption of geofencing is negligible.'
Philips has also assured us that it does not track your location; once a geofence event has been configured, such as 'switch on lights when I'm near home', a dialogue only occurs between your phone and your home bridge unit.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: veramate on December 13, 2014, 03:58:10 am
I think the Philips Hue app wifi to get accurate location for geofencing.

And can you add the option that only after sunset a scene will be triggered when entering the defined geofence area.

The "force less accuracy" option in VeraMate essentially does this.  The problem with this though is it isn't accurate enough for most of VeraMate users.  I'm obviously a bit overzealous at the moment, but I'll hope the next algorithm is better.

I'll be working on trigger times (some of the code is already there), but need to finish off these other bugs/issues before hand.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: lemrock on December 17, 2014, 05:59:58 pm
First of all let me state that of all the Vera remote control software, Veramate is and remains my favorite. I applaud the developer for all the work. Now with that said, I will not be using the GeoFences feature anymore. With every iteration of updates, GeoFences is not at all consistent in it's operation for me. Sometimes it works but most times (for me) it does not. It comes on randomly when I am within the fence and sometimes will not fire at all when I leave or enter the fence. As I said it has not been consistent in it's behavior for me. Also with this latest version my battery usage has gone up dramatically and it doesn't seem to matter if I enforce less accuracy.  GeoFence for me was not necessarily a necessity but a desire. The rest of Veramate operation trumps all of that negative and I will be sticking around to see what new features the developer has in store.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: pentium on December 17, 2014, 06:06:22 pm
I tend to agree with veramate being my favorite.  That said, I will have to continue to keep iviri on my phone for the same reasons mentioned above.  My spouse simply will not tolerate the battery usage and frankly, the geofence setup is just not very intuitive for me.  I too want to applaud the developer, it is very easy to see how much work is going into the product and I can't even imagine trying to do that during an apple os change and whatever the heck vera's UI7 is trying to prove.  Geofencing is absolutely a priority for me, much more so than voice commands.  Right now I have at least three apps on my phone for vera and my goal is to be able to get rid of two of them.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: wj on December 21, 2014, 01:39:00 pm
Veramate is definitely my Mios app of choice too but having used Geofences successfully for some time, both mine and my wife's iPhones have starting getting hot (not warm) when we allow access to location services. You can then watch the battery drain in front of your eyes!

This is recent so I would be interested to hear if anyone else has noticed a similar change recently. 

I have contacted the developer and will update when I get a reply.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: veramate on December 22, 2014, 06:32:06 pm
Veramate is definitely my Mios app of choice too but having used Geofences successfully for some time, both mine and my wife's iPhones have starting getting hot (not warm) when we allow access to location services. You can then watch the battery drain in front of your eyes!

This is recent so I would be interested to hear if anyone else has noticed a similar change recently. 

I have contacted the developer and will update when I get a reply.

Thanks guys.   Yes, the battery usage in 8.3/8.4 is definitely a problem!   A patch was with Apple, but it looks like they haven't released it before their xmas freeze period.  Meaning it'll be out after the 29th, possibly up to a week after.

In the meantime, setting the "force less accuracy" will make it use the low power (wifi/cell tower signals) which will stop the high battery usage.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: sasaba on March 28, 2015, 07:36:15 pm
Have been monitoring geofence activation and fairly consistently triggers within 10-30 sec. or 0.1-0.2 miles on exiting boundry but on entering can get all the way home 0.5 miles (>60 seconds) most of the time before triggering and sometimes it even takes more time before it triggers. Would just have assumed this was just the inaccuracy in the system but very consistent triggering quickly on exit and fairly consistent with the delay on triggering on entry.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: dionmes on March 29, 2015, 06:34:46 am
So how does this work with two persons in a home? For example, if I leave the house is there a condition that it doesn't activate a scene based on another person still at home?
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: veramate on March 30, 2015, 09:00:37 am
Have been monitoring geofence activation and fairly consistently triggers within 10-30 sec. or 0.1-0.2 miles on exiting boundry but on entering can get all the way home 0.5 miles (>60 seconds) most of the time before triggering and sometimes it even takes more time before it triggers. Would just have assumed this was just the inaccuracy in the system but very consistent triggering quickly on exit and fairly consistent with the delay on triggering on entry.

That's an interesting observation.  It should be using the same mechanism to trigger exit/entry - It does seem often on entry the phone moves inside (for example) where the reception isn't as good, and hence can't get the accurate signal VeraMate requires to be sure of the location.  I'll look into this and see if there's something else at play...
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: veramate on March 30, 2015, 09:59:31 am
So how does this work with two persons in a home? For example, if I leave the house is there a condition that it doesn't activate a scene based on another person still at home?

There's a number of ways to do this, but basically you need to record the state of who's home in a button etc.  There's an example on the FAQ:
http://www.veramate.com/faq/geofence#GeoFence-multi
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: dionmes on April 02, 2015, 03:16:22 am
So how does this work with two persons in a home? For example, if I leave the house is there a condition that it doesn't activate a scene based on another person still at home?

There's a number of ways to do this, but basically you need to record the state of who's home in a button etc.  There's an example on the FAQ:
http://www.veramate.com/faq/geofence#GeoFence-multi
Thanks...Now I wish my virtual switches didnt dissapear all the time, but that is a whole other issue :D
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: agoodman82 on August 13, 2015, 12:52:21 am
I've been actively testing the GeoFences with VeraMate and although I note inconsistencies with when scenes fire if I leave/arrive home, I have to say it is leaps and bounds better than my prior location-based scene activation using a combination of the iPhoneLocator app for Vera and a PLEG. Even if the virtual switch doesn't trip, I find it extremely easy to just manually change the state with a tap of the virtual switch. The battery drain on my iPhone seems pretty negligible, and I'm hopefully further updates can get the GeoFences to be even more consistent in the future.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: veramate on August 13, 2015, 04:55:46 am
Well I guess it's good to know it's better then others :)  The accuracy can be quite a problem though - depending on different factors it might take a goodly time to get an accurate enough signal.   This can be controlled to a certain degree via the settings with specifying effectively how often it should try, which greatly varies the battery life.  Unfortunately it's just the nature of the gps chip that using it often, especially to get accurate positions, can take quite a bit of battery.

The scan time affects how often an attempt is made, but I may put in another option to spend a bit more time getting that accurate signal, which should help the consistency.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: Scoutmedic on August 24, 2015, 06:49:16 pm
Hey VeraMate, I too like the app, but am having issues with geofences. I have my fence set at nearly 1500 meters and get notices when I enter/exit, but modes don't change no matter how long I wait. I thought it maybe was a conflict between geofences with Vera and VeraMate, so I deleted the Geofence in Vera, but no change. Any thoughts? Running UI7, iOS 8, and current VeraMate on iPhone 6.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: integlikewhoa on August 24, 2015, 06:59:55 pm
I get error alerts that geofences didn't run. How do I find out more info on why this happens so often?
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: veramate on August 26, 2015, 12:54:08 pm
9.5 currently has a bug with GeoFences and preset modes :/  This is fixed and will be out for 9.6 which I'm delaying to get some issues fixed, so will likely be out in 2.5 - 3 weeks (with Apples current approval time).
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: agoodman82 on November 24, 2015, 07:14:33 pm
VeraMate:

I've noticed that for some reasons the Geofencing for me in the app is becoming less and less reliable for some reason. It almost always had worked well for me when I left or entered my "home" geofence and would then arm or disarm various sensors based on what I was doing. My wife's almost never worked though when she left this same area. Now I've noticed that my geofence only works about half the time and I didn't change anything. I have both of our sensitivity on "maximum" for the geofencing now whereas before I even had it on minimum. I've also noticed that when my wife and I are in the same car and we enter or leave the home geofence, only one of our apps might respond to us entering or leaving -- both apps have never responded and changed state together like one would expect.

Is there anything I can try to do to make the geofencing feature more responsive? I was thinking about setting a larger geofence encompassing a wider area then the first so that if the app didn't pick up on me entering or leaving one, it might the other?? I don't know what else I can try at this point...
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: veramate on November 25, 2015, 06:00:27 am
I have actually noticed some issues after the iOS9 upgrade, and I am currently looking into this.  I'm not entirely certain yet what has changed, as I believe VeraMate is adhering to the rules Apple stipulates, unless something has changed I'm not aware of.

I've fixed some logging in the 10.1 version, which will hopefully show a bit more clearly what's happening.  If you could send diagnostics (from both your phones), perhaps not too long after an event you believe should have occurred (since you're using the beta), that would be quite helpful.

(Bit of a backlog of requests/support at the moment, so any final fix will unlikely get into 10.1, but will be available on any betas).
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: racarter on November 25, 2015, 07:26:46 am
VeraMate:

I've noticed that for some reasons the Geofencing for me in the app is becoming less and less reliable for some reason. It almost always had worked well for me when I left or entered my "home" geofence and would then arm or disarm various sensors based on what I was doing. My wife's almost never worked though when she left this same area. Now I've noticed that my geofence only works about half the time and I didn't change anything. I have both of our sensitivity on "maximum" for the geofencing now whereas before I even had it on minimum. I've also noticed that when my wife and I are in the same car and we enter or leave the home geofence, only one of our apps might respond to us entering or leaving -- both apps have never responded and changed state together like one would expect.

Is there anything I can try to do to make the geofencing feature more responsive? I was thinking about setting a larger geofence encompassing a wider area then the first so that if the app didn't pick up on me entering or leaving one, it might the other?? I don't know what else I can try at this point...

+1 for this.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: agoodman82 on November 26, 2015, 12:45:09 pm
VeraMate:

The next time I observe me enter or leave my geofence with no change state I will definitely send you the diagnostics. I appreciate your looking into this! It must be complicated to have to deal with constant iOS updates that break something that was working prior. Had I not had iOS 9 forced on me when I purchased a new iPhone 6s I would have definitely kept iOS 8.4 as I found that to be a very reliable build (especially with VeraMate).
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: veramate on November 27, 2015, 11:02:52 am
Update: this hasn't been completely fixed for 10.1; the background processing looks to have changed in iOS9, meaning it's a bit harder to have certain things keep checking location in the background such as the geofencing.

It won't be fixed for 10.1... still investigating ways around at the moment so hopefully 10.2 :/
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: agoodman82 on December 06, 2015, 10:22:47 pm
It's a shame iOS 9 seemed to contribute to the breaking of a number of key features of VeraMate for me. Keep at it VeraMate!! lol I know you'll figure something out... I keep testing the new beta versions but sadly no improvement for me on geofencing state changes or push notifications. I'll keep testing and providing feedback.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: veramate on December 11, 2015, 06:38:31 am
Yes unfortunately a number of things changed which is hard for small developers to know about - requires a huge amount of investigation !

You're still having problems with push notifications now?  I'm not aware there were any other issues after 10.1.... let me know (bit of a delay with support requests during this xmas period, but I will respond asap).

And the 10.2.0.5 and above betas have fixed the GeoFencing issue.  Apple decided to require another (imo, redundent) request in the code which is now needed.  10.2 should be released by Apple in around 4/5 days hopefully for non-beta users.
Title: Re: VeraMate GeoFences (Version >= 7.0)
Post by: NewfD90 on March 10, 2016, 01:35:34 pm
I've been trying out VeraMate as a replacement for iViri (geofences only), but the geofence seems to drift over time until it barely works at the end of a week.  If I go into the geofences on the app and reset the geofence, it'll work again for about a week.  Actually I first noticed the drift when my garage door opened and closed about 6 times while I was asleep.

Looking back in this thread, it looks like this has been an issue for a while.  Any progress?