• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Llama

jamos316

Well-Known Member
Anyone know how to set up the location awareness app 'llama'

I want the phone to only auto sync when the screen is on, then immediately to disable auto sync.

The event I have created is;
Condition : user is present
Action : enable sync, request update

At the moment it does start the syncing process once the screen is on but after it stays on when I want it to be disabled until the next time I turn the screen on.

Any ideas on how to do this?
 
You need a second event
Condition : Screen off
Action : Disable sync

Seems to work...unless you want it to just sync once even if you keep the screen on for a while, if that's the case I think you are beyond the capabilities of llama
 
I think you could effectively accomplish your goal by creating a second event that has the same conditions but the opposite actions, however you would need to set "Delay event" for an estimated worst-case synchronization time under "Advanced...". For example, if you think it would never take more than 2 minutes to synchronize, then you could set the delay at 2 minutes or maybe 3 minutes.
 
Does cell Polling & WIFI Polling use battery?
How can I set these 2 to poll for the 1st minute when screen is on then to stop poll.
 
Any automation app uses battery because it runs in the background. The question is does the background service use more or less battery than it saves by cycling other functions on & off? Only your experience can answer that.

I'm not sure but if you're using a location based condition I don't think you can stop it polling because it needs to know if the condition is met.
 
Cell-based location in an app like this will use little power. Particularly if Llama has the option to just base it on cell id (very imprecise, but good enough for some purposes) - I've done that with Tasker in the past and the impact was negligible.
 
I agree. Llama's cell tower polling and WiFi polling cause a negligible amount of battery drain because (unless you are manually managing all of your radio connections) basically your phone does the most energy-consuming part of the polling work anyway (since it has to find and stay attached to the cell towers and/or WiFi routers and/or Bluetooth devices) regardless of whether or not Llama is running. Llama just checks periodically checks the phone's database to see what that cell/WiFi/Bluetooth information is. I'd guess that in 24 hours, Llama's polling probably uses less energy than leaving the screen on for one second. I didn't notice ANY difference in battery drain after installing Llama and I leave it on 24/7 with polling (and actions) for location and Bluetooth.
 
Hi folks

Need some help creating an event that only fires once a day.

I am using Auto SMS to send a text when I enter an area to let my family know I am on my way home. However, as it connects and reconnects to the tower(s) in that area, it keeps firing SMS messages.

I received this advice when I asked Steve at KebabApps:

Enter area, set Llama variable 'sent sms'=<blank>
Send SMS, set Llama variable 'sent sms='yes', queue a delayed event (delay for 16 hours)
Llama variable 'sent sms'=<blank>

That will make Llama remember that it sent an sms, and 16 hours after sending it, it will reset Llama so that it can send it next time.
but I am having trouble understanding what is an action, what is an event, and how to string them together. I don't understand why setting a variable makes the event fire only once. I must be missing something.
 
Hi folks

Need some help creating an event that only fires once a day.

I am using Auto SMS to send a text when I enter an area to let my family know I am on my way home. However, as it connects and reconnects to the tower(s) in that area, it keeps firing SMS messages.

I received this advice when I asked Steve at KebabApps:

but I am having trouble understanding what is an action, what is an event, and how to string them together. I don't understand why setting a variable makes the event fire only once. I must be missing something.
There are a few things about Llama that you need to understand (and I agree that the naming is not very intuitive).

Profiles: You can create profiles to behave certain ways, like creating a "Silent" profile for when you're in church or a movie theater. From the top select Profiles and hit the "+" on the bottom to create a new profile or just edit an existing one. You don't have to create profiles but they can be very useful.

Areas: You can teach Llama different locations based on the cell towers that are "visible" to the phone. For example, you may want to teach Llama where your home, office, church, movie-theater are-- and assign them a name. Then later you can have Llama perform different actions when the phone enters, leaves, is inside, or outside that location. You have to be in that location to teach Llama to recognize it. To do so, select "Areas" from the top and "+" at the bottom. It will walk you through.

Events: These are really "If-Then" commands, where the "If's" are what Llama calls "Conditions" and the "Thens" are what Llama calls "Actions". Examples:
Church Quiet Event: (If) Condition is Area church, (then) Action is "Quiet" profile.
In Car Event: (If) Condition is Bluetooth connected to car stereo AND (if) Condition is charging, (then) Actions are, Brightness full, Volume full, screen-time-out off, launch Waze-GPS, & launch Pandora.
Typically you want to create these "Events" in oppositely-functioning pairs so that, for example, when you leave church you go back to a Normal profile and when you disconnect from your car's stereo, you undo the aforementioned settings and kill the apps. To create an "Event" tap on "Events" at the top. Then select the "Conditions" and then the "Actions".

Advanced: The "advanced" technique that Steve was trying to tell you about is that when editing an "Event" you'll see a menu option called "Advanced...". If you select that, you can control things like "Delay Event" to delay the action taken and "Repeat Event" where you can choose whether or not to repeat it at a user-defined interval.

I hope that helps.
 
Thanks. I have been primarily using single, simple events, and your explanation helped clarify a few things. I'll keep plugging away!
 
hi guys,

just stumbled across llama app and looks v cool at first - ive been using audiomanager pro for ages but no dev on that for some time - i had asked them a few times to add dynamic notification app icons for profiles ......... and guess what...llama does that! cool

cheers
dan
 
Back
Top Bottom