12-04-2016 11:34 AM
1,002 ... 1112131415 ...
tools
  1. truemagic's Avatar
    Hi all,

    This is the only task i use Llama for:
    - Killing an app on horizontal display and re-enable it when vertical display

    However I wish my app to be running quietly (or in other words, started in background) when my display becomes vertical.
    Any idea of achieving this? Or killing an app could be just "temporarily" pause an app instead so when I rotate my phone, the freezed app could be enabled again

    Thanks in advance!
    05-20-2013 04:10 AM
  2. kurokirasama's Avatar
    Hi,

    i just got a galaxy Tab 2 7.0 and I'm try to create an event that will turning off at night. However it doesn't seems to work and I tried to both shutdown commands. The same event works perfectly in my galaxy note. I am rooted.

    Any ideas?
    05-21-2013 07:55 AM
  3. nickmax1's Avatar
    Sounds similar to http://forums.androidcentral.com/and...ml#post2778758

    Have you deleted SuperSUs setings are tried again>? Are you on the latest beta llama?

    What happens when you "test" your event?
    05-22-2013 03:27 AM
  4. nickmax1's Avatar
    anyone try Automateit ?
    05-23-2013 05:50 AM
  5. kurokirasama's Avatar
    Hi,

    yes to everything...

    I tried last playstore version and last beta version, also both shutdown commands. and reboot action works perfectly.

    When the event is executed, the toast message appears: "shut it down" and nothing else happens.
    05-23-2013 05:41 PM
  6. nickmax1's Avatar
    how weird, it does sound very similar to the other guys issue. My test events shut my phone down just fine (Samsung galaxy S3 with Omega Rom)
    Do you have a custom rom? is yours rooted?

    new llama beta out today but with mostly translation changes, no new functionality
    05-24-2013 03:29 AM
  7. kurokirasama's Avatar
    how weird, it does sound very similar to the other guys issue. My test events shut my phone down just fine (Samsung galaxy S3 with Omega Rom)
    Do you have a custom rom? is yours rooted?

    new llama beta out today but with mostly translation changes, no new functionality
    I think it's weird too, everything works perfect in my galaxy Note, even the reboot action works fine in the galaxy tab, but no the shutdown...

    Enviado desde mi GT-N7000 usando Tapatalk 2
    05-24-2013 08:06 PM
  8. kurokirasama's Avatar
    anyone try Automateit ?
    Yes, I didn't like it...

    Enviado desde mi GT-N7000 usando Tapatalk 2
    05-24-2013 08:07 PM
  9. RobE2's Avatar
    I am grateful for this thread. Llama controls my phone all day long, now. Wifi off and password on when I leave home, then reverse it when I get to work. Go into silent mode around bedtime, and turn alerts on right before the alarm clock goes off. When the phone is docked at work, it leaves the screen on, but otherwise the screen turns off after a minute.

    I was having an issue at work where I would connect my phone to my work computer via bluetooth, and then I could use my headphones to listen to the phone and/or the computer without moving the headphones around. Problem was that the headphones have no microphone, so when a call comes in, I can answer it, but not talk until I disconnect. I'm sure there are other ways to handle this, but I just set an event where if the phone rings when I'm connected to my computer, it turns off bluetooth. This lets me answer the phone immediately and walk away from my desk. Before that I would frantically scroll to settings to disconnect, or I would grab my phone and run away from the computer until the connection was broken. This way is much better.
    05-29-2013 03:46 PM
  10. nickmax1's Avatar
    this thread dead now??

    shame, i love hearing everyones unique and complex events!
    06-11-2013 10:40 AM
  11. kurokirasama's Avatar
    Well, I haven't done anything new lately, just small improvements of what I already have done...

    Enviado desde mi GT-N7000 usando Tapatalk 2
    06-11-2013 03:04 PM
  12. nickmax1's Avatar
    any chance you can export your settings for download? They are so complex i cant recreate them !
    06-12-2013 05:22 AM
  13. nickmax1's Avatar
    i have been fiddling more with my WIFI On event, as I am not comfortable with wifi polling (i cant see how to use it and common sense tells me it will drain the battery) so now my event is

    WIFI ON EVENT
    Conditions:
    Enter area: three known areas where I have wifi connection
    time between: 7-23:00 (as i have an event at night to turn it all off)
    Actions:
    Toggle mobile data off
    toggle wifi on (for at least 30 mins)
    change profile to normal

    I chose the toggle wifi for 30 mins hoping that when i leave my wifi but am still in a known area my wifi wont turn on..... the problem is that my house is very close to that of my sister in law who has wifi, so my area is very large and when walking around the streets llama thinks I am near a wifi when i am not, so my wifi is on (but not connected) and my data is off so I get no emails at all until I leave the large area or am close enough to my house or my sister in laws to activate wifi again.

    not sure this is right now i read it back, but i will test later.
    06-12-2013 06:04 AM
  14. Olivier D's Avatar
    Well, I haven't done anything new lately, just small improvements of what I already have done...

    Enviado desde mi GT-N7000 usando Tapatalk 2
    Same here!

    i have been fiddling more with my WIFI On event, as I am not comfortable with wifi polling (i cant see how to use it and common sense tells me it will drain the battery) so now my event is

    WIFI ON EVENT
    Conditions:
    Enter area: three known areas where I have wifi connection
    time between: 7-23:00 (as i have an event at night to turn it all off)
    Actions:
    Toggle mobile data off
    toggle wifi on (for at least 30 mins)
    change profile to normal

    I chose the toggle wifi for 30 mins hoping that when i leave my wifi but am still in a known area my wifi wont turn on..... the problem is that my house is very close to that of my sister in law who has wifi, so my area is very large and when walking around the streets llama thinks I am near a wifi when i am not, so my wifi is on (but not connected) and my data is off so I get no emails at all until I leave the large area or am close enough to my house or my sister in laws to activate wifi again.

    not sure this is right now i read it back, but i will test later.
    Here are my improved wifi events (like you I thought Wifi polling would drain too much battery, so it's kind of my personal Wifi polling) :

    Event name: Wi-Fi check
    At Chantin, Grenouillre or Clemenceau between 10:30 and 22:59 when your phone disconnects from Livebox-848C, NEUF_3070, NUMERICABLE-8D96 or lasstikonnection when Airplane mode is disabled - delay for 5 minutes and then enable WiFi for 1 minutes then turn off if not connected every 10 minutes

    Event name: Wi-Fi connect
    When your phone connects to Livebox-848C, NEUF_3070, NUMERICABLE-8D96 or lasstikonnection between 06:00 and 22:59 - change profile to Normal, set Llama variable 'Wi-Fi connected' to 'yes', disable mobile data, send media Stop button, set to 1% brightness, set Llama variable 'Wi-Fi on' to 'yes', set screen timeout to 60 seconds, run a Locale plugin 'ProfileTasker: Home' and enable rotation

    Event name: Wi-Fi disconnected
    Between 06:00 and 22:59 when 'Wi-Fi on' has a value of 'yes' when your phone disconnects from Livebox-848C, NEUF_3070, NUMERICABLE-8D96 or lasstikonnection when Airplane mode is disabled - enable mobile data, enable WiFi for 5 minutes then turn off if not connected and queue an event named 'Lock if no Wi-Fi' after 10 minutes

    Event name: Leaving Wi-Fi area
    Upon leaving Chantin|Grenouillre|Clemenceau between 06:00 and 22:59 when battery rises above 15% when battery rises above 15% when Airplane mode is disabled - change profile to Loud, disable WiFi, disable account sync, enable mobile data, run a Locale plugin 'ProfileTasker: Default' and set Llama variable 'Wi-Fi on' to 'no'
    06-12-2013 07:23 AM
  15. nickmax1's Avatar
    thanks I may duplicate your events!
    2 questions:
    1 - variables.....how do you define them (and yours specifically) I tried to create a WIFI ON variable but there is no option for YES and no, just increment, decrement and toggle 1 and 0 ???
    2 - your wifi check event " enable WiFi for 1 minutes then turn off if not connected every 10 minutes" I assume that involves a queued event?
    06-12-2013 07:35 AM
  16. Olivier D's Avatar
    thanks I may duplicate your events!
    2 questions:
    1 - variables.....how do you define them (and yours specifically)
    2 - your wifi check event " enable WiFi for 1 minutes then turn off if not connected every 10 minutes" I assume that involves a queued event?
    1- I don't have my own definition for variables but you can take a look at the dev's webpage to understand more KebabApps: FAQ

    It's like creating an "if" condition for Llama to work with. For instance, set Llama variable 'Wi-Fi on' to 'yes' : I would definitely have another event where the same variable would have an opposite or different value so I can tell Llama if my Wifi is on, fire the event's actions or don't...get it?

    Because you don't see opposite variable values in my wifi events mentioned above doesn't mean they're not there, I may have put them in other events' conditions like battery charging...

    2- No there's no queued event, you have to go to advanced options and set the delayed time to fire the event
    Below is the detailed Wifi check event :

    Event name: Wi-Fi check
    Event group (optional): Wi

    Advanced...:
    Delay event
    Delay minutes: 5 minutes
    Repeat event
    Repeat interval: 10 minutes

    Conditions (match all):
    Enter Area: Chantin, Grenouillre|Clemenceau
    Time Between >
    From: 10:30
    To: 22:59
    WiFi Network Disconnected: Livebox-848C, NEUF_3070, NUMERICABLE-8D96 , lasstikonnection
    Airplane mode: Airplane mode disabled

    Actions:
    Toggle WiFi: WiFi On for at least 1 minutes

    Events:
    At ChantinorGrenouillre|Clemenceau between 10:30 and 22:59 when your phone disconnects from Livebox-848C, NEUF_3070, NUMERICABLE-8D96 or lasstikonnection when Airplane mode is disabled - delay for 5 minutes and then enable WiFi for 1 minutes then turn off if not connected every 10 minutes

    I hope this helps and I don't mind you copy my ideas, this thread is for sharing ;-)
    06-12-2013 08:05 AM
  17. kurokirasama's Avatar
    any chance you can export your settings for download? They are so complex i cant recreate them !
    Yes sure, just give me some time...

    Enviado desde mi GT-N7000 usando Tapatalk 2
    06-12-2013 08:31 AM
  18. Olivier D's Avatar
    When you long press an event it shows a menu. In the menu you can share the event, it copies an URL which you can paste in the Social Llama URL box... makes it easier to share the details
    06-12-2013 08:44 AM
  19. kurokirasama's Avatar
    Same here!



    Here are my improved wifi events (like you I thought Wifi polling would drain too much battery, so it's kind of my personal Wifi polling) :

    Event name: Wi-Fi check
    At Chantin, Grenouillre or Clemenceau between 10:30 and 22:59 when your phone disconnects from Livebox-848C, NEUF_3070, NUMERICABLE-8D96 or lasstikonnection when Airplane mode is disabled - delay for 5 minutes and then enable WiFi for 1 minutes then turn off if not connected every 10 minutes

    Event name: Wi-Fi connect
    When your phone connects to Livebox-848C, NEUF_3070, NUMERICABLE-8D96 or lasstikonnection between 06:00 and 22:59 - change profile to Normal, set Llama variable 'Wi-Fi connected' to 'yes', disable mobile data, send media Stop button, set to 1% brightness, set Llama variable 'Wi-Fi on' to 'yes', set screen timeout to 60 seconds, run a Locale plugin 'ProfileTasker: Home' and enable rotation

    Event name: Wi-Fi disconnected
    Between 06:00 and 22:59 when 'Wi-Fi on' has a value of 'yes' when your phone disconnects from Livebox-848C, NEUF_3070, NUMERICABLE-8D96 or lasstikonnection when Airplane mode is disabled - enable mobile data, enable WiFi for 5 minutes then turn off if not connected and queue an event named 'Lock if no Wi-Fi' after 10 minutes

    Event name: Leaving Wi-Fi area
    Upon leaving Chantin|Grenouillre|Clemenceau between 06:00 and 22:59 when battery rises above 15% when battery rises above 15% when Airplane mode is disabled - change profile to Loud, disable WiFi, disable account sync, enable mobile data, run a Locale plugin 'ProfileTasker: Default' and set Llama variable 'Wi-Fi on' to 'no'
    I agree with you that enabling wifi polling all the time will consume a lot of battery. However, you can do the same you are doing enabling it just near your wifi areas, and stoping it when the wifi networks are available and outside your wifi areas (learned from cell towers). Besides, wifi polling don't turn on wifi for a whole minute, so your event might consume more battery that using wifi polling instead in the way I said. This could also solve the problem when wifi areas are near and the cell tower area is too wide.
    Basically, you name your wifi areas learned by cell towers "near wifi area" and enable wifi polling only there and when not at wifi area . At your home, or where wifi networks are available, you create the respective "wifi area" and add as a cell tower only the wifi network, and turn off wifi polling here.
    You don't need to have enabled wifi polling in wifi areas because turning on the wifi manually, or keeping it on all the time will work as a polling. So when you leave wifi area, ie, disconnects from the wifi networks, wifi polling will be enabled again until you enter again in the wifi area or leave the near wifi area.

    Question: where is it and what it does the ProfileTasker plugin?

    Enviado desde mi GT-N7000 usando Tapatalk 2
    06-12-2013 08:50 AM
  20. kurokirasama's Avatar
    Hi,

    here i will post and explain my events.

    First a little overview of what Llama does for me, then i will add the events and a little explanation.

    I'll start with my scheduled syncronization events.
    Basically they simulate Juice Defender behaviour: they activate synchro every few minutes. There are 8 of them, 4 for data (when not in wifi zones) and 4 for wifizones. In each class there are two for weekdays and two for weekends (in weekend the time bettween syncronizations is longer), and they divide beetwen a normal and peak schedule. For instance, in wifizone, in weekdays, normal schedule is every 20 min and peak every 10, and in weekends, normal every 1 hour and peak every 15 min. You can customize it at your will.
    Of course, they not execute at night, or with low batery.

    My network control events, activates wifi with the screen on if it is disconnected (actually, only when user is present), and desactivates wifi and data (if they are connected) when the screen turns off. And some correcting event like stop wifi syncronization if I get out of a wifi zone and the syncro its been executed, or turning off date if it is enabled and i'm connected to a wifi network,etc

    My night event activates the night profile (all volume to zero) and It will turn every syncro off. Then my alarm events (two fixed, and one variable for if i want to wake up later than usual), wake me up xD, turn profile to normal and also give the go to the syncronization events.

    Then i have some app control events, like start dropsync syncro after titanium backup make the backup, or controling lux app trough it locale plugin: only enabled when the screen is on.

    Then some app network control events, here i set which app will keep wifi or data on with the screen off. Also i don't turn data on with the screen like wifi, only when and app that use it is activated. And also turn on gps with google maps and turning off when maps is closed.

    I also have some automated msjs when i arrive or leave work to my wife (copied to someone else here :P).

    I use a lot of variables, so i have some dedicated events to asign manually values to some of them when its needed. And also, other events asign automatically values to some variables. For example, since i have 8 syncronization events, editing wifizones will make me edit 4 of them too. So i have and event that when i'm in a wifi zone or out of them, it asign the corresponding value to the "wifizone" variable, and is that variable that i use in my synchronization events instead of a location condition.

    Like i said a few time before, i use wifipolling with the home and near home areas events. And since bluetooth polling doens't work as i expected, i made my on bluetooth polling that is activated under certain conditions.

    One event that could be useful is the one that start the homecreen after a call ends. It also start wave control app and its plugin, to answer/end the call with waves over the proximity sensor.

    Also the battery events, when battery level is below a threshold, syncronization is stoped, bright is decreased (trough lux plugin), etc.

    Here it goes the back up. You could backup your llama settings, copy them to a save location and then import this one to test the events. Nevertheless, i will add the link (from the share option) of every event and a little explanation later.

    Llama backup
    nickmax1 and MathP like this.
    06-12-2013 01:23 PM
  21. nickmax1's Avatar
    Wow kurokirasama thats great.
    I am unsure as to what your backup does, as I have imported your backup but there are only a few events there - you mention you will be adding links of every event later but shouldnt all your events be present in your backup?
    06-13-2013 04:50 AM
  22. Olivier D's Avatar
    Question: where is it and what it does the ProfileTasker plugin?
    Enviado desde mi GT-N7000 usando Tapatalk 2
    Profile 4 Tasker is a locale plugin app for CyanogenMod ROMs. It is my solution for lockscreen pattern issues in Llama and Tasker where in CM you can set a profile that has lockscreen pattern completely deactivated without issues. The known issue with Llama or Tasker is even after disabling pattern, when you open a notification, the pattern automatically enables itself.

    Like i said a few time before, i use wifipolling with the home and near home areas events. And since bluetooth polling doens't work as i expected, i made my on bluetooth polling that is activated under certain conditions.

    One event that could be useful is the one that start the homecreen after a call ends. It also start wave control app and its plugin, to answer/end the call with waves over the proximity sensor.

    Llama backup
    1- No offense but I don't understand your explanation on the wifi polling, as it is already not clear to me in Llama on how to use it. Maybe I'll take a look in your backup to see how it's setup, or I'll just wait for your detailed events.

    2- I'm intersted in your use of wave control app as a plugin! I use Proximity Actions to turn off my screen and lock when screen is on, also to wake the device when screen is off...recently to answer a call too. All this because my power button doesn't work well and to avoid the device waking up in my pocket.
    Because of poor RAM on my device, I have to enable the foreground service and it uses 5% of my battery. How do you use yours? As mine is not a locale plugin app

    Wow kurokirasama thats great.
    I am unsure as to what your backup does, as I have imported your backup but there are only a few events there - you mention you will be adding links of every event later but shouldnt all your events be present in your backup?
    Maybe he modified the settings for what you asked
    06-13-2013 05:28 AM
  23. kurokirasama's Avatar
    Wow kurokirasama thats great.
    I am unsure as to what your backup does, as I have imported your backup but there are only a few events there - you mention you will be adding links of every event later but shouldnt all your events be present in your backup?
    Yes it should. Are you using the last beta version, or the plays tore version?

    Enviado desde mi GT-N7000 usando Tapatalk 2
    06-13-2013 08:27 AM
  24. nickmax1's Avatar
    latest beta.
    It does say loading successful please restart llama, then i do and it says loading failed.

    But i have quite a lot of your areas loaded, and 6 simple events (left home, left work, normal at home, normal outside work, quiet and night and quiet at work.
    5 profiles are there too (noche, normal, outside, silencio and trabajo)

    there must be missing events there

    Strangely when i import my own settings back it does it without error.
    06-13-2013 09:42 AM
  25. nickmax1's Avatar
    I am an *****. I thought i was on the latest beta but i recently wiped my phone to install a new rom so he Play Store version was installed. Updated to BETA and the import works great.

    I tip my hat to you kurokirasama you have some serious events going on there. It was very difficult to follow a lot of them but i got some good tips to adapt my own.
    06-13-2013 10:30 AM
1,002 ... 1112131415 ...
LINK TO POST COPIED TO CLIPBOARD