Here goes.....
I have a BT script that populates an Indigo variable (via AppleScript) when my phone goes in and out of range..
The variable 'VangelisStatus' is set to either 'Home' or 'Away' based on the BT signal going out of range...
I then have an Action that detects the front door opening, with a condition to check if VangelisStatus was Away, but is now Home - this in turn gives me a status announcement over Sonos, when I arrive home from work.
The problem is that sometimes when I am at home, the BT signal will be temporarily lost, and therefore the logic gets reversed and the announcement is played when I open the door to go out to work
Is there some way, through use of logic or timers that I can inhibit the change in variable VangelisStatus on the temporary loss of BT? For example if BT signal is lost for excess of 2 hrs, then I have REALLY left the house if not then I am STILL at home
I have played around but I always end up with a flawed solution.
I don;t want to go down the route of IP based confirmation as need the solution to be autonomous (as opposed to hitting the Home button on iPhone to wake up WiFi)
Vangelis