I have a bunch of SmartThings (a couple hubs, Arduino shields, various SmartThings sensors/devices) that I’m trying to work with. It’s been a bit frustrating thus far, and I have quite a few questions that might be simply a matter of finding the right documentation/references. Thanks in advance for help/guidance!
-
In the SMART language, there is a log.debug function. it isn’t clear to me where that output goes or how to view it. I tried the “Logs” view at https://graph.api.smartthings.com/ide/logs but there’s nothing showing up in there
-
Is there a comprehensive summary of the SMART language and syntax? I must admit that it has been a VERY painful process to try to get stuff working - a lot of trial and error, mostly error. Even with the demo apps, it isn’t intuitive how or why they are structured the way they are (particularly event handling)
-
Is there a document/reference that describes the difference between a “device type handler” (and associated code) and a smart app? Are there differences in the language or supported functions?
-
I know it has been mentioned in other forum posts, but I wanted to add my support to requests for ignoring SSL certificate chains (specifically for self-signed certs) and also for supporting custom HTTP headers in the various HTTP methods (note that this is very different than the HTTP “HEAD” method)
-
Are there any examples of a custom device (custom attributes, commands, etc.)? We have a couple of the Arduino shields and would like to model some devices, but the documentation is a bit light on how to do so and how to actually implement those custom attributes and associate them with sensors/actuators/data
-
How does one characterize attributes that are read only vs read/write?
-
Can commands return data?
-
There doesn’t seem to be any type of “guaranteed delivery” or error callback to know if a command was successfully received/processed by the device. Is there such a capability or plans to provide it?
-
I’ve (somewhat) figured out the REST API, but mostly just to access metadata and entity definitions (hubs, devices, location etc.) and not how to interact with them (read the latest attribute data, send commands). Can’t find any docs other than some passing mentions in a couple forum posts, none of which seem to really explain how to make it work
-
When a device has its device type changed or device handler updated, it doesn’t appear that the SmartThings mobile app (iOS) recognizes it unless you kill the app and restart it. Is that the expected behavior?
Thanks!
Rick