0

Is there a way to remote change the Wifi to which an Android device is connected to. For eg. if there are 2 Wifi networks available at a place & the device is configured with the passwords of both. Currently - device is connected to Wifi1 - is it possible to disconnect it from Wifi1 & connect it to Wifi2?

Is there any app which can be installed to do this? Devices aren't rooted.

user93353
  • 87
  • 4
  • 8
  • 27
  • Hi! Questions such as "Is there an app that does X" are off-topic here. Visit [help/on-topic] to know what's on-topic here et al. Consider editing your question to purge the off-topic content. – Firelord Dec 04 '15 at 04:49
  • MacroDroid can do it and I can post an answer too, but I need clarification. What is the scope of "remotely" here? Are we talking about sending SMS or something else? Please be specific. Also, which Android version and/or device are you using? Tasker would work here too. – Firelord Dec 04 '15 at 04:52
  • @Firelord - Remotely meaning without the user of the device having to do anything. This is a Dell Venue Tablet. – user93353 Dec 04 '15 at 05:34
  • Yes, I understand what remotely means. I wanted to know the scope of that. How would you like to remotely switch the Wi-Fi? I'm specifically asking for a trigger here. – Firelord Dec 04 '15 at 05:36
  • @Firelord - Macrodroid seems to be an automation app - how will the macro get triggered in this case? – user93353 Dec 04 '15 at 05:36
  • @Firelord The trigger should be remote - i.e. I am sitting on a PC or a different phone and I trigger the switch in the device. – user93353 Dec 04 '15 at 05:37
  • Umm, I think I'm not being clear or you've difficulty understanding me. In any case, what is the remote here? What would you use from remote location to let the other device know that Wi-Fi should be switched now. This is what is known as trigger. I'm asking for that. – Firelord Dec 04 '15 at 05:38
  • @Firelord - I don't care what the trigger is also as I am able to remotely switch wifi on the device. – user93353 Dec 04 '15 at 08:29

1 Answers1

1

Saw the exchange of comments between you and @Firelord. Let me try clarify .

You have a cell phone , call it phone A, which can connect to two networks say WiFi1 and WiFi 2. These networks are registered on phone A so passwords need not be entered. Let us assume this is at home connected to wifi1 and is unattended

Now you go to work and want the phone A to switch automatically from WiFi 1 to 2. This is what we understand as "remotely" from your question

How do you tell phone A to switch? You have to perform some action. This action is called "trigger" . For example, you have another cell phone B at work or borrow to send SMS or give a can give a "missed call" to phone A.

What phone A does when it receives the trigger (s) are called actions. For the actions to run on phone A, you need to have MacroDroid installed on it. Not required to install on phone B

You may want to have some conditions under which this should work, like time of day, day of week and many more. These are called "constraints". The macro runs only is the constraints are "true". If you don't have any constraint,it will always run when trigger conditions are met

Trigger (s) + Action (s) + Constraint(s) create a macro and MacroDroid helps you create macros

MacroDroid, was recommended by since it is easy to learn (that's why I use it) and the behaviour can be easily customized to get the result you want. Besides,free version allows you to create up to 5 macros and so for the task at hand, free version suffices.

Macro for your requirement would look like this:

Trigger

Call missed → Select Phone B number

SMS received → SMS from (select phone B) → SMS content (enter any content based on which actions will happen) In this example I used " switch WiFi"

These triggers work in logical OR, meaning to say that actions will happen when either phone A gets a missed call from phone B or gets a SMS having "switch WiFi"

Actions

WiFi configure → Forget Network → WiFi 1

Wifi configure → connect to network → WiFi 2

Constraints

Time of day → start time (select) → end time (select) (I chose 9 am to 6 pm)

Or

None (if you leave it blank, it runs always)

Save the macro and ensure it is enabled before testing

EDIT

Based on clarification but by OP that the device to be controlled has only email option and no SIM, only the trigger would need to be amended, as below:

Incoming Notification → choose mail app or any other app that gives notification like hangouts → Text content contains (enter your selected text trigger)

  1. You may be prompted to enable notification access for MacroDroid. Grant that

  2. Ensure that mail or other app like hangouts has notification enabled

  3. If you want to use mail app

a) You can enter the chosen text in mail header

b) There may be times when multiple mails are received at nearly same time, so the app may miss out on reading the notification. To avoid this, you can consider opening a dedicated mail app for this purpose.

System Settings

  1. Do not Greenify MacroDroid and exclude it from task killers, if you use them.

  2. Enable MacroDroid in "Auto Protect"(Huawei phones) or "Stamina Mode" (Sony phones or "Power Nap" (Stamina Mode Xposed module for non Sony devices). Also, if you update to Marshmallow in the future, exclude MacroDroid from Doze. Refer this: Is there a way to exclude an app from Doze?

These features prevent app(s) to be active when the device is not awake, conserving battery. May not be pertinent to your phone but adding this as a general precaution.

  1. Enable MacroDroid in accessibility settings and also allow it as device administrator in security settings.

  2. For Lollipop, enable notification access from notification settings

beeshyams
  • 40,739
  • 30
  • 119
  • 269