Run Shortcuts on macOS from HomeKit.
Install homebridge
Use the config-ui editor to search for homebridge-shortcuts
Follow the setup instructions in the ConfigUI
The name for the switch as it appears in HomeKit
Check if you would like the switch to stay on and off. By default, it automatically turns off after the delay when the shortcut is done running.
The amount of time (in milliseconds) until the switch shuts off (not applicable to stateful).
The shortcut to run when the switch is turned on. Write this exactly how it appears in the Shortcuts app.
The shortcut to run when the switch is turned on. Write this exactly how it appears in the Shortcuts app. Leave blank to not run a shortcut.