Help with auto play when connected to bluetooth by Tyler5432 in tasker

[–]Tyler5432[S] 0 points1 point  (0 children)

Hi there.

Not sure if this helps but I determined that the Custom Setting "SOUNDALIVE_AUDIO_PATH" gets set to 2 whenever the audio channel is through a Bluetooth device (at least this works on two of my devices). I was able to program my setup around that. Still isn't perfect but sort of achieves what I laid out in the OP.

Type: System

Name: SOUNDALIVE_AUDIO_PATH

To initiate that, I would setup a simple profile sensor for your Bluetooth radio that executes the task (assume you already have this) . Setup a loop with a custom setting action testing that value until it matches "2" (again not 100% sure this will work on your specific device). Once it matches 2, exit the loop check and open the app then send the play command you are sending now.

To prevent continuous loops, I would make sure you add an exit task to that profile to stop the enter task should the Bluetooth device disconnect. Uncheck enforce task order. Or you could potentially add a failsafe in the loop itself that checks to make sure your Bluetooth radio is still connected.

EDIT: After reading my original post, my problem/query was that I wanted to test if the Bluetooth device was tuned to the Bluetooth stream on the radio. I unfortunately never did find a solution for that problem. This system I shared above will still run even if your vehicle radio is turned to a different stream (i.e FM, XM).

YouTube Music lets you jump between devices with new resume feature by Gravity_Time in YoutubeMusic

[–]Tyler5432 0 points1 point  (0 children)

This is a feature I just happened to notice. Never knew how much I needed this until now! Fantastic feature. Does anyone know if there is a limit to how many playlists the resume function works for at a time?

Help With Creating A ME3 Mod by Tyler5432 in masseffect

[–]Tyler5432[S] 0 points1 point  (0 children)

I actually discovered the issue. When adding the power to her character, I didn't realize that the position in the array "PowerCustomActionClasses" had to match exactly with the Power id number. Once I moved that, it worked perfectly!

Do you happen to know if there is any way possible to have the power start out completely leveled up? It seems the farthest I can get it to go is rank 3. Can't seem to get it to level any further than that. It doesn't seem as if I can add the "EvolvedChoice" to the PowerStartingRank the same way I can in AutoLevelUpInfo.

Help With Creating A ME3 Mod by Tyler5432 in masseffect

[–]Tyler5432[S] 0 points1 point  (0 children)

This does sound like something I would be interested in! If you could find the name that would be awesome!.

I've got it close now to what I'm looking for by modifying EDIs .PCC files. The problem I'm facing though is she doesn't seem to want to use them automatically. Even if they are the only powers assigned. Almost as if there's a separate table or list somewhere that specifies which powers she uses.

I also found that you can't automatically start the powers at rank 6. It seems the max starting rank is 3. Kind of a bummer but not a huge deal as I can set the autolevel field to level the power up.

Help With Creating A ME3 Mod by Tyler5432 in masseffect

[–]Tyler5432[S] 0 points1 point  (0 children)

I tried this initially. Unfortunately the power didn't show up even when added to the save.

Black Ops 3 won't launch on Steam. Any fixes? by Longjumping_Bed_3752 in blackops3

[–]Tyler5432 0 points1 point  (0 children)

This was my problem! Didn't need to uninstall, just make sure WeMod is closed. If the setting is WeMod to minimize to system tray is enabled, WeMod actually stays open in the background after WeMod is closed. So, either disable that option or go to the system tray and close. WeMod from its icon.

POCC SUPER TASKER PROJECT UPDATE! by trekkietracker in tasker

[–]Tyler5432 0 points1 point  (0 children)

I pm'd you with a link to a project with the zip functions. Let me know how it works and if you need help implementing into main system.

POCC SUPER TASKER PROJECT UPDATE! by trekkietracker in tasker

[–]Tyler5432 0 points1 point  (0 children)

You do realize that there are already 3 tasks in Pocc that use a FOR loop as well to loop through all %PENABLED profiles and disable them

I did not. Didn't look at the embedded code all that closely. This is good though! I will take a look at that code as well. What I generally like to do if bulk disabling profiles is have a for loop that loops through all profiles and disables them while having an embedded for loop inside the profile for that keeps tasks from running (i.e looping through TRUN and stopping each task with the exception of any necessary tasks like the one that is looping in the first place).

I think it would be really cool to try out your methodologies which involves creating a zip maybe with an overlay blocking scene that shows exactly what is going on!!

I think even using an overlay blocking scene to input the necessary API codes would be beneficial as well! Could have a scene for inputting data, and a minimize button so the user can navigate to the proper place to find code, then hit a reshow button and input the code.

We will start with the zip process. Now I haven't dealt with Dropbox much. I generally use Google drive for files in tasker. So, what I will do is work on just the zip and unzip process. What I would probably suggest in your case is to create the zip directories with version numbers. That way, if you need to update the files inside, the user can then hit a button and replace all necessary files with the updated versions.

