HTTP Get/Request From New Device Type


(Haissam Mayasi) #1

I am creating a new device type (switch capability). When turned on/off all it does is send an http request. I need some sample code to do that. I am not sure how to invoke an http request when on/off command is executed. Any help would be greatly appreciated.

Thanks.


(Andrew Urman) #2

@hmayasi have you seen docs.smartthings.com ?

The best example would be the WeMo Service Manager and child devices.