TMC is an independent, primarily volunteer organization that relies on ad revenue to cover its operating costs. Please consider whitelisting TMC on your ad blocker or making a Paypal contribution here: paypal.me/SupportTMC

How to make your Android phone into an automatic Tesla hotspot

Discussion in 'Model S: User Interface' started by hans, Nov 27, 2013.

  1. hans

    hans P631

    Joined:
    Sep 27, 2012
    Messages:
    1,123
    Location:
    Menlo Park
    #1 hans, Nov 27, 2013
    Last edited: Dec 8, 2013
    With Wifi now supported on the Tesla Model S, many people are using their mobile phones as a hotspot to provide internet access for the car in place of the built in 3G.

    However, remembering to turn on and off your mobile phones hotspot can be hard and if you forget to turn it off you can get stuck with a drained phone battery.

    To avoid these issues I have used a number of tools to setup an automated way of turning my Android phones hotspot on/off when it senses that it is in/out of the car.

    I admit that I am a geek and that I prefer an app called "Tasker" because it has many more things to program. However that app is not for the everyday user so I have included instructions below for an simpler app called "Locale". Plug-ins are compatible between both Locale and Tasker so if you invest in a few 99 cent plug-ins and later decide to switch to Tasker for even more control, your plug-in will still work.

    What you need.

    1. A copy of Locale (by two forty four am LLC) from the Google Play store - Locale - Android Apps on Google Play
    2. A copy of a Locale Bluetooth Plugin (like the one by Andvari Enterprises) - https://play.google.com/store/apps/details?id=net.andvari.bluetoothcondition&hl=en
    3. A copy of a Locale WiFi Hotspot Plugin (like the one by Balazs Szabo, dLux) - Locale Wifi Hotspot Plug-in - Android Apps on Google Play

    Setup
    Install Locale and the plugins
    Launch Locale. You will see a main "Situations" screen. We will be making new situations for Tesla Hotspot On and Tesla Hotspot Off. The order of the situations in the list can be important if there are any conflicting settings, then the one highest on the list with take precedent.
    11089123456_7ae043f986_n.jpg
    Touch "Add Situation" and name your new situation "Tesla Hotspot On"
    11089030355_5fe7e4d82d_n.jpg
    Now you need to add the conditions that will trigger this situation to run. You will see a list of built in conditions and scrolling down will show the plugins you have installed including the bluetooth plug-in we want to use.
    11089030505_0a75521e4f_n.jpg 11089030845_27d4fdafab_n.jpg
    Select the "Bluetooth" condition from the Plug-in list, and configure the connected device to be your Tesla Model S and "Connected/Disconnected" state to be Connected. Select the checkmark.
    11089031275_4cc17407b2_n.jpg 11089243753_679685b80b_n.jpg 11089125646_f8200ef1f8_n.jpg

    Now that you have successfully configured the connected condition, it time to configure the action you want this condition to trigger. Select "Add Setting" and choose the Wifi Hotspot Plugin.
    11089138564_8fb71c3173_n.jpg
    Configure the Wifi Hotspot Plugin to turn your hotspot on.
    11089126156_99233dd0de_n.jpg
    Your completed situation should look like this. If it does push the check box to return to the main situations list screen
    11089244803_b757c7c99d_n.jpg
    This next step is optional but I prefer to only turn on the hotspot when the phone is in the car AND connected to a power source so I won't drain my phone battery. If you want to add this extra condition select "Add condition" again and this time pick the "Charger" condition from the list, and configure it for
    11089246093_d3bf232bb5_n.jpg 11089030845_27d4fdafab_n.jpg 11089247413_027e14892d_n.jpg 11089247173_3babc4aeee_n.jpg
    Now that you have created a "Tesla Hotspot On" situation you need to do the same thing again for a "Tesla Hotspot Off" situation. This time select a Disconnected Bluetooth condition and configure the Wifi Hotspot Plugin setting to turn off
    11089139464_038a125471_n.jpg 11089033255_7dbc16c970_n.jpg 11089246093_d3bf232bb5_n.jpg
    When you are done you should see both Tesla Hotspot situations on your list. The blue ball indicated which conditions are on at the moment.
    11089246433_e925151bfd_n.jpg
    Try walking to your car (optionally plugin in your phone) and see the blue ball switch from Off to On, and your hotspot should automatically switch from Off to On.
    Walk away from the car (or optionally just disconnect the phone charger) and the Off situation should fire.

    Enjoy.



     
  2. Lloyd

    Lloyd Active Member

    Joined:
    Jan 12, 2011
    Messages:
    4,885
    Location:
    San Luis Obispo, CA
    Anyone tried this with an I phone??
     
  3. AC1K

    AC1K Member

    Joined:
    Mar 18, 2013
    Messages:
    468
    Location:
    Calgary Alberta Canada
    i just turn on my hot spot, 1 swipe, 1 tap

    2013-11-27-14-25-27.png
     
  4. hans

    hans P631

    Joined:
    Sep 27, 2012
    Messages:
    1,123
    Location:
    Menlo Park
    #4 hans, Nov 27, 2013
    Last edited: Nov 27, 2013
    Locale has a NFC Plugin as well if you prefer NFC over Bluetooth to detect you are in the car

    And then you have to remember to unlock your phone, swipe again, and tap again when you leave the car.

    The point if this setup isn't that turning hotspots on and off is hard. It's to automate the task so you don't forget and end up with a dead phone battery.

    I use the setup to add some extra rules into the mix like checking if the phone is charging, or turning off the hotspot if the battery gets below 10%.

    The really cool stuff is all the other things you can do, like automatically start Audible or Spotify when you're in the car, or using the HTTP Plug in to start and stop the charger on the Tesla, or forward your Google voice number to your home phone only when you are actually there.

    If I can figure out how to control the air suspension I will make a situation that will raise the car to the "high" suspension setting every time I enter my kids school driveway.
     
  5. scottf200

    scottf200 Active Member

    Joined:
    Feb 3, 2013
    Messages:
    1,271
    Location:
    Chicagoland ModelX S603
    Excellent effort on that thread with all the screen captures. I have verizon and a Motorola MAXX HD and the have a specific settings to enable wi-fi hotspots (you get 10 with each phone). An action to turn on a wi-fi hotspot does not seem to exist in SmartActions (like locale).

    Looks like this wifi hotspot enabler works on various devices including mine. FYI in case this helps someone out.

    https://play.google.com/store/apps/details?id=com.foxfi -- devices supported: http://pdanet.co/help/devices.php
     
  6. hans

    hans P631

    Joined:
    Sep 27, 2012
    Messages:
    1,123
    Location:
    Menlo Park
    If you want to add a simple shortcut to turn hotspot on/off then there are many apps for that. I use TetherShortCut by taiseiko ( TetherShortCut - Android Apps on Google Play ).

    Perhaps it's not clear from the title but this thread is all about "automatic" (i.e. no touch, no swipe) method for turning the hotspot on and off. That allows you to leave the phone in your pocket or purse.
     
  7. AC1K

    AC1K Member

    Joined:
    Mar 18, 2013
    Messages:
    468
    Location:
    Calgary Alberta Canada
    also is your 3G connection on your car not free? or do you have unlimited data on LTE via phone?

    my cellular is unlimited everything (incl NA calling) but at HSPA+ speeds
     
  8. hans

    hans P631

    Joined:
    Sep 27, 2012
    Messages:
    1,123
    Location:
    Menlo Park
    I have free unlimited LTE data on my phone. 3G on the car is free (for now) but only for the car. The WiFi hotspot is also handy for my kids in the back seat with all their iThings.
     
  9. WhiteP85

    WhiteP85 Member

    Joined:
    Oct 15, 2013
    Messages:
    61
    Location:
    Massachusetts
    Very nice Hans. Thanks for sharing this.
     
  10. steve841

    steve841 Active Member

    Joined:
    Jan 17, 2010
    Messages:
    1,397
    Location:
    Ft. Lauderdale, FL
    Not to hijack this thread ... but I really thought the process was cumbersome ...

    So I did some searching and found this Android app:

    AutoTether for Automatica
    AutoTether for Automatica - Android Apps on Google Play

    It's free, doesn't require any other apps and ... it works.

    Thanks to hans for the motivation!
     
  11. hans

    hans P631

    Joined:
    Sep 27, 2012
    Messages:
    1,123
    Location:
    Menlo Park

    I will keep using Tasker because I have it programed to automate a bunch of things but if someone just needs Hotspot automatically on/off (the purpose of this thread) then this looks like a perfect solution! @steve841 let us know after a while using this app if it continues to work seamlessly for you.

    --update--

    Description says "AutoTether has been designed as a companion app for the Automatica car USB device, to keep it synced while you're driving around."
    Can you confirm that it works standalone?
     
  12. steve841

    steve841 Active Member

    Joined:
    Jan 17, 2010
    Messages:
    1,397
    Location:
    Ft. Lauderdale, FL
    It absolutely works as a stand alone
     
  13. gocken2

    gocken2 Model S: P6931

    Joined:
    Jan 24, 2012
    Messages:
    101
    Location:
    Phoenix, AZ
    I can confirm AutoTether works. It's very easy to setup as well.
    Thanks
     
  14. contaygious

    contaygious Active Member

    Joined:
    Jul 25, 2012
    Messages:
    1,001
    Location:
    Marina, San Francisco
    I have unlimited data in my work plan, but tether says i don't have the right subscriptions when i try to use it. I thought they couldnt charge for tether anymore?
     
  15. mcornwell

    mcornwell Active Member

    Joined:
    Dec 20, 2010
    Messages:
    1,016
    Location:
    USA
  16. dave

    dave Member

    Joined:
    Sep 21, 2012
    Messages:
    451
    Location:
    Greater Cincinnati
    #16 dave, Nov 29, 2013
    Last edited: Nov 29, 2013
    I have an old unlimited plan that doesn't include tethering, so I use the FoxFi program to get tethering. Would any of these solutions work with FoxFi, or a similar program?
     
  17. contaygious

    contaygious Active Member

    Joined:
    Jul 25, 2012
    Messages:
    1,001
    Location:
    Marina, San Francisco
    Yeah i use foxfi too even though i have verizon.

    "You can avoid the tethering fee by downloading a third party app from an application store. If you tether using Verizon's service, you will still be charged the $20 a month to access Mobile Broadband Connect. So you need to be proactive and find an app that you can use."
     
  18. aaronw

    aaronw Member

    Joined:
    Dec 19, 2012
    Messages:
    281
    Location:
    United States
    What would be really nice is if the Tesla app could automatically enable wi-fi tethering. In my case I use FoxFi since I have unlimited 4G with Verizon but don't feel like paying an extra $30/month for tethering support which normally I only rarely use. I just wish they'd fix the location bug in the Android app where often the map view is not shown.
     
  19. Snosrep

    Snosrep Member

    Joined:
    Nov 9, 2013
    Messages:
    10
    Location:
    SoCal
    A quick question, I like the concept of turning on and off the tethering when you get in and out of the car and I don't have Locale to test this, but what happens when you get out of your Tesla and want to turn on your tethering on, at say a meeting? Won't the Tesla off just turn your wifi back off since you are not connected to your Bluetooth and charging?
     
  20. hans

    hans P631

    Joined:
    Sep 27, 2012
    Messages:
    1,123
    Location:
    Menlo Park
    Good question. You have a few options.

    1) turn off Locale and start your hotspot as you did before
    2) create another higher priority situation that outranks "Tesla Hotspot Off" and matches the situation of your meeting or the orientation of your phone. For example, you can add a generic "Hotspot On" situation which triggers on the phone orientation sensor. If the phone is facedown on the table, and connected to USB (or in Bluetooth range of your laptop), then start a hotspot. Whatever you think is unlikely to happen unless you knowingly position the phone to trigger the situation to fire.

    Honestly I use #1 for most adhoc hotspot creation and #2 for repeating situations like when I am at the cottage were we have no internet access except for my hotspot.
     

Share This Page