Here's an advanced connectivity manager:
https://drive.google.com/folderview?id=0B3R3a2WGs6rYdzV1cm1WbDltWjg&usp=sharing
It requires:
- AutoLocation
It includes:
- an event logger
- a boot task to start the AutoLocation Geofences monitor and create a new logging file
- a night time which disconnects everything (unless the screen is on)
- events for a Home geofence
- the WiFi is only switched on when at home
- The data connection is only switched on when there's no WiFi connection
- a Auto/Manual connection mode (change it by launching the task 'Switch ConnectionMode' via a shortcut or widget). Manual means all the funky stuff above never happens
Note: you may need to re-hook the "At Home" profile to your own geofence for it to work properly, i.e. you may need to select the profile, select the "AutoLocation Geofences" context, and reconfigure it.
To avoid too much confusion, I stripped out these features from my own set up:
- Tasker's notification icon changing when at home. It's only commented out so it can be switched on easily
- hook up with
Minimalistic text to switch the connection mode (Auto/Manual) and another control listing all active profiles
- hook up with a custom Car Mode (which forces the connectivity regardless of the time or location)
- hook up with
Tasker Is Music Playing Plugin to keep the connection on when playing music at night despite the screen being off
I think that's it...
Edit: I should have taken the logger out...