This profile starts and stop sixaxis controller app
When sixaxis is off it will start it
When is on it disable it in just one click
Required su and busybox
Can be combined with autonotification app
Sixaxis (2)
A1: Run Shell [ Command:su
ps | grep com.dancingpixelstudios.sixaxiscontroller | awk '{print $9}' Timeout (Seconds):20 Use Rootff Store Output In:%sixaxischeck Store Errors In: Store Result In: Continue Task After Errorn ]
A2: If [ %sixaxischeck Set | %sixaxischeck ~ com.dancingpixelstudios.sixaxiscontroller ]
A3: Run Shell [ Command:su
am stopservice com.dancingpixelstudios.sixaxiscontroller/.SixaxisService Timeout (Seconds):0 Use Rootff Store Output In: Store Errors In: Store Result In: ]
A4: AutoNotification Tiles [ Configuration:Tile: 2
Command: sixaxis
Label: DualShock3
Icon: android.resource://net.dinglisch.android.taskerm/hl_hardware_gamepad
State: 1 Timeout (Seconds):20 Continue Task After Errorn ]
A5: Wait [ MS:0 Seconds:3 Minutes:0 Hours:0 Days:0 ]
A6: Run Shell [ Command:su
am force-stop com.dancingpixelstudios.sixaxiscontroller Timeout (Seconds):0 Use Rootff Store Output In: Store Errors In: Store Result In: ]
A7: Variable Clear [ Name:%sixaxischeck Pattern Matchingff ]
A8: Else
A9: [X] Run Shell [ Command:su
am startservice com.dancingpixelstudios.sixaxiscontroller/.SixaxisService
fi Timeout (Seconds):0 Use Rootff Store Output In: Store Errors In: Store Result In: ]
A10: Send Intent [ Action: Cat:None Mime Type: Data: Extra: Extra: Extra: Package:com.dancingpixelstudios.sixaxiscontroller Class:com.dancingpixelstudios.sixaxiscontroller.SixaxisService Target:Service ]
A11: Variable Clear [ Name:%sixaxischeck Pattern Matchingff ]
A12: AutoNotification Tiles [ Configuration:Tile: 2
Command: sixaxis
Label: DualShock3
Icon: android.resource://net.dinglisch.android.taskerm/hd_hardware_gamepad
State: 2 Timeout (Seconds):20 Continue Task After Errorn ]
A13: End If
A14: Stop [ With Errorff Task:Sixaxis ]
Related
Hi
Is there a way to create a small app (or scene) with
-button to save actual position
-another one for later use - use google maps/any navi to guide me to that point
[optional]
include an menu to save such points, with options to name the points
You should be able to find many examples to do that for you. If you want, I have a tasker that saves the location to my contacts...and another that navigates. You could use as and example to learn from.
Sent from my g928c powered by RiverRom RR5 and SkyHigh 5.7
Sounds great!
dwa4321 said:
Sounds great!
Click to expand...
Click to collapse
Sure, so here's my task to save a location to contacts. I can trigger it with an AutoVoice command or a shortcut icon...the task recognizes which, hence the redundancy.
Code:
LOC Save To Contact (233)
A1: Secure Settings [ Configuration:AutoInput: service.ServiceAccessibility - Enabled Timeout (Seconds):0 ]
A2: Perform Task [ Name:LOC Convert Priority:%priority + 1 Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:ff ]
A3: Send Intent [ Action:android.intent.action.INSERT Cat:None Mime Type: Data:content://com.android.contacts/contacts Extra:postal_type:Navigation Extra:postal:%LocLatLon Extra: Package: Class: Target:Activity ]
A4: AutoInput Action [ Configuration:Type: Id
Value: com.android.contacts:id/add_button_container
Nearby Text: address
Action : Click Timeout (Seconds):20 ]
A5: Set Clipboard [ Text:%LocAddress Add:eek:ff ]
A6: AutoInput Action [ Configuration:Type: Focus
Action : Paste Timeout (Seconds):20 ]
A7: If [ %AVCONTINUOUS !~ true ]
A8: AutoInput Action [ Configuration:Type: Text
Value: name
Action : Focus Timeout (Seconds):20 ]
A9: Else
A10: Set Clipboard [ Text:%avcommnofilter Add:eek:ff ]
A11: AutoInput Action [ Configuration:Type: Text
Value: name
Action : Paste Timeout (Seconds):20 ]
A12: AutoInput Action [ Configuration:Type: Text
Value: save
Action : Click Timeout (Seconds):20 ]
A13: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A14: Run Shell [ Command:input keyevent 4 Timeout (Seconds):0 Use Root:eek:n Store Output In: Store Errors In: Store Result In: ]
A15: End If
A16: Secure Settings [ Configuration:AutoInput: service.ServiceAccessibility - Disabled Timeout (Seconds):0 ]
Here's that nested task "Location Convert":
Code:
LOC Convert (242)
A1: Secure Settings [ Configuration:GPS Enabled Timeout (Seconds):0 ]
A2: Variable Set [ Name:%space To: Do Maths:eek:ff Append:eek:ff ]
A3: Get Location [ Source:Any Timeout (Seconds):100 Continue Task Immediately:eek:ff Keep Tracking:eek:n ]
A4: HTTP Get [ Server:Port:maps.google.com/maps/api/geocode/json?latlng=%LOC&sensor=false Path: Attributes: Cookies: User Agent: Timeout:10 Mime Type:text/xml Output File: Trust Any Certificate:eek:ff ]
A5: Stop Location [ Source:Any ]
A6: Variable Set [ Name:%location To:%HTTPD Do Maths:eek:ff Append:eek:ff ]
A7: Variable Split [ Name:%location Splitter:"formatted_address" Delete Base:eek:ff ]
A8: Variable Split [ Name:%location2 Splitter:"lat" Delete Base:eek:ff ]
A9: Variable Split [ Name:%location21 Splitter:, USA Delete Base:eek:ff ]
A10: Variable Split [ Name:%location211 Splitter:" Delete Base:eek:ff ]
A11: Variable Set [ Name:%LocAddress To:%location2112 Do Maths:eek:ff Append:eek:ff ]
A12: Variable Split [ Name:%location22 Splitter:"lng" Delete Base:eek:ff ]
A13: Variable Split [ Name:%location221 Splitter::%space Delete Base:eek:ff ]
A14: Variable Split [ Name:%location2212 Splitter:, Delete Base:eek:ff ]
A15: Variable Set [ Name:%lat To:%location22121 Do Maths:eek:ff Append:eek:ff ]
A16: Variable Split [ Name:%location222 Splitter::%space Delete Base:eek:ff ]
A17: Variable Split [ Name:%location2222 Splitter:%space Delete Base:eek:ff ]
A18: Variable Set [ Name:%long To:%location22221 Do Maths:eek:ff Append:eek:ff ]
A19: Variable Set [ Name:%LocLatLon To:%lat %long Do Maths:eek:ff Append:eek:ff ]
A20: Variable Split [ Name:%location2112 Splitter:, Delete Base:eek:ff ]
A21: Variable Split [ Name:%location21123 Splitter:%space Delete Base:eek:ff ]
A22: Variable Set [ Name:%LocCity To:%location21122 Do Maths:eek:ff Append:eek:ff ]
A23: Variable Set [ Name:%LocZip To:%location211233 Do Maths:eek:ff Append:eek:ff ]
And here's my navigation task. It will recognize if I've told it to navigate to a specific address, a point of interest, or to one of my contacts.
Code:
Voice Navigation (240)
A1: Variable Set [ Name:%navto To:%avcommnofilter Do Maths:eek:ff Append:eek:ff ]
A2: AutoVoice Continuous [ Configuration:
Stopping continuous voice recognition
Persistent Notification: false Timeout (Seconds):0 ]
A3: Variable Convert [ Name:%navto Function:To Lower Case Store Result In: ]
A4: Variable Search Replace [ Variable:%navto Search:[0-9] Ignore Case:eek:ff Multi-Line:eek:ff One Match Only:eek:ff Store Matches In:%addressdirect Replace Matches:eek:ff Replace With: ]
A5: AutoContacts [ Configuration:Contact Name or Nickname: %navto Timeout (Seconds):1000 Continue Task After Error:eek:n ]
A6: Wait Until [ MS:100 Seconds:0 Minutes:0 Hours:0 Days:0 ] If [ %AVCONTINUOUS ~ false ]
A7: Media Volume [ Level:15 Display:eek:ff Sound:eek:ff ]
A8: If [ %acname Set ]
A9: If [ %acaddresses1 ~ *acadd* ]
A10: For [ Variable:%contact Items:%acaddresses() ]
A11: Array Pop [ Variable:%acaddresses Position:1 To Var: ]
A12: Goto [ Type:Action Label Number:1 Label:Check Contact Address ]
A13: End For
A14: Else
A15: Variable Set [ Name:%destination To:%acaddresses1 Do Maths:eek:ff Append:eek:ff ]
A16: Flash [ Text:Navigating to contact at %acaddresses1 Long:eek:ff ]
A17: Say [ Text:Navigating to %acname at %acaddresses1 Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:n ]
A18: End If
A19: Else If [ %addressdirect1 !Set ]
A20: Perform Task [ Name:LOC Convert Priority:%priority + 1 Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:ff ]
A21: Variable Set [ Name:%destination To:%navto %LocZip Do Maths:eek:ff Append:eek:ff ]
A22: Flash [ Text:Navigating to search result: %destination Long:eek:ff ]
A23: Say [ Text:Navigating to search result: %destination Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:n ]
A24: Else
A25: Variable Set [ Name:%destination To:%navto Do Maths:eek:ff Append:eek:ff ]
A26: Flash [ Text:Navigating to address: %destination Long:eek:ff ]
A27: Say [ Text:Navigating to address: %destination Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:eek:n Network:eek:ff Continue Task Immediately:eek:n ]
A28: End If
A29: Variable Set [ Name:%Destination To:%destination Do Maths:eek:ff Append:eek:ff ]
A30: Send Intent [ Action:android.intent.action.VIEW Cat:None Mime Type: Data:google.navigation:q=%destination Extra: Extra: Extra: Package: Class: Target:Activity Continue Task After Error:eek:n ]
Edit: I haven't looked at these tasks in a long time....they could probably be a bit more efficient.
Sent from my g928c powered by RiverRom RR5 and SkyHigh 5.7
thanks! Now I need to search how to import them
What you can do, is create these Tasks:
- GPS: on (you may need to be rooted and/or have "Secure Settings" app installed in order to turn on GPS. Alternative is to do that manually)
- Wait: 30 seconds to give time to get a GPS fix
- Variable Set: set Var %CarLocation to %LOC
- Variable Split: Split %CarLocation by a comma (so you get %CarLocation1 which is the Latitude and %CarLocation2 which is the Longitude)
Now you saved your current GPS position.
To use Google, you can find the Google URL. In Tasker:
- Go to URL: find the correct URL somewhere online
Replace the coordinates of destination by the %CarLocation1 and %CarLocation2 variables.
It depends if you already turned on GPS in another Project or Task, in that case you can skip that step
Bluetooth "Car" Mode not working. Exit task runs before "exiting".
So here is my problem. Everything works fine. Connect to my HU and and it launches what I want. The exit task force closes the apps and locks the screen. However, what I have noticed is that after about 2 minutes the exit task would always run while my music was still playing. So I tried just making a 2nd profile for bluetooth connected (inverted). Exact same thing would happen. What I think is going on is that my head unit or s8 may disconnect somehow for a split second thus triggering the exit task. Is there any way to tell the profile to not run the exit task unless it has disconnected from my head unit for lets say more than 3 seconds?
Again, everything works...just the 1/2 second of what I think is the Bluetooth disconnecting triggering the exit task too soon.
Here is the copy of the description:
Profile: Blu (2)
Restore: no
State: BT Connected [ NameNX690HD Address:00:08:E0:4A:ED:1A ]
Enter: Music1 (6)
A1: Flash [ Text:LAUNCHING MUSIC FOR YOU DUDE Longff ]
A2: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A3: Launch App [ App:Samsung Music Data: Exclude From Recent Appsff Always Start New Copyff ]
A4: Wait [ MS:0 Seconds:2 Minutes:0 Hours:0 Days:0 ]
A5: Launch App [ App:Music Visualizer Data: Exclude From Recent Appsff Always Start New Copyff ]
A6: Media Volume [ Level:15 Displayff Soundff ]
A7: Stop [ With Errorff Task: ]
Exit: Ex (13)
A1: Flash [ Text:CLOSING APPS Longff ]
A2: Variable Set [ Name:%app To:Music Visualizer Recurse Variablesff Do Mathsff Appendff ]
A3: AutoLaunch Query [ Configuration:App Nickname: %app
Contains All App Nickname: true Timeout (Seconds):60 ]
A4: Variable Set [ Name:%package To:%alpackages(1) Recurse Variablesff Do Mathsff Appendff ]
A5: AutoShare [ Configuration:App: Android
Action: App Details Settings
Data: package:%package Timeout (Seconds):10 ]
A6: AutoInput Action [ Configuration:Type: Text
Value: Force Stop
Action : Click Timeout (Seconds):20 ]
A7: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A8: AutoInput Action [ Configuration:Type: Text
Value: Force Stop
Action : Click Timeout (Seconds):20 ]
A9: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A10: AutoInput Global Action [ Configuration:Action: Home Timeout (Seconds):20 ]
A11: Variable Set [ Name:%app To:Samsung Music Recurse Variablesff Do Mathsff Appendff ]
A12: AutoLaunch Query [ Configuration:App Nickname: %app
Contains All App Nickname: true Timeout (Seconds):60 ]
A13: Variable Set [ Name:%package To:%alpackages(1) Recurse Variablesff Do Mathsff Appendff ]
A14: AutoShare [ Configuration:App: Android
Action: App Details Settings
Data: package:%package Timeout (Seconds):10 ]
A15: AutoInput Action [ Configuration:Type: Text
Value: Force Stop
Action : Click Timeout (Seconds):20 ]
A16: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A17: AutoInput Action [ Configuration:Type: Text
Value: Force Stop
Action : Click Timeout (Seconds):20 ]
A18: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A19: AutoInput Global Action [ Configuration:Action: Home Timeout (Seconds):20 ]
A20: Secure Settings [ Configuration:Lock Device Timeout (Seconds):0 ]
I have created below tasker profile to generate continuous notification with Flash on & off upon receiving a text message with word "Emergency" in it. It works perfectly however I cannot find a way to stop the sound, vibration and Flash light loop.
I tried to create a scene with TAP action = cancel alarm (disable any) but it just opens system's alarm app.
Please suggest a way to stop this loop. I created this profile so I do not miss any Important SMS page from work while sleeping.
P. S. = I used alarm as notification type because it will play even while my phone is set to silent profile (Device - oneplus 3T). If alert slider is set to silent only alarms are working.
Code:
Profile: SMS_Notif_911 (15)
Event: Received Text [ Type:SMS Sender:* Content:*Emergency* ]
Enter: PerotSound (12)
A1: Vibrate Mode [ Mode:eek:ff ]
A2: Ringer Volume [ Level:7 Display:eek:ff Sound:eek:ff ]
A3: Alarm Volume [ Level:7 Display:eek:ff Sound:eek:ff ]
A4: Notification Volume [ Level:7 Display:eek:ff Sound:eek:ff ]
A5: Media Volume [ Level:30 Display:eek:ff Sound:eek:ff ]
A6: Show Scene [ Name:PerotNotifStop Display As:Dialog, Dim Behind Horizontal Position:100 Vertical Position:100 Animation:System Show Exit Button:eek:n Show Over Keyguard:eek:n Continue Task Immediately:eek:n ]
A7: Play Ringtone [ Type:Alarm Sound:Rhythm Stream:4 ]
A8: Vibrate [ Time:200 ]
A9: Torch [ Set:eek:n ]
A10: Wait [ MS:753 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A11: Torch [ Set:eek:ff ]
A12: Wait [ MS:500 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A13: Goto [ Type:Action Number Number:7 Label: ]
The ringtone action can't be stopped, it runs autonomously (unless the "silence ringer" action works on your device).
So, I would use a Music Play action with the output stream set to alarm. Then in the scene, you can have a Music Stop action attached to a button in the scene. If you don't have a stop button in the scene, you need to add one.
There is also a variable "%PerotStop" that I added. It is set to "true" when the stop button is tapped and the GoTo action executes only if it's not true.
Notice that the GoTo doesn't go back to the Music Play action, but only back to cycle the vibrate and torch. It's not necessary to do more, just check the box to loop the music in the Music Play action.
Finally, after the GoTo stops executing, we clear the "%PerotStop" variable and it's ready for the next time.
Note: the [X] at action 7 shows that it's paused and won't run.
Code:
Profile: SMS_Notif_911 (179)
Event: Received Text [ Type:SMS Sender:* Content:*Emergency* ]
Enter: PerotSound (180)
A1: Vibrate Mode [ Mode: Off ]
A2: Ringer Volume [ Level:6 Display: Off Sound: Off ]
A3: Alarm Volume [ Level:7 Display: Off Sound: Off ]
A4: Notification Volume [ Level:7 Display: Off Sound: Off ]
A5: Media Volume [ Level:30 Display: Off Sound: Off ]
A6: Show Scene [ Name:PerotNotifStop Display As:Dialog, Dim Behind Horizontal Position:100 Vertical Position:100 Animation:System Show Exit Button: On Show Over Keyguard: On Continue Task Immediately: On ]
A7: [X] Play Ringtone [ Type:Alarm Sound:Cuckoo clock Stream:4 ]
A8: Music Play [ File:Ringtones/fur_elise_dubstep.mp3 Start:0 Loop: On Stream:4 Continue Task Immediately: On ]
A9: Vibrate [ Time:200 ]
A10: Torch [ Set: On ]
A11: Wait [ MS:753 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A12: Torch [ Set: Off ]
A13: Wait [ MS:500 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A14: Goto [ Type:Action Number Number:9 Label: ] If [ %PerotStop !~ true ]
A15: Variable Clear [ Name:%PerotStop Pattern Matching: Off Local Variables Only: Off ]
These are the actions that the stop button that is displayed in the scene should have. They are added on the "tap" tab within the element edit. Notice the final action of the stop button is to clear the scene.
Code:
A1: Variable Set [ Name:%PerotStop To:true Recurse Variables: Off Do Maths: Off Append: Off ]
A2: Music Stop [ Clear Dir: Off ]
A3: Destroy Scene [ Name:PerotNotifStop ]
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
Thank you so much. It worked.
ktmom said:
The ringtone action can't be stopped, it runs autonomously (unless the "silence ringer" action works on your device).
So, I would use a Music Play action with the output stream set to alarm. Then in the scene, you can have a Music Stop action attached to a button in the scene. If you don't have a stop button in the scene, you need to add one.
There is also a variable "%PerotStop" that I added. It is set to "true" when the stop button is tapped and the GoTo action executes only if it's not true.
Notice that the GoTo doesn't go back to the Music Play action, but only back to cycle the vibrate and torch. It's not necessary to do more, just check the box to loop the music in the Music Play action.
Finally, after the GoTo stops executing, we clear the "%PerotStop" variable and it's ready for the next time.
Note: the [X] at action 7 shows that it's paused and won't run.
Code:
Profile: SMS_Notif_911 (179)
Event: Received Text [ Type:SMS Sender:* Content:*Emergency* ]
Enter: PerotSound (180)
A1: Vibrate Mode [ Mode: Off ]
A2: Ringer Volume [ Level:6 Display: Off Sound: Off ]
A3: Alarm Volume [ Level:7 Display: Off Sound: Off ]
A4: Notification Volume [ Level:7 Display: Off Sound: Off ]
A5: Media Volume [ Level:30 Display: Off Sound: Off ]
A6: Show Scene [ Name:PerotNotifStop Display As:Dialog, Dim Behind Horizontal Position:100 Vertical Position:100 Animation:System Show Exit Button: On Show Over Keyguard: On Continue Task Immediately: On ]
A7: [X] Play Ringtone [ Type:Alarm Sound:Cuckoo clock Stream:4 ]
A8: Music Play [ File:Ringtones/fur_elise_dubstep.mp3 Start:0 Loop: On Stream:4 Continue Task Immediately: On ]
A9: Vibrate [ Time:200 ]
A10: Torch [ Set: On ]
A11: Wait [ MS:753 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A12: Torch [ Set: Off ]
A13: Wait [ MS:500 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A14: Goto [ Type:Action Number Number:9 Label: ] If [ %PerotStop !~ true ]
A15: Variable Clear [ Name:%PerotStop Pattern Matching: Off Local Variables Only: Off ]
These are the actions that the stop button that is displayed in the scene should have. They are added on the "tap" tab within the element edit. Notice the final action of the stop button is to clear the scene.
Code:
A1: Variable Set [ Name:%PerotStop To:true Recurse Variables: Off Do Maths: Off Append: Off ]
A2: Music Stop [ Clear Dir: Off ]
A3: Destroy Scene [ Name:PerotNotifStop ]
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
Click to expand...
Click to collapse
I've setup a task that pulls values from a torque CSV and sends them to KWGT so that they can be displayed on the homescreen. The info needs to be live so I used a goto loop to pull updated info from the CSV every second. That part works well and the task starts and stops as desired.
The problem is that when the loop is running, I cannot get navigation to stay full screen. Maps works fine but as soon as I navigate, navigation is minimized to the small overlay box. Tapping the box to full screen only lasts the loop length before being minimized again. I've added wait time and can confirm that the issue is in sync with the loop length.
Other noticings:
- Torque screen flashes with every loop but stays connected and successfully logs to the log CSV
- The is an alarm icon that flickers in the notification bar with every loop.
Appreciate your thoughts and suggestions!
Code:
OBD Loop (19)
A1: Variable Set [ Name:%Odohold To:%Odometer Recurse Variables:eek:ff Do Maths:eek:ff Append:eek:ff Max Rounding Digits:3 ] If [ %OBDLOG2 < %CELMiles ]
A2: Wait [ MS:0 Seconds:5 Minutes:0 Hours:0 Days:0 ]
A3: Perform Task [ Name:Get OBD Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:ff ]
A4: Variable Set [ Name:%Odometer To:%Odohold+%OBDLOG2 Recurse Variables:eek:ff Do Maths:eek:n Append:eek:ff Max Rounding Digits:10 ]
A5: Perform Task [ Name:KWGT Update Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:eek:ff ]
A6: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A7: Stop [ With Error:eek:ff Task: ] If [ %OBD ~ dis ]
A8: Goto [ Type:Action Number Number:3 Label: ] If [ %OBD ~ con ]
Get OBD (18)
A1: Run Shell [ Command:/system/xbin/tail -1 /storage/emulated/0/torqueLogs/trackLog.csv Timeout (Seconds):0 Use Root:eek:n Store Output In:%OBDLOG Store Errors In: Store Result In: ]
A2: Variable Split [ Name:%OBDLOG Splitter:, Delete Base:eek:ff ]
A3: Variable Set [ Name:%CELMiles To:%OBDLOG2 Recurse Variables:eek:ff Do Maths:eek:ff Append:eek:ff Max Rounding Digits:3 ]
Hello,
I want to create a new task in tasker, and enable or disable a google account.
I read some threads about synker app (https://tasker.joaoapps.com/pluginlist.html), but the problem is that synker is outdated, and It can't be used because you must buy a unlock key (and it's not available in playstore).
It's possible change the synchronization with tasker without the synker app?
Regards
Not sure if this helps ..............................
You can skip following step as those are my home settings: A1, A13, You can simply see it will turn on auto syn & turn off auto sync between 7 a.m. to 930 p.m. , every 50 mins.
If time is before 7.30 p.m. , it will play a notification tone ( see A16 ) so that you know this profile is working ( you can turn this off after 1 or 2 months ). After 7.30 p.m. will not play ringtone to less disturb.
You can actually modify ( skip ) my below steps as much as you like to accomidate your situation.
Ask if you have any question against my profile.
Profile:
Auto Sync Every 45 Mins (1693)
Time: From 07:00 every 50m Till 21:30
State: Wifi Connected [ SSID:* MAC:* IP:* Active:Any ]
Task:
A1: Perform Task [ Name:N9 Grant Acc Tasker Auto Native Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off Local Variable Passthrough:Off Limit Passthrough To: Reset Return Variable:Off Allow Overwrite Variables:Off ]
A2: Wait [ MS:500 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A3: Variable Set [ Name:%Auto_syncccc To:1 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ]
A4: Wait [ MS:500 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A5: Auto-Sync [ Set:On ]
A6: If [ %TIME < 19.3 ]
A7: Goto [ Type:Action Label Number:10 Labellay ]
A8: End If
A9: If [ %TIME > 19.3 ]
A10: Wait [ MS:500 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A11: Goto [ Type:Action Label Number:10 Label:flash sync now ]
A12: End If
<play>
A13: Media Volume [ Level:6 Display:Off Sound:Off ] If [ %WIN !~ YouTube | %WIN !~ FM Radio | %WIN !~ RTHK News | %WIN ~ Audio Player ]
A14: Media Volume [ Level:1 Display:Off Sound:Off ]
A15: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A16: Play Ringtone [ Type:Notification Sound:Bibip Stream:5 ]
A17: Media Volume [ Level:14 Display:Off Sound:Off ]
<flash sync now>
A18: Flash [ Text:Syncing now !! Long:On ]
<wait 10>
A19: Wait [ MS:0 Seconds:0 Minutes:5 Hours:0 Days:0 ]
A20: Auto-Sync [ Set:Off ]
A21: Media Volume [ Level:2 Display:Off Sound:Off ]
A22: W
eeeemc said:
Not sure if this helps ..............................
You can skip following step as those are my home settings: A1, A13, You can simply see it will turn on auto syn & turn off auto sync between 7 a.m. to 930 p.m. , every 50 mins.
If time is before 7.30 p.m. , it will play a notification tone ( see A16 ) so that you know this profile is working ( you can turn this off after 1 or 2 months ). After 7.30 p.m. will not play ringtone to less disturb.
You can actually modify ( skip ) my below steps as much as you like to accomidate your situation.
Ask if you have any question against my profile.
Profile:
Auto Sync Every 45 Mins (1693)
Time: From 07:00 every 50m Till 21:30
State: Wifi Connected [ SSID:* MAC:* IP:* Active:Any ]
Task:
A1: Perform Task [ Name:N9 Grant Acc Tasker Auto Native Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off Local Variable Passthrough:Off Limit Passthrough To: Reset Return Variable:Off Allow Overwrite Variables:Off ]
A2: Wait [ MS:500 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A3: Variable Set [ Name:%Auto_syncccc To:1 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ]
A4: Wait [ MS:500 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A5: Auto-Sync [ Set:On ]
A6: If [ %TIME < 19.3 ]
A7: Goto [ Type:Action Label Number:10 Labellay ]
A8: End If
A9: If [ %TIME > 19.3 ]
A10: Wait [ MS:500 Seconds:0 Minutes:0 Hours:0 Days:0 ]
A11: Goto [ Type:Action Label Number:10 Label:flash sync now ]
A12: End If
<play>
A13: Media Volume [ Level:6 Display:Off Sound:Off ] If [ %WIN !~ YouTube | %WIN !~ FM Radio | %WIN !~ RTHK News | %WIN ~ Audio Player ]
A14: Media Volume [ Level:1 Display:Off Sound:Off ]
A15: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A16: Play Ringtone [ Type:Notification Sound:Bibip Stream:5 ]
A17: Media Volume [ Level:14 Display:Off Sound:Off ]
<flash sync now>
A18: Flash [ Text:Syncing now !! Long:On ]
<wait 10>
A19: Wait [ MS:0 Seconds:0 Minutes:5 Hours:0 Days:0 ]
A20: Auto-Sync [ Set:Off ]
A21: Media Volume [ Level:2 Display:Off Sound:Off ]
A22: W
Click to expand...
Click to collapse
Hi,
Thanks for your message, but I want to disable or enable a single account synchronization. I can enable and disable auto-sync, but not for a single account.
Regards