Cool - great - pretty much there now!
26k lines?! ... how many objects /modules do you have in your setup!?! ... Do you live in a 42 Bedroom mansion?
In iOS Shortcuts:
* Select "+" to create a new shortcut
* Click "+ Add Action"
* Using the search option, search for "GET" and select the "Get Contents of URL" option
* Click the elipsis (...) to rename it to something you want - bear in mind this will be the thing you speak to Siri if you want to use Siri to do this ... ie if you name it "Toggle Garage Door", it'll work with the action "Hey Siri, Toggle Garage Door" .. so name it something you don't mind saying out loud if you intend to use Siri :-D
* Click on the "URL" part to replace this with your Cortex IP / Objects URL
* Select "Show more"
* Make sure the method is set to POST
* Expand the "Headers" option by selecting the right Chevron >
* Click "+ Add new header"
* Enter the key value as "Authorization" and Text value as "Basic <your Base64 encoded Authentication value you've grabbed from Postman>"
* Make sure you've got the request body set to JSON
* Hit "Done" if you completed the 2nd step above or "Next" if you didn't, and give it a name.
It should look like this if you've followed the above
iOSShortcut.jpg
Hopefully this get you up and running - shout if you need anything else
Clearly you can include any Cortex action like this ... so there's tonnes of scope
26k lines?! ... how many objects /modules do you have in your setup!?! ... Do you live in a 42 Bedroom mansion?
In iOS Shortcuts:
* Select "+" to create a new shortcut
* Click "+ Add Action"
* Using the search option, search for "GET" and select the "Get Contents of URL" option
* Click the elipsis (...) to rename it to something you want - bear in mind this will be the thing you speak to Siri if you want to use Siri to do this ... ie if you name it "Toggle Garage Door", it'll work with the action "Hey Siri, Toggle Garage Door" .. so name it something you don't mind saying out loud if you intend to use Siri :-D
* Click on the "URL" part to replace this with your Cortex IP / Objects URL
* Select "Show more"
* Make sure the method is set to POST
* Expand the "Headers" option by selecting the right Chevron >
* Click "+ Add new header"
* Enter the key value as "Authorization" and Text value as "Basic <your Base64 encoded Authentication value you've grabbed from Postman>"
* Make sure you've got the request body set to JSON
* Hit "Done" if you completed the 2nd step above or "Next" if you didn't, and give it a name.
It should look like this if you've followed the above
iOSShortcut.jpg
Hopefully this get you up and running - shout if you need anything else
Clearly you can include any Cortex action like this ... so there's tonnes of scope
Comment