Self learning wifi control[cell towers] optimized

by Mario Troiano

Version 1 (June 13, 2016)

Download (56 downloads)

Gives the option to use the self learning mode. Uses cell towers to determine location and toggle wifi and mobile data. If learning is active learns new cell towers at a requested frequency while connected to wifi. If file does not exist goes into a first time setup. When in no wifi area check every 10 minutes for wifi connect and if connected begins learning. (basically turn on wifi and connect to trigger learning).
Updates the variables and the file as it runs when in learning mode so no need to restart the fiber.
I recommend using learning with a high delay(10min or so) for casual use. If expecting new areas use a shorter delay. But I have not tested the battery usage on short delays.
Please leave comments with suggestions or issues. Also please comment if this assists with battery consumption.