New: SmartThings Edge for Devices and Automations

SmartThings

Last year, we told you that we are transitioning to an API-first SmartThings platform. As a part of this, we started investing deeply in improving stability and security. We are excited to announce the beta release of SmartThings Edge, a new architecture for hubs that uses device drivers and rules to execute Hub Connected devices locally.

What is SmartThings Edge?

We are taking smart home events that would have happened on the SmartThings Cloud and moving them to your SmartThings Hub. SmartThings Edge uses Lua©-based device drivers and our Rules API to control and automate devices connected directly to a SmartThings Hub. This includes Zigbee, Z-Wave, and LAN devices as well as automations triggered by timers and other hub-connected devices using drivers. In the future, this will expand to include more protocols and features, like the new Matter standard.

For users, edge processing means reduced latency. For partners and developers, SmartThings Edge also brings new benefits, including reduced cloud costs, an improved device permissioning model, and the ability to deploy updates to their drivers. Local device support is open to everyone—not just WWST partners—enabling easier device support and integration with standard capabilities.

Hub-Connected devices are defined by a driver package that includes the fingerprints, components, preferences, and Lua source code. With this beta release, you can start testing features and providing us feedback before we start the platform migration. As a WWST partner, you can create your own driver package or add your device’s fingerprint to our predefined supported drivers.

Building Hub-Connected Devices

Sample-Driver-Code
To get started, all you need is a SmartThings Hub with firmware version 000.038.000XX or greater and a Zigbee, Z-Wave, or LAN device. Visit the SmartThings Community to learn how to get started with the SmartThings CLI and building drivers.

Rules and Automations

Local-Automations-Icon
As part of our June SmartThings app release, you may have noticed that some of your automations show a little 🏠. This means the automation is using locally-executing conditions and actions, such as time of day. As your devices begin using drivers and compatible rules, they will begin running on your hub, meaning higher reliability and faster response times.

We have started expanding the Rules API to include new operations, including: risesAbove / dropsBelow, risesToOrAbove / dropsToOrBelow, and securityState. To learn more, visit these sample rules.

Sharing and Distribution

Previously, sharing device type handlers (DTH) required end-users to copy and paste the code for each individual DTH into their accounts. This could be confusing and time-consuming for users to ensure they had the latest updates installed. With SmartThings Edge, we are also introducing driver sharing for device testing and community distribution.

OEMs can submit their drivers to SmartThings for WWST certification and distribution in the SmartThings catalog. However, hobbyists can now share custom devices with a simple link—no need to copy and paste code! Learn more about driver sharing and how you can start testing Edge drivers.

Getting Started

Documentation-Portal
Along with this launch, we’ve also released a new Developer Documentation Portal.

To learn more about building SmartThings Edge devices and automations, check out our new developer documentation portal. This includes a new Capabilities Reference Guide that clearly delineates between live, proposed, and (soon-to-be) deprecated capabilities. Visit the new Documentation Portal and the SmartThings Community for tutorials, code samples and more.

Have feedback? Reach out to us on the SmartThings Community and share your projects with @SmartThings on Twitter!

Preferences Submitted

You have successfully updated your cookie preferences.