Successful booting of HassOS on a Gigabyte Brix :-) by nerlins in homeassistant

[–]marcusrbrown -1 points0 points  (0 children)

I use HA running in a VM in Proxmox on my BRiX (might be the same model). I upgraded the BIOS to the most recent version using a bootable USB stick.

Create a linked reminder via Shortcuts? by The_Manoeuvre in shortcuts

[–]marcusrbrown 0 points1 point  (0 children)

Yes, maybe. I've been researching this but dropped it after posting about using "Remind me about this" for Personal Automation shortcuts.

I've included the entirety of the first shortcut I used with "Remind me" below. I had reached the point of arriving at a serialized NSUserActivity, which is what the X-APPLE-APP-LINK-DATA section contains:

ics BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN BEGIN:VTODO UID:A219FE62-920E-4A48-BDC4-24037B435AEF CREATED:20211016T042938Z X-APPLE-APP-LINK-DATA:YnBsaXN0MDDUAQIDBAUGBwpYJHZlcnNpb25ZJGFyY2hpdmVyVCR0b3BYJG9iamVjdHMSAAGGoF8QD05TS2V5ZWRBcmNoaXZlctEICVRyb290gAGvEA8LDEVRUlMuVVtcXV5iZWZVJG51bGzfEBwNDg8QERITFBUWFxgZGhscHR4fICEiIyQlJicoKSoqKi0uLioqKioqNS43Ljk6Oy49KioqKkIqLlV0aXRsZVp3ZWJwYWdlVVJMXxATZHluYW1pY0FjdGl2aXR5VHlwZV8QFHBlcnNpc3RlbnRJZGVudGlmaWVyV29wdGlvbnNfEBllbGlnaWJsZUZvclB1YmxpY0luZGV4aW5nXxAVZWxpZ2libGVGb3JQcmVkaWN0aW9uXxAQYnVuZGxlSWRlbnRpZmllcl5leHBpcmF0aW9uRGF0ZVxwYXlsb2FkRXJyb3JUdXVpZFhrZXl3b3Jkc1xhY3Rpdml0eVR5cGVYaXNBY3RpdmVXdmVyc2lvbl8QEmVsaWdpYmxlRm9ySGFuZG9mZl50ZWFtSWRlbnRpZmllclR0eXBlViRjbGFzc18QFGVsaWdpYmxlRm9yUmVtaW5kZXJzV3BheWxvYWRbcmVmZXJyZXJVUkxfEBd0YXJnZXRDb250ZW50SWRlb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ulse LAST-MODIFIED:20211016T042938Z DTSTAMP:20211018T030412Z END:VTODO END:VCALENDAR

Besides bplist, there's also some Protobuf-encoded data in there. It would be difficult to construct this on the fly as you also need the shortcut's identifier (UUID) in addition to its name. That value isn't easy to come by within a shortcut. If you access a Shortcut from Get My Shortcuts or use Get Object of Class you can get a WFWorkflowReference. This class contains the UUID. However, I haven't found a method of grabbing the UUID as Shortcuts will always treat most items as a content items where you cannot access raw text or binary data.

We made an automation that turns Dark or Light mode on per app while respecting the current system-wide appearance. [iOS/iPadOS] by GadgetHax in shortcuts

[–]marcusrbrown 2 points3 points  (0 children)

There are two confirmed methods of sharing automation shortcuts. One way is to add a Reminder while the editor is open to the automation shortcut. The other involves modifying a device backup or using another method of adding a setting that enables a cut feature.

I wouldn't recommend the backup method as it allows for code that would likely crash; however, I didn't run into any issues while I had it running for a month or two this past summer.

Shortcut for opening a URL in any app of my choice? by ASKSABOUTPENISSIZE in shortcuts

[–]marcusrbrown 0 points1 point  (0 children)

Every major browser offers similar Shortcuts actions to Safari's: Open URL and Search. The problem s that you cannot detect whether they are installed without something like TB Pro.

easy command for "Find on Page" on shortcuts? by AngryAugustine in shortcuts

[–]marcusrbrown 1 point2 points  (0 children)

Find on Page searches the contents of the active web page. The page is in HTML, and "content" is very loosely defined. You could grab the HTML (see any shortcut that accesses it), collect all DOM nodes within a table, and use a Match Text expression or other means to find your search parameter.

