Thanks you, I was looking for REST API for smartthings. I Run a Node-RED Instance to perform all my automation. My Smartthings hub was not connected. With your explanation, I was able to perform list and status. When it comes to executing commands, i left with no clue. for any sensible combination of values returned by the other calls didn't work (return 422). Any clue, how to trigger a switch? I appreciate your help. Thanks again.
Thank you. Helped a lot. But it stops for me to understand how to POST a "on" command to a switch..... I tried a bit, to me it looks like I should put the commands in body, so I filled in: key:value: component:main, capability:switch,command:on also tried with "" anyone who understand what I`m doing wrong?
I was wondering if you knew a restful command for getting the history of actions done by a device of mine
Thanks you, I was looking for REST API for smartthings. I Run a Node-RED Instance to perform all my automation. My Smartthings hub was not connected. With your explanation, I was able to perform list and status. When it comes to executing commands, i left with no clue. for any sensible combination of values returned by the other calls didn't work (return 422). Any clue, how to trigger a switch? I appreciate your help. Thanks again.
spending little more time, [{"component":"main","capability":"switch","command":"on"}] worked.
Thank you. Helped a lot. But it stops for me to understand how to POST a "on" command to a switch.....
I tried a bit, to me it looks like I should put the commands in body, so I filled in: key:value:
component:main, capability:switch,command:on
also tried with ""
anyone who understand what I`m doing wrong?
Luckily I found a forum post that used webcore with an URL instead of API, pretty easy.
@@ryvaenge Can you please share? I am in the same boat you are.
@@bobnothing4921 have you installed webcore on your smartthings?
@@ryvaenge I have, use webcore all the time. I found out how to trigger a piston via http call, so thanks!
It is still working