Location Variable

Post your MobiLinc comments and feedback here.

Location Variable

Postby andyf0 » Mon May 27, 2013 10:47 am

Hi Wes,

First, I'd like to be able to edit the location variable name please.
Second, your popup states the variable will be 1 when in-region and 0 when outside region. My iPhone variable is showing 2 for in-region and 0 for outside region. Also, setting the initial value might not be a good idea .. initial value is set to 2 because I set it up in-region. What if there's a power fail while outside region, the variable would be wrong. I assume the variable only changes on an in/out region state change.

Edit: Driving around the variable goes to 0 out of region and 1 in region. Initial value is still set to 2.

I think the 100 meters leaving region is about right but I have to be pulling into my driveway before it registers in-region.
andyf0
 
Posts: 92
Joined: Mon Mar 07, 2011 12:55 pm

Re: Location Variable

Postby AdminWes » Mon May 27, 2013 1:43 pm

Hi Andy,

This is done on purpose.

The initial value is set to a 2. MobiLinc doesn't assume it's in or out of a region until explicitly told by iOS. Then MobiLinc will set the variable to a 1 or a 0 from there on out.

If there's a power failure and the ISY reboots, the value is set to a 2. Again, we can't assume in or out of a region, so we set to a value outside of our range (2) and wait to get the boundary crossing notification again to set it correctly to a 1 or a 0.

Since programs trip on the value changing (not just setting the same value over again) we have to start with something other than 1 or a 0 to get your programs to fire initially.

The 100 meters is a guide for iOS to follow. It not NOT GPS accurate. Please read my notes on this on our site: http://mobilinc.com/geofence/

Understood about variable name editing. You can edit this through the ISY's Admin Console. As long as you don't delete it, you can rename it freely.

Wes
AdminWes
Site Admin
 
Posts: 2153
Joined: Sat Feb 07, 2009 2:52 pm

Re: Location Variable

Postby andyf0 » Mon May 27, 2013 2:32 pm

Ah! OK then. Makes senses.
andyf0
 
Posts: 92
Joined: Mon Mar 07, 2011 12:55 pm

Re: Location Variable

Postby jiuer7845 » Mon Oct 24, 2022 5:32 pm

jiuer7845
 
Posts: 156
Joined: Sun Jun 12, 2022 10:24 pm

Re: Location Variable

Postby jiuer7845 » Mon Oct 24, 2022 6:49 pm

jiuer7845
 
Posts: 156
Joined: Sun Jun 12, 2022 10:24 pm


Return to MobiLinc Feedback and Comments

Who is online

Users browsing this forum: No registered users and 3 guests

cron