🎧 K2 AirPod Pro Preset

Try this:

That works, but I don't find those lines in K2 scripts

Wait I might not getting it. Where do you want to change this in the Script? I don't even see anything language dependent as he basis his connection trigger on the BTT module.
With my post above this should work. You still get a haptic feedback at the end of a long press?

ok, as I said I am new to this :slight_smile:

Problem is your change did not fix it, no feedback from the touchbar although it shows the stats and all, but no connecting. So far only your catalina.json is working

Don't worry we all have been there :wink:
Where did you get this Catalina.json from?

after adding your airpodPro direccion all was fine

I have tried again to set it up, I do get the stats, battery and all, but I don't get the connect/disconnect, I press long, color changes but no action

Ok, so I had a closer look.

The problem in the K2 Preset is the following:
There is a conditional activation group which also defines the AirPodConnect named trigger. This group is usually active because the conditions are specific to Touch Bar groups, which probably only @K2DesignLab has on his system. Therefore it overrides the named trigger in the All Apps group. The trigger in the CAG is still set to K2 Airpod - the system tries to find that, this causes a temporary beachball because the system can not find a bluetooth device with that name.

If you delete this, it should work fine without any language changes:

nope :-(((

It sees my pods, shows they are connected, but want do any action

Edited
Used the standard, not the change version Caliguvara gave me, deleted that line you mentioned and it works :-))

Weird definitely works here after deleting that CAG and setting my airpods in the All Apps section. (Also on German system). Maybe go tho Help => Export Diagnostic Debug Information and send the result to andreas@folivora.ai, then I can have a look.

Or maybe just try to delete the preset and reimport, maybe some previous experimenting has broken some other part of the config?

yep, It did - works perfect now

1 Like

Sorry I've been MIA... Busy week for me.

Im not sure how you see that conditional group. Should look like this... The preset is copy/paste to new preset without those groups for distribution.

I do notice the Bluetooth toggle is very buggy in the last few updates. Connects and drops, and connects again. The connect on long press is not the main feature of the preset, but its nicer then using bluetooth menu.

I think the bluetooth action itself is quite stable (it's just a few lines of code that call the system functions), however 10.15.4 has been a bit buggy with bluetooth.

This it how it looks here:

Is this CAG not showing for you?

Nope, that CAG is not showing as I posted above. very strange...

Weird not sure what could cause it to not show.
Well I'm attaching a version of the preset without the CAG!

K2 AirPod Pro_without_cag.bttpreset (418.2 KB)

he is talking about another page - touchbar not trigger

No, image was of trigger...

yep, but look at his picture - that insert was on the main page, right below all - control stripe - showed here too. Killing it did fix all

Awesome job by the way

Very strange... I was unable to reproduce that. Replaced the OP download file.

Glad its working for you. I may change from a long press action to a POPUP dialog box asking if you want to connect/disconnect.

maybe ist cause you are using you preset :))

There's a problem. Long Press Button can Connect / Disconnect. but can't show battery status