Possible to use Tasker with Active Display? - Moto X Q&A

I posted this in the Themes and Apps subforum a week ago and got no responses. I was wondering if anyone proficient at Tasker knows how to modify Active Display/Notifications.
For instance, is it possible to use Tasker to dictate what notifications will show up on Active Display depending on the time of day? So, when I'm at work, I'd like to disable (i.e., uncheck) all corporate email notifications (but only as they appear in Active Display) since I get those notifications on my PC anyway. If not, maybe I need to just disable corporate email notifications globally during that period of time, which would be a less desirable solution.

I could be wrong, but I think Tasker can only do something like that if the app is setup as a plugin to work with Tasker.
There very well may be an easier/better way to do it, but if you're rooted you can run shell commands to simulate touch input on the device. You could have a task to open the Active Notifications settings, and simulate the input of tapping the checkboxes you wanted to enable/disable, and run different tasks to set/remove them based on time/location/etc.
Like I said, there may be an easier way that I am not aware of, but that comes to mind.

eyc said:
I posted this in the Themes and Apps subforum a week ago and got not responses. I was wondering if anyone that is proficient with Tasker knows how to modify modify Active Display/Notifications.
For instance, is it possible to use Tasker to dictate what notifications will show up on Active Display depending on the time of day? So, when I'm at work, I'd like to disable (i.e., uncheck) all corporate email notifications (but only on Active Display) since I get those notifications on my PC anyway. If not, maybe I need to just disable corporate email notifications globally during that period of time, which would be a less desirable solution.
Click to expand...
Click to collapse
thats actually a genius idea...unsure if we can change the active notification setting, but maybe use tasker to clear the notification from the status bar then maybe bring it back (or a tasker notification with smiliar messaging) about the skipped notification on unlock.

StephenMilone said:
thats actually a genius idea...unsure if we can change the active notification setting, but maybe use tasker to clear the notification from the status bar then maybe bring it back (or a tasker notification with smiliar messaging) about the skipped notification on unlock.
Click to expand...
Click to collapse
Well it could definitely toggle the setting. I've used it to run some actions within apps before (apps that I wanted to "manually" sync on a specific schedule. You define the shell commands as:
Code:
input tap X Y
or
input swipe X1 Y1 X2 Y2
So you'd launch "settings", find the coordinates of the Active Display button, set it to tap there, find and set the coords for "manage notification types", and the associated apps. This could be tough if you add/remove apps a lot, because the coordinates would change if a new app falls in the list ahead of one you have setup to use this method, but it would work.
You could also fire a notification from Tasker when the task is executed to tell you that the selected apps are behind hidden.

This is exactly what I wanted. How and where can I input this shell command? And how can I find the coordinates?

Related

Is There Something Better For Notifications? (Stock Stinks!!)

