Notification as trigger - without autonotification - Tasker Tips & Tricks

Hi
I'm new to this so please bear with me. I have a eufy smart doorbell and am trying use tasker to click the notification received when the bell is pressed.
I have managed to do this on my phone with autonotification, however still trying to get it to work on my android tv box.The problem is that the box doesn't allow me to enable notification intercept.
So I am looking for either
(a) a way to allow notification interception. Possibly by rooting but have no experience of this or if it would work
(b) use something else as the trigger without intercepting the notification. Only thing I can think of is when a certain tone is played i.e the tone for the doorbell is played. I went through all the event options and didn't see anything like this so don't know if it is even possible.
If anyone has any other ideas as to how to trigger the task it would be great, or how to enable autonotification.
Thanks
Imran

Related

[CODING] Make clicking a notification perform an action in the background?

Hey all,
This community has done a lot for me & I'm doing some coding atm. What I am trying to do is show a notification. I know how to do that, but then how can I make it perform an action, like stop playing music (not what it actually does, just an example). I know you can use the last argument to point to an intent, but the only thing I can make that do is open the app.
Is there any way to create an intent that will just run code in the background without going to the app. Whenever I try this I get a FC before it even calls the notification.
Can anyone point me in the right direction?

Enable Motorola Assist with NFC/Tasker?

I like the Motorola Assist feature that reads back texts to you. My problem is, I don't want it enabled every time I'm in a car. For example, I do not want it to read back texts to me when I'm a passenger in someone else's car. I also don't want it to read back texts when I have passengers in my car.
Is there a way I can create a Tasker task that would enable the Motorola Assist Driving function via an NFC tag with NFC Task Launcher? I'm pretty familiar with NFC Task Launcher but I'm pretty much a total noob with Tasker.
Sorry...I meant to post this in the Q&A forum. Moderators, feel free to move it if necessary.
bump
clankfu said:
I like the Motorola Assist feature that reads back texts to you. My problem is, I don't want it enabled every time I'm in a car. For example, I do not want it to read back texts to me when I'm a passenger in someone else's car. I also don't want it to read back texts when I have passengers in my car.
Is there a way I can create a Tasker task that would enable the Motorola Assist Driving function via an NFC tag with NFC Task Launcher? I'm pretty familiar with NFC Task Launcher but I'm pretty much a total noob with Tasker.
Click to expand...
Click to collapse
I just received my Moto X and had this exact thought. I'd like to be able to automatically trigger Driving mode, but only conditionally when an NFC tag is triggered, and then have it determine when I'm not driving anymore on its own.
Unfortunately, this would almost certainly require an API to be open by the Motorola Assist app that would allow another program to talk to it and issue it commands. I don't think that's the case, which is a bit of a bummer, since it's so useful.
I was taking a short drive back to my office, so I didn't bother to pull my phone out of my pocket. Sure enough, about 2 minutes into the ride, my Pandora station started back up automatically, and since it's paired to Bluetooth, it just started playing through my car speakers, which was awesome. Would be more awesome if it was triggered automatically by BT, and/or NFC though...
unless you can get the intent info for assist the best option may be to use tasker and input taps to open assist and toggle it on/off.
I haven't tested this at all because I just decided to make my own version of this in tasker that I can enable/disable any time I want with other profiles or via voice commands.
ntalbert000 said:
unless you can get the intent info for assist the best option may be to use tasker and input taps to open assist and toggle it on/off.
I haven't tested this at all because I just decided to make my own version of this in tasker that I can enable/disable any time I want with other profiles or via voice commands.
Click to expand...
Click to collapse
Sorry if I sound dumb, but I am new to Tasker. Is your solution possible without root? Is it possible for you to post the steps you used to create this toggle?
THANKS!
jmgordon613 said:
Sorry if I sound dumb, but I am new to Tasker. Is your solution possible without root? Is it possible for you to post the steps you used to create this toggle?
THANKS!
Click to expand...
Click to collapse
pretty sure you need root for input taps

[Guide] Tasker - Tasker/AutoRemote/etc ~ Videos ~ Guides ~ Profiles for Gear