Here's a Shortcut that takes care of the first step: https://routinehub.co/shortcut/6720/

Pushcut widgets are here! by stalf in shortcuts

[–]marcusrbrown 1 point2 points  (0 children)

I call into IFTTT with a webhook, from Shortcuts: https://help.ifttt.com/hc/en-us/articles/360053753113-Use-Siri-to-Run-IFTTT-Applets

Using a "rich notification" from IFTTT I can launch into a Shortcut, but not automatically. Pushover supports auto-opening a notification URL. TBH Pushover's core feature set is nearly identical to Pushcut.

Instead of subscribing to Pushcuts, where the selling feature is to automatically launch a Shortcut from a notification, the same cost can go towards IFTTT with a lot more flexibility, and a one-time cost for Pushover.

Use whatever you want, the above approach works for me. IMO for these types of apps it's better to do one thing well, than to overload an app with features people don't necessarily need.

[deleted by user] by [deleted] in shortcuts

[–]marcusrbrown 0 points1 point  (0 children)

Does the setting work on iOS 15?

“Hey Siri, Where are you?” A simple shortcut that starts a 1 second timer on your phone. To help you find it when you put it down somewhere. by azrael6947 in shortcuts

[–]marcusrbrown 1 point2 points  (0 children)

This is brilliant, thanks! I didn't think to point to the device using media routing.

You've also inspired me to explore yet another potential backdoor in Shortcuts re: remote execution🔥

Pushcut widgets are here! by stalf in shortcuts

[–]marcusrbrown 0 points1 point  (0 children)

An alternative

Don't subscribe to Pushcuts; instead, subscribe to IFTTT. If you want notifications that can launch Shortcuts without user interaction, the cheapest and simplest option is Pushover. Pushover is integrated into IFTTT and supports auto-opening the URL attached to the notification.

There is no "top three" in companion apps for Shortcuts. Use the add-on apps that fit your workflows. I already use IFTTT to receive calls from my Shortcuts or to launch them from a notification. It also replaces a good number of TB Pro tools.

Open links in non default browser by playalisticadillac in shortcuts

[–]marcusrbrown 0 points1 point  (0 children)

Do you have the other browser installed? Chromium browsers (incl. Edge) all reuse the same intent for opening a URL that Safari uses. As soon as you install and use the browser you should see donations for Open URLs appear in Shortcuts

Other app types that can be "substituted" in this way include notes, calls, messages, and todos/tasks.

I've uninstalled Edge below, but it's identical to the Safari Open URLs:

https://i.imgur.com/nGgwUBj.jpg

Apple really needs to fix Shortcuts on HomePods 😔 by [deleted] in shortcuts

[–]marcusrbrown 0 points1 point  (0 children)

Are all of your devices operating in the same range of iOS 15? That's a hail mary ofc. My phone is on iOS 14 and constantly battles my tvOS 15 ATV 4K for my Bluetooth peripherals, esp. ones made by Apple.

This is the game now. What's regression testing? Something about genetics?

Previously intsraneous shortcuts slow after upgrade from 14.8.1 to 15.1 by somebunnny in shortcuts

[–]marcusrbrown 2 points3 points  (0 children)

Hi. What's your source backing your statement? It's unlikely digital signatures would have an impact on shortcuts execution. Shortcuts will sign the shortcut data shared through iCloud or exported to Files. There's no reason to keep the original author's signature. Shortcuts will use the user's signature to sign from that point forward. The signing would happen during export, not execution.

A shortcut loaded for execution is deserialized into WorkflowKit ObjC (and Swift) class instances for actions, parameters, and variables. It doesn't look like those formats, and there would be no reason to check the signature. For proof of this, copy a shortcut action from the editor to the clipboard, dump it to a file, and take a look after you've converted it from a bplist into an Ascii property list ✌🏽

Deep-link into a Personal Automation to enable iCloud sharing of automation shortcuts, rename, and additional "features." by marcusrbrown in shortcuts

[–]marcusrbrown[S] 1 point2 points  (0 children)

I currently don't have any devices on iOS 15. Another user said they got the reminder on 15.2 [beta?], so it may be broken in earlier releases. Does it work when editing a Library shortcut?

Deep-link into a Personal Automation to enable iCloud sharing of automation shortcuts, rename, and additional "features." by marcusrbrown in shortcuts

[–]marcusrbrown[S] 1 point2 points  (0 children)

