Automating Waze bootup

Tseven007

NZCTG
Intermediate User
Lifetime Premium Member
Joined
Jul 1, 2017
Messages
623
Reaction score
644
Location
New Zealand
I mentioned this in conversation today and thought it worth an entire thread for itself.

I was watching a fella on YouTube turn an old Android tablet into a touchscreen car computer by installing a 3rd party launcher and a bunch of other apps within the launcher selection menu list. He explained how everything would need to be automated, he said that if he had to turn the screen on every time, select the app from a list, that eventually due to human nature he’d stop using it. The few steps of having to turn on the screen, then start the programs each time would become too labor intensive and he’d just stop bothering.

So I found this to be the same for me with Waze. I love the app, but I get complacent and forget to turn it on, just as this guy described.
This guy’s remedy for this was another application called Llama, so I adopted his idea.
The way it works is that you can set an action to happen under a certain condition. There are lots of conditions you can choose, and lots of actions you can select from.
I have mine set up like this;
Condition: When my phone connects to the Bluetooth in my truck
Action: Turn on the screen, and launch Waze (You could also launch Escort Live.. whatever you use)

This Llama app is gold. I drop my phone into its holder, turn on the car and that’s it. The phone lights up and Waze launchers without any input from me.
Even if I forget to get my phone out of my pocket I still get the Waze warnings from the Bluetooth audio connection.
No idea if there’s a version for IPhone.
Enjoy :)

Llama Events.JPG
 

cogolden

Learning to Fly
Beginner User
Joined
May 31, 2016
Messages
95
Reaction score
122
Thanks for sharing! I use a similar Android app called "Trigger". Another option is "Tasker", but it requires a more involved setup procedure.

If I had to manually start Waze every time I got in my car I doubt I would use it.
 

infiniti

Advanced User
Lifetime Premium Member
Joined
Jun 8, 2014
Messages
2,391
Reaction score
2,663
Location
Ohio
Fwiw, I leave a dedicated non cellular device in the car running music, Waze, alp and simply enable hotspot when I approach the car. Llama works well, but drains the battery a bit.

- - - Updated - - -

Which reminds me, I could have llama turn on hotspot in the car.
 

ShadowSe7en

PSL +5
Intermediate User
Joined
Jun 21, 2013
Messages
151
Reaction score
66
I use tasker. When my car starts, the dedicated phone I use turns on the screen, Bluetooth, YaV1, and connects to the detector. When I turn the car off, it shuts everything down in reverse order. With the screen and Bluetooth off, the only thing using battery power is the android operating system. My battery lasts several days without using the car this way.
 

Tseven007

NZCTG
Intermediate User
Lifetime Premium Member
Joined
Jul 1, 2017
Messages
623
Reaction score
644
Location
New Zealand
I use tasker. When my car starts, the dedicated phone I use turns on the screen, Bluetooth, YaV1, and connects to the detector. When I turn the car off, it shuts everything down in reverse order. With the screen and Bluetooth off, the only thing using battery power is the android operating system. My battery lasts several days without using the car this way.
Hey Shadow,

the guy i got the idea from on youtube was doing similar as you, he even had the phone go into battery-saver mode when he shut of the car, so as you say its running on only minimal power and can last for days on standby.

Unfortunitely Llama wont perform the program kills for me, I think because my phone isn't rooted.

Does the Tasker app require for your phone to be rooted ?
 

ShadowSe7en

PSL +5
Intermediate User
Joined
Jun 21, 2013
Messages
151
Reaction score
66
Unfortunately it does. Back when I was looking for a cheap android phone to use as a dedicated YaV1 interface I tried to find one that could be rooted. It's been a few years since I set it up but I used either Kingroot or Towelroot to quickly get root access to clear all the bloat ware off. Tasker was pretty limited on what it could do before rooting. I had never done a root to a phone before but I found some videos which showed how to do in in just a few steps.
 

shifter

PSL +20
Advanced User
Premium Member
Joined
Jan 4, 2012
Messages
2,176
Reaction score
2,545
Llama doesn't kill apps right. I use Llama also for the regular tasks, but use Tasker for killing because it actually works.
 

LeftLaneInPA

School buses are my nemeses.
Advanced User
Joined
Jun 20, 2017
Messages
2,558
Reaction score
3,192
Location
Clue's in the name
Yeah, I gave Llama a try as well, but unfortunately it kept telling me "unknown location" despite me letting it "learn" my home and work locations. A little bit of Googling found out that apparently Llama doesn't work too well "learning" 4G LTE towers.

I wanted to try Tasker but apparently there's no demo version of it?
 

HyperM3

