The video above probably has the right info but just to be safe I’ll list out the instructions as best I can below.
Thinking if I have time later tonight I’ll collect some screenshots and post a more detailed walk-thru in a new thread.
Anyway, let me know if this works for you:
- Open Apple Home App
- Click the “Automation” tab in the bottom nav.
- Hit the “+” icon in the top right of the Automations screen
- Setup the trigger event settings
- After, when it asks to select a scene or accessory to automate, you’ll want to scroll all the way to the very bottom of the list and you should see a section called “Advanced” with a link for “Convert to Shortcut”
- Once you’re in the shortcut flow you can delete the empty accessory placeholder sitting at the top by pressing the “x” icon in the top right of that module. (Unless you want to ALSO control an accessory in this flow, then you can keep it).
- Hit the “+” icon and search for “url”
- The first result in the list will literally be called “url”
- Paste the local (or cloud) endpoint here.
- Click the “icon” and search for “url” again. This time you are looking for a green icon with a white arrow named “Get contents of URL”
- Change the field “Method” from the default value of “Get” to “Post”
- Hit the drop down for “Headers” and “add a new header”
- In the “Key” field type”Content-Type”
- In the “Text” field type “application-json”
- You can leave the “Request Body” section empty for now, just hit “Next” on the top right to advance.
- You should see a summary of your automation. The trigger will populate but the shortcut might look empty. That’s ok.
- Hit done in the top right corner and that’s it.
Or try the “Test this automation” link at the bottom to validate if it’s working.
When I initially created my local endpoint trigger in Hubitat’s Rule Machine I set the action to just turn on my office lamp as a test then swapped it out after with other things once I made sure it was working.