Hi,
I have been searching and looking for something to replace the mechanism for notifications on my TP CDMA (Sprint).
When my calendar notification, SMS notification or voicemail notification activates, its a tiny icon in the status bar at the top, which I have to tap multiple times and then I get the annoying HTC status screen and then I need to tap the icon for VM, or alert to see what my notification is...
I find this very annoying and its easy to miss important notices.
Isnt there a better way? Ideally, something that would automatically play a ringtone and display a window on the screen (even after standby) until I dismiss it....
Does anyone know of something like this?
Thanks!
If you go into Settings -> Sounds & Notifications -> Notifications
You can configure how the phone notifies you about each event, so for a SMS you'd set for it to "Display Message on Screen"
Granted this is not a huge amount a flexibility and a lot of the time the pop up dissapears and one would have to click up at the status bar again to get it down, yet it is still options.
I haven't looked into differenet notification programs / systems as I am quite content with the stock ones just changed to my liking.
Personally, I hate the pop up, always comes up in the middle of something and just gets in the way.
Is there any way to actually change the look of the bubble ???? I'd ideally like it to be centered on the screen, instead of at the bottom. Also, if you looked more like a bubble, or something else, that would help too. I've been Googling around for about half an hour, and have found NOTHING except changing the bubble color on iPhone and some apps for changing those.
Why aren't there any on WM ????
mexiken said:
Is there any way to actually change the look of the bubble ???? I'd ideally like it to be centered on the screen, instead of at the bottom. Also, if you looked more like a bubble, or something else, that would help too. I've been Googling around for about half an hour, and have found NOTHING except changing the bubble color on iPhone and some apps for changing those.
Why aren't there any on WM ????
Click to expand...
Click to collapse
Francarl is working on trying to change the look of the bubble Check out FingerMenu in the Dev & Hacking section. It should look something like that if it works.
Scrtcwlvl said:
If you go into Settings -> Sounds & Notifications -> Notifications
You can configure how the phone notifies you about each event, so for a SMS you'd set for it to "Display Message on Screen"
Granted this is not a huge amount a flexibility and a lot of the time the pop up dissapears and one would have to click up at the status bar again to get it down, yet it is still options.
I haven't looked into differenet notification programs / systems as I am quite content with the stock ones just changed to my liking.
Personally, I hate the pop up, always comes up in the middle of something and just gets in the way.
Click to expand...
Click to collapse
I just set everything to vibrate and flash. I have rlToday setup with 4 BIG finger friendly icons for SMS, Email, Missed Calls, and Voice Mails at the bottom of my Today screen... with their respective counters. A Vibrate and Task icon is enough already. Looking at the today screen will let me easily see anything I need to worry about.
rlToday is a today plugin based on XML which you can create to look like anything you want. Highly customizable.
dontforget works but appears initially to conflit with s2u2 so I'm using dontforget insdtead. hope to find a way to do both.
Shawn
I hate how I have to constantly go back and turn on "display" for reminders. It disables itself all the time.
dontforget is doing that? not had that issue.
Hey, i have used PhoneAlarm for a few years with past phones, just loaded it on my new Verizon TP, works great as usual. It is not free, ($15 i think), but has been well worth it. Google PocketMax PhoneAlarm (you want the pro version). It is very customizable (skins, custom sounds and intervals for different events), has profiles that can change alarms based on your location, meeting status, or manual selection, and supports TF3D. It also supports a popup on new event and with the notification softkey that allows you to easily click and address the event. I started using it because it allows custom repeat alarms (different sounds after a certain period of time as well as custom intervals). I needed something to alarm pleasantly a few times then an obnoxious alarm every 20 seconds to wake me while sleeping. I'm a paramedic in sometimes remote locations dispatched via this phone, so i NEED to get messages. I've tried several others and always come back to PhoneAlarm. Just my 2 cents...
phoneAlarm.

Is there a way to turn off alerts/alarms coming from the S planner?

