jalves wrote:FlyingDiver wrote:Anyone else seeing any issues with 0.0.15? I'm going to re-tag it to 0.1.0 and release in a day or two if not.
Looking good here. Running 24 hours and triggers are functioning as expected.
Replying to my own post here. Not a problem with the plug-in but a "practical use" question:
I set up a trigger that fires whenever my iPhone drops off the network, which simply records the event in the log for now. That works fine. But in looking back at my log I notice that my phone (as well as my wife and my son) phone will randomly drop off the network even though we are home and not even using the phone. They quickly reconnect (within a minute or two). But, in order for my trigger not to fire inadvertently I got smart and added a condition that checks how long it has been off using the seconds feature of the plugin. I set it to only fire if the seconds is greater than 120 thinking that it would take care of the issue. But wait....
I was just away for ~90 minutes. I checked my logs and nothing was recorded. Scratching my head about that I finally realized that since the trigger fires when the state changes, the number of seconds since last seen will never be more than 30 because that's how often the plugin checks for status.
So, any suggestions as to how to set up the trigger that will delay an action for, say 10 minutes, when a device drops off the network?