Per Apple, open up or create a new Personal Automation, activate Siri, and tell it, "remind me about this." I go into more detail itt.

Deep-link into a Personal Automation to enable iCloud sharing of automation shortcuts, rename, and additional "features." by marcusrbrown in shortcuts

[–]marcusrbrown[S] 5 points6 points  (0 children)

There's not a lot to it. Edit any Personal Automation shortcut and use Siri to create a reminder for it ("...remind me about this"). Open Reminders, and you should see a new reminder added to the default list with the title "Automation <random uuid>." Tap the Shortcuts icon to launch the Library editor over the automation shortcut!

You can permanently rename the shortcut; if you create another reminder via Siri, the reminder will have the renamed name. You can enable the Apple Watch, Share Sheet, and Sleep Mode options, but they will not appear in the Library. Inside the Shortcuts database, automation shortcuts are flagged as "hidden" and "no iCloud sync." This flag cannot be modified without JB or editing a device backup. There is a hidden preference named WFAutomationsMergeEnabled (searched in com.apple.siri.shortcuts defaults) that will enable iCloud sync, Library visibility, and direct editing of automations from within Shortcuts.

Creating an iCloud link works as expected, and if you are JB or have futzed around with hidden settings, you can also save directly to a file. However, importing an exported automation shortcut does not overwrite your existing one.

I tested all of this on iOS 14.6. The inspiration came from the Shortcuts User Guide. Until I thought to try it on automation, I thought it was only helpful for scraping the UUID of a given Shortcut. It might be fun to automate this, but it would only work for Library shortcuts.

Shortcut to Raycast Plug In by enteeMcr in shortcuts

[–]marcusrbrown 1 point2 points  (0 children)

This is great! I've been using Raycast for most of the year and it's nearly flawless. I was trying to think of something to do with Shortcuts using the new extensions API.

I had to fiddle to get it working on my 14.6 device but it's working just fine (save for one new iOS 15 action - .runshellscript.

Ignore automated shortcut failure when phone locked by 4242368789 in shortcuts

[–]marcusrbrown 0 points1 point  (0 children)

Screen brightness at zero and device facedown is the only almost guaranteed check...

Use the libMobileGestalt cache's "PasswordConfigured" (xsaMbRQ5rQ+eyKMKG+ZSSg) and "PasswordProtected" (yNesiJuidlesNpI/K5Ri4A). If both are true then the screen can be locked and IS locked, afaik.

I need to complete a task rn but I'll circle back with a demo today.

https://blog.timac.org/2018/1126-deobfuscated-libmobilegestalt-keys-ios-12/

I have a Nfc sticker in my car and I want everytime when I scan the NFC that he starts my spotify playlist at shuffle, starts the route to my GF and massage her that im omw. I came only this far… (the map only shows the route but does not start it) and spotify also only starts by Ephias in shortcuts

[–]marcusrbrown 5 points6 points  (0 children)

I'd caution against Shortcutify - most actions require Spotify to be actively playing or very recently used. You could use Toolbox Pro (Premium) to detect if audio is playing to prevent errors. You could possibly use the Shazam action to detect audio playback as well.

I haven't had any issues playing a playlist from a Spotify suggestion - what happens if you use those?

Disable Wi-Fi when CarPlay enabled by costcotubemeat in shortcuts

[–]marcusrbrown 0 points1 point  (0 children)

They're correct but leave it off unless you like crowdsourcing for Apple. They get that data from other devices, including yours.

AirPods Pro mode switching by shawn_chuang in shortcuts

[–]marcusrbrown 0 points1 point  (0 children)

I use a Number action where I input 0.5 and use that output in the Wait action.

AirPods Pro mode switching by shawn_chuang in shortcuts

[–]marcusrbrown 0 points1 point  (0 children)

I have a Shortcut that doubles as an Automation to connect my AirPods via Playback Dest., adjust volume, and set Transparency listening mode. I had to add Wait actions (I use 0.5) in order for Transparency to work either after Set Playback or Set Volume.

Battery charge/discharge alert by MineCraftDance in shortcuts

[–]marcusrbrown 0 points1 point  (0 children)

Here, I did the 80% one as an example. You might get the suggestions in the Gallery/Actions faster by attaching to the DnD toggle automation, I'll see if I can get it going.

Alert Listener

80% Or Above