01-25-2018 03:59 PM
1,003 ... 2930313233 ...
tools
  1. hetn's Avatar
    Thank you for your quick reply, but it is not exactly what I am searching for. I try to explain:
    The Waze (and Maps) is able to navigate in the background as well (only voice navigation). It means, if I close the screen or I start (f.e.) the camera application, the Waze runs in the background and says: turn right-turn left ...etc. Using your solution the Llama thinks : Navigation has been closed and the Llama switches off the mobile data. But the Waze is still in the memory and wants to navigate...
    I want to turn off the mobile data when I really close the navigation using the "Exit" button.
    10-27-2014 10:28 AM
  2. raino's Avatar
    Thank you for your quick reply, but it is not exactly what I am searching for. I try to explain:
    The Waze (and Maps) is able to navigate in the background as well (only voice navigation). It means, if I close the screen or I start (f.e.) the camera application, the Waze runs in the background and says: turn right-turn left ...etc. Using your solution the Llama thinks : Navigation has been closed and the Llama switches off the mobile data. But the navigation is still in the background and wants to navigate...
    I want to turn off the mobile data when I really close the navigation using the "Exit" button.
    There's no way you can do a one to one condition and event, you'd have to be willing to introduce at least one more manually controlled variable, so your condition looks something like:

    Condition: active app Waze AND GPS on
    Event: enable mobile data

    (and the corresponding queued event to turn it off)

    Then this event/queued sub-event would fire as you manually turn GPS on and off.
    10-27-2014 10:35 AM
  3. hetn's Avatar
    How can I insert the "GPS on" condition you suggested? I cannot find it in the condition list
    10-27-2014 10:47 AM
  4. raino's Avatar
    How can I insert the "GPS on" condition you suggested? I cannot find it in the condition list
    Sorry, I didn't realize that wasn't a condition Llama monitors, plus it was just an example. The "co-condition" just needs to be one that would be present while Waze is on. So it can be something like phone is charging/unplugged, BT device connected (if you wear a BT earpiece while driving, for example,) something with NFC tags, etc.
    10-27-2014 11:00 AM
  5. hetn's Avatar
    ok, understood. I solved my problem using the '(time)delayed switching off mobile data' method - temporary .
    Please let me one more question:
    What is the main difference between the "Queue another event" and separated 'condition-action' event?
    10-28-2014 01:51 AM
  6. buggy_droid's Avatar
    ok, understood. I solved my problem using the '(time)delayed switching off mobile data' method - temporary .
    Please let me one more question:
    What is the main difference between the "Queue another event" and separated 'condition-action' event?
    Queue another event creates a brand new event every time you run that action. Queued events are just like standalone, regular events except on three points (if more, someone point them out). First, queued events don't require conditions if you don't want to put any. If you don't give it any conditions, queued event's actions always run, with or without a wait. Second, queued events don't have any advanced settings that regular events do, except for the delay-and-cancel action. Took me a while to understand this but giving a queued event conditions and a wait is equivalent to setting delay with cancel in regular events. If you don't set wait time in a queued event however, the queued event never gets canceled. Third, unlike regular events, queued events run only once then disappear. So, if you don't give a queued event any wait but give it some conditions, the queued event will never be canceled and hangs around indefinitely until all its conditions are met, its actions are triggered, then the event will disappear. This variation in behaviors gives you a great flexibility (or headache) in setting up some sophisticated events in rather simple ways. Besides, you can't call a separate condition-action event from inside of another event. You can call a shortcut to another event, but if you do that, the conditions of the event that's called are all ignored and the event actions always run.

    Inability of Llama to detect a process running in background seems to be a recurring problem for may people, especially with gps applications because Llama doesn't know whether gps is on either. The best I've come up so far is instead of turning gps off when an app stops or vice versa, I'd create a 'switch' that kills the app, gps, mobile data, and whatever else by a single tap. I'd figured, if you need tap tap tap to exit out of an app then gps, data, whathaveyou follow automatically, it would be as fast if not faster to tap on the kill button that takes care of everything.
    hetn and shinra00 like this.
    10-28-2014 03:49 AM
  7. hetn's Avatar
    -clear
    -detailed
    -adequated
    -thank you very much
    10-28-2014 04:15 AM
  8. buggy_droid's Avatar
    Feel free to hit that 'thanks' button

    I remember kurokirasama writing similar things about queued events before, but it never made sense to me (the part that a queued event without wait will WAIT forever until all conditions are met) until I realize that a queued event MUST run once before being expunged. On the other hand, a queued event WITH wait gets canceled (and expunged) as soon as one of its conditions tests false, WITHOUT waiting for its wait time (hence, the same behavior as the delay-with-cancel action). It's very counter-intuitive and I wrote this here so I can find it later if I ever get confused again. I think the author of the app should change the term 'wait' to 'delay' to be consistent with regular events.

    Anyways.

    The kill switch idea for gps and apps is a bonus.

    -clear
    -detailed
    -adequated
    -thank you very much
    10-29-2014 12:08 AM
  9. tmm0f5's Avatar
    Any chance someone could help me as I'm new to Llama?

    I just don't know what to change in order to make this happen.

    When I am at work I have spotty cell signal (and occasional wifi signal). Therefore my battery is dead within about 3 hours. However whenever I venture by a window I get text messages, etc. Is there a way to simply reduce how often my phone looks for a cell signal at work, but then keep the setting as normal when I am away from work/at home? I see that I can reduce cell polling, but it doesn't let me set a lower rate at work and a higher rate at home.

    I don't want to completely disable it, because occasionally I walk by a window and get my text messages, etc.

    Thank you all for your help,
    tim
    10-30-2014 01:14 PM
  10. Shohibul Ardiansyah's Avatar
    Event name: Disable rotation
    conditions: active application-----> app stopped or in background----> browser
    action: screen rotation------> no rotation
    11-01-2014 04:25 AM
  11. Shohibul Ardiansyah's Avatar
    Event name: disable rotation
    Condition: active application ->app stopped or in background---> camera
    Action: screen rotation -> no rotation

    just repeat for other apps...... so, when you close the camera or other apps.... screen rotation will be disable....

    tell me if it work for you... it work like a charm on my phone...
    11-01-2014 04:34 AM
  12. Cobus du Plessis's Avatar
    I use Llama to switch on my bluetooth as soon as it disconnects from my WiFi at home. That way, is I leave for work in the mornings my bluetooth is switched on to connect to my car radio.

    I also do the auto-rotate thing for certain apps, but have also added screen brightness to 100% when opening apps like gallery, Documents and YouTube.
    11-02-2014 01:44 AM
  13. SnipER_UA's Avatar
    Hi!
    Please help me to do the following things:

    1. Set action on alarm ringing. No, standard Alarm event that uses NEXT_ALARM_FORMATTED isn't good, because I use Sleep as Android app, so time differs. Alarm is always played in certain time interval and with same music file.
    2. I want to use some autoresponder application based on location. Currently I use "Autoresponder / SMS Scheduler": it sends SMS on incoming SMS/call depending on time. I want some way to just turn it on/off, or any other application with Llama/Tasker/Locale plugin will do.
    3. (Suppose it's not possible at all, but maybe someone knows a hack) Turn on/off Samsung Ultra Power Saving mode.

    I have SL4A & Python for Android installed, but don't know if they can help with these.

    Thanx in advance!
    11-03-2014 05:27 AM
  14. dirkc's Avatar
    Hi,
    I would also like to use the 'near home' area acrive when near cells at home, with wifi=on/data=on/BT=on and then when connected to my home wifi switch to 'home' area with wifi=on/data=off/BT=off
    This I want to do because it takes quit long to get out of the home cells and I want to switch my BT on as soon as I leave the house.
    Can you send me a detailed setup so I can get mine working ? PM is ok for me.
    I already got the 'home' area defined with my wifi networks.
    Also my BT does not want to connect all the time when I get into my car. A nice Android bug in the 4.x versions of some phones. When in my car and BT did not get connected I can force it to connect by switching off BT and then back on after some seconds. Would be great if I could do this with Llama.
    Any help is greatl appreciated on this!!
    Grtz,
    Dirk
    11-03-2014 08:46 AM
  15. buggy_droid's Avatar
    Any chance someone could help me as I'm new to Llama?

    I just don't know what to change in order to make this happen.

    When I am at work I have spotty cell signal (and occasional wifi signal). Therefore my battery is dead within about 3 hours. However whenever I venture by a window I get text messages, etc. Is there a way to simply reduce how often my phone looks for a cell signal at work, but then keep the setting as normal when I am away from work/at home? I see that I can reduce cell polling, but it doesn't let me set a lower rate at work and a higher rate at home.

    I don't want to completely disable it, because occasionally I walk by a window and get my text messages, etc.

    Thank you all for your help,
    tim
    So, when you reduce cell polling in Llama, does your battery last longer at work?
    I always thought cell polling sets how often Llama polls cell info from the OS and has nothing to do with how often the phone looks for towers. I don't use that option at all, so I could be wrong.
    Since your smartphone is a cell phone, if you are in an area with weak (or no) signals it works extra hard trying to find better signals. Nothing in Llama settings should change that behavior. As far as I know the only way to stop it is to put your phone in airplane mode. I was experimenting it a little myself recently and below seems to work fine.

    Conditions: airplane mode off, signal strength goes below -113dBm, screen turns off.
    Actions: enable airplane mode, queue another event "airplane mode off".
    Advanced: delay for 5 min, cancel if conditions change.

    Queued event "airplane mode off"
    wait for 25 min, disable airplane mode.

    The queued event disables airplane mode, that will trigger the original event. So, this is a self sustaining loop as long as your signal is below -113dBm.
    You can adjust the signal strength, delay & wait time to suit your needs. The delay determines how long airplane mode is off, and wait determines how long it's in airplane mode.
    tmm0f5, kurokirasama and shinra00 like this.
    11-10-2014 04:19 AM
  16. nickmax1's Avatar
    new version out: Lollipop users only

    Llama.1.2014.11.18.2216
    11-19-2014 09:24 AM
  17. shinra00's Avatar
    So, when you reduce cell polling in Llama, does your battery last longer at work?
    I always thought cell polling sets how often Llama polls cell info from the OS and has nothing to do with how often the phone looks for towers. I don't use that option at all, so I could be wrong.
    Since your smartphone is a cell phone, if you are in an area with weak (or no) signals it works extra hard trying to find better signals. Nothing in Llama settings should change that behavior. As far as I know the only way to stop it is to put your phone in airplane mode. I was experimenting it a little myself recently and below seems to work fine.

    Conditions: airplane mode off, signal strength goes below -113dBm, screen turns off.
    Actions: enable airplane mode, queue another event "airplane mode off".
    Advanced: delay for 5 min, cancel if conditions change.

    Queued event "airplane mode off"
    wait for 25 min, disable airplane mode.

    The queued event disables airplane mode, that will trigger the original event. So, this is a self sustaining loop as long as your signal is below -113dBm.
    You can adjust the signal strength, delay & wait time to suit your needs. The delay determines how long airplane mode is off, and wait determines how long it's in airplane mode.
    Sweet! was looking for this for some time now, thank you mate!

    One question the -113dBm that you suggest means that you already have no connection at all or that the connection is just really low (1 bar)?

    thanks in advance
    11-21-2014 05:51 AM
  18. raino's Avatar
    One question the -113dBm that you suggest means that you already have no connection at all or that the connection is just really low (1 bar)?
    -113 dBm is a pretty bad signal, and much more accurate than bars. The closer you are to zero, the better the signal strength.
    shinra00 likes this.
    11-21-2014 01:17 PM
  19. Nirwen's Avatar
    Love Llama! One question - probably easy to answer, but I'm too dumb to find the setting. I have a profile that does the following:

    When Bluetooth Device Detaches
    Screen Timeout = 30sec
    Screen Lock = Enabled
    Profile = Loud

    What I would like to have this event do is rather than set the profile to loud would be to poll the cell towers once and set the profile based on my location. All of the location polling events that I can find change the frequency of the polling. They don't just poll once to determine my location. I just want it to do it once when the event fires. Any ideas?

    Thanks!
    11-21-2014 01:44 PM
  20. buggy_droid's Avatar
    the -113dBm that you suggest
    It was suggested by Llama himself. If you choose the signal strength condition (or ? next to it) you will see it.
    An exact value there isn't important. Distinction between not connecting and barely connecting is arbitrary.
    Your phone can measure the exact dBm value (whatever it stands for) at any given time, but whether your phone can function as a phone under that signal strength depends on your hardware, software, hearing, and patience (and of the person you are speaking to).
    Experiment and find what works for you.
    shinra00 likes this.
    11-22-2014 04:39 AM
  21. buggy_droid's Avatar
    Love Llama! One question - probably easy to answer, but I'm too dumb to find the setting. I have a profile that does the following:

    When Bluetooth Device Detaches
    Screen Timeout = 30sec
    Screen Lock = Enabled
    Profile = Loud

    What I would like to have this event do is rather than set the profile to loud would be to poll the cell towers once and set the profile based on my location. All of the location polling events that I can find change the frequency of the polling. They don't just poll once to determine my location. I just want it to do it once when the event fires. Any ideas?

    Thanks!
    You need an "Enter Area" condition in your event. That alone should be enough to make Llama check which one of your areas you are in every time your phone hops from one tower to the next. You don't need cell polling option and shouldn't use it at all unless you know that Llama is not keeping track of towers without it.
    Even if you do need cell polling, you only have to enable it in the settings. You don't need cell polling action in your event. As you said, it only changes the frequency of polling.
    shinra00 likes this.
    11-22-2014 05:21 AM
  22. shinra00's Avatar
    It was suggested by Llama himself. If you choose the signal strength condition (or ? next to it) you will see it.
    An exact value there isn't important. Distinction between not connecting and barely connecting is arbitrary.
    Your phone can measure the exact dBm value (whatever it stands for) at any given time, but whether your phone can function as a phone under that signal strength depends on your hardware, software, hearing, and patience (and of the person you are speaking to).
    Experiment and find what works for you.
    Yup youre correct sir, thanks for the input. Trying to talk with -113dBm is the same as no connection, unless you have a lte phone in an area covered by it (not my case)

    EDIT: just learned that airplane mode won´t disable wifi i'm so happy!

    thank you for all the patience and the help given in this forum buggy_droid and raino
    11-22-2014 06:06 AM
  23. synesthesiac's Avatar
    Hey what's up. Just joining the party. This thread is full of goodies. I very much appreciate everyone's participation. I've got a pretty cool event which some of you may find useful. And a couple of questions...

    The event I use takes advantage of the AlarmPad app, and the fact that the Locale Plugin comes with some built in actions for it. I have a llama event which sets off an alarm, at the beginning of any Calendar event which has the word Llama in the title. It's simple and extremely useful, because the only thing missing from Google Calendar is alarms. I keep an alarm in AlarmPad called "Llama" which is set a year into the future and never deletes. So it's always there, and I don't have to rename it because AlarmPad is set to display the day's calendar events anyway, so I always know exactly what the alarm is waking me up for. It looks like this:

    Condition: Calendar even named "Llama"
    Action: Locale Plugin - AlarmPad run action (beta): Run: Llama Alarm

    That's it. It adds the one feature I really want from Calendar. The only limitation is that the alarm goes off exactly when the Calendar Event starts. So if I want to, say, wake up two hours before a doctor's appointment, I have to set the Calendar Event to start two hours before my appointment and then put the actual appointment time in the title, or notes of the entry. I'm wondering if any of you could think of a way to set this up so that Llama sets off the alarm before the calendar event actually starts. So if I have a doctor's appointment at noon, Llama triggers AlarmPad to wake me up at 10. I can't figure out a way to do it.

    The other problem is that I'd like for the event to be triggered by GoogleNow (or Keep or Calendar) reminders. I'd like to say "Google, remind me to pick up my dry cleaning tomorrow at noon, Llama", and have Llama grab that reminder the same way it does a Calendar event. It could make the reminder system amazing! I hope ya'll have some ideas. And again, this thread is awesome...Thanks!!!!
    11-25-2014 10:49 PM
  24. synesthesiac's Avatar
    Hey what's up. Just joining the party. This thread is full of goodies. I very much appreciate everyone's participation. I've got a pretty cool event which some of you may find useful. And a couple of questions...

    The event I use takes advantage of the AlarmPad app, and the fact that the Locale Plugin comes with some built in actions for it. I have a llama event which sets off an alarm, at the beginning of any Calendar event which has the word Llama in the title. It's simple and extremely useful, because the only thing missing from Google Calendar is alarms. I keep an alarm in AlarmPad called "Llama" which is set a year into the future and never deletes. So it's always there, and I don't have to rename it because AlarmPad is set to display the day's calendar events anyway, so I always know exactly what the alarm is waking me up for. It looks like this:

    Condition: Calendar even named "Llama"
    Action: Locale Plugin - AlarmPad run action (beta): Run: Llama Alarm

    That's it. It adds the one feature I really want from Calendar. The only limitation is that the alarm goes off exactly when the Calendar Event starts. So if I want to, say, wake up two hours before a doctor's appointment, I have to set the Calendar Event to start two hours before my appointment and then put the actual appointment time in the title, or notes of the entry. I'm wondering if any of you could think of a way to set this up so that Llama sets off the alarm before the calendar event actually starts. So if I have a doctor's appointment at noon, Llama triggers AlarmPad to wake me up at 10. I can't figure out a way to do it.

    The other problem is that I'd like for the event to be triggered by GoogleNow (or Keep or Calendar) reminders. I'd like to say "Google, remind me to pick up my dry cleaning tomorrow at noon, Llama", and have Llama grab that reminder the same way it does a Calendar event. It could make the reminder system amazing! I hope ya'll have some ideas. And again, this thread is awesome...Thanks!!!!
    11-25-2014 10:52 PM
  25. buggy_droid's Avatar
    Hello, synesthesiac. Cool trick.

    I'm wondering if any of you could think of a way to set this up so that Llama sets off the alarm before the calendar event actually starts. So if I have a doctor's appointment at noon, Llama triggers AlarmPad to wake me up at 10. I can't figure out a way to do it.
    Google calendar already gives you an option to remind yourself before an event, up to few days, I think.
    To make calendar reminders into alarms, I use this: CalendarAlarmHelper at Google Play store

    Just realized that my answer doesn't involve Llama at all...
    Well, about half the stuff I say here don't, either

    The other problem is that I'd like for the event to be triggered by GoogleNow (or Keep or Calendar) reminders. I'd like to say "Google, remind me to pick up my dry cleaning tomorrow at noon, Llama", and have Llama grab that reminder the same way it does a Calendar event. It could make the reminder system amazing! I hope ya'll have some ideas. And again, this thread is awesome...Thanks!!!!
    Why not create a calendar event by GoogleNow instead?
    Then whatever alarm/reminder app you are using will pick up on the calendar event.
    Once again, Llama has run out on me here.
    11-29-2014 09:47 PM
1,003 ... 2930313233 ...
LINK TO POST COPIED TO CLIPBOARD