Sleep timers are a pretty crucial feature for anybody who likes to listen to music, podcasts, or other audio at night. Using Tasker, we can make our own custom sleep timer.
Disclaimer: this was created by Rachet_Guy over on /r/Tasker. Credits to him for putting this together!
Instructions
Create a new profile and name it "Sleep Timer".
Add a Time context, and set it to every 2 minutes (or however long you want it to run before the volume decreases).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Create a new task, and name it "Sleep Timer".
Variables --> Variable Set. Name %media_start_vol and set it to a value you feel comfortable with.
Variables --> Variable Set. Name is %vol_decr and set it to a decrement value. NOTE: you must pick a starting volume and/or a decrement volume such that when you subtract the two eventually the value should equal 0, otherwise Tasker will not be able to set the final volume level and will fail.
Task --> If. If %SleepTimerRunning != 1 AND %PENABLED !~ *Sleep Timer. This is basically checking where I'm at. If I haven't started the sleep timer yet, then we'll start it from the beginning.
Alert --> Flash. Text: SLEEP TIMER - CYCLE BEGIN.
Audio --> Media Volume. Set Level to %media_start_vol.
OPTIONAL: if your music player supports an intent broadcast or has a plugin to start audio playback, then you can create an action to start it here. Otherwise, start audio playback before running the task.
Tasker --> Profile Status. Name: Sleep Timer. Set: On.
Task --> Wait. Wait 1 second.
Variables --> Variable Set. Name %SleepTimerRunning To 1.
OPTIONAL: Plugin --> Zooper Widget Variable. Configuration: #TSLEEPTIMER# = 1. This is if you want a Zooper widget that shows when the sleep timer is on.
Task --> Else If. If %SleepTimerRunning = 1 AND %PENABLED ~ *Sleep Timer* AND %VOLM > 0. This is checking to see if the sleep timer is still active and if the media volume is still active.
Variables --> Variable Set. Name %curr_vol to %VOLM. Set the current volume variable to the media volume.
Variables --> Variable Set. Name %next_media_vol to %curr_vol-%vol_decr. We're decrementing the current volume.
Audio --> Media Volume. Level: %next_media_vol. Changing the media volume.
Alert --> Flash. Text: VOLUME LOWERED TO - %next_media_vol
Task --> Else.
Tasker --> Profile Status. Name: Sleep Timer, Set Off.
Task --> Wait. Wait 2 seconds.
Media --> Media Control. Cmd: Toggle Pause. Simulate Media Button: On. For App: choose the music app you want it to broadcast to. Check If and set it to If %SleepTimerRunning eq 1.
Variables --> Variable Set. Set %SleepTimerRunning to 0.
OPTIONAL: Plugin --> Zooper Widget Pro Variable. Configuration: #TSLEEPTIMER# = 0. We're toggling the Zooper Widget to show us that it's off.
Audio --> Media Volume. Level: %media_start_vol
Alert --> Flash. Text: SLEEP TIMER - CYCLE END
Task --> End If.
Exit out, and the profile creation is done.
Now, TURN OFF THE PROFILE! You don't want it running unless you explicitly tell it to! You can run it in many different ways, me personally I use a Zooper Widget to make it run, but you can simply create a homescreen shortcut using Nova or Apex Launcher to launch the Sleep Timer task.
Here are screenshots of the task:
I'll attach the XML file below. Import it by moving it to /sdcard/Tasker/Profiles, then opening Tasker and long-pressing on the Profile tab up top then pressing Import.
Thank you. Does this works on Youtube?
I'd change it so that it would PAUSE ( + Close + Disconnect any bluetooth speakers ) the media app
Related
Events Settings​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Events Settings is an app created to make your Android tailored to you!
Events with Settings you can create some rules based on:
-Space & Time Events
-System Events
These rules will perform a lot of actions that will allow you to turn on / off / switch / display settings you can choose between:
-Wi-Fi
-Data
-Bluetooth
-Rotation
-Sounds
-Brightness
-Timeout Screen
-Flight Mode
-Automatic Synchronization
-Wi-Fi Access Point
You can also choose to:
-Start an application
-Close all applications
-Play sound
-Show a Dialog Window
SPACE & TIME EVENTS:
Select a period of time and / or a position and Events Settings will perform all the actions that you choose.
Examples:
-University: from 9.00 am to 12.00 am you have to set the VIBRATION mode and you always forget it...
Choose the interval 9:00 to 12:00, choose the days, the position of your university, set "Vibration" in "Sounds" category and you're done!
SYSTEM EVENTS
Events Settings is able to handle the following system events:
-The battery is very low
-A text message has arrived
-The phone is ringing
-During a call
-The device is fully booted
-Turns on the screen
-Turns off the screen
-The screen is unlocked
-The Wi-Fi network is connected
-The Wi-Fi network is disconnected
-The Wi-Fi is On
-The Wi-Fi is Off
-A Wi-Fi network to connect to was found
-The mobile network is connected
-The mobile network is disconnected
-Bluetooth is on
-Bluetooth is off
-Bluetooth starts the search for devices
-Bluetooth ends search for devices
-Screen orientation changes in portrait mode
-Screen orientation changes in landscape mode
-Sounds are set in normal mode
-Sounds are set in vibration mode
-Sounds are set to silent mode
-Airplane mode is on
-Airplane mode is off
-The Wi-Fi Access Point is on
-The Wi-Fi Access Point is off
According to each event you can choose one of the actions (listed above) for what you need and after a period of time they are executed.
1) Would you like Wi-Fi and Bluetooth are totally turned off during a call?
Choose the event "During a call" and actions that allow you to turn off Wi-Fi and Bluetooth and you're done!
2) You get a text message and you want to start the "Messaging" application?
Choose the event "On SMS received" and the action that allows you to launch an application (in this case "Messages") and you're done!
3) Do you want that when a call comes in, your phone will stop ringing after 5 seconds in order to not disturb?
Choose the event "On Call received", choose the option "After 5 sec" and the action "Vibrate" under "Sounds" section and you're done!
Make sure your Android knows you with Events Settings!
DOWNLOAD:
EVENTS SETTINGS
Version 1.3:
-Bug Fix
hello, i would like to make a task for incall on bluetooth in my car,
my ide' is when i recive a call the task will kill spotify app and after the call ends my spotify app turn on again and start playing music.
i have a tasker for spotify, men my phone connect to my 3mm bluetooth converter it turns on spotify and play. But now when i recive a call on my car bluetooth headset it's pause spotify and after the call ends it's not unpause my spotify.
with this task i will make spotify unpause and start play music again, so i won't have to unpause by my self.
can someone help me with this tasker or make it for me please it's would be really nice.
my spotify task script is this
http://richardpeacock.com/blog/2015...when-you-get-your-car-or-any-other-bt-device-
I've got good news for you. There is an app called Bluetooth connect & Play that does this.
With this app, you'll set the media player of your choice. When an incoming called is received the music will stop. After the call has ended the music will resume where it left off.
Download Bluetooth connect & Play
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Nice but since its supposed to be a Tasker forum, why not using Tasker
You could add an action in your already existing "Spotify In Car" task:
A1: Launch app Spotify
A2: Wait 5 sec
A3: Media Volume: Level 14
A4: Send Intent
A5: Tasker --> Profile Status --> Spotify Resume After Call --> Set ON (<----- New action]
But before you need to make a new profile named "Spotify Resume After Call" (will be turned on/off by your "Spotify In Car" task)
New profile ---> Spotify Resume After Call ---> State ---> Call (Type: Any)
Then make a new task named "Resume Spotify"
A1: (same as your Spotify In Car action #4) ---> Send intent
Set this task (Resume Spotify) as the EXIT task (red arrow pointing left) of your "Spotify Resume After Call" profile
Add an exit task to your "BT connected to your car bluetooth" profile
Task: Tasker --> Profile Status --> Spotify Resume After Call --> Set OFF
So now when your phone is connected to your car bluetooth, spotify will launch and play and if you get a call, it will resume itself after the call.
Will make the profiles and tasks and share it here in a few min
@alray that sounds really good thanks
ekka1337 said:
@alray that sounds really good thanks
Click to expand...
Click to collapse
Here it is, You'll need these 2 profiles and 3 Tasks attached below
Tested and working fine on my phone.
Hope it helps
Alternatively the other solution is fine, I just wanted to try a Tasker only solution
Thanks i'am gona try this out to day
The only thing that dont work with the tasker is, when it start spotify it's not start playing any music
If you don't have a bluetooth speaker in your car capable of answering phone calls or texts, and if you drive a lot you'll find yourself needing a way to respond to important messages without distracting yourself too much. Thanks to Tasker, you can make it so that you are prompted to respond to calls/texts and read notifications.
Prerequisites
Root Access to automatically answer calls
Secure Settings plugin
AutoNotification or Notification Listener to grab the notification text
We'll be making three profiles as a part of our driving mode setup. First up, an incoming call profile.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Instructions
First profile you will make should be called "Driving Mode - Incoming Call"
Create an Event context, go to Phone --> Phone Ringing. Leave the caller field blank. Exit out, and create a new task. You can name it if you want, but it's not necessary.
Once inside the task, your first action will be to create a Say command. Go to Alert --> Say. For the text you want the TTS to say, type in something like
Code:
Incoming call from %CNAME would you like to answer?
I would recommend you uncheck "Respect Audio Focus" so Tasker notifying you of a call will take precedence over whatever other audio is playing from your phone.
Input --> Get Voice. Go to Label and make it "DECIDE". You will come back to this action with a Goto later.
Task --> If. Set it to if %VOICE ~ Yes. Basically, if you saw "yes" then you've chosen to answer the call.
Plugin --> Secure Settings. Root Settings --> Phone Options. Pick "Answer Call."
Audio --> Speakerphone. Set it to On.
Task --> Else If. Set it to if %VOICE ~ No. This is if you choose to not answer the call.
Plugin --> Secure Settings. Root Settings --> Phone Options. Pick "End Call."
OPTIONAL: Phone --> Send SMS. Number should be %CNUM. Send a message with whatever you want telling them you're busy, for instance:
Code:
I am currently driving. I will respond back to you as soon as I am able. Thank you.
Task --> Else
Task --> Goto. Set type to "Action Label." Go to label "DECIDE" which is Action Number 2.
Task --> End If
Exit out, and finally, you will need to add one more context to the profile in order to ensure that this profile ONLY runs when you are actually driving. One way you can do this is to create a context connected to your car's bluetooth, you can make a shortcut on your homescreen to turn the task on/off when you get in the car, you can scan an NFC tag, you use location geofences ala AutoLocation, etc. For me, I use an NFC tag.
Here are screenshots of the task:
Next up, the notification reader:
Create a new Profile and title it "Driving Mode - Read Notification"
Create an Event context, go to Plugin --> AutoNotification and pick Intercept. Go to the apps to intercept and select only the apps that produce notifications that you think are important enough to bother you while driving. I'm sure you're not interested in knowing you're being invaded in Clash of Clans while driving....right?
Exit and create a task. Name it anything.
Alert --> Say. For the text, put %antitle. Check If and make it if %antitle is Set.
Alert --> Say. Make the text %antext. Check If and make it If %antext is Set.
Alert --> Say. Make the text %ansubtext. Check If and set it to If %ansubtext is Set.
If you are using Notification Listener instead, simply change %antitle to %nltitle, change %antext to %nltext, and change %ansubtext to %nlsubtext.
Exit out, and finally, you will need to add one more context to the profile in order to ensure that this profile ONLY runs when you are actually driving. One way you can do this is to create a context connected to your car's bluetooth, you can make a shortcut on your homescreen to turn the task on/off when you get in the car, you can scan an NFC tag, you use location geofences ala AutoLocation, etc. For me, I use an NFC tag.
Here is a screenshot of the task:
Finally, a text message response profile:
Create a new profile and name it "Driving Mode - Read Text."
Go to Event --> Phone --> Received Text. Make the Type Any and leave everything else blank.
Now, we'll create the task. Leave the name blank.
Alert --> Say. Make it say the following:
Code:
%SMSRN says %SMSRB. Would you like to respond?
Input --> Get Voice. Label it "REPEAT".
Task --> If. Set it to if %VOICE ~ Yes.
Input --> Get Voice. Label it "AGAIN."
Variables --> Variable Set. Set name to %voice and set it to %VOICE.
Alert --> Say. Make the text this:
Code:
%VOICE. Is this okay?
Input --> Get Voice.
Phone --> Send SMS. The number should be set to %SMSRF. Go down and add an If statement to this task, and set it to If %VOICE ~ Yes
Task --> Goto. Set the type to "Action Label" and set the label to "AGAIN."
Task --> Else If. Set it to if %VOICE ~ No
Phone --> Send SMS. Set the number to %SMSRF. Make the message something like this:
Code:
I am currently driving. I will respond back to you as soon as I am able. Thank you.
Task --> Else
Task --> Goto. Set type to "Action Label" and make the label "REPEAT."
Task --> Else If.
Here are screenshots of the task:
And that's it! Enjoy the profiles and let me know. I've attached the XMLs below you can import by moving them to /sdcard/Tasker/Profiles and then long-pressing on the Profiles tab up top while in Tasker and clicking on Import.
Input --> Get Voice. Go to Label and make it "DECIDE". You will come back to this action with a Goto later.
Click to expand...
Click to collapse
I do not have this option to sett Label? All I can set is Title?
Edit: I had to untick beginner mode in preferences
I also noticed that voice command does not work when writing "Yes", it has to be "yes" with small letters. If anyone else is facing simular troubles.
olskar said:
Input --> Get Voice. Go to Label and make it "DECIDE". You will come back to this action with a Goto later.
I do not have this option to sett Label? All I can set is Title?
Edit: I had to untick beginner mode in preferences
I also noticed that voice command does not work when writing "Yes", it has to be "yes" with small letters. If anyone else is facing simular troubles.
Click to expand...
Click to collapse
Doh! You're right, I've had Tasker enabled for so long that I forgot that Tasker hides that by default. And thanks for the correction on the voice part. My autocorrect screwed that up
How can I force the audio through the phone speaker versus Bluetooth if connected?
I want my whatsapp messages to be read through the speaker versus Bluetooth while I am driving only.
jskala said:
How can I force the audio through the phone speaker versus Bluetooth if connected?
I want my whatsapp messages to be read through the speaker versus Bluetooth while I am driving only.
Click to expand...
Click to collapse
That's not something Tasker can do, sorry. Get the app SoundAbout
jskala said:
How can I force the audio through the phone speaker versus Bluetooth if connected?
I want my whatsapp messages to be read through the speaker versus Bluetooth while I am driving only.
Click to expand...
Click to collapse
You can use BlueTask plugin
Hi, nice works!!
Question: can an email be fully read?
Regards,
What can I use instead of secure settings to pick up the call? Secure settings is bugged nowadays can't find root
Read Notification profile not importing
I can't get the Read Notification .prf.xml file to import at all. Anyone else experience this or can tell me what I might be doing wrong or if the file has an error in it? The other two imported just fine.
Thanks in advance for any assistance and clarification.
If you use a WiFi hotspot, you might be interested in monitoring how many devices and which devices are still connected to it. This is useful for when you're sharing your hotspot with friends or family. There is no real way to do this easily in Android, but with some clever shell commands, variable manipulation, and database searching, we can do so using Tasker!
Disclaimer: this is a profile created by redditor StillAzure over on the /r/tasker forum. I have taken the liberty to add comments explaining each step of the process as well as make a few changes to make it work on devices that his implementation does not work on.
Prerequisites
Root Access
Snackbar Tasker Plugin. This is what handles the pop-ups telling you what devices are connected. Not necessary but if you want to just import and forget just install it anyways.
AutoNotification. This handles the notification telling you how many devices are connected by creating a persistent notification.
The IEEE OUI database. Download it at http://standards-oui.ieee.org/oui.txt. I've found that this download server is slow and prone to time-out, so try it a few times until it fully downloads. Move it to /sdcard/Tasker. The redditor's task downloads it automatically but again it could fail and you wouldn't know without a progress bar telling you so.
Instructions
First profile will be the hotspot monitor profile (this is my own creation separate from the redditor's because his method did not trigger the profile):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Create a new profile and name it Hotspot Monitor.
Create an Event context and go to System --> Intent Received. Set Action to:
Code:
android.net.wifi.WIFI_AP_STATE_CHANGED
Leave everything else blank.
Enter the task creation, but leave the name blank.
Task --> If. If %wifi_state eq 13. This means the hotspot is active.
Variables --> Variable Set. Set %Hotspot to 1.
Task --> Else.
Plugin --> AutoNotification Cancel. Id: 55555. This will cancel the persistent notification from the hotspot monitor if the hotspot disconnects.
Variables --> Variable Set. Set %Hotspot to 0. This means the hotspot has disconnected.
Task --> End If.
Here's a screenshot of the task:
Next, we'll set up the task that actually looks up the manufacturer of the device connected to your hotspot by using its MAC ID.
Create a task and name it "MAC Lookup"
File --> Test File. Type: Modified. Data: Tasker/oui.txt. Store Result In: %MODIFIED. Check "continue task after error."
Task --> If. If %err Set. Basically, if error is set, it means you don't have the database in the folder, so we'll need to download it.
Plugin --> AutoNotification. Title: OUI Database not found! Text: Downloading the database... Id: Database. Persistent: true.
Task --> Goto. Type: Action Label. Label: DOWNLOAD.
Task --> End If.
Variables --> Variable Set. Name %TODAY to %DATE.
Variables --> Variable Convert. Name %TODAY, Function "Date Time to Seconds."
Variables --> Variable Set. Name %SINCE to (%MODIFIED - %TODAY)/24/60/60. Check "Do Math." This is basically figuring out how many days it has been since the oui.txt has been last modified.
Task --> If. Set it to if %SINCE > 14. If it's been more than 2 weeks since the database has been modified, we'll update it.
Plugin --> AutoNotification. Title: OUI Database outdated! Text: Updating the database... Id: Database. Persistent: true.
Net --> HTTP Get. Severort set to http://standards-oui.ieee.org/oui.txt Make the file output to Tasker/oui.txt
Plugin --> AutoNotification Cancel. Id: Database
Plugin --> AutoNotification. Title: Database has been downloaded. Text: You can now swipe away this notification. Id: Database.
Task --> End If.
Variables --> Variable Clear. Name %MANU. This clears the current array of manufacturer IDs if it's already set (so we'll only get the most currently connected devices to our hotspot).
Variables --> Array Clear. Name %MANU. Same idea.
Code --> Run Shell. Run this command:
Code:
ip neigh show dev wlan0 | grep -i -e reachable -e delay | grep -o' ..\:..\:..'
Check "Use Root", Store Output In %CLIENTS, and Store Errors in %error. Check "Continue Task after Error". This action basically gets the currently connected devices' MAC addresses and puts it into an array.
Task --> If. If %error is Set. Meaning no devices are connected.
Alert --> Flash. Text: Zero clients were found.
Task --> Stop. Exit the task.
Task --> End If.
Variables --> Variable Split. Name: %CLIENTS. Leave Splitter blank.
Task --> For. Variable is %for and Items are 2:%CLIENTS(#). Here, we're looping through each connected MAC ID and using our OUI database to look up and determine what manufacturer it belongs to.
Variables --> Variable Convert. Name %CLIENTS(%for). Function: To Upper Case.
Variables --> Variable Search Replace. Variable: %CLIENTS(%for), Search set to : (a colon), check Replace Matches, and for Replace With make it a blank space.
Code --> Run Shell. Here's the command:
Code:
sed -n '/%CLIENTS(%for)/ p' /sdcard/Tasker/oui.txt
Check Use Root, Store Output In %MANU(%for) and check Continue Task after Error.
Variables --> Variable Section. Name %MANU(%for) From 23, Length 100. Cut out all the extraneous data.
Task --> End For.
Here's screenshots of the task:
Next, we'll set up the profile that triggers when the hotspot is confirmed to be on.
Create a new profile and name it "Hotspot Connected."
Create a new State context and go to Variables --> Variable Value. Set it to when %Hotspot eq 1.
Create a new task, but you don't need to name it anything.
Task --> Perform Task. Name: MAC Lookup.
Variables --> Variable Set. Name %PPLCOUNT to %CLIENTS(#)-1. This gets us how many clients are connected.
Task --> If. If %CLIENTS(2) !Set. Meaning nobody is connected.
Variables --> Variable Set. Name: %msg to <font color=yellow>No one's there!
Task --> Else
Variables --> Variable Set. Name: %msg to <font color=red>%PPLCOUNT <font color=white>people are still connected!
Task --> End If.
Variables --> Variable Join. Name %MANU, Joiner is , (a comma). This turns the manufacturer array into a comma-separated list.
Plugin --> AutoNotification. Title: Warning! Text: Your hotspot is still on! %msg Action on Touch: CLIENTS. Id: 55555. Persistent: true. Title Expanded: List of Registered clients:
That's it for this task. Exit out, and add a time context to this profile. Set it to every 5 minutes so your hotspot notification will update.
Here are screenshots of the task:
Finally, we will make the profile that triggers when you click on the notification.
Create a new profile and name it Hotspot Information.
Create an Event context and go to Plugin --> AutoNotification Event. Filter: CLIENTS.
Create a task with no name. Go to the task editor.
Plugin --> Snackbar Tasker Plugin --> Snackbar Without Button. Message: No one is connected to the hotspot! At the bottom, check If and set it to if %MANU !Set.
Plugin --> Snackbar Tasker Plugin --> Snackbar Without Button. Message: Connected devices: %MANU. Check If at the bottom and set it to if %MANU is Set.
Here's a screenshot of the task:
I've attached the XMLs below. Please import them, but read through the labels and instructions above if you want to understand how these profiles work and how to edit them in the future.
Hi,
I am getting this error. Please see the attachment. Where am i going wrong?
did not get it with the auto notification. how do i change the name?
/u/StillAzure here, didn't notice this thread lol.
jayzero76 said:
did not get it with the auto notification. how do i change the name?
Click to expand...
Click to collapse
What name again?
iamronin said:
Hi,
I am getting this error. Please see the attachment. Where am i going wrong?
Click to expand...
Click to collapse
It means there's no client connected. Are you sure there are any?
If you are rooted, try arcais netcut (cant link because i am new) which helps you to check who is connected to your network and also lets you kill the connection (Even if you are on someone elses connection) [WORKS IN ANDROID, IOS, MAC WINDOWS , LINUX . 100% TESTED]
Hope this helps!
Getting following error in Mac lookup task
EDIT
that's my bad
Where's the MAC Lookup task? You've got everything else to import except it.
Can anyone please help me out here
- I would greatly appreciate it as I am about to give up after trying to make this work for absolute ages.
Profile: Set Temporary Mute (2)
Restore: no
State: Custom Setting [ Type:Global Name:mode_ringer Value:0 ]
Enter: Anon (7)
A1: Custom Setting [ Type:Global Name:mode_ringer_time_on Value:1 Use Root:Off Read Setting To: ]
A2: Custom Setting [ Type:Global Name:mode_ringer_time Value:3 Use Root:Off Read Setting To: ]
So what I am trying to achieve is a Profile that runs every time I set my phone to Mute, and sets the setting "Temporary Mute" for 3 minutes.
I have used the Find functionality within Tasker and so I now 100% positively that my settings are identical to how they are set when I do it manually via the GUI.
Still the outcome is different, and i cannot for the life of me figure out why.
When setting it manually, a countdown starts (see screenshot, "Remaining time: [counting down]).
When I do it via Tasker I get a "Null" value in the place where the countdown should have started (see screenshot).
I am pretty new to Tasker so I am hoping someone experienced out there can make some suggestions as to why this would happen.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
this might not help you out but just for a guideline ....
TASK ( use If statement )
Action 1
Conditions : if %VOLR >1
OR
Conditions : if %VOLN >1
Action 2
set you ringing volume to "0"
set you notification volume to "0"
Action 3
wait 3 minutes
Action 4
restore ringing volume to normal
restore notification volume to normal
Assign an icon for this task.
Close down completely the Tasker Apps.
Go to your desktop & please widget of this task on desktop.
So that each time you press this icon it will work all above action and count 3 mins then automatically restore all tones back to normal.
Thank you very much.
edmond.
eeeemc said:
this might not help you out but just for a guideline ....
TASK ( use If statement )
Action 1
Conditions : if %VOLR >1
OR
Conditions : if %VOLN >1
Action 2
set you ringing volume to "0"
set you notification volume to "0"
Action 3
wait 3 minutes
Action 4
restore ringing volume to normal
restore notification volume to normal
Assign an icon for this task.
Close down completely the Tasker Apps.
Go to your desktop & please widget of this task on desktop.
So that each time you press this icon it will work all above action and count 3 mins then automatically restore all tones back to normal.
Thank you very much.
edmond.
Click to expand...
Click to collapse
Thank you, that's a workaround that will work I believe.
I kind of got stuck in being annoyed about not getting why the way in the original question wouldn't work
dBqtjPxBDLHy2BA said:
Thank you, that's a workaround that will work I believe.
I kind of got stuck in being annoyed about not getting why the way in the original question wouldn't work
Click to expand...
Click to collapse
If my suggestion is working for you .... don't struggle with why the original method is not working....
( honestly , I faced the same in the past as you mentioned and somewhat I see solution little later from other places )
Thank you very much.
edmond