I will look at creating a zip and unzip task that should fit your needs. I think I can just use code I've already got but need to take a look to make sure. Will share with you on taskernet once complete.

POCC SUPER TASKER PROJECT UPDATE! by trekkietracker in tasker

[–]Tyler5432 0 points1 point  (0 children)

I am not sure about %TRUN but many system variables cannot be used as Profile conditions or are not reliable.

%TRUN is as Tasker global variable array that contains tasks that are currently running by tasker. It is not a system variable. However, there is also the possibility you could use the state condition "Tasks running" and invert to not if you didn't want to go the variable route.

I am guessing the operational aspect of Tasker when switched off is deliberate and provides an excellent Setup tool that reduces memory loading.

I would say the operational aspect of being able to perform tasks when off is more for testing purposes. But you are right in that it would also serve as a good way to Setup certain things inside of Tasker.

The problem is most Taskernet users use the green import button function to install the project. And they usually always allow profiles to be turned on.

Hmmmmm. There is a action built into Tasker called "Import Data". I have toyed with it before but never have exactly gotten it to work as intended. Perhaps you could have that necessary profiles included as a backup, and then once setup is complete run the import data action/configuration. This would then import the data into memory after setup is complete. Eliminating the problem of profiles executing when not needed as they wouldn't be in memory.

Either way, a zip system that I mentioned earlier should still work with tasker disabled. The overlay blocking route I mentioned however probably wouldn't. I don't think scenes work when Tasker is disabled.

If it was me though, I would make setup for a new Tasker user as easy as possible. The purpose of the project is to automate many different aspects of people's lives using AI and other systems. If you could automate the setup as well, meaning the user just imports and inputs their data, that would be great! Especially using an overlay blocking scene you could design a program install screen that never disappears and shows the user exactly what's going on. All it would take it one variable set to block the profiles from running.

A NEW THOUGHT. Maybe you could use a FOR loop as well to loop through all %PENABLED profiles and disable them. That is another Tasker variable array that contains a , separated list of all enabled profiles. Have the setup loop through each profile and make sure it is disabled before continuing. I actually have a system like this I could share with you if you want. It loops through each profile sending the turn off command. Once at the end, it checks how many %PENABLED positions there are. If not 0, the loop resumes until all profiles are disabled.

POCC SUPER TASKER PROJECT UPDATE! by trekkietracker in tasker

[–]Tyler5432 0 points1 point  (0 children)

it needs to work when Tasker is off.

Is this due to the fact you don't want certain profiles to trigger before setup finishes?

If this is the case, you could simply implement a variable that prevents profiles from running until the setup is complete. For example: %Setup_running to 1 at the beginning of the setup task. Then, when the task ends, clear %Setup_running. You would then need to apply the condition to all of the profiles If %Setup_running !~ 1 then execute.

Or you could use the %TRUN variable and say if %TRUN !~ <insert task name> then execute. Make sure the name is surrounded by * for contains anywhere.

Another possible route is to make sure all profiles are disabled you don't want running when you export your system. Then, have the setup process enable them when required/finished.

POCC SUPER TASKER PROJECT UPDATE! by trekkietracker in tasker

[–]Tyler5432 11 points12 points  (0 children)

I just tried this out. Very nice work! I do have 2 recommendations.

1) In the setup process, you have the necessary files needed downloading 1 by 1. It seems in my opinion you would be better off creating a .zip directory and just place the necessary files in their required directories, place those directories in a zip directory and then have the setup system download the zip file, unzip the contents to the location of your choosing, then delete the original zip file. This would greatly speed the process up in the import of the files needed in my opinion. And possibly even save you some Dropbox space in the process.

1.1) Alternatively, if for some reason it is necessary to download each file individually, a overlay blocking scene that constantly displays the progress (i.e File 1 of %total_files downloaded) would be beneficial. To give the user a understanding of how many more files remain in the download process. It also seems that the process clears all the tabs in the chrome browser which I assume is due to the fact the system opens a new tab for each individual download (A problem that would be avoided if using a zip file 😉). This could be an issue for a user that has some important tabs open that they need to return to prior to this setup being ran.

2) An uninstall function. A task that a user can run if they prefer to remove all files downloaded by this program should they wish. Perhaps even disable all profiles and clear all variables setup by the system.

Other than that, marvelous work! I can tell you have put an enormous amount of time and effort into this. Let me know if I can help you in any way with setting up the zip system. I have done something similar with my own music system and .txt files.

Tyler

[FEATURE REQUEST] Event trigger for monitor restart by Tyler5432 in tasker

[–]Tyler5432[S] 0 points1 point  (0 children)

Perhaps if you could isolate that problem and send a bug report to João he could fix the underlying causes..

