Problem with rule (location without data on Phone)

HeroS - www.domotica-blog.nl shared this question 11 years ago
Answered

Hi All,


My wife has no data connection on here phone but i want to know if she is home. To check if she is home i have an trigger on here phone that does the following:


> Check every 15 min


> Wifi Home is Connect


> Then send http request to zipabox (Locatie Fre = 1)


(i'm using www.automateitapp.com)


On the zipabox i recieve the request as a meter and does the following:


When Locatie Fre = 1


Delay 14 min.


then Set Locatie Fre to 2


So i reset the meter ever 14 min. and after 1 min the phone sets it back to 1.


I check after 6 min. if Locatie Fre = 2 (then she is away) and if not then she is home (trigger from the phone runs)


But i can't get it to work. Some how the systeem doesn't see the 2 coming in. I see it the logs. (1, 2, 1, etc). But some times the 2 misses and runs the whole script.


I use the attached url.


Can some help me with this idea/rule?

Replies (1)

photo
1

I got it!


It was not getting/checking the Locatie Fre = 2. So i put the Refresh All in it. And now it works fine.

Leave a Comment
 
Attach a file