Got a programming issue which I just can't get my head around the best way to code...
Setup is as follows...
Run Bluetooth Proximity program that allows you to pair and set the sensitivity of a device.
It will execute an AppleScript when it detects a BT signal that is above the set threshold..
It will also execute and AppleScript when it detects loss of the BT signal below the set threshold.
There is a configuarble delay you can set before it execute the AppleScript, however it does not differentiate between detection of signal and loss of signal, it just waits.
This causes a problem whereby if the signal is lost (the delay starts), and will only execute the script when the delay expires (all good) This caters for temporary loss of signal
When the signal is detected (I have a trigger to make an annoucement through Sonos), again the delay is started (which is not really what I wanted) as I am further into the house before the annoucement is made.
Sooo, is there a way, through Indigo, via additional delays or setting variables, I could remove the delay from the app, and build it into some logic within Indigo so I could say check for an excessive amounts of loss of BT signal (say 5) in a 15 min window before Triggering and 'Away' event, whilst still maintaining the BT detection with the Sonos event???
Vangelis