Open ndbroadbent opened 1 year ago
TIL that there's a shortcuts CLI tool on Mac, and you can use this to run any shortcut in the Shortcuts app. This opens up a ton of possibilities!
shortcuts
For example, I added a "Turn on Do Not Disturb" shortcut:
Now I can trigger it by publishing "Turn on Do Not Disturb" to a MQTT topic: mac2mqtt/My-MacBook-Pro/command/runshortcut.
mac2mqtt/My-MacBook-Pro/command/runshortcut
TIL that there's a
shortcuts
CLI tool on Mac, and you can use this to run any shortcut in the Shortcuts app. This opens up a ton of possibilities!For example, I added a "Turn on Do Not Disturb" shortcut:
Now I can trigger it by publishing "Turn on Do Not Disturb" to a MQTT topic:
mac2mqtt/My-MacBook-Pro/command/runshortcut
.