I have a piston that turns off a plug. What I’d like to do is have a script on my 3D printer that makes a curl request to WebCore and triggers the piston
I’m making a POST request to https://graph-eu01-euwest1.api.smartthings.com/api/token/<<token>>/smartapps/installations/<<install>>/execute/<<piston>>
however its throwing
{
"result": "ERROR",
"timestamp": 1578413375299
}
I’ve tried putting the colons in the Piston ID too and that throws
{
"error": true,
"type": "SmartAppException",
"message": "Not Found"
}