Question Tasker acting weird. - Nothing Phone 1

I have a Problem with tasker. Ive set up a profile to blink one of the glyphs endless if a notification arrives untill it is gone. It works but as soon as the screen turns off and the phone isnt moving, the task is very slow. The glyph should blink for 0.25 sec every 2 seconds but instead the glyph-on-time is at least 30 seconds. As soon as i move the phone, its normal speed again. I did disable battery optimization for tasker but that wont help. Also ive gone through this list and found nothing helpful. Anyone a hint for me?

Can I ask how you made Tasker to cooperate with glyphs in the first place?

miris83 said:
Can I ask how you made Tasker to cooperate with glyphs in the first place?
Click to expand...
Click to collapse
Via shell commands. This Post helped me.

Related

Two app requests

Hi,
Could anybody recommend any apps to do the following:
1) Turn off mobile services (Eg, disconnect from the network) between certain hours? I would effectively like the phone in airplane mode during night time.
2) Vibrate every XX minutes when I notification arrives - Eg, if I miss the (faint) vibrate I'd like it to do as my previous phone did; Vibrate, for example, every 5 minutes stopping only when the notification has been acknowledged.
If any of these are possible please point me in the direction of the relevant apps.
If not and anybody feels a coding change... Feel free
Cheers.
SPD phone suite will do both.
Cannot seem to find that app in the Market. In the UK if that matters.
Any ideas?
Any alternative software?
Cheers.
PauloJ5 said:
SPD phone suite will do both.
Click to expand...
Click to collapse
Isn't that for WM phones?
LavaChild0809 said:
Hi,
Could anybody recommend any apps to do the following:
1) Turn off mobile services (Eg, disconnect from the network) between certain hours? I would effectively like the phone in airplane mode during night time.
2) Vibrate every XX minutes when I notification arrives - Eg, if I miss the (faint) vibrate I'd like it to do as my previous phone did; Vibrate, for example, every 5 minutes stopping only when the notification has been acknowledged.
If any of these are possible please point me in the direction of the relevant apps.
If not and anybody feels a coding change... Feel free
Cheers.
Click to expand...
Click to collapse
Don't know of anything to turn airplane mode on. But what I've done is use Locale to make my phone completely silent at night, then turn the sounds back on at a specific time in the morning.
dgAlert will let you customize vibrate and repeating vibrate for text messages.
Oh sorry didnt know the dream was Android !
SPB is here http://beta.spbsoftwarehouse.com/products/phonesuite/
Thanks for the replies. Will check out dgAlert - If that can repeated vibrate for calls too that would be immense... Will definitely check it tonight.
About Locale; I tried that however setting it to (For example) make the phone silent between 2300 - 0700. It makes the phone silent at 2300 but does not re-enable the ringer at 0700 (Or at least the "silent" icon still remains - One of the two!). Is this the correct behaviour? Or should it be automatically turning the ringer back at at 0700? I'd imagine I can work around by having "Sleep" at 2300-0700 and "Don't Sleep" at 0700-2300 but I'm curious as to why it doesn't work currently. Should simply "Sleep" between 2300-0700 work?
Cheers.
PS - This is non-rooted if that makes a difference.
With regards to locale, did you make sure you placed a default setting for it to revert back to? I had similar problems before I told local what the default settings outside of the conditions I imposed where.... (wifi would NEVER turn back on... etc)
Meeker
LavaChild0809 said:
Thanks for the replies. Will check out dgAlert - If that can repeated vibrate for calls too that would be immense... Will definitely check it tonight.
About Locale; I tried that however setting it to (For example) make the phone silent between 2300 - 0700. It makes the phone silent at 2300 but does not re-enable the ringer at 0700 (Or at least the "silent" icon still remains - One of the two!). Is this the correct behaviour? Or should it be automatically turning the ringer back at at 0700? I'd imagine I can work around by having "Sleep" at 2300-0700 and "Don't Sleep" at 0700-2300 but I'm curious as to why it doesn't work currently. Should simply "Sleep" between 2300-0700 work?
Cheers.
PS - This is non-rooted if that makes a difference.
Click to expand...
Click to collapse
I set up another Locale scenario to re-enable sound 1 minute after the "sleep" one ended. I don't know if there's an easier way (default settings were mentioned, that might work), but it works for now.
Thanks for the replies guys - You got it spot on; It hadn't any defaults! Set the defaults and now Locale works like a charm
Now I have locale turn off wifi bluetooth etc at "Sleep" and turn them back on afterwards... Sorted!
My only outstanding request now is the repeated vibrate - To clarify this further I would actually like an app that will send a repeated vibrate every XX mins for any notification in the notification bar (Eg, SMS, email, missed call). dgAlert may be able to manage it for SMS but I'm not sure about for other things. It also appears to have problems with other apps from a quick google.
Any software that will allow repeated vibration alerts (Until acknowledged - Eg, removed from notifications) for all notifications? That would be simply brilliant!
Cheers.
Just wanted to tip you off about Bedtime.
When you run this program, it only lets phonecalls through. Everything else is kept silent. You will also get a nice full screen watch
Thats great - Thanks; I'll be sure to check it out!
Now have many solutions for the night time problem... Only now to find a real good solution for repeated notifications - Any ideas welcome! Thanks...
LavaChild0809 said:
Thats great - Thanks; I'll be sure to check it out!
Now have many solutions for the night time problem... Only now to find a real good solution for repeated notifications - Any ideas welcome! Thanks...
Click to expand...
Click to collapse
Can someone post the APK for Locale? I don't have access to the market.
Cheers!
Really after something to do repeated vibrate on notifications... Anything available? I've checked the market but I'm not sure if something exists which does it but not exlusively (Hence hard to tell from program name).
Any suggestions?
Cheers.
there is DgAlert, SMS POPUP (the new version has repeat notification) a few others i can not think of right now.
As far as I can tell, though, they only repeat notifications for SMS?
Any chance they now repeat for all notifications? If not, any others?
Cheers.

My Solution to Help Stop Screen Freezes (Tasker app)

Since a lot of people suggest disabling the g-sensor to prevent the screen freezes I thought I'd try something.
I don't want to have my rotation disabled as it's very handy to have. So what I do is use an app called Tasker. It's not free, but there is a 7-day trial available.
Basically I have it set to disable screen rotation every time the screen is off..and so far I haven't had any screen freezes. It may be coincidence, it may not be. I'm not exactly sure if the app does disable the g-sensor or does something else, but so far so good.
For those that don't know about Tasker...it's probably the best app that will ever be made for Android. You can make your phone do almost anything.
For example, I use it to:
When I get home, Wifi turns on and 3G is turned off. When I leave home, Wifi turns off and 3G turns on....same for work.
I have it disable wifi, 3g and screen rotation at night when I'm in bed.
It enables GPS when I launch maps or navigation, and disables GPS when I close the app.
And those are very basic ones...
The Tasker wiki has many more advanced "profiles" you can use:
Code:
Lock An Application
Start the Day with a Particular Application
Battery Full Alert
Launch Music App When Headset Inserted
Launch Menu of Music Apps When Headset Inserted
Keep screen awake when using the keyboard
Speaking Clock for Android 1.5
Control Keyguard (scroll to unlock) when Power is Connected/Disconnected
Keep Multiple Backups of Tasker Config
Change Ringtone on Every New Call
Mute in Meetings
Hold Ringer Volume Down
Auto-Respond To SMSs At Night
Change Volume Levels during Different Times of the Day
Check Data/SMS/Minute Usage With Carrier While Sleeping
Temporarily max brightness of screen during Incoming Call
Auto (Silent) Sleep Mode with Exceptions
Intermediate
Power Plug In - Choose Car/Home/Night Mode
Generic Toggle Widget
Open the keyboard and start texting
Set volume then Launch menu of music apps
Alarmclock without Snooze
Alarms with Snooze and Vibrate
Geburtstagserinnerung (German)
Car Locator
Notification Reminder Pulse
Locate your phone using SMS and google maps
Lock your phone and locate it by SMS and sound
A full talking clock
Act like a docking station when plugged into USB
Auto answer calls when your bluetooth headset is connected
Extended phone profile changer with Notification and Widget
Turn your cell phone into a Voip phone
Advanced
Periodic Data Check (Juicedefender Replacement)
Creates profiles similar to S60 devices and changes them depending on variety of factors
U.S. Navy Ships Bells (Using Tasker's OR '/' feature) * Pattern Matching *
Changing background image depending on current weather (Using HTTPGet)
Or you can simply create your own...there is a learning curve, but once you get a feel for it, it's VERY powerful! It can control almost every part of your Android phone.
There's a decent thread with more examples on xda in this thread.
I realise this is a software post, but it's main aim was to point out a way of disabling rotation to help with screen freezes
Hey,
thanks for this thread, i have downloaded tasker now.
Can you post your code for disabling gsensor when screen is off?
//EDIT: Sorry, its very easy.. i think i can create it by myself
HTC_HDD said:
Hey,
thanks for this thread, i have downloaded tasker now.
Can you post your code for disabling gsensor when screen is off?
//EDIT: Sorry, its very easy.. i think i can create it by myself
Click to expand...
Click to collapse
Hehe yep, it's an easy one.
New Event profile > Display off is the Event. Action is disable rotation
I have done it like you and added a task which enables the rotation if screen is on, is this correct?
I have used the phone now and i got freezes again, but not so much.. i think.
Sent from my HTC Desire using XDA App
HTC_HDD said:
I have done it like you and added a task which enables the rotation if screen is on, is this correct?
I have used the phone now and i got freezes again, but not so much.. i think.
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Yep, you also have to create another to say disable screen rotation when the screen is off.
@the_scotsman
Thanks for the suggestion, I've seen a few people mention this app before but now I finally downloaded it. I'll play around a bit to figure out some combos, but one quick question..
Is this going to be something running in the background sucking up battery and memory or is it just like running scripts? What do you think? I'll run current widget once I get some tasks going to see happens, just wondering if you've found anything out yet.
tgtoys said:
@the_scotsman
Thanks for the suggestion, I've seen a few people mention this app before but now I finally downloaded it. I'll play around a bit to figure out some combos, but one quick question..
Is this going to be something running in the background sucking up battery and memory or is it just like running scripts? What do you think? I'll run current widget once I get some tasks going to see happens, just wondering if you've found anything out yet.
Click to expand...
Click to collapse
It depends on what profiles you set up...if they involve wireless, it will enable wireless every so often to check access points etc....or if you are using a location profile, it will enable gps every so often to check your location. You can change how often everything polls in the settings.
I have mine as per the first post, so it does scan for wireless every so often, and I havent seen any change in battery usage.
the_scotsman said:
Yep, you also have to create another to say disable screen rotation when the screen is off.
Click to expand...
Click to collapse
Can you go step by step what you do to set up display off and rotation off?
Hi,
the last NetRipper Kernel has no freezes!!
Is not overclocked, is not undervolted, has no axi and has no freezes.
with friendly greet
starbase64
starbase64 said:
Hi,
the last NetRipper Kernel has no freezes!!
Is not overclocked, is not undervolted, has no axi and has no freezes.
with friendly greet
starbase64
Click to expand...
Click to collapse
Thanks, but i prefer to have axi and undervolt
And I have no freezes
the_scotsman said:
Hehe yep, it's an easy one.
New Event profile > Display off is the Event. Action is disable rotation
Click to expand...
Click to collapse
I can find everything else exept "disable rotation" in Actions. I only found "display rotation" in settings. Any help?
tzic said:
I can find everything else exept "disable rotation" in Actions. I only found "display rotation" in settings. Any help?
Click to expand...
Click to collapse
Yea, thats the one..just choose that one and set it to "off" in the settings for it
ty for the quick reply scotsman, I ll report back in a day or two.
Tried this, but didnt work
I tried many different versions of kernels but in all if I keep my phone on standby (screen off) for a long time, say 20 mins, my phone freezes, My hardware buttons still glow on press, but phone never wakes up, any Ideas??
Even you disable display rotation, the sensor is still active, just use Gscript and disable sensor, you won't get any more freeze.
justwonder said:
Even you disable display rotation, the sensor is still active, just use Gscript and disable sensor, you won't get any more freeze.
Click to expand...
Click to collapse
I was just about to write exactly the same words!
Scotsman - can you tell if Tasker can run a custom written script, upon some event? Then we can use it to turn off the gsensor!
Finally seems to be workin!!I made 2 changes:
1) Upgraded my radio from 2.08 to 2.12 (I recommend this one)
2) Stopped GSensor with Gscript
Another issue,
After I restart the sensor via script, photos in album wont rotate anymore!!
I did a `ps -ef|grep akmd` and the process is running, any thoughts??
edit: it works after restart!!
did you use the free gscript? cause mine says needs su:true
Your solution is great thanks... i did something slightly different : using tasker, autorotation is enabled only for apps that I want too, like gallery. Rest of the time, its off and working great that way too.

back button LED for notifications, anyone?

FWIW, I FOUGHT WITH THIS FOR A WEEK AND GOT NO WHERE. THE TASKER PROFILE LISTED IN THE REDDIT THREAD BELOW WORKS GREAT ON MY ROOTED PHONE. ALSO, LIGHTFLOW WORKED ON MY ROOTED PHONE. SO I AM JUST GOING TO ASSUME THIS REQUIRES ROOT
So, i have been searching and reading and asking around and I STILL cannot get the power button LED to light up with notifications.
I have lightflow installed
I have the notification and accessability settings turned on for the app
I have back button led 1 and 2 turned on
I have them turned to "always" on for notifications (I dont expect it to pulse)
I have the brightness set at 255 (But i have tried all other numbers in between)
I am NOT rooted
I am on stock 4.4.2
all other LED notifications seem to be working just fine and are the colors/speeds I set them to.
anyone able to get it working? not sure what else I can try to get it working.
if you have it working on stock rooted 4.4.2 let me know what options you have checked and unchecked in the "settings" page.
guess I'm the only one with this problem eh? lol
I didn't think it did light up. Only time mine does is when unlocking the screen.
Sent from my LG-D802
turdbogls said:
guess I'm the only one with this problem eh? lol
Click to expand...
Click to collapse
Haha, on AOSP ROMs I used tasker to run a script that changed the values in the file that controlled the 2 back LEDs to 255 when I got a notification. Then it cleared the file, and so on until I turned the screen on.
I don't remember it exactly, and I'm pretty sure it would need root.
treebill said:
I didn't think it did light up. Only time mine does is when unlocking the screen.
Sent from my LG-D802
Click to expand...
Click to collapse
by default it only works for a couple apps. others have had success with the latest lightflow app, but I haven't
bleached45 said:
Haha, on AOSP ROMs I used tasker to run a script that changed the values in the file that controlled the 2 back LEDs to 255 when I got a notification. Then it cleared the file, and so on until I turned the screen on.
I don't remember it exactly, and I'm pretty sure it would need root.
Click to expand...
Click to collapse
interesting, I poked around for a bit in tasker and didn't see anything in there for the back buttons. if you happen to come across this, or remember it, please let me know.
edit: i found the profile on Reddit to do this. going to give it a try in a little bit
Oh, please link me the reddit profile. It is probably better than mine. Haha.
Edit: Found my profile. I set it to trigger at a notification event. Works for me. (Remove the .txt at the end if you want to load it into tasker and look at it).
bleached45 said:
Oh, please link me the reddit profile. It is probably better than mine. Haha.
Edit: Found my profile. I set it to trigger at a notification event. Works for me. (Remove the .txt at the end if you want to load it into tasker and look at it).
Click to expand...
Click to collapse
here is the reddit thread. looks like it requires Root so I didn't even try it.
http://www.reddit.com/r/lgg2/comments/20769k/how_to_use_tasker_to_control_the_back_button_led/
but thanks for your profile. I loaded it, and it isn't giving me any errors, but I'm still not getting it to work. I have it set to trigger when a notification event happens...I set Hangouts to the "owner application" and still not getting it working.....I have almost given up on this working without root.
thanks for you help though. if you think of anything, I would greatly appreciate any help, but dont bend over backwards for me...haha

