Geofence Status

Post your MobiLinc comments and feedback here.

Geofence Status

Postby equisol » Sat Dec 07, 2013 5:05 pm

Hello again Wes,
I am running into my next issue:
I have Geofencing on set up a program, but it dies not run, I get the notifications on the iPhone that I am entering the zone, and exiting, but the program does not appear to run.
On the iPhone The State Vars is: Value: 1 when I am in the house and Status: Initial: 2
Under the "Programs" tab, Enabled: Yes Status: False
Integer Vars: No Variables Detected.
When I click on the program, and Run If Command, Run Them Command, it turns the lights on as requested, and Run Else Command, it turns them off. I clicked the "Enable Program" and "Enable at startup".
So when running it manually in my iPhone, it appears to work, but not on its own, when I am entering or leaving the zone. What am I missing?

this is a copy of the program from the ISY-99i:
If
$iPhone_Home is 1
and Time is Sunset
Then
Set '00_Garage' On
Set '01_Solarium' On
Set '01_Kitchen' On
Wait 5 minutes
Set '00_Garage' Off
Set '01_Solarium' Off
Else
Set '00_Garage' Off
Set '01_Solarium' Off
Set '01_Kitchen' Off

Meaning to turn the garage, solarium and kitchen light on when I come home after sunset and to turn the garage and solarium off after 5 minutes.

Else to turn them off when I leave the zone

Thanks in advance,

Pierre
equisol
 
Posts: 19
Joined: Tue Mar 19, 2013 6:23 pm

Re: Geofence Status

Postby AdminWes » Sat Dec 07, 2013 6:04 pm

Hi Pierre,

This is the problem:

If
$iPhone_Home is 1
and Time is Sunset

This will only fire if the time is EXACTLY sunset. If you remove the sunset line the program will trigger when the variable changes.

A better way to test is to change the variable from a 1 to a 0 and back from MobiLinc or Admin Console to simulate your phone leaving and coming home as you test your programs.

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

Re: Geofence Status

Postby equisol » Sun Dec 08, 2013 8:40 am

Wes;

thank you for your response.
Using the ISY program control, I selected the Schedule option. Then "and" on all days, "Time is" "After" "Sunset"
and selected "Daily"
and the lime inserted in the "If" condition is "And Time is Sunset"
I do not see any other option to select between sunset and sunrise. Am I missing something?

I would see something like:
If $Time is > Sunset
and $Time < Sunrise
Then
....
but there is no such option, except the "After" selection

Pierre
equisol
 
Posts: 19
Joined: Tue Mar 19, 2013 6:23 pm

Re: Geofence Status

Postby equisol » Sun Dec 08, 2013 8:44 am

Wes;

sorry, I poked a bit further and found the From and To. My mistake, I found the missing part.

Thanks again,

Pierre
equisol
 
Posts: 19
Joined: Tue Mar 19, 2013 6:23 pm

Re: Geofence Status

Postby AdminWes » Sun Dec 08, 2013 12:05 pm

Sure thing! Glad you figured it out. For ISY programming help you might want to post over on the UDI forums (http://forum.universal-devices.com). They have a very active ISY support community.

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


Return to MobiLinc Feedback and Comments

Who is online

Users browsing this forum: No registered users and 14 guests