HI Pent
First, the exports. I have 3 profiles that between them accomplish my
goal (forwarding phone when home, and unforwarding when leaving). I
changed the actual phone number to all 5's. Also, you can ignore the
LOST variables in the last profile. Using that to track how many times
WiFi may drop over night. That particular thing is something not
related to Tasker. I find that N networking on the phone is not too
great, and have that there for testing when on N, hoping to find a
better modem.
Profile: Home Loc (12)
Location: 38.978247 / -95.28325 / 3000.0m
Enter: Anon (13)
A1: Variable Add [ Name:%HOME Value:1 Wrap Around:0 ]
Exit: Anon (14)
A1: Variable Subtract [ Name:%HOME Value:1 ]
Profile: Home wifi (8)
State: Variable Value
State: Wifi Near
Enter: Anon (9)
A1: WiFi [ Set:On ]
Exit: Anon (11)
A1: WiFi [ Set:Off ]
A2: Say [ Text:Turning WIFI off Engine:Voice:default:eng-USA Stream:1
Pitch:7 Speed:5 Continue Task Immediately:Off ]
Profile: Forward home (6)
State: Wifi Connected
Enter: Anon (7)
A1: Call [ Number:*004*55555555555# Auto Dial:On ] If [ %WIFILOST !~
1 ]
A2: Say [ Text:Forwarding phone home Engine:Voice:com.svox.classic:eng-
USA Stream:3 Pitch:7 Speed:9 Continue Task Immediately:Off ] If
[ %WIFILOST !~ 1 ]
A3: Variable Clear [ Name:%WIFILOST ]
Exit: Anon (10)
A1: Variable Add [ Name:%LOST Value:1 Wrap Around:0 ]
A2: Variable Set [ Name:%WIFILOST To:1 Do Maths:Off Append:Off ]
A3: Wait [ MS:0 Seconds:0 Minutes:3 Hours:0 Days:0 ]
A4: Stop [ With Error:Off ] If [ %PACTIVE ~ *Forward home* ]
A5: Call [ Number:*004*55555555555# Auto Dial:On ]
A6: Variable Clear [ Name:%WIFILOST ]
A7: Say [ Text:Forwarding to Google Engine:Voice:com.svox.pico:eng-USA
Stream:0 Pitch:5 Speed:5 Continue Task Immediately:Off ]
Regarding the sleep policy: I have Sleep set to never.
One poster indicated I should try to not let WiFi Near toggle. I'll
give that a try too.