Anyone having notification tone issues?

I haven't added or changed any apps recently. But today, my phone has started sounding the default notification tone about every 3 minutes or so, any time I have a notification icon on my phone. Sometimes even when there's no icon displayed. The only way I've been able to get it to stop is to turn off ALL notifications in ALL apps.
Has anyone ever seen anything like this before, or have any idea what I might look at?
Thanks.
meyerweb said:
I haven't added or changed any apps recently. But today, my phone has started sounding the default notification tone about every 3 minutes or so, any time I have a notification icon on my phone. Sometimes even when there's no icon displayed. The only way I've been able to get it to stop is to turn off ALL notifications in ALL apps.
Has anyone ever seen anything like this before, or have any idea what I might look at?
Thanks.
Click to expand...
Click to collapse
You can try to silent the sound settings/sound/silent
um....why not restart .-. could just be a glitch what are your installed apps if u dont mind me asking.....
I've restarted multiple times. I'm not exactly new at this. Restarting did nothing. As I said, the only way to stop it is to turn off all notifications.
However, after trying lots of things, I used the "Reset settings" option in the Backup and Restore menu. That seems to have resolved it. I still have no idea what triggered it, as I haven't change any settings in weeks.
Geoz said:
You can try to silent the sound settings/sound/silent
Click to expand...
Click to collapse
Yeah, that might have worked, but I didn't want to silence all notifications, just the meaningless, repeated sound that didn't appear to be tied to anything specific.

