Tasker is a fantastic Android app. The only problem is to figure out what to do with it.
Here is my setup with Tasker, AutHomation and the Vera plugin PLEG.
http://forum.micasaverde.com/index.php/board,48.0.htmlI have 2 Tasker profiles for controlling 2 virtuel switches (per phone) in Vera with AutHomation intents:
Home. Changes the "Rhome" switch when the phone is connected to my home wifi ssid + changes phone sound level and switches pattern lock off.
Bed. Changes the "Rbed" switch when connected to my top floor wifi bssid and to the phone charger + puts the phone in silent.
In PLEG I have a couple of conditions:
Lights out = (ABed or ANotHome) and (RNotHome or RBed)
Outside Light = ((tNight; RHome) or (tNight; AHome)) and tNight
Welcome home light = (LivingFree; OutsideLight; FrontDoorOpen) and LivingFree and OutsideLight
LivingFree = ABed or ANotHome or RBed or ANotHome
(Needed for the prevues condition so lights only come on if the lower floor is unoccupied)Its not perfect but its working. I hope someone else also have some nice profiles/ideas to share.
Automated phone, automated house.