I am in no way attempting to take credit for this program or any profiles created unless my name is annotated next to a published link. Support these guys buy buying their app(s) as this is a tremendous backend for amazing automation for today and the future.
In an effort to help everyone new to Tasker (and its associated apps like AutoRemote) and its capabilities, I'm starting this thread to list profiles that people are actively using on their gear.
What is Tasker?
Tasker is an application for Android which performs tasks (sets of actions) based on contexts (application, time, date, location, event, gesture) in user-defined profiles or in clickable or timer home screen widgets.
What are some of the things I can use these apps for?
While the number of uses for Tasker is limitless and only supressed by your imagination, here is a list of published tasker profiles that people have created for common yet out of the box thinking type usage: Tasker Profiles
Here are only some of the things you could do with Tasker, it's real power is the flexibility to combine contexts and tasks however you wish.
passcode-lock sensitive applications (e.g. for child safety)
change phone settings by
*application: long screen timeout in a book reader
*time: screen brightness lower in the evening
*location: ringer volume high at the office, turn off ke yguard at home
wake up with a random song from your music collection
Text-to-speech; read out loud: incoming SMS/ phone number, WiFi/Bluetooth status, when it's time for an appointment, when the battery is low etc etc (Android OS 1.6+ only)
launch a music application when your music SD card is inserted, otherwise a file browser
start the day with a particular application showing
change all your home icons and wallpaper every day, or in particular locations
turn the phone upside down to return to the home screen, tilt 90 degrees to the left and back to toggle speakerphone during a call
create a Home widget to
*toggle bluetooth/wifi on/off
*launch wireless settings dialog
*show a menu of tasks to choose
*send an emergency SMS with your GPS location
remap camera etc buttons to other applications, or show a menu of applications and/or actions
zip/unzip application data on the fly when an application is launched/exits
pause music playback while in a particular application, restart on exit
change the Home icon for any application
take a time-lapse photo series (possibly 'secretly')
make a regular backup of a file on the SD card
track your phone location via SMS in case of theft
extend the use of the media button on your headset: take a picture from a distance or go to the previous media track with a long press
record call times and destinations to the SD card
show a popup when an SMS arrives from a particular phone number
setup a birthday SMS to be sent months before it happens so you don't forget
record battery levels over time to a file on SD card
make automatic recordings of what you say during phone calls to SD card
during the night, turn on airplane mode to conserve battery/reduce radiation, but turn it off every 15 minutes to check for SMS/voicemail.
setup a vacation SMS message, with different messages for different callers
launch a music application when headphones are connected
Guides and Tutorials
OG Development Site for Tasker for Android
Massive amounts of reading material/guides
Tasker 101 Help Videos - by hollywoodfrodo
Tasker Profiles
Auto Bluetooth/Internet Tether - App Trigger Method - Props to Brendo.
Auto Bluetooth/Internet Tether - Screen On/Off Trigger Method - Props to st-tps
Please drop a note in the thread or PM me with your Profiles and/or Instructions. This is thread is to bring the power of Tasker on the gear to a single place. Thread links/files/guides all welcome.
Cool
Here's one that I've been using:
http://forum.xda-developers.com/showthread.php?t=2542050
Recommended companion app: AutoRemote
What we really need is an update to Tasker to allow exporting...
I would love if this thread develops and thank you for starting it...i am trying to learn how to use tasker to get weather widgets to read weather from stock weather widget.....F0mey said you needed SQlite which i have and tasker...but im lost from there
It has taken me the better part of 4 days to get mine set up for voice automation. I know I've barely gotten started but I can now give a voice command to the gear and have it open Pandora and adjust the volumes on the phone. Then pause Pandora and readjust the volumes with another command. Think entering and exiting your car. Having this core structure in place, I think as I move to a full home automation plan, I will be able to integrate it with no problems.
Tasker, Autovoice, and Autoremote are all required. When I get a little more time, I'll try to decompress all that I learned over these 4 days to create a tutorial.
In the meantime, if you search autovoice and autoremote on Youtube, you can find some great assistance. Armando Ferreira has some great tutorials that really helped me get to where I am (and pushing me to where I want to be).
I was hoping someone can help me with what I am trying to do. First I'll explain what I want and then show screen shots of what I tried. So basically I want my weather info to be set for UCCW widgets and it seems u need tasked and sqlite to do so. And no null has sqlite support so I'll show u what I've done.
I know I'm probably totally off but can anyone tell me if I'm close or help
Sent from my SPH-L720 using xda app-developers app
Great Job with the OP #WellDone
Sent from my SM-N900P using Tapatalk
Bump. Added new Bluetooth Tether method by st-tps. Please give them props and if you have any profiles you have created please share!
Do you have to have an internet connection on you Gear for the initial Autoremote setup? I really just need the bluetooth connection to my phone to send intents to trigger tasks from there. I've googled the crap out of it but keep coming to the same posts. Thanks!
snowmangoh said:
Do you have to have an internet connection on you Gear for the initial Autoremote setup? I really just need the bluetooth connection to my phone to send intents to trigger tasks from there. I've googled the crap out of it but keep coming to the same posts. Thanks!
Click to expand...
Click to collapse
I'm having the same issue. I can get autoremote to send through BT occasionally but not consistently.
I also have trouble with autovoice offline. Sometimes it works, sometimes not.
Sent from my SPH-L720 using Tapatalk
cvondra said:
Bump. Added new Bluetooth Tether method by st-tps. Please give them props and if you have any profiles you have created please share!
Click to expand...
Click to collapse
Nice thread, everyone can take use of the Tasker Power!
And thanks for the prop
When I double tap Nova, I use AutoVoice recognised Profile on Gear to send an autoremote message to the phone.
When the phone receives the message, it opens my Spotify playlist, and starts playing,
It also uses intents within Spotify to open the now playing window
Sent from my GT-N7100 using Tapatalk
Has anyone found way to activate/deactivate motions with tasker at a given time?
I use to turn it of when i go to bed to save battery
sent from my carrier pidgeon
pzayx said:
Has anyone found way to activate/deactivate motions with tasker at a given time?
I use to turn it of when i go to bed to save battery
sent from my carrier pidgeon
Click to expand...
Click to collapse
just what motions are you doing in bed exactly???
do you "sleep" with your watch on?
Wahaha! Nothing like that mate, but do you lay completely still when you are trying to sleep? Yes i sleep with the watch on because i am using the alarm feature and it works really good
sent from my carrier pidgeon
vibrate & ring
Any of you tasker experts know how trigger an event on an incoming call on the Gear? I've tried Event --> phone ringing, and it doesn't seem to trigger anything when I get a call. I was thinking maybe there's a way to do it with Intent Received, but I don't know which intent...
I wanted the gear to play a ringtone once when I receive a call (while the gear is set to 'vibrate')
I can achieve this using Autoremote. The phone ringing event works on the phone itself, so I had Autoremote send a message "RING" to the gear, and the gear received this and played the ringtone... it wasn't really a good way to do it, and wasted battery because I had to keep the Autoremote bluetooth listener on.
lopan2000 said:
Any of you tasker experts know how trigger an event on an incoming call on the Gear? I've tried Event --> phone ringing, and it doesn't seem to trigger anything when I get a call. I was thinking maybe there's a way to do it with Intent Received, but I don't know which intent...
I wanted the gear to play a ringtone once when I receive a call (while the gear is set to 'vibrate')
I can achieve this using Autoremote. The phone ringing event works on the phone itself, so I had Autoremote send a message "RING" to the gear, and the gear received this and played the ringtone... it wasn't really a good way to do it, and wasted battery because I had to keep the Autoremote bluetooth listener on.
Click to expand...
Click to collapse
I think you may need to find out what 'app' opens. Perhaps dialer? And trigger on app start as it doesn't seem to use the actually phone capabilities of android
Sent from my GT-I9505 using XDA Premium 4 mobile app
Brendo said:
I think you may need to find out what 'app' opens. Perhaps dialer? And trigger on app start as it doesn't seem to use the actually phone capabilities of android
Sent from my GT-I9505 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I just tried dailer ... didn't work Doesn't see like there are any other apps on the tasker app list that would apply to incoming calls. That's why i was thinking there was an intent or something else that could be monitored.
I have a simple one for alerting of Whatsapp messages (got sick of watch constantly alerting on group messages). Essentially it triggers a notification, then hides it
Make sure Tasker is set to send notificiations in Gear Manager
Make sure Tasker is turned on in Accessibility services
Profile: Notification Whatsapp
Cooldown: 5mins
Event: Notification
Owner Application: WhatsApp
Task: WhatsApp Message
1. Notify
Title: Whatsapp
Text: Message Received
Icon: [Can be anything, as doesn't show up anywhere]
2. Wait
Seconds: 5
3. Notify Cancel
Title: whatsApp
Further ideas:
- Display content (requires sqlite3)
- Only display for group chats
- Repeat alerts
UPDATE:
I use WhatsTasker for more detail. https://play.google.com/store/apps/details?id=net.zhdev.whatstasker

Tasker media control and read SMS

Morning all, somewhat novice to tasker but I enjoy playing around with it and learning more about the operation. I have a bit if an issue I have been trying to sort out for some weeks but haven't been able to get it done. perhaps someone can assist.
I am running on a Nexus 6, recently rooted and ROM'ed.
On my device I am running my standard carrier number and a GV number (Through the app). While ago, I made a task to read SMS its programmed something like this:
T- AutoNotification Intercept
event behavior: True
Notification type: only created notifications
persistency type: both
Notification apps: Messages, voice ....
T-edit: Say
Text: %anapp %antitle %antext
Respect audio focus: off
The task used to pause any podcast/music playing before reading the message. A recent update has caused the function to not work anymore.
Did some reading and tried to use the media control buttons to pause podcast/music, read message, resume podcast/music by setting CMD to pause, toggle pause, and stop, before and after the task.. That worked reasonably well but had issues when I was not playing anything and the task triggered.
Tried to use "If %pmusic is set then media control pause, else Say: text: %anapp %antitle %antext"
Obviously it did not work because I am still confused.
I know tasker can set variables but I am not fully sure how they work together to get things done.
Thanks in advance for anyone who can contribute,

Question Do not disturb TO NOT activate when set to silence

Hi to all,
I've always used a great app to manage different sound profiles but with OnePlus 10 Pro (Android 13) I've encountered a big issue.
I need to set notifications to off during the night but rings and alarms have to be set to high.
This is because I need to be contactable for work but I do not want to hear notifications from other apps (mails, whatsapp, ...).
That app is Volume Butler.
In the past, it was simply possible to set the volume for notifications to 0 but now if I set this to 0, automatically the phone set the "do not disturb" mode that prevents calls and alarms, so I have to manually disable it and the automatic process is not working...
I was thinking to use an automated process to change the ringtone for notification using a null-sound but I have not found anything...
Any suggestions?
Thanks,
Alex
Tasker can do this. It may be overkill for what you need though, and it's not free.
It's like a way to create profiles that get triggered on a massive number of different things.
A couple I have for example, I turn off AOD on my phone when I'm sleeping, so it doesn't light up the room. I turn off wifi leaving the house, and turn it back on when I get to work, or back home. I mute my phone when I'm at work, and there's an appointment in my work calendar...that sort of stuff.
Tasker is my most used app, as it can do SO many things.
Tasker Tips & Tricks
Tasker is one of the most powerful apps available for Android. Discuss all of its amazing uses here!
forum.xda-developers.com
r/tasker
r/tasker:
www.reddit.com
But someone else may have a simpler option for you.
the_scotsman said:
Tasker can do this. It may be overkill for what you need though, and it's not free.
It's like a way to create profiles that get triggered on a massive number of different things.
A couple I have for example, I turn off AOD on my phone when I'm sleeping, so it doesn't light up the room. I turn off wifi leaving the house, and turn it back on when I get to work, or back home. I mute my phone when I'm at work, and there's an appointment in my work calendar...that sort of stuff.
Tasker is my most used app, as it can do SO many things.
Tasker Tips & Tricks
Tasker is one of the most powerful apps available for Android. Discuss all of its amazing uses here!
forum.xda-developers.com
r/tasker
r/tasker:
www.reddit.com
But someone else may have a simpler option for you.
Click to expand...
Click to collapse
Thank you! I've found MacroDroid that can automatically change the notification sound and for me is enough!

Categories

Resources