Is there a way to turn off alerts/alarms coming from the S planner?
I'm planning on using Calengoo.
Won't the alerts double? One coming from S-planner and the other coming from Calengoo?
I cannot turn of the calendars in S planner as Calengoo seems to need it to be able to get calendar data from my google account (I don't want to give Calengoo my login details, thus it is syncing from my Android device which is syncing to my Google Account)
Thanks for what enlightenment you guys can give.
I, too, would love some advice on this issue. Just using Outlook and the S Calendar. What I would like to do is to turn off the spoken notifications but still receive an event notification in the notification bar. And I still want the phone to ring.
What about "Set alarms and notifications" option in s planner options accessible after pressing menu key? I can set "Alarm", "Notification", "Disabled". There is another menu entry for vibration...
Thanks. But the problem with choosing to disable it is that I no longer receive any notification. I would like a notice in the notification bar - I just don't want my notification bar speaking. I tried changing the notification sound volume to zero. That worked to silence notifications about texts (but I still get the vibrate). But my calender still speaks.
Well, I found a fix for my problem, but it won't help the OP. Turns out the phone was in driving mode and that overrode application settings.

Use Tasker to only get arlo camera notifications at certain times

Is this possible to do through Tasker? If so, how do you code it?
I want my cameras to record but I don't want to get notifications except for after sunset and just after sunrise everyday. So like 6pm to 8am.
Otherwise I want it to record but not notify me.
I posted this on reddit/r/tasker but no one has responded yet.
The time profile is easy. The trigger context is the window of time you want to block notifications.
The task would do the heavy lifting of actually blocking the unwanted notification. You probably could handle that using Notifications Off (Root), assuming of course that you're rooted. Else, AutoNotification can do that for you. Both are tasker integrated.
Get Started With AutoNotification
Use Tasker and AutoNotification to block notifications from certain apps (AutoApps forum)
ktmom said:
The time profile is easy. The trigger context is the window of time you want to block notifications.
The task would do the heavy lifting of actually blocking the unwanted notification. You probably could handle that using Notifications Off (Root), assuming of course that you're rooted. Else, AutoNotification can do that for you. Both are tasker integrated.
Get Started With AutoNotification
Use Tasker and AutoNotification to block notifications from certain apps (AutoApps forum)
Click to expand...
Click to collapse
Unfortunately neither of those are working. I have a pixel that is rooted and an s8+ that is not. So I tried both and I'm still getting notifications. Any ideas?
DudeThatsErin said:
Unfortunately neither of those are working. I have a pixel that is rooted and an s8+ that is not. So I tried both and I'm still getting notifications. Any ideas?
Click to expand...
Click to collapse
I didn't specifically state, but should have, that when using the AutoNotification method, an additional profile trigger needs to be an AutoNotification intercept event.
You could post a export (description) of the profile you've built.
ktmom said:
I didn't specifically state, but should have, that when using the AutoNotification method, an additional profile trigger needs to be an AutoNotification intercept event.
You could post a export (description) of the profile you've built.
Click to expand...
Click to collapse
Stuff (4)
A1: AutoNotification Block [ Configuration:Apps: com.netgear.android
Toggle: Enable Timeout (Seconds):60 ]
I pressed on export and that's what it gave me.
I also took screenshots. Here you go: https://imgur.com/gallery/bAhRY
Lmk if there is anything else you need.
Your profile is currently triggered by the arlo app. So anytime that app opens, your "stuff" task runs. Not what you were shooting for ?
On the left side of that screen, on top of the part that shows an icon and "arlo", do a long press. That will allow you to add a context.
Choose: state -> plugin -> AutoNotification -> Intercept.
Then leave "Event Behaviour" checked.
Tap on "Action type" and select created.
Tapp on "Apps" and check the box next to the Arlo app.
At the top of the screen tap the check mark to accept the configuration. Then on the next screen, the left arrow at the top left to lock in the context.
You will now have two contexts for that one profile.
Long press the original one for the arlo app and select delete.
Again, long press on the context that is remaining (AutoNotification Intercept) and tap add.
Now tap "time" and configure for the window you want this profile to be active.

Block calendar notifications while driving

Hi,
might seem a silly question but it's very annoying while driving that I receive Samsung calendar notifications. While they appear full screen, Waze and music sounds are silenced.
I have to manually dismiss them before all sounds are 'restored'.
I just want to drive without interruptions of the calendar app, anyone know how this can be done? I'm also using Android Auto but don't see any setting that can accomplish this.
thank you
I'm using Tasker and AutoNotifcation for this. I block some notifications and enable the AOD while connected to my cars Bluetooth.
- install both apps
- in Tasker add a task and search for "AutoNotification Block".
- Tap the pen of Configuration and select the apps you want to block the notification for. You can also add the package name manually
- Under "Toggle" set it to "Block"
- go back and set the timeout to none (slide the slider to the most right)
- go back to the task
- go back to the task list
- add a new task, do the same as above but instead of "Block" set the Toggle to "Unblock".
Now you have the needed tasks and you can set the profiles for them.
- In Tasker go to the profile tap and add a new profile, name it whatever you want.
- Tap on "Status" and filter for "Bluetooth connected" (Note: Bluetooth must be enabled while creating the profiles!).
- Name is optional, tap on the magnifying glass for "Address" and select your cars Bluetooth address.
- go back and Tasker will popup a window where you need to assign a task. Assign the "block" task.
- now do the same again but Mark the "Reverse" check mark in the Bluetooth address menu and after this select the "unblock" task.
So, Tasker will tell AutoNotification to block the specific notifications while connected to the Bluetooth device and unblock it if disconnected.
I hope it works for you. I don't know the English menu entries for Tasker since my app is in German, sorry if there's something different.
thanks, great tip : I already bought Tasker a while ago, I'll set it up like that

Expand all notifications- any way with Tasker?

Ive posted this before but did not get a solution. As Samsung is getting more difficult to root- is there any way to have all notifications expanded thru Tasker? I mean when I open them on the lock screen or notifications shade. Putting even the highest priority does not work with twitter for now.
Try using AutoInput
To expand all, you would need a low level hook in the android software. Android is configured to display "big text" (expanded notifications) only for the top notification. All others are collapsed.
This is why it takes an xposed module.
So no way without root?
I can't think of how it could be done without root, and xposed. You're trying to overcome basic android coding.
ktmom said:
I can't think of how it could be done without root, and xposed. You're trying to overcome basic android coding.
Click to expand...
Click to collapse
Apps like power shade are able to do it on a non rooted device. Figured there may be some way. Thanks anyway.
I don't think power shade is expanding all notifications. I think that app is capturing every notification and recreating it, basically taking the notification big text and recreating that data into a new notification.
This could be done using AutoNotification.
ktmom said:
I don't think power shade is expanding all notifications. I think that app is capturing every notification and recreating it, basically taking the notification big text and recreating that data into a new notification.
This could be done using AutoNotification.
Click to expand...
Click to collapse
Thanks for your help. Can you guide me a bit as to how it could be done? I have Tasker and auto notification and been fiddling with it but can't seem to get anywhere.
What you want to do is an extremely complex project. You are going to become the resident expert on AutoNotification.
I would stay with a single app's notifications and work to achieve what you want with it. When you are at a point that your happy with the results, I would turn off that profile and create a new one for a different app. What you will find is the complexity of the various app developers notification configurations. One will have action buttons (e.g. mark read, delete, move) another will not. The final project will need logic to configure the notifications you create.
To start, this profile triggers in every notification and presents a pop-up with some of the available AutoNotification variables.
Code:
Profile: Capture Notifications
Restore: no
Event: AutoNotification Intercept [
Configuration:Event Behaviour: true
Notification
Type: Only Created Notifications
Get All Fields: true ]
Enter: Anon
A1: Popup [
Title: AN Variables
Text: anid: %anid
ancategoryid: %ancategoryid
ancategoryname: %ancategoryname
ancolor: %ancolor
antitlebig: %antitlebig
antextbig: %antextbig
anbigicon: %anbigicon
antextsbig: %antextsbig()
animagesbig: %animagesbig()
antouchaction: %antouchaction
anpriority: %anpriority
anextrainfo: %anextrainfo
Background Image:
Layout:Popup
Timeout (Seconds):321
Show Over Keyguard: On ]
This can be downloaded here
If I were trying to take this on, I would read, and work through as many tutorials with AutoNotification as possible. I would want to develop an expertise before attempting to start a project this big.
As a starting place:
https://joaoapps.com/autonotification/
https://joaoapps.com/fully-costumize-buttons-in-gmail-notifications-with-autonotification/
https://www.pocketables.com/2018/10/tasker-perfect-autonotifications.html
https://www.pocketables.com/2017/12/near-perfect-autonotifications.html
https://www.pocketables.com/2013/07...r-canceling-persistent-autonotifications.html
Edit:
Link that I forgot to add, which is a helper to visualize the AutoNotification variables
https://forum.joaoapps.com/index.ph...ll-autonotification-variables-and-values.278/

Categories

Resources