Hi!
..trying since days something I want to build...
What I want:
I want to use an old Tablet as a Digital VideoFrame..
..when the Tablet starts a Video should play (with GoogleVideo Player) and after 10 seconds it should Pause..
..and when motion is detected the Video should toogle to Play and after 10 Seconds Pause..and so on...
With the App "Motion Detector" I am able to start the Video...but I am not able to Pause the Video..has anyone
an idea how to do this?
thx
7.even
I'd do something like this:
Profile: Shake For Video (16)
Event: Shake [ Axis:Up-Down Sensitivity:Medium Duration:Medium ]
Enter: Anon (23)
A1: Open File [ File:xxxx.mp4 Mime Type:video/* ]
A2: Wait [ MS:0 Seconds:10 Minutes:0 Hours:0 Days:0 ]
A3: Media Control [ Cmdause Simulate Media Buttonff App: ]
The profile is triggered by an event > sensor > then choose how you want to trigger
Action 1 opens a video file
Action 2 waits 10 seconds
Action 3 Media > media control > pause
You could blend the use of Motion Detector by trigger the tasker task on the launch of Motion Detector and execute the pause command after 10 seconds.
..thanks for the answer...I did it that way but the VideoPlayer doesnt Pause or Stop or anything...
7.even said:
..thanks for the answer...I did it that way but the VideoPlayer doesnt Pause or Stop or anything...
Click to expand...
Click to collapse
Works for me, I tested before posting.
Hi all,
I'm using phone profile plus on Android, and it's work very well, but it's quite limited... So I want to test Tasker
BUT I don't know why my profile didn't start automatically...
I want to have, for example very easy, one task for the day and on exit another one for one profile.
Profile: Day (16)
Restore: no Enforce: no
Time: From 07:30 Till 22:20
Enter: Journée (17)
Abort Existing Task
A1: Wait [ MS:0 Seconds:5 Minutes:0 Hours:0 Days:0 ]
A3: Bluetooth [ Setn ]
Exit: Nuit (6)
A1: Wait [ MS:0 Seconds:5 Minutes:0 Hours:0 Days:0 ]
A2: Do Not Disturb [ Mode:None Continue Task After Errorn ]
A3: [X] Auto Brightness [ Setff ]
Task: Background Image: Layoutopup Task Buttons Timeout (Seconds):10 Show Over Keyguardn ]
Ok i dont understand maybe how it is work but it didn't start on time..
I tried to change manually the time to see what happen, but even if i apply the changing, nothing happen, and sometimes it's work... But most of the time nothing!!
I have allowed all permission for Tasker, same for power save etc...
What's wrong?
Please help me!
Edit : hum I have understand why it didn't work...
But please what can I do to have profile
1) profile 7 to 22 : task A
2) profile 22 to 7 : task B
When I tried that, I have two profile activated...
Thanks
For example now... Profile not activated, why??...
In preferences, monitor tab, make sure "use reliable alarms" is set to always.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
ktmom said:
In preferences, monitor tab, make sure "use reliable alarms" is set to always.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
Click to expand...
Click to collapse
Thanks I will try !
Hello dear community,
I've been trying to get Tasker to put my phone into airplane mode, but dependend on what type of connections are active, it should keep certain radios on or turn them off dynamically. So, for example if I am connected to Wifi, it should keep Wifi on but turn the rest off. If I now turn Bluetooth on as well, it should change the airplane mode radios to keep Bluetooth and Wifi on. Same for cell/Service. Is that somehow realisable? Maybe with ifs and elses? I am open for ideas
Yes, you just need to define the logic flow. The action to use is probably Airplane Radios.
You could easily have a single task, with multiple instances of the Airplane Radios action, each with an if statement(s) that defines what condition should be met before it runs. For example, "if *%WIFI ~ off AND %BLUE !~ off" then the Airplane Radios action with turning off the wifi radio and leaving the BT radio on would be run.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Hey, it's me again. First thank you very much for the response. I managed to make the profile work with WiFi and cell service, but Bluetooth still shuts down even though by the if statement it shouldn't. What I did was I put as condition airplane mode on and as tasks: if Wifi on then airplane mode radios Bluetooth on cell on nfc on Wifi off wimax on. Same for cell but with Wifi on and cell off. For Bluetooth i did the same with Bluetooth off and the rest on. Where did I made the mistake? Or is Bluetooth a Problem on Nougat? Thanks in advance and greetings.
Please post your profile. Make sure it's named - not a default name assigned by tasker. To name the profile if it isn't already, long press on the name to highlight the profile and, at the top, tap the square with the A.
Then long press on the name to highlight the profile. Go to the 3-dot menu and select export -> Description to Clipboard.
Now you'll be able to paste it. Be aware, it easier to use pastebin and link to a post here. If you paste in a post here, the forum software will convert all semicolons with characters directly after to emoticons making it very hard to read.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Profile: Flugmodus (40)
State: Airplane Mode
Enter: Radios (41)
A1: If [ %BTStatus ~ 1 ]
A2: Secure Settings [ Configuration:Airplane Mode Radios: Cell, NFC, WiFi, WiMax Timeout (Seconds):0 ]
A3: End If
A4: If [ %WiFiStatus ~ 1 ]
A5: Secure Settings [ Configuration:Airplane Mode Radios: Cell, Bluetooth, NFC, WiMax Timeout (Seconds):0 ]
A6: End If
A7: If [ %CELLSRV ~ noservice | %CELLSIG ~ 0 ]
A8: Secure Settings [ Configuration:Airplane Mode Radios: Bluetooth, NFC, WiFi, WiMax Timeout (Seconds):0 ]
A9: End If
A10: If [ %BTStatus ~ 1 & %WiFiStatus ~ 1 ]
A11: Secure Settings [ Configuration:Airplane Mode Radios: Cell, NFC, WiMax Timeout (Seconds):0 ]
A12: End If
Exit: Flugmodus aus (64)
A1: Secure Settings [ Configuration:Airplane Mode Disabled Timeout (Seconds):0 ]
BTStatus and WiFiStatus are set to 1 when BT and WiFi are connected and are set to 0 if not connected.
Edit: I changed the condition to display off, still no change. WiFi and cell work while BT doesn't and shuts down although I have my BT headphones connected and BTStatus is on 1.
A7 turns off the BT radio whether it's connected or not. Maybe you should add a "AND %BTStatus !~ 1" condition.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
That did the trick. You really helped me out there. I literally thought I must be stupid, but I just couldn't figure out where the profile went wrong. Thank you and I appreciate your time and effort.
And it's me (again...). So, the profile worked fine until I had to reboot my phone. I didn't change anything on that task, I just updated Tasker. And now the profile shuts Bluetooth down again. Any ideas on that or is it buggy?
Whenever a profile is not functioning as expected, you need to post the full profile description (as before). You should also grab a Tasker log covering the activation and execution of the profile.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Profile: Flugmodus Status (28)
State: Airplane Mode
Enter: Radios (40)
A1: If [ %BTStatus ~ 1 ]
A2: Secure Settings [ Configuration:Airplane Mode Radios: Cell, NFC, WiFi, WiMax Timeout (Seconds):0 ]
A3: End If
A4: If [ %WiFiStatus ~ 1 ]
A5: Secure Settings [ Configuration:Airplane Mode Radios: Cell, Bluetooth, NFC, WiMax Timeout (Seconds):0 ]
A6: End If
A7: If [ %CELLSRV ~ noservice & %BTStatus !~ 1 ]
A8: Secure Settings [ Configuration:Airplane Mode Radios: Bluetooth, NFC, WiFi, WiMax Timeout (Seconds):0 ]
A9: End If
A10: If [ %BTStatus ~ 1 & %WiFiStatus ~ 1 ]
A11: Secure Settings [ Configuration:Airplane Mode Radios: Cell, NFC, WiMax Timeout (Seconds):0 ]
A12: End If
Exit: Flugmodus aus (64)
A1: Run Shell [ Command:settings put global airplane_mode_on 0 ; am broadcast -a android.intent.action.AIRPLANE_MODE --ez state false Timeout (Seconds):0 Use Rootn Store Output In: Store Errors In: Store Result In: ]
A2: Run Shell [ Command:settings put global airplane_mode_radios "cell,bluetooth,nfc,wimax,wifi" Timeout (Seconds):0 Use Rootn Store Output In: Store Errors In: Store Result In: ]
This is the profile. And the log is in the Attachment.
I don't know what OS version you are using, but the intangible objects secure settings plug-in is obsolete starting at marshmallow. What are you trying to use from it?
Also make sure Tasker is whitelisted in greenify.
You've posted the task, but what triggers the task; something from secure settings? That top level profile (that includes the triggering context) is what is helpful to post. It includes the task as well.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Profile: Flugmodus Status (28)
State: Display State [ Isff ]
Enter: Radios (40)
A1: If [ %BTStatus ~ 1 ]
A2: Custom Setting [ Type:Global Name:airplane_mode_radios Value:cell,nfc,wimax,wifi Use Rootn Read Setting To: ]
A3: End If
Exit: Flugmodus aus (64)
A1: Run Shell [ Command:settings put global airplane_mode_on 0 ; am broadcast -a android.intent.action.AIRPLANE_MODE --ez state false Timeout (Seconds):0 Use Rootn Store Output In: Store Errors In: Store Result In: ]
A2: Run Shell [ Command:settings put global airplane_mode_radios "cell,bluetooth,nfc,wimax,wifi" Timeout (Seconds):0 Use Rootn Store Output In: Store Errors In: Store Result In: ]
So, this was a test run to see if it was a BT problem, a secure settings problem or a problem in the logic flow. I am on Nougat and as you said, secure settings is obsolete. So I changed that up to custom settings and ticked use Root to ensure proper execution (also used ADB to give Tasker WRITE_SECURE_SETTINGS permission). I also later tried with the integrated Tasker option for the airplanemode radios. It still turns off Bluetooth when entering airplane mode, although I explicitly told Tasker not to do so if connected. This is the log of the test where I turned all profiles off but not the airplanemode radio one and the BT Status one.
In your log, it looks like you have battling profiles. Energiesparmodus seems to be taking action on airplane mode as well as Flugmodus.
To effectively troubleshoot this, you really should disable all profiles except the one you are focused on.
Additionally, it looks like Energiesparmodus is setting power saving on Tasker on screen of and is running prior to Flugmodus.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Ok, before I test the rest: I have to turn the airplane mode on first then turn on energy saving mode? In the same profile?
Is there a way to use Tasker to mute calls from numbers not in my contacts?
Yes, I end the call if not in my contacts which effectively just seems them to voice mail. The end call action is not guaranteed to work on all devices, but you could exchange it for a action to lower the audio -> ringer volume.
In the following profile, I use a variable %CallBusy, to prevent disconnecting if I'm actively in a call. This variable is set in a separate profile that just looks if the phone is off hook.
Profile: Unknown Caller Disconnect
Event: Phone Ringing [ Caller:!C:ANY ]
State: Variable Value [ %CallBusy !~ true ]
Enter: End Call
A1: End Call
A2: Variable Set [
Name:%CallerEnded
To:%CNUM
Recurse Variables: Off
Do Maths: Off
Append: Off
Max Rounding Digits:0 ]
A3: Flash [
Text:Just blocked caller %CallerEnded
Long: On ]
I want navigation app to to start when I open my Android car unit.
But as you will see in the video, Tasker cannot detects that wifi is connected. (It connects to my phone hotspot)
It works on my phone but not in car unit...
What to do? May it be related with permissions?
-------------------------------------
Task Description:
Profile: Yandex
Settings: Restore: no
State: Wifi Connected [ SSID:Un10 MAC:* IP:* Active:Any ]
Enter Task: Open Yandex
A1: Launch App [
Package/App Name: Yandex Navi ]