# Connection with Arduino shield

**URL:** <https://community.smartthings.com/t/connection-with-arduino-shield/209760>\
**Category:** Devices & Integrations\
**Created:** [October 27, 2020, 4:16pm UTC](https://community.smartthings.com/t/connection-with-arduino-shield/209760 "2020-10-27T16:16:18Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![ogiewon](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/ogiewon/32/13743_2.png) [@ogiewon](https://community.smartthings.com/u/ogiewon)\
**Post date:** [October 27, 2020, 7:31pm UTC](https://community.smartthings.com/t/connection-with-arduino-shield/209760/3 "2020-10-27T19:31:50Z")

</div>

> [@Cris](#):
>
> Should anybody please send the information in order to create a sketch in Arduino for sending alarms to Smarthings? I mean the connection protocol and the connection information.

If you’re wanting to develop an integration using the newest, ST API, then please take a look at the following explanation from @jody.albritton for building direct-connected devices. This solution does not require a ST hub at all. Your microcontroller would talk directly to the ST Cloud API.

> [@How to Build Direct Connected Devices](https://community.smartthings.com/t/how-to-build-direct-connected-devices/204055):
>
> How to build Direct Connected devices with the SmartThings Platform Direct connected devices do not require a middle cloud or a hub. After flashing the firmware the device will use the SmartThings platform as its backend provider. Communication happens directly between the platform and the device over MQTT. The SDK enables rapid development of these devices on a variety of low cost SOCs. Workstation Setup Prerequisites: Latest release of Ubuntu (v20.04 as of this tutorial) Python 3 ESP32 SoC Espressif IDF [SmartThings SDK for Direct Connected Devices](https://github.com/SmartThingsCommunity/st-device-sdk-c-ref)[Example Apps](https://github.com/SmartThingsCommunity/st-device-sdk-c-ref/tree/master/apps) Development of Direct Connected devices with the SDK is currently optimized for Ubuntu workstations. The tutorial will be using the latest 20.04 release of Ubuntu. The distro does not matter, but a Debian-based distro will yi…

If you have a hub, and want to incorporate Arduino-attached sensors and actuators with SmartThings, you may want to take a look at my ST\_Anything project. But be forewarned, the ST Groovy IDE will be going away some time in 2021. I have no idea what that will mean for ST\_Anything as it currently relies on the Groovy DTH model for its integration.

> [@\[DEPRECATED\] ST\_Anything - Arduino/ESP8266/ESP32](https://community.smartthings.com/t/release-st-anything-arduino-esp8266-esp32/77707):
>
> UPDATE 2022-08-17 - Per [this recent SmartThings announcement, the Groovy IDE will disabled on September 30, 2022](https://support.smartthings.com/hc/en-us/articles/7055691183380?mc_cid=75421954c8&mc_eid=574074d8e5). My best guess is that any existing ST\_Anything devices will probably cease to operate at this time, or shortly thereafter. It has been a good 7+ year run for ST\_Anything users. I want to thank you all for making ST\_Anything a successful project! My son and I really had a lot of fun creating it together, and have enjoyed hearing how you have all used it in so many creative ways. As many of you probably already know, I have moved on from ST and have [ported ST\_Anything over to Hubitat as “HubDuino”](https://community.hubitat.com/t/release-hubduino-v1-1-9-hubitat-to-arduino-esp8266-esp32-thingshield-integration-st-anything/399?u=ogiewon). If you have devices running ST\_Anything that you ‘can’t live without,’ at least you know you have options. Another option for ESP8266/ESP32 users would be to use ESPHome along …

---

_[View the full topic](https://community.smartthings.com/t/connection-with-arduino-shield/209760)._