Anyone provide a Tasker tutorial to get timed "Do not disturb"?

Hello All:
New oneplus 5 user, love my phone. But miss the ability to schedule timed DND or silent mode as I could with my S5. I have purchased Tasker. Lots of people say "it can be done", "it works fine", "you set up a profile" etc. But I've never used Tasker and I'd appreciate it if someone who actually has this working could post a tutorial, step by step.
I saw one poster talk about Tasker reading the file /sys/class/switch/tri-state-key/state
Sounds like it makes sense trying to coordinate with the hardware position, but again, don't have a clue where to start.
Anyone?
So I fiddled around a bit with MacroDroid (a Tasker alternative) and managed to make it work partially. What I mean by that is that you can have it turn on DnD whenever you like to, as long as the alert slider is in "ring" mode. If the slider is set to silent, at least for now, I couldn't get it to be DnD instead. but I think that being able to set it to DnD from "Ring" is more important anyways. If you want a step by step guide, hit me up!
harry_fine said:
Hello All:
New oneplus 5 user, love my phone. But miss the ability to schedule timed DND or silent mode as I could with my S5. I have purchased Tasker. Lots of people say "it can be done", "it works fine", "you set up a profile" etc. But I've never used Tasker and I'd appreciate it if someone who actually has this working could post a tutorial, step by step.
I saw one poster talk about Tasker reading the file /sys/class/switch/tri-state-key/state
Sounds like it makes sense trying to coordinate with the hardware position, but again, don't have a clue where to start.
Anyone?
Click to expand...
Click to collapse
I looked at that file you mentioned (/sys/class/switch/tri-state-key/state) and it does reflect as 1, 2, or 3 (3 being the bottom "ring" position. You can set a DND complete separate from this physical alert slider. Is that what you are trying to do? So that you can have DND mode turn on at a specific time of night without you touching the slider? If so, what exactly do you want it to do?
I also looked at this link and tried to replicate it. I was able to read the value of that key, but unable to write to it. http://tasker.wikidot.com/rootbasic
Shush!
harry_fine said:
Hello All:
New oneplus 5 user, love my phone. But miss the ability to schedule timed DND or silent mode as I could with my S5.
Click to expand...
Click to collapse
I loved the Shush! app. Timed DND, basically. Doesn't seem to work on OP5. The volume slider for "ring" never goes to zero, which is what appears to trigger Shush to pop up. Instead they seem to have separate all volumes from a global DND. Interesting.
harry_fine said:
Hello All:
New oneplus 5 user, love my phone. But miss the ability to schedule timed DND or silent mode as I could with my S5. I have purchased Tasker. Lots of people say "it can be done", "it works fine", "you set up a profile" etc. But I've never used Tasker and I'd appreciate it if someone who actually has this working could post a tutorial, step by step.
I saw one poster talk about Tasker reading the file /sys/class/switch/tri-state-key/state
Sounds like it makes sense trying to coordinate with the hardware position, but again, don't have a clue where to start.
Anyone?
Click to expand...
Click to collapse
Have a look if this Reddit post helps
Isn't the easiest way to create a time based profile in Tasker and assign it to a task that sets the DoNotDisturbMode to the value you like? Call the profile Night, set it to be active from 10 pm to 7 am. Then assign it to a task called Silent. That task sets the DoNotDisturbMode to Alarms. See screen shots.
ptblad said:
Isn't the easiest way to create a time based profile in Tasker and assign it to a task that sets the DoNotDisturbMode to the value you like? Call the profile Night, set it to be active from 10 pm to 7 am. Then assign it to a task called Silent. That task sets the DoNotDisturbMode to Alarms. See screen shots.
Click to expand...
Click to collapse
Thats exactly how I set it up. Why invent new more difficult ways when there is this easy way?
Why have I not discovered Tasker any sooner? Downloaded the app last night, and spent some time getting familiar with the app. Daunting at first, but watched a basic Youtube vid, and off I went. Took me a few attempts to get the tasks working as they should.
I have DND task, and Airplane mode on/off tasks set - and they both work as expected.
Yea, Tasker can be scary at first but once you start using and exploring the possibilities, you can really automate a lot of stuff.
L22EEW said:
Why have I not discovered Tasker any sooner? Downloaded the app last night, and spent some time getting familiar with the app. Daunting at first, but watched a basic Youtube vid, and off I went. Took me a few attempts to get the tasks working as they should.
I have DND task, and Airplane mode on/off tasks set - and they both work as expected.
View attachment 4216331
View attachment 4216332
View attachment 4216334
Click to expand...
Click to collapse
On the DND profile, I notice you do not use an "Exit Task". Do you not need one? What I mean by that is at 2:58 (per your setup) does DND mode exit and go to what the slider is selected to?
dustintinsley said:
On the DND profile, I notice you do not use an "Exit Task". Do you not need one? What I mean by that is at 2:58 (per your setup) does DND mode exit and go to what the slider is selected to?
Click to expand...
Click to collapse
In some cases Tasker is so inteligent that you dont have to have an exit task and Tasker just do that for you. And this is the case here.
Mikulec said:
In some cases Tasker is so inteligent that you dont have to have an exit task and Tasker just do that for you. And this is the case here.
Click to expand...
Click to collapse
Good stuff... Thanks.
dustintinsley said:
On the DND profile, I notice you do not use an "Exit Task". Do you not need one? What I mean by that is at 2:58 (per your setup) does DND mode exit and go to what the slider is selected to?
Click to expand...
Click to collapse
There is no "off" option In the DND task.
I haven't set up an end task, and the DND task does work fine as per setup.
Sent from my 8GB/128GB OP5 using Tapatalk PRO ?
Hi Guys. I use Automate App for this purpose, but with one difference.
If it is 09:00 PM and I connect my phone to the charger for sleep, the phone set automatically to DND mode for max 9:30 hours and when I disconnect the charger before, ringer mode is activated again. Look at my Automate Flow in screenshot. Really easy and relieable.

Categories

Resources