01-25-2018 03:59 PM
1,003 ... 1314151617 ...
tools
  1. rhlsg's Avatar
    That's supposed to work. I guess you are aware that it will disable it after you unlock your phone for the first time. You can also try the forced option.
    Enviado desde mi GT-N7000 usando Tapatalk 2
    i tried that option with "disable screen lock after unlock", but it does not seem to work. i will try to "immediate" unlock option.
    does the phone need to be rooted to control those functions ?
    HTC Desire S, Android 2.3.5, Sense 3.
    06-26-2013 11:43 PM
  2. davidtm's Avatar
    Kurokirasama,

    I discovered yesterday (when driving a different than usual route) that picking up a cell on the way elsewhere triggered Llama to switch the settings associated with another Area, when I was just driving through. How can I temporarily disable Llama's doing so? Unfortunately, I believe there's only 1 cell associated with that area.

    Thanks
    06-27-2013 01:35 PM
  3. rhlsg's Avatar
    trying a few different configurations for turning off the screen lock, along with secure settings.
    some things seem to work, some dont !
    instead of pattern lock, now i am trying to use a password, because that does not seem to require root.

    seems that using "unlock immediately" option is working.
    the Keyguard unlock option (without notification) through Secure settings also is working.
    if notification is on then - when i touch the volume controls while screen is off, then it lights up - which is unnecessary.
    06-28-2013 12:49 AM
  4. DanaSTL's Avatar
    Thanks very much for this thread!

    Can anyone share their battery-saving events?

    Is there a way to say "when the battery level is between 1-50%"? Or would I need to make one event for "When battery is above 0%" and another for "When battery is above 49%" (for when charging) and then the reverse when not charging "Battery level is below 50%", "Batter level is below 20%"?
    06-28-2013 12:45 PM
  5. Olivier D's Avatar
    Is it possible to use Llama to disable my pattern lock when I am in certain areas, say at home ?
    I have added the action "Disable screen lock after unlock", but it does not seem to work ?
    any suggestions ?
    the only other action in that event is to switch the profile to "soft" - lower notification volumes.
    I've encountered issues with this feature, unfortunately it's common (i.e. when pattern lock is disabled, when you open a notification, pattern lock enables for Android Security reasons (this happens with Tasker too)). I have a Samsung Nexus S, rooted running CyanogenMod. The only solution I found is to use CyanogenMod's profile switcher (see attached screenshots). I use Profile 4 Tasker + Widget as a locale plugin to active my desired profiles.

    trying a few different configurations for turning off the screen lock, along with secure settings.
    some things seem to work, some dont !
    instead of pattern lock, now i am trying to use a password, because that does not seem to require root.

    seems that using "unlock immediately" option is working.
    the Keyguard unlock option (without notification) through Secure settings also is working.
    if notification is on then - when i touch the volume controls while screen is off, then it lights up - which is unnecessary.
    If you can flash CyanogenMod on your device, try my solution.

    Thanks very much for this thread!

    Can anyone share their battery-saving events?

    Is there a way to say "when the battery level is between 1-50%"? Or would I need to make one event for "When battery is above 0%" and another for "When battery is above 49%" (for when charging) and then the reverse when not charging "Battery level is below 50%", "Batter level is below 20%"?
    Here are mine :

    Battery Full
    When battery rises above 100% when chargin between 09:00 and 23:00 - play sound 'ringtone'

    Below 15
    When battery goes below 15% when using battery when your phone disconnects from <Any Wifi Network> - disable account sync, disable mobile data, disable Wifi, set screen timeout to 15 seconds, set to 1% brightness and run a Locale plugin 'Profile Tasker : Home'

    Charging
    When charging between 06:00 and 23:00 - enable Wifi, set Llama variable 'charging sync' to 'yes', enable account sync then request update, enable rotation, queue an event named 'Mobile data', queue an event named 'Data off' and queue an event named 'Sync off if no Wifi' after 3 minutes and 0 seconds

    Unplugged
    When using battery - disable account sync, set Llama variable 'charging sync' to 'no', disable rotation, set to 1% brightness, set screen timeout to 60 seconds and disable Wifi if not connected

    1h sync
    Between 06:00 and 23:00 when battery rises above 30% - queue an event named '1h sync off' after 3 minutes and 0 seconds and queue an event named 'Sync on' every 1 hour
    Attached Thumbnails Llama - Who's Using It and Any Good Examples?-2013_07_01_10.08.55.png   Llama - Who's Using It and Any Good Examples?-2013_07_01_10.09.14.png   Llama - Who's Using It and Any Good Examples?-2013_07_01_10.09.36.png  
    07-01-2013 04:01 AM
  6. nickmax1's Avatar
    I have an event that locks the profile and changes volume to a lower level: ie

    when the current app is BSPlayer free - lock profile changes, queue an event named Exit BSplayer free and set media/music volume to 5.

    My question is, I want this to be the case when i open the Netflix app as well. But simply adding Netflix as a condition doesnt work....nor does adding the OR condition and adding it that way....what am I missing>?
    07-01-2013 10:41 AM
  7. Olivier D's Avatar
    I have an event that locks the profile and changes volume to a lower level: ie

    when the current app is BSPlayer free - lock profile changes, queue an event named Exit BSplayer free and set media/music volume to 5.

    My question is, I want this to be the case when i open the Netflix app as well. But simply adding Netflix as a condition doesnt work....nor does adding the OR condition and adding it that way....what am I missing>?
    have you tried copying the same event but with netflix only?
    07-10-2013 10:26 AM
  8. nickmax1's Avatar
    yes having an individual event works, but i want the event to trigger for quite a few apps, and since I am quite anal i like to have everything as "neat and tidy" as i can get it and not have a million events that do the same thing...
    07-11-2013 03:19 AM
  9. Olivier D's Avatar
    yes having an individual event works, but i want the event to trigger for quite a few apps, and since I am quite anal i like to have everything as "neat and tidy" as i can get it and not have a million events that do the same thing...
    well in that case you can try with queued events where each have your specific app launching condition.
    07-11-2013 03:58 AM
  10. MathP's Avatar
    Hello all & kurokirasama,

    first of all, a big thank you for this thread & for kurokirasama's post: I like very much your idea to have Llama doing everything (including Juice Defender job). My needs are less complex than yours but still the result is quite nice. Could you have a look to my "adaptated" (from your work) events to tell me if I didn't do any huge mistake?


    Event juice defender like wifi mgmt
    - Conditions:
    - Advanced: Repeat event every 15 minutes & stop if conditions are not met
    - Llama variable: when 'night' doesn't have value 'yes' (1)
    - Llama variable: when 'synchrowifi' has a value of 'yes' (2)
    - Location: all places where I have wifi
    - Actions:
    - Toggle WiFi: WiFi On
    - Variable llama: Set 'syncingwifi' to 'yes' (3)
    - Queued event start synchro: 8 seconds delay
    - Conditions: WiFi Network Connected: <Any WiFi network>
    - Actions:
    - Toggle Account Sync: Enable Sync, Request Update
    - Queued event deactivate synchro: 1 min delay
    - Actions:
    - Toggle Account Sync: Disable Sync
    - Llama variable: Set 'syncingwifi' to 'no'
    - Queued event stop synchro if not connected: 8 seconds delay (4)
    - Conditions: WiFi Network Disconnected: <Any WiFi network>
    - Actions:
    - Llama variable: Set 'syncingwifi' to 'no'
    - Toggle WiFi: WiFi Off


    Event screen off & no wifi sync
    - Conditions:
    - Llama variable: when 'syncingwifi' has a value of 'no'
    - Screen on/off: Screen off
    - Actions:
    - Toggle WiFi: WiFi Off


    Event juice defender like mobile data mgmt
    - Conditions:
    - Advanced: Repeat event every 15 minutes & stop if conditions are not met
    - Llama variable: when 'night' doesn't have value 'yes'
    - Llama variable: when 'synchromobiledata' has a value of 'yes'
    - Location: all places where I don't have wifi
    - Actions:
    - Toggle Mobile Data: Mobile Data On
    - Variable llama: Set 'syncingmobiledata' to 'yes'
    - Queued event start synchro: 8 seconds delay
    - Conditions: Mobile data connection: Mobile data connected
    - Actions:
    - Toggle Account Sync: Enable Sync, Request Update
    - Queued event deactivate synchro: 1 min delay
    - Actions:
    - Toggle Account Sync: Disable Sync
    - Llama variable: Set 'syncingmobiledata' to 'no'


    Event screen off & no mobile data sync
    - Conditions:
    - Llama variable: when 'syncingmobiledata' has a value of 'no'
    - Screen on/off: Screen off
    - Actions:
    - Toggle Mobile Data: Mobile Data Off


    Notes:
    (1) My night event start at 1:00AM every night (except if I have an event "on duty" in my calendar), put the phone on airplane mode, toggle Llama cell polling off & set Llama variable 'night' to 'yes'. My day event start at 6:20AM every day, remove the airplane mode, toggle Llama cell polling on & set Llama variable 'night' to 'no'
    (2) I didn't create the event: my goal is to have a full automated solution (for my usage)
    (3) I hope my understanding is good: the event to turn off WiFi is screen off & no wifi sync
    (4) I also saw sometimes this behavior: as a result I copied your work

    Thanks a lot for reading

    The next thing I will try to look at: the WiFi is activated at work (but without having all the time the WiFi network available): the idea is to add timeout & regular checks if not connected on WiFi network

    EDIT:
    - I didn't see you posted your configuration & backup file in this post: I'm going to study it with care (thanks again)
    - I also saw this post from Olivier D & yours on WiFi polling: again very interessting
    07-17-2013 03:55 AM
  11. calisro's Avatar
    Figured i'd share my discoveries. There is a locale plugin called SL4A that works great with llama. I use it to execute shell scripts in the background. Anything from perl to shell scripts and beyond. All I see is a notification pop up quickly and it executes anything I want based on any criteria in llama. There was a little trial and error involved to get it working but now I am happy.

    https://code.google.com/p/android-scripting/

    If needed, I can elaborate if anyone has any issues using it. I use it with and without root su to do things.
    07-18-2013 02:26 PM
  12. MathP's Avatar
    Hello all

    @kurokimasama:
    after studying with care your events (I didn't finish yet), I have several questions:
    - Why did you create some "Error correction" events (for example, "Correccin de error de sincronizacion wifi" or "Correccin syncro en noche")? Does it mean Llama is messing things up?
    - I found your wifizone variable very interessting but I wonder if this trick doesn't imply side effects (because of the delay to play the event & set the variable with the right value)? it might be insignificant but I was not sure

    @calisro:
    very interresting & extending concept: do you have some shell scripting examples?

    Regards, Math
    07-19-2013 10:31 AM
  13. nickmax1's Avatar
    i am getting a bit frustrated with my wifi events,
    I have an event that says if I am in my home, then enable wifi, disable data.

    but when i am in my garden i do not connect to wifi so i have an OR coindition in my above event that if my wifi disconnects from my known wifi another event should trigger.

    but it doesnt

    how do people handle this problem (if its wifi polling then please go through that step by step as i still just cant get my head round it!)
    07-21-2013 02:05 PM
  14. calisro's Avatar
    Hello all

    @kurokimasama:
    after studying with care your events (I didn't finish yet), I have several questions:
    - Why did you create some "Error correction" events (for example, "Correccin de error de sincronizacion wifi" or "Correccin syncro en noche")? Does it mean Llama is messing things up?
    - I found your wifizone variable very interessting but I wonder if this trick doesn't imply side effects (because of the delay to play the event & set the variable with the right value)? it might be insignificant but I was not sure

    @calisro:
    very interresting & extending concept: do you have some shell scripting examples?
    I have a bunch of things but here are some that may of interest. The other ones I use are probably not for others....
    1) I have a app notification trigger in llama that when I have am in my car (variable set to know I am in my car from other events) my text messages are read to me when I recieve them so that I do not need to use my phone. I am also further customizing that code (work in progress) so that it will ask me if I'd like to respond and wait for me to speak to it and send the text. It is written in python. It is so simple to do these type of things with SL4A. I took 6 lines of code.
    2) I find that FB eats my battery alive. So I always keep it frozen and unfreeze it when I use it. Now I have two events:
    a) llama does a foreground application trigger so that when I unfreeze and launch FB, It sets a queued trigger than when my screen goes off, it refreezes it automatically (with a 10 minute delay)
    b) I created another event that does the unfreezing of FB for me via a shell scripts through SL4A and launches it. It unfreezes FB and then sets a variable so my trigger above also knows it was unfrozen. I created a shortcut on my desktop to use to open FB through this event.
    3) I installed rsync on my phone and nightly I sync my phone with my network NAS while I sleep (@home wifi, @in night mode, @while charging). No more risk of lost data/pictures/or this work. I love this. I have had SD cards go bad. Llama calls SL4A and runs a shell script I created. Obviously there are a few pre-cursors one needs to do to actually get this to work. you obviously need a network nas and install rsync and do a ssh key exchange between android and the linux based NAS.

    These are just some of hte things. There are SO many things SL4A brings to the table. If someone wants more info about any of these, I can post some basics or contents of my shell scripts/python scripts.
    07-21-2013 07:25 PM
  15. calisro's Avatar
    i am getting a bit frustrated with my wifi events,
    I have an event that says if I am in my home, then enable wifi, disable data.

    but when i am in my garden i do not connect to wifi so i have an OR coindition in my above event that if my wifi disconnects from my known wifi another event should trigger.

    but it doesnt

    how do people handle this problem (if its wifi polling then please go through that step by step as i still just cant get my head round it!)
    Why dont you 'share' your events and let us take a look. Its easier to look than try to understand whats gonig on. If you share them, we can load them into our llama and see them.
    07-21-2013 07:26 PM
  16. MathP's Avatar
    Hello all,

    @calisro: your different examples are quite interesting indeed! Could you share the scripts?
    I'm particularly interested in your rsync stuff: I allready have a NAS & rsync script between PCs & my NAS but I didn't investigate this track with my Android phone (I was backuping all the folders I wanted on Google Drive with FolderSync Lite with the privacy issues it might imply): How did you manage to install rsync on your phone: with rsync backup for Android or by installing openssh & rsync in busybox?

    @nickmax1: yes it's exactly what WiFi polling is for: I will try to detail the way to setup the polling (if I understood everything) in an another post

    Regards, Math
    07-22-2013 02:10 AM
  17. Olivier D's Avatar
    i am getting a bit frustrated with my wifi events,
    I have an event that says if I am in my home, then enable wifi, disable data.

    but when i am in my garden i do not connect to wifi so i have an OR coindition in my above event that if my wifi disconnects from my known wifi another event should trigger.

    but it doesnt

    how do people handle this problem (if its wifi polling then please go through that step by step as i still just cant get my head round it!)
    Hey nickmax1

    Your actual conditions just tell Llama, either when wifi connects or when wifi disconnects to trigger its actions. Within the OR conditions, if you have checked the box "Allow retrigger" and it still won't work, you should create a seperate event for it to trigger that should look like : When your phone disconnects from "your known wifi" when at home - actions you desire

    Now as for the wifi polling feature, I have stopped using it because it became too complicated for what I wanted my events to do.

    here are my wifi events :

    Wi-Fi disconnected
    When Airplane mode is disabled when your phone disconnects from Livebox-848C, NEUF_3070, NUMERICABLE-8D96 or lasstikonnection when 'night' has a value of 'no' - enable mobile data, queue an event named 'Lock & loud' after 2 minutes (Conditions : WiFi Network Disconnected: <Any WiFi network>, Livebox-848C, NEUF_3070, NUMERICABLE-8D96 , lasstikonnection. Actions : Locale plugin >ProfileTasker Default ; Profile: Loud. Toggle WiFi: WiFi Off(if not connected). Llama variable > Variable name: Wi-Fi connected Variable value : no), disable WiFi if not connected and set Llama variable 'Wi-Fi connected' to 'no'

    Near Wi-Fi
    At Near ChantinorNear Clemenceau|Near Grenouillre when Airplane mode is disabled when 'night' has a value of 'no' when your phone disconnects from Livebox-848C, NEUF_3070, NUMERICABLE-8D96 or lasstikonnection - enable WiFi and queue an event named 'Wi-Fi off' after 10 seconds (Actions : Toggle WiFi: WiFi Off(if not connected)) every 5 minutes

    Wi-Fi connected
    When your phone connects to Livebox-848C, NEUF_3070, NUMERICABLE-8D96 or lasstikonnection when 'night' has a value of 'no' - change profile to Normal, set Llama variable 'Wi-Fi connected' to 'yes', set Llama variable 'Wi-Fi on' to 'yes', run a Locale plugin 'ProfileTasker: Home', queue an event named 'Media stop' after 5 seconds (Conditions : Music Playback: Music Playing. Actions : Media player: Stop) and disable mobile data
    07-22-2013 02:14 AM
  18. nickmax1's Avatar
    Why dont you 'share' your events and let us take a look. Its easier to look than try to understand whats gonig on. If you share them, we can load them into our llama and see them.
    Wifion:
    When at home or work between 7am and 23:00 - disable mobile data, enable wifi , change profile to normal

    wifioff:
    when NOT at home or work between 7am and 23:00 (when your phone disconnects from "KNOWN WIFI SOURCES")- delay 1 minute then disable wifi, enable mobile data, change profile to normal

    I deleted my OR conditions they were doing nothing.

    The problem with my setup in the wifioff is that my cell coverage is quite large (my ten minute walk to the train station results in me still being in my "HOME" cell - and therefore wifi is on even though not connected to my home (obviously) and thats when i want data to be on.

    Also when i am in my garden i am at home (but my wifi isnt powerful enough to reach me) i want data to be on then as well.

    irritating.
    07-22-2013 03:47 AM
  19. Olivier D's Avatar
    Wifion:
    When at home or work between 7am and 23:00 - disable mobile data, enable wifi , change profile to normal

    wifioff:
    when NOT at home or work between 7am and 23:00 (when your phone disconnects from "KNOWN WIFI SOURCES")- delay 1 minute then disable wifi, enable mobile data, change profile to normal

    I deleted my OR conditions they were doing nothing.

    The problem with my setup in the wifioff is that my cell coverage is quite large (my ten minute walk to the train station results in me still being in my "HOME" cell - and therefore wifi is on even though not connected to my home (obviously) and thats when i want data to be on.

    Also when i am in my garden i am at home (but my wifi isnt powerful enough to reach me) i want data to be on then as well.

    irritating.
    Check my post
    07-22-2013 04:05 AM
  20. nickmax1's Avatar
    olivier I am copying your events and seeing if that will work for me.

    Question: You have variables for wifi on/off and wifi connected yes/no but i see no reason for having these variables in your events as they dont seem to trigger anything?
    07-22-2013 04:31 AM
  21. Olivier D's Avatar
    olivier I am copying your events and seeing if that will work for me.

    Question: You have variables for wifi on/off and wifi connected yes/no but i see no reason for having these variables in your events as they dont seem to trigger anything?
    these variables were for other events like when my battery is low, when my calendar has an entry or other network related events that I used to have (i.e. to prevent Llama to trigger conflicting events). Don't mind them, I left these variables there in case I need them again
    07-22-2013 05:01 AM
  22. nickmax1's Avatar
    I thought as much.

    Interestingly, your two events for wifi connected and wifi disconnected show up as GREEN in my "Events" page., suggesting that my phone has connected to as well as disconnected from my known wifi sources......how is that possible.?

    The correct event is firing though (as my wifi is on and I am at my workplace) - but I am keen to understand why it believes it is in two states of connection/disconnection at the same time.

    Are your two events highlighted as green?
    07-22-2013 05:06 AM
  23. Olivier D's Avatar
    I thought as much.

    Interestingly, your two events for wifi connected and wifi disconnected show up as GREEN in my "Events" page., suggesting that my phone has connected to as well as disconnected from my known wifi sources......how is that possible.?

    The correct event is firing though (as my wifi is on and I am at my workplace) - but I am keen to understand why it believes it is in two states of connection/disconnection at the same time.

    Are your two events highlighted as green?
    Check your conditions again, my wifi connected is green and my wifi disconnected is red.
    07-22-2013 05:20 AM
  24. nickmax1's Avatar
    Check your conditions again, my wifi connected is green and my wifi disconnected is red.
    I deleted all events and started again, works now.....thanks I will test by moving in and around my areas.....
    07-22-2013 05:39 AM
  25. Olivier D's Avatar
    I deleted all events and started again, works now.....thanks I will test by moving in and around my areas.....
    Cool! Glad it works
    07-22-2013 05:53 AM
1,003 ... 1314151617 ...
LINK TO POST COPIED TO CLIPBOARD