I have a ping sensor to detect the cell phone, I have a count of three because sometimes the ping does not work, and checks every two minutes. In pleg, I have the condition of the phone going out after the ping sensor is off for more than three minutes. This helps, but I still get false positives. Maybe we get some more ideas.
So long as you are happy that the condition might take anywhere from 15 seconds to 1 minute and 15 seconds to trigger then “Home and (Home; NOW > 00:00:15)” will work.
I have something similar set-up but use PLTS as I wanted better than 1 minute resolution. A few people get stuck with the NOW statement.
So long as you are happy that the condition might take anywhere from 15 seconds to 1 minute and 15 seconds to trigger then “Home and (Home; NOW > 00:00:15)” will work.
I have something similar set-up but use PLTS as I wanted better than 1 minute resolution. A few people get stuck with the NOW statement.
I was using, for non-Vera related things, ‘Near Wifi’ in the past with mixed results… I have set it back up and will now use that and Ping Sensor.
Here’s my initial thoughts…
Tasker ‘Near Wifi’ triggers AutHomation to turn Virtual Switch On or Off (later I will use a Variable Container when Authomation supports it via Tasker)
Ping Sensor will set a value in a Variable Container
So, here’s the logic
AWAY TRUE = Virtual Switch AND Value
HOME TRUE = Virtual Switch OR Value
This way, if I’m immediately outside, but out of reach to connect Wifi, I’m still “home” but when far enough away both vSwitch & Value to be set to Away… thus, enabling my Alarm System.
Sorry have not been back in touch, have been busier than a one armed man paddling a canoe
Tasker is an awesome app - i thought i would post relating to the questions you asked in post 1.
Give PLTS a try, it will give you the tight control you require. Each PLTS can handle two timed scenarios with an easy config.
It is very similar to Pleg in terms of set-up. Define your triggers, schedules etc. In the conditions tab you use the same logic types as you would in PLEG.
Trigger is related to the time set in Interval, and Trigger 2 is related to the time set in Interval 2.
Attached is the status report for my simple sprinkler controller (note PLTS version 5.1)
Triggers are set true via my watering schedule OR is if the sprinklers are started by something else. Actions are set via the actions tab same as PLEG, in my case they turn on the sprinkler relays.
If Trigger is true my PLTS will time down from 240 seconds and turn off Hanging Pots
If Trigger 2 is true my PLTS will time down from 600 seconds and turn off Front Yard
When the PLTS has timed down it will set both sprinkler relays to off
If I turn off the relays by other means the PLTS will reset - see the logic associated with OFF.
For your setup you could have:
Interval =20
Interval 2 =
Reset state = off
Switch Mode = Delayed Toggle With Explicit Reset
Input:
ping_tripped
ping_not_tripped
bypassed
Conditions:
Arm NOT bypassed
Bypass bypassed
Trigger ping1_tripped
reset ping1_not_tripped
Actions:
On = virtual switch on
Off = virtual switch off
The timer will start counting down from 20 seconds when the trigger = ping1_tripped goes true, if Reset = ping1_not_tripped goes true the timer is reset (this would be when your phone is dropping in out of WIFI area). If ping1_tripped stays tripped for 20 seconds then virtual switch will be turned on. Once your phone is out of the WIFI area ping1_not_tripped will reset your timer and set the virtual switch to off. You could change this so that something else resets the virtual switch and timer if it suits.
Tim,
thanks for explaining it to me, including the use case I’m looking at. Makes sense now. I’ll be looking at doing this if my current setup does not work as I’d like.
A few days ago, I started using Tasker (Android app) to detect ‘Near Wifi’ and ‘Location’. Tasker sends Vera a status change using AuthomationHD’s Tasker integration. This in conjunction with the Ping Sensor app in Vera hopefully will provide reliability with a smaller time delay that waiting 10-20 seconds using PLTS. But, we’ll see if it works as planned – I need more testing to make sure it is reliable.
Cool hope it works! Tasked is an awesome app. Another good one is Automagic, not as mature as Tasked yet. It uses flow diagrams to setup triggers, conditions and actions so nice and user friendly!
Tim
Sent from my GT-I9100 using Tapatalk
Best Home Automation shopping experience. Shop at Ezlo!