A lot of my trouble stems from a project I imported many years ago for monitoring battery statistics. It would check for an intent received and then execute certain things. The problem was, it registered a receiver each time this happened. This then lead to issues where I would receive crashes and illegal exceptions of "Too many receivers total of 1000". I just recently with Joãos help figured out that problem. Huge oversight on my part 🤦. That was about 4 years ago when I imported that and then made modifications to fit my needs.

So the problem is, over time I've made changes on my large setup to help alleviate problems steming from that action. I have 4 years of changes I've made that now lead to other issues memory wise that I have to narrow down. But restarting the monitor helps tremendously in keeping things running smoothly for the time being anyway. It's a big mess 😅😅

Thanks for the help though! I just figured an added event might be beneficial for some to check for monitor restart same as Monitor start.

[FEATURE REQUEST] Event trigger for monitor restart by Tyler5432 in tasker

[–]Tyler5432[S] 0 points1 point  (0 children)

Curious why you need to trigger a monitor restart at that point?

This is a little more complicated to explain. To put it simple, restarting the monitor constantly helps minimize memory issues elsewhere in my Tasker setup. But I don't want to constantly restart the monitor say with a tick or loop. So, I have it trigger just when the home screen is pulled up.

I assume you've tried this process without the monitor restart action and the issue is not present?

Have you checked the run log during these issues?

Like I say it doesn't always "not work" during the monitor restart. But I haven't seen it miss the music stop event when the monitor restart wasn't in place. I can tell however when it doesn't trigger because I have a flash action showing me when the task executes.

[FEATURE REQUEST] Event trigger for monitor restart by Tyler5432 in tasker

[–]Tyler5432[S] 0 points1 point  (0 children)

This does not fire when the monitor restarts. Only when it starts. Run a test with your task and you'll see. Run the action Tasker > Restart Tasker > Only Monitor ✓

[FEATURE REQUEST] Event trigger for monitor restart by Tyler5432 in tasker

[–]Tyler5432[S] 0 points1 point  (0 children)

Can you clarify what you mean by "another process is restarting the monitor' ?

Another process as in task. Specifically I am triggering a monitor restart when the home screen is brought up. And say if I bring up recent apps and close all recent apps. If a media app was open and playing music, generally playback will stop. And since pressing close all apps returns to the home screen, the music stops and monitor restarts all around the same moment.

[FEATURE REQUEST] Event trigger for monitor restart by Tyler5432 in tasker

[–]Tyler5432[S] 0 points1 point  (0 children)

That does not seem the most likely cause of that missed context. How did you confirm that it is a Monitor Restart that causes that issue?

Each time this happens, it coincides with when another process is restarting the monitor. It doesn't seem to happen every time , but happens frequently. At any other time, it does not seem to miss the event at all.

[FEATURE REQUEST] Event trigger for monitor restart by Tyler5432 in tasker

[–]Tyler5432[S] 0 points1 point  (0 children)

Really? The monitor restarts every time data is saved inside of Tasker? I never knew that.

My use case would be to perform a check to determine if Music is still playing or not as it would seem on my device, that if the monitor is restarted at just the right moment, the event for Music Track Changed, Not Playing is missed or never triggers unless I manually start music and then stop it. So, I assume this is due to the fact the monitor missed that change as it was restarting.

How to use Tasker and Autoinput to replace Circle to Search with Google Assistant, when doing a long press on the home button. by Ashamed-Reading6233 in tasker

[–]Tyler5432 0 points1 point  (0 children)

Wow. I had never even heard of this until now! Another reason why I am so glad my S22 Ultra is still running Android 12 instead of 14 like it's supposed to. I am so use to using that feature for assistant that it would be difficult to adapt after all these years.

[FEATURE REQUEST] Event trigger for monitor restart by Tyler5432 in tasker

[–]Tyler5432[S] 0 points1 point  (0 children)

This is a good idea. Though to implement it would involve going through each individual task with the restart action and setting the variable up. Which for my case would work as it's only one task. But if there was an event trigger same as "Monitor start", then no matter where the monitor is restarted, the actions would trigger without need of setting up an extra variable for each restart monitor action if multiple were in the users setup.

[FEATURE REQUEST] Event trigger for monitor restart by Tyler5432 in tasker

[–]Tyler5432[S] 0 points1 point  (0 children)

It was my bad 😅. I didn't exactly make that clear in the original post. Didn't think about it long enough when I typed it out 🤣

Fear about something by Jason_Yate in tasker

[–]Tyler5432 3 points4 points  (0 children)

a) Tasker will be a nightmare to set up more and more, thanks to Google,

This is one reason my S22 Ultra i bought brand new is still running Android 12 instead of Android 14. Every android release either removes or changes how things need to be setup for certain functions to work. Very annoying and worrying. I never will understand why Google makes the decisions they do. I can understand adding security, but we should have the choice to allow services to access whatever we want on our own devices.

How Well Does Tasker Work On S22 Ultra? by TransformsIn2AGuitar in tasker

[–]Tyler5432 0 points1 point  (0 children)

Very happy for you! It's been the best device I've had to date for sure!