Since (a) KM can be accessed by a URL trigger, and since (b) macOS Shortcuts allows me to invoke KM macros with URL triggers, and since (c) Siri allows me to trigger macOS Shortcuts by speaking its name, I thought I would try to use Siri to trigger a KM macro. I've been working on it for hours, but I'm not sure if I'm close or not.
Sidenote #1: Siri lets you trigger Shortcuts by name, but you have to be careful not to use a Shortcut name that sounds like a standard Siri inquiry, because those (sadly) seem to take priority. So for now I'm using obscure English words for my shortcut names, as you will see.
Sidenote #2: From what I can tell, when you use Siri from a device like a HomePod, the HomePod communicates with your iPhone, not your Mac, so it seems that any IP address that you specify has to be usable from your iPhone, which (sadly) probably means you have to have a public IP address for your Mac. (Which is solvable.)
So here's a sample Shortcut that I have (called "Discombobulate") with a single Shortcut action which is attempting to run a KM macro called "Discombobulate" (which plays a Beep on my Mac.)
I set up a forwarding rule on my router to pass my router's public facing IP to my Mac's private IP.
This Shortcut works when I run it from my Mac using my Mac's private IP, (it triggers my Macro correctly) but it gives me a (10 second) timeout when I use my router's public IP. And when I tell Siri to run my Shortcut, it does run, but it always says "Run script over SSH could not connect to the SSH server" regardless of which IP address I use.
So my question, succinctly, is this: Can anyone get Siri to run a macOS Shortcut by name which triggers a KM macro?
Endnote #1: I also tried the Get Contents of URL action in Shortcuts but it doesn't seem to like the "kmtrigger:" prefix in the URL field. (It says "Unsupported URL")
Endnote #2: Yes I am aware of the following link, but it didn't help: