No it's not all. %MYPLACE will be 10 when near home, 20 when near
office (which I didn't depict here).
No, "Near WiFi" is only enabled when %MYPLACE > 0 (i.e. I'm near a
known place).
I have to update the flowchart, but I made some basic changes:
- Removed the State: In Location -> Set %MYIN = 2. Often the location
would be incorrect due to poor network or bad GPS reception.
- From above, I now allow %MMODE to be set to the proper mode
according to the location, and as long as %MSTATUS > 0 (no longer >
1). This implies that it will set the mode once I'm in cell coverage
of one of my known locations, which is triggered before I'm actually
in my home, but at least it works and doesn't get hampered by poor
location data as I mentioned above.
- For the WiFi Near states, I enabled "toggle", which means it will
turn on WiFi for a few seconds each check, and then turn it off. One
can change the WiFi check interval in Tasker's settings. Currently
it's 120s, and the battery is not being drained (when I'm away from
WiFi - when I'm close it's always connected anyway). But I may
increase that interval a bit more.
Thanks for your revision.
Michael