![]() ![]() If you want a more fluid speech API, you may need to duplicate a shortcut a few times and give it varying names. ![]() I don't use voice commands at all in my setup but I did test it and it seemed to work. I'm not sure if it can be overwritten in iOS 13. You can then wire up Siri to trigger those commands Correction: it appears that with iOS 13, Siri is automatically wired up to trigger shortcuts when you say the name of the shortcut. Simple duplicate the Shortcut as many times as you want and change the URL to any valid command within the Maker API for any valid devices. There are similar extensions available for all major browsers. You can view the devices capabilities by examining the JSON returned by the Maker API at Download a browser extension on your desktop computer like JSON View for Chrome to see the output formatted so you can read it more easily. If I want to trigger the double tap action, I can change push to doubleTap or any of the other commands supported by the device. If I want to push button 2 of my virtual button, I can change the 1 at then end to a 2. The URL we are retrieving is the Make API URL to trigger our button press.Īn example URL from a virtual button in my setup would be This is accessing the Maker API (app 229 in my setup) and then pushing button #1 in my virtual button device (device #386). ![]() Step 3: Create a new shortcut on in the iOS appįor those of you who are more tech literate, this is the gist of it.įirst we add a URL component to Shortcuts, and then we add a Network component and tell it to get the contents of the URL. Step 2: Make your button available to the Maker API. Just make sure when you click the button, something happens. This can be a virtual button or a real button. Basically, get things working to where if you press the button, your automation runs. This isn't necessary if your "button" is a simple light you would like to turn on or off (not both, just one or the other). Step 1: Wire your button to an automation. If you setup your own automation to "Wash the dog and turn on the TV to cartoon network" when you press a button, this workflow will work for you. This button push example can be extrapolated to a bazillion other actions in Hubitat basically anything that is fire and forget. The Maker API makes that pretty simple, especially when you factor in Rule Machine or other automation triggering apps.įor my simple example, I'll be showing how to push a button. One of the most popular things you could do with the Shortcuts app is to trigger some sort of automation within Hubitat. It's not the most comprehensive, but hopefully it's enough to get your feet wet and show you there isn't anything to worry about!Īdmittedly, I got something rudimentary setup fairly quickly so I'll show that method first, and then I'll show a slightly more complicated example. I've seen a few people ask about it, but I haven't really seen a tutorial yet so this is an attempt to bridge that gap. With the release of the Maker API and the introduction of the Shortcuts app on iOS, I've been itching to get something setup to make them interface. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |