Turn on/off WIFI depending on location

Post your questions and help other users.

Moderator: Martin

Post Reply
pd04856
Posts: 8
Joined: 27 Feb 2013 08:37

Turn on/off WIFI depending on location

Post by pd04856 » 05 Mar 2013 08:23

Hello everybody,

I have a very common question... I want to turn on/off wifi depending on the phone´s location and I´d like to hear your recommendations on the best way to achieve this.

The idea is that I want wifi turned on when I´m at home and switched off when I´m away to save battery. The challenge is that there is a very weak GSM signal around my home, so if I use the GSM locator as a trigger, it may happen that sometimes wifi is switched off for a couple of minutes. On the other hand, the location trigger (which is also based on GSM, right?) tends to be very inexact as well. Third alternative I see is to check if my personal wifi (named by ssid) is there or not, but to do that I need to turn on wifi periodically and scan for existing wifis around. Doesn´t sound very effective either.

To be honest, the Llama solution was very stable and simple, but I want to use Automagic instead because it´s great!

How did you solve this and what´s your recommendation?

Thanks in advance for your help!

Jost

inReinbek
Posts: 95
Joined: 02 Feb 2013 22:04

Re: Turn on/off WIFI depending on location

Post by inReinbek » 05 Mar 2013 10:09

Hi Jost,

I've solved it with a periodic timer every 15 Minutes as trigger ...

"checking if WLAN is on" as condition
->NO: "switch WLAN on" as action and go to
->YES: "home-SSID" avail? (as condition)
->YES: connect to "home-SSID"
->NO: switch WLAN off

simple, but it works well and won't drain the battery by using GPS or else ...

Greetings

pd04856
Posts: 8
Joined: 27 Feb 2013 08:37

Re: Turn on/off WIFI depending on location

Post by pd04856 » 05 Mar 2013 14:34

Hi inReinbek,

that sounds simple. I might give it a try, but I´d increase the interval to 5 minutes.

Regards,
Jost
inReinbek wrote:Hi Jost,

I've solved it with a periodic timer every 15 Minutes as trigger ...

"checking if WLAN is on" as condition
->NO: "switch WLAN on" as action and go to
->YES: "home-SSID" avail? (as condition)
->YES: connect to "home-SSID"
->NO: switch WLAN off

simple, but it works well and won't drain the battery by using GPS or else ...

Greetings

Post Reply