1) Give a description of the problem
I am using Siri Shortcuts to send a GET request to webcore in order to trigger a piston to run. However I’d like to be able to query webcore for some information about a smart device such as the current SHM (smart home monitor) status like disarmed, armed, etc. then have Siri tell me the answer.
2) What is the expected behaviour?
When Siri does the GET request to webcore, it will receive a JSON with information. Then based on what it got it will read a different answer
3) What is happening/not happening?
When i make my GET request I get a json with two answers. Followed by a Notification with its security state.
{“result”:“OK”,“timestamp”:1577040894610}
However I’d like skip the notification and instead let webcore deliver the info as part of the GET request like this:
{“result”:“OK”,“timestamp”:1577040894610, “SHM status”: “disarmed”}
But I’m open to other ways to getting info out of webcore
**4) Post a Green Snapshot of the piston