PSL +5
Intermediate User
Joined
Dec 12, 2013
Messages
650
Reaction score
686
Location
Lawrenceville, NJ
Yeah, I gave Llama a try as well, but unfortunately it kept telling me "unknown location" despite me letting it "learn" my home and work locations. A little bit of Googling found out that apparently Llama doesn't work too well "learning" 4G LTE towers.

I wanted to try Tasker but apparently there's no demo version of it?
Have Llama learn your home and work locations by the wifi connection.

Posted from my Pixel XL using the RDF Mobile App!
 

johnboy00

Geaux Tigers!
Advanced User
Lifetime Premium Member
Joined
Sep 6, 2016
Messages
3,968
Reaction score
7,599
Location
Raleigh, NC
Tasker is worth every penny. Be sure to get the free version of the Secure Settings plug-in, too. Without root, it can't kill an app in the normal sense, but it can still do a million other things. For instance, here's the Tasker task I use to tell Waze to shut itself down cleanly, no root required:

1: Go Home (like pressing home button)
2: Wait 3 seconds
3: Send Intent, Action = Eliran_Close_Intent

I use an unrooted Samsung Galaxy S5 Active (no SIM, 5.1.1), because it can take extreme heat (140F+) without shutting itself down. I rarely take the phone out of the car.

On accessory power or ignition (power to phone), Tasker launches either YaV1 or V1C app and enables wi-fi. When something (YaV1 or V1C app) connects to my V1C dongle's MAC address, Tasker clears PIN security, disables keyguard (the screen that waits for a swipe or fingerprint), and wakes the phone up. If and when I turn on the mobile hotspot on my main phone (S7), the S5 will auto connect to it. Tasker will auto launch Waze when it sees a wi-fi connection to my hotspot. When phone no longer powered (key off), Tasker runs the Waze shutdown task (doesn't matter if not running), disables wi-fi, sets a long PIN (in case is stolen), and locks the phone. I never turn BT off and my battery loses < 10% over a weekend. You need the Secure Settings plug-in to do the PIN clearing and setting. The keyguard disabling works with 5.x and 6.x, but doesn't seem to work with 7+.
 

LeftLaneInPA

School buses are my nemeses.
Advanced User
Joined
Jun 20, 2017
Messages
2,558
Reaction score
3,192
Location
Clue's in the name
Yeah, I ended up going with Tasker, since I couldn't get Llama to work properly due to it not being able to realize when I was at home or work. Something to do with it not really playing well with 4G LTE towers or something.

I have Tasker set up to start Waze and set my phone's screen to auto-rotate when it's connected to my car's bluetooth and plugged into power. It's also set to stop Waze (using the Eliran_Close_Intent that johnboy00 mentions above) and reset the screen to profile-only when either the bluetooth is disconnected, or it's no longer plugged in. So far it as worked well.

- - - Updated - - -

Screenshot_20170811-234617.jpg
Screenshot_20170811-234647.jpg
Screenshot_20170811-234736.jpg
Screenshot_20170811-234815.jpg
 

Tseven007

NZCTG
Intermediate User
Lifetime Premium Member
Joined
Jul 1, 2017
Messages
623
Reaction score
644
Location
New Zealand
Tasker is worth every penny. Be sure to get the free version of the Secure Settings plug-in, too. Without root, it can't kill an app in the normal sense, but it can still do a million other things. For instance, here's the Tasker task I use to tell Waze to shut itself down cleanly, no root required:

1: Go Home (like pressing home button)
2: Wait 3 seconds
3: Send Intent, Action = Eliran_Close_Intent

I use an unrooted Samsung Galaxy S5 Active (no SIM, 5.1.1), because it can take extreme heat (140F+) without shutting itself down. I rarely take the phone out of the car.

On accessory power or ignition (power to phone), Tasker launches either YaV1 or V1C app and enables wi-fi. When something (YaV1 or V1C app) connects to my V1C dongle's MAC address, Tasker clears PIN security, disables keyguard (the screen that waits for a swipe or fingerprint), and wakes the phone up. If and when I turn on the mobile hotspot on my main phone (S7), the S5 will auto connect to it. Tasker will auto launch Waze when it sees a wi-fi connection to my hotspot. When phone no longer powered (key off), Tasker runs the Waze shutdown task (doesn't matter if not running), disables wi-fi, sets a long PIN (in case is stolen), and locks the phone. I never turn BT off and my battery loses < 10% over a weekend. You need the Secure Settings plug-in to do the PIN clearing and setting. The keyguard disabling works with 5.x and 6.x, but doesn't seem to work with 7+.

Okie Dokie... just made the switch from Llama to Tasker.

Working better than ever! Now Waze closes and the screen goes to sleep.

This was really good advice, thank you [MENTION=12420]johnboy00[/MENTION]
 

infiniti

Advanced User
Lifetime Premium Member
Joined
Jun 8, 2014
Messages
2,391
Reaction score
2,663
Location
Ohio
anything similar for iphone / ipod touch ?
 

DChiJEllis

Lifetime RDF Contributor
Moderator
Advanced User
Lifetime Premium Member
Joined
Jul 31, 2016
Messages
2,076
Reaction score
2,814
Location
Trollstigen, Lyseveien og Atlanterhavsveien
anything similar for iphone / ipod touch ?
Not without jailbreaking your phone. I read that it was against the Apple terms of service to make apps start and stop based on location. (Which is really just a thinly veiled attempt to say we're going to write an app ourselves to do it someday).

I'm using Llama on a dedicated Android and just have to activate the hot spot on my iFern to do it.


Posted from my iPhone using the RDF Mobile App!
 

infiniti

Advanced User
Lifetime Premium Member
Joined
Jun 8, 2014
Messages
2,391
Reaction score
2,663
Location
Ohio
Yeah. I'm using an ipod touch through a usb cable for premium audio quality streaming...then add ALP / Waze to duck in and out over my speakers, so I'm trying to fool with ipod.

My best option at this point is to turn airplane mode on and off by swiping up from the bottom.

Not without jailbreaking your phone. I read that it was against the Apple terms of service to make apps start and stop based on location. (Which is really just a thinly veiled attempt to say we're going to write an app ourselves to do it someday).

I'm using Llama on a dedicated Android and just have to activate the hot spot on my iFern to do it.


Posted from my iPhone using the RDF Mobile App!
 

nhdriver

Advanced User
Joined
May 10, 2012
Messages
4,540
Reaction score
2,327
Location
NH
Secure Settings developer abandoned the app after KitKat I believe so it no longer works with Marshmallow and newer Android. It's unfortunate as it was a must have with Tasker to turn on certain features like GPS.

But other commands including shell and simulating screen touch is still available so while it does take extra steps to create the tasks, Tasker is still worth every penny. It's how I run Waze so it does everything automatically including enabling/disabling GPS.
 
Last edited:

johnboy00

Geaux Tigers!
Advanced User
Lifetime Premium Member
Joined
Sep 6, 2016
Messages
3,968
Reaction score
7,599
Location
Raleigh, NC
Secure Settings developer abandoned the app after KitKat I believe so it no longer works with Marshmallow and newer Android. It's unfortunate as it was a must have with Tasker to turn on certain features like GPS.

But other commands including shell and simulating screen touch is still available so while it does take extra steps to create the tasks, Tasker is still worth every penny. It's how I run Waze so it does everything automatically including enabling/disabling GPS.
It doesn't work with Nougat (7.0), that's for sure. It works great with Lollipop (5.1), which is what my S5 Active is running. It also worked with my rooted S3 running Marshmallow (6.0), but that phone shuts down in heat, so I stopped using it.
 

cihkal

Pure Energy
Advanced User
Premium Member
Joined
Apr 21, 2014
Messages
3,454
Reaction score
6,085
Thanks for sharing! I use a similar Android app called "Trigger". Another option is "Tasker", but it requires a more involved setup procedure.

If I had to manually start Waze every time I got in my car I doubt I would use it.
Trigger is the best for general use IMO. It's the only app that can be set to connect to a Bluetooth device when detected and continue making an attempt until the connection is established without getting fancy. I use this for my car since I have an Android watch which can make connecting to my car a bit inconsistent. Trigger also doesn't cause battery drain like I've seen with Tasker.

I have Trigger set to connect to my car, then run Waze. Waze automatically shuts down on its own when it determines you're not driving.

07c782da0ed351e1c00678d1839232b5.jpg

Sent from my Pixel using Tapatalk
 
Last edited:

johnboy00

Geaux Tigers!
Advanced User
Lifetime Premium Member
Joined
Sep 6, 2016
Messages
3,968
Reaction score
7,599
Location
Raleigh, NC
Why doesn't your phone auto connect after the initial pairing? You shouldn't need an app for that.

I've never had a problem with Tasker draining my batteries. Any app will drain battery if it's busy doing something. CPU uses power. If you set up a profile and or task in Tasker incorrectly, maybe it would stay too busy and drain battery, sure. Never had that problem.

Also, Waze is a HUGE battery drain when not on power. It doesn't shut down soon enough for me on my phone that I leave in the car, hence the shutdown task.
 
Last edited:

Discord Server

Forum statistics

Threads
78,287
Messages
1,192,089
Members
19,967
Latest member
luther714
Top