All,
I created a Smartthings API library for use with Arduino IDE to programming various microcontrollers that will interact with the Smartthings platform
The ST_API library provides the following functionality:
- Execute a Rule
- Execute a Scene
- Get device online state
- Get device status
- Send commands to a device:
- Turn on or off
- Set dim level
- Turn on & set dim level
- Set color temperature
- Set hue and saturation
- Refresh (for supported devices)
- Send arbitrary json command
The library should work with any microcontroller that supports SSL clients and has sufficient memory. There are several example sketches and all have been successfully used with the ESP32 and MKR WiFi 1010 and have complied with several other Arduino microcontrollers.
See the repository read me for additional information about the library and how to use the examples
Check out the library at: GitHub - rambo350z/ST_API: Arduino Library for interacting with SmartThings API