Smartthings Api 🔎 What I’ve Feb 20, 2018 · Hi, I am
Smartthings Api 🔎 What I’ve Feb 20, 2018 · Hi, I am trying to use the Smartthings Rest API to execute commands, on & off, on my switch, Jan 27, 2025 · Hi, So I recently had a brainwave to do something with the SmartThings API, basically turn off a light, Manage Devices With the Devices API Interact with the Devices API to access devices integrated with the SmartThings platform, They abstract specific devices into their underlying functions, allowing us to retrieve the state of a Device component or control a function of the Device, It’s so much more detailed than the https://api Feb 19, 2025 · I just want to use Device API but PAT gets expired within 24 hrs, I'll leave this posted as reference for anyone equally confused by Samsung's URL proliferation :P Nov 20, 2017 · Hello, I use this api: https://smartthings, html And I have two questions: Is this API is up-to-date? And everything should work correctly? I am trying to get installed a… Dec 19, 2023 · Hello, I want to implement OAuth and get access token from SmartThings Server, May 20, 2020 · Getting Started with a Simple SmartApp using the new SmartApp SDK This SDK builds on the CoreSDK and provides kick start for SmartApp development, Self-hosted (AWS Lambdas, VPS, Node, Jan 11, 2024 · I am using st-schema-nodejs for cloud connected device integration, com/v1/devices/XXXXXXXXXXXXXXX/states and https://api, The heating system is not supported out of the box by SmartThings, but offers an API, SmartApp Basics SmartApps are custom applications that execute outside of the SmartThings platform, SmartThings REST API, The ‘Example Rules Manager’ isn’t intended as a production, end-user facing tool - more of a proof of concept for developers to poke around with and better understand how things work, I still don’t feel like I’ve answered the question, Jan 9, 2024 · Hi, Does anyone know if there is an API for the ‘History’ you can see from the SmartThings mobile apps, Do I need to host server for callback URL? Do I need to create device handler to subscribe to an Mar 15, 2024 · I am using the api in order to tell if the sensor is triggered or not and i have a script that uses that information, Tutorials Learn how to build applications, integrations, and devices on the SmartThings Platform, Creating a SmartApp allows you to control and get status notifications from SmartThings devices using the SmartThings API, Easily integrate your device using the SmartThings SDK for Direct Connected Devices, X May 18, 2025 · Enable APIs Google Drive API Cloud Functions API Cloud Scheduler API Google Drive API Cloud Functions API Cloud Scheduler API Create Service Account IAM & Admin → Service Accounts → Create Service Account Name: smartthings-token-refresh Grant roles: Cloud Functions Admin, Service Account User Generate JSON key and save it as credentials, I’ve tried using the SmartThings API but there is so much undocumented functionality I’ve found in other apps, Visit the Rules API documentation to learn more about the Rules API calls available to you, Input can always be passed as JSON or YAML and in a couple cases a "question and answer" mode is provided, Instead of traditional SmartThings consumer OAuth integrations (which are installed by a user authorizing the integration for each SmartThings Location), you may leverage the Enterprise Account feature Aug 23, 2023 · 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 Your application will respond to lifecycle events sent from SmartThings to perform actions on behalf of your users and will execute any scheduled tasks that you have created in the SmartApp, com but I’m redirected after login to my, Base Tasks from TaskerNet Tasker SmartThings Rest API More tasks and code snippets are available below on post #3, This ensures lower latency swagger: '2, Mar 26, 2025 · 📍 SmartThings API: How to Access Device Locations for “View in Map”? Hey SmartThings Community! 👋 I’m working on a script to retrieve device locations using the SmartThings API, similar to the “View in Map” feature in the app, The SmartThings platform has the largest coverage of competitive IoT devices on the market, including Samsung devices and appliances, I use SmartThings CLI to make Rules API rules, For the non-technical, this gives you access to an important SmartThings resource without having to learn tools like Postman, curl, or the CLI, For examples using the SmartThings API, visit the SmartThings Community, SmartThings is based in Mountain View, California and operates independently as a wholly owned subsidiary of Samsung Electronics America, Inc, Button The SmartThings Button platform provides stop buttons for devices with the ovenOperatingState capability, Now I´m struggling a little bit with Lua and SmartThings Edge drivers, It was https://graph, So that I get access token and able to call SmartThings API , I’m trying to use an auth flow, However, when I query my devices, the latitude and longitude fields return None, even for devices that should support location tracking, Using the app on my phone without wifi enabled I’m able to turn off and on the tv, You can interface with the Rules API directly via the REST API, smartthings, When I need to authorise the app to access my devices, I got a Mar 13, 2025 · API_ONLY is not a solution, i need to get updates from devices when exist, This includes Zigbee, Z-Wave, and LAN devices as well as automations triggered by timers and other Hub Connected devices using drivers, Hosting Your SmartApp The following documentation is provided to let users of the SmartThings status page programmatically access various elements on the page, Is there a new url? Sep 14, 2022 · Autotools SmartThings Rest API tasks, Get API details, uptime stats, pricing info, and integration Open Source Releases from SmartThings Developers Each element in the growing SmartThings ecosystem enables you to build and integrate your IoT devices, services, and existing solutions on SmartThings Cloud, Those tasks are dependent on you having the base Tasks imported into Tasker, You don’t even need a Feb 22, 2025 · I implemented the SmartThings API a few days ago, at the end I landed in this issue at GitHub, Introduction Welcome to the SmartThings Enterprise developer guide! The SmartThings Enterprise platform allows businesses to integrate and extend the SmartThings cloud platform within enterprise environments, Learn how to create your own IoT device using SmartThings SDK for Direct Connected Devices, Contribute to bradymholt/smartthings-rest-api development by creating an account on GitHub, Installation pip install pysmartthings Changelog & Releases This repository keeps a change log using GitHub's releases functionality, I have generated personal access token by logging into SmartThing Account, Run a specific command with smartthings <command> Input and Output Considerations Many commands in the CLI handle complex input and/or output, mostly for use with the SmartThings REST API, Where can I find these related documents? I’ve only seen other people’s cases so far: Regarding API Access for Oauth integration Operation Steps: Use the SmartThings CLI to create an app and obtain the Apr 10, 2025 · When i run a communication test between an Smartthings device and Postman using PAT, i just need to pick the command from this list (API | Developer Documentation | SmartThings), insert the PAT for Bearer authentication, and then it goes well, i get the right response, If you don’t want to use that link and or sign up for the beta you can import the project using this XML , Apr 5, 2024 · I’m a little bit in trouble because I haven’t actually understood how to use API Rules, SmartThings Enterprise APIs enable our partners to build managed IoT experiences or enhance an existing ecosystem with a new IoT offering, Aug 19, 2021 · SmartThings Edge uses Lua©-based device drivers and our Rules API to control and automate devices connected directly to a SmartThings Hub, Using a SmartThings API, end-users can use voice-activated smart devices to control Nov 5, 2020 · It pulls values directly from the SmartThings API, Scenes do not have triggers, and are activated either by tapping the Scene in a SmartThings client (such as the SmartThings app) or by using the Scenes API, I’m not sure how to achieve this? I have created an API_ONLY app from smarthings cli and From Workspace I created an smartAPP for automation, We have been working closely with the Home Assistant team to develop a new Jul 5, 2024 · @h0ckeysk8er Sorry, but I do not see information about catalogs api categories on this page, This rule could replace SmartApps like “Notify Me When” that were previously complex groovy apps, On further probing, i found the below popup on developer workspace, You will then be provided with a token that you can use to access the SmartThings API, Has anyone been successful in connecting via the API to SmartThings? I have taken a look online to… General troubleshooting tips If you are experiencing authorization issues (typically indicated by the SmartThings API returning a 401 or 403), ensure your app has requested, and the user has authorized, the proper permissions, Ensure your app is not exceeding any rate limits, com , Personal Access Tokens Personal access tokens (PATs) are used to interact with the API for non-SmartApp use Jun 29, 2023 · In the meantime, we look forward to adding new features to the SmartThings Advanced Web app and have opened a new section of the SmartThings Community here where you can make feature requests, call out bugs, or discuss the Advanced Web app with others, Feb 3, 2014 · Just a heads up that I’ve written a (fairly) well documented example of how to access the SmartThings API from Python & Node, SmartThings Enterprise APISmartThings is based in Mountain View, California and operates independently as a wholly owned subsidiary of Samsung Electronics America, Inc, The SmartThings CLI The SmartThings CLI enables you to run through the entire development process for your integration from the command line, Nov 25, 2025 · Project description Python: SmartThings Asynchronous Python client for SmartThings, Aug 7, 2015 · While I am new to programming in Groovy, I’m not new to programming in general, Permissions are applied to the underlying Service Account, Here is an example of a POST request body to execute a command on a device, API for Samsung SmartThings Smart Home Hub products (ZigBee, Z-Wave, IP), 7 million SmartThings hubs worldwide, The automation allows a user to control their SmartThings ecosystem without any manual intervention, Samsung Automation SmartThings support It is easy to rapidly build a SmartApp by connecting devices and SmartThings services together, Already have an Alexa or Google cloud-to-cloud device integration? SmartThings Schema is a great place to start, Works with SmartThings products offer a robust and dependable experience, letting SmartThings users know they can expect a high-quality experience when using a Works with SmartThings product, Climate The SmartThings Climate platform lets you control devices that have air conditioner or thermostat related capabilities, If you have questions related to a tutorial, please start a new topic in the Developer Support category with your question, How can I turn the TV On using the API? Feb 11, 2023 · Okay, I am trying to automatically generate a python client using the open api generator: https://openapi-generator, Since SmartThings provided an easy way to generate PATs over 10 Jun 21, 2023 · SVE Testing by SmartThings Total Views 15, SmartThings Schema defines the interactions (JSON payloads) between the SmartThings Cloud and your existing cloud, allowing your products to return their current state to your cloud, and to handle commands from SmartThings, 0 flow, called the “Client Credentials Flow, With the Core SDK, you can easily integrate SmartThings APIs into your JavaScript and TypeScript applications, The API is the core of the platform, I realise that although this information is available via the web-interface on the smartthings hub, it doesn’t seem to be accessible via the API (which is a bit annoying) I’ve reverted to trying to get a notification sent to a web-service via a callback whenever a device’s reading/measurement Jan 23, 2021 · However, when I try connect my SmartThings account to other services, for example, ActionTiles or Sharptools, Nest devices (such as my thermostat, camera or CO2 device) does not appear in my list of devices in the SmartThings web portal to pass into those other apps: Only my TP-Link Kesa devices show up, SmartApps are most useful as a means to extend the limits of what is possible with SmartThings Automations, The Devices API allows you to control devices connected to the SmartThings platform, access device metadata, and access device states, Scenes are used to simultaneously set a group of Devices to a particular state, I have a browser-based web app that provides a point-and-click way to explore most of the SmartThings API, Thanks for your continued support as we grow and build the SmartThings ecosystem, 0 and the open api python generator only supports open api (swagger) version 3, SmartThings Edge uses Lua-based device drivers and our Rules API to control and automate devices connected directly to a SmartThings Hub, I use this for reference: https://smartthings, The problem is that the api doesnt work consistenly like the mobile app, SmartThings, The SmartThings Home API allows you to directly use the SmartThings Cloud in your application, The world runs on you, Jun 30, 2020 · Learn how to build applications, integrations, and devices on the SmartThings Platform, Mar 12, 2022 · Is there any way to get a smart tag location via API call? Sadly not, Contribute to SmartThingsCommunity/smartthings-cli development by creating an account on GitHub, Feb 19, 2020 · The answer is, no, There is a lot of old documentation published still, but from my understanding, using a PAT is not advised anymore since they expire in 24hours (unless im wrong, there is a lot of conflicting info on the docs about this), A python library for interacting with the SmartThings cloud API build with asyncio and aiohttp, smartthings-core-sdk Public SDK for calling the SmartThings API from JavaScript and TypeScript applications TypeScript 124 58 Feb 26, 2025 · Is it possible to set webhooks? The devices I use are thermostats (Meross), and I can see on smartthings temperature report updates every 20 minutes or so or on major changes, Is there any API to create and refresh access token? What is the expiry of token? I want to call API in a web job to collect the device data and make a report, com/docs/api-ref/st-api, It seems we may be Oct 12, 2024 · Hi all, Complete newbie on this - Trying to use the API to turn on/off a virtual switch from Synology Surveillance Station action rules, js servers, Apps, now get a typical callback API into a customer’s Things), The OAuth-In (API_ONLY) apps have a Webhook just like the WEBHOOK_SMART_APP, 🔎 What I’ve Tried So Far: Checked device status via API (/devices/{deviceId}/status Nov 9, 2015 · {“error”:“invalid_request”,“error_description”:“Remote OAuth2 token request failed with code: 401, text: Unauthorized”} Jan 25, 2024 · How can we build an application to connect and manage Samsung laundry devices? Does Samsung provide an API? Apr 25, 2024 · The ‘Rules API’ is considered to be an advanced/developer tool that the SmartThings app has no need to concern itself with, All of the SmartApp execution will happen on the server or Lambda that you control, About This package allows you to fetch data from SmartThings, Got a PAT token, gave it the permissions I wanted, made a request and sent it… volia the light went off, com/ as I recall, and when the regional shards came along you were expected to redirect manually by clicking on whichever SmartThings Location you wanted to access, Developers can access a comprehensive set of features, an intuitive mobile UI, and voice control with Bixby and other assistants, samsung, Feb 27, 2025 · We are happy to announce a new and improved integration between the SmartThings and Home Assistant ecosystems, Any help? This is what I have to work with on the Synology side: Capabilities are core to the SmartThings architecture, Direct Connected Devices integrate directly with the SmartThings platform via WiFi, eliminating the need for you to launch or manage your own cloud, Jun 26, 2022 · Did something changed recently? I tried to login on https://account, Jan 11, 2025 · I am brand new to the Rules API and until yesterday had never heard of Postman or JSON, SmartThings provides end-users with various smart home services, including connecting their cellular devices and other smart gadgets directly to their mobile phone, Note: use should register their smart devices on smartThings app, Mar 22, 2023 · It does not need administrator privileges but of course will need to be executable, com/develop/api-ref/st-api, A command is first sent to the SmartThings Cloud, which then calls the SmartApp Connector, Select the My Apps tab and then click New Token, SmartThings API Reference Home API Usage Below you can find examples of using the Home API, X-RateLimit-Remaining: Remaining requests available within the window, SmartThings Enterprise provides enhanced features including Enterprise Accounts, role-based access control (RBAC), robust user management, streamlined permission systems, an API, and more Command-line Interface for the SmartThings APIs, Capabilities are then incorporated into Device Profiles, which encapsulate the entire functionality of a Device (read more about Device Profiles here), Oct 5, 2023 · The SmartThings Enterprise API — The Enterprise API enables developers building solutions for multi-family, rental, and hospitality environments, to leverage SmartThings’ infrastructure and ecosystem, including Samsung appliances, to cost-effectively build and deploy scalable solutions, The API enables you to use the SmartThings Cloud, which means your application can support Matter devices connected to any of the 1, May 20, 2020 · The SmartThings Core SDK is a wrapper designed to simplify the use of the SmartThings REST API from JavaScript and TypeScript applications, API access is obtained through a Service Account, and will be configured as part of account onboarding when joining SmartThings Enterprise, Samsung Automation SmartThings My Device Directly control SmartThings devices without even registering the Automation by using the Automation Studio, ” It seemed simple enough, but the implementation was far from it, This script allows you to control a Samsung Air Conditioner using the SmartThings API, This history is shown in the device settings in Smartthings app so i guess that it should be possible, - pySmartThings/pysmartthings Rate limit headers With each API request, SmartThings Cloud will return the below response headers to the client application, Your SmartApp can execute commands on behalf of the user, Live Capabilities are available for you to use today, Requirements: Postman PAT Token Getting Started Open Postman and add your PAT token to the header Refresher If Jul 30, 2024 · This accesstoken is further used to make SmartThings API calls or invoke smartThings core sdk functions, You’ll have to access the api for your home automation through Smart Things servers, SmartThings Terminal is a cross platform CLI tool for the SmartThings API - interact with your smart home from the command line, It's easy to integrate existing products with our ecosystem, using developer features such as SmartThings Schema and open APIs, Aug 2, 2018 · What do I need to do to proceed to get a list of devices and their events? Using the current API, you can’t, without first writing an entire SmartApp that allows the user to Authorize which devices you are allowed to access, and then defines custom REST-API endpoint mappings to perform specific functions on those Devices, such as fetching their Events and responding in JSON, The complexity of execution and the number of expected users will need to be examined to understand the Dec 5, 2023 · The old IDE was only ever documented on https://graph, This is the very first release of this SDK and should be considered a work in progress, Give me some code examples and an API and I’m good to go, Any idea ? Jun 10, 2024 · I have already worked with countless APIs, but none have given me as many headaches as the SmartThings API! 🙄 The documentation is incomplete, links are dead, URLs no longer work, have been changed, but no indication of the new URL, and due to all such changes, the solutions found here in the community are no longer functional either, # SmartThings API ## About SmartThings APIs SmartThings-enabled APIs allow developers to connect their existing platforms to SmartThings servers, To do this, you are advised to get your 'PAT (Personal Access Token)' and the 'Device ID' of SmartThings before you can make a flow, On SmartThings App, I am able to see the device but not able to select to do any controls, This includes Zigbee, Z-Wave, and LAN devices as well as automations triggered by timers and other hub-connected devices using drivers, Home API Reference Commissioner APIs Overview The Commissioner API allows you to control devices and allows these devices to communicate with each other, Why not use local API service on the Smart things Hub? Keep Sep 5, 2023 · All, I created some iOS Shortcuts for interacting with SmartThings devices, rules and scenes, To commission a device, you need to use the CommissioningClient API, Scenes differ from Rules in that Scenes do not have triggers; a Scene is activated by tapping the Scene from within a SmartThings Client, I have also been able to successfully use the POST Manage your SmartThings tokens for secure API access and integration, Sep 16, 2022 · Hi, everyone I’m wondering if SmartThings API have any plan to support a API which can do login to get tokens like PAT or the API already exist, https://smartthings, This includes Matter, Zigbee, Z-Wave, and LAN devices as well as automations triggered by timers and other Hub All SmartThings resources are protected with OAuth 2, I found a github project (GitHub - bradymholt/smartthings-rest-api: SmartThings REST API) with a groovy app and instructions, SmartThings now offers specialized APIs in the following areas: Rules, Scenes, and Batch APIs Appliance Diagnostics APIs Batch APIs for Rules and Scenes Batch APIs for managing Rules and Scenes allow developers to execute multiple operations in a single request, Instead of ‘lifecycle’ messages they receive ‘messageType’ messages, in particular the CONFIRMATION message for verification and the EVENT for status messages from SmartThings, For that I need to know the the endpoint URL of SmartThings to call, This includes: Groovy source code, demonstrating sending and receiving JSON payloads an MQTT bridge, demonstrating listening to events Python source, for getting and setting device state Node-JS source, for the same (not quite complete) an OAuth tool, for taking the Visit our API documentation to learn more about the Subscriptions API Jan 2, 2025 · I have integrate some data from https://api, how to add client_id and secret in the auth endpoint url, developer, Endpoints are displayed with examples using cURL and our embeded javascript widget (if available), Devices can then be controlled and monitored from within your app, Is there a way to add the device profile to SmartThings enquiries for Canadian customers, please visit https://www, A namespace may look something like perfectlife6617, You don’t even need a API Features For enterprise environments managing a large number of devices, efficiency is critical, Jan 16, 2020 · The actual Rules API runs on the SmartThings platform, Enter a name for the token and then select Create, Rules API Community for discussing the new Rules API and sharing rule recipes, 0 documentation, Nov 6, 2017 · SmartThings is moving away from the published & SmartThings Cloud hosted Groovy SmartApps, Mar 27, 2024 · If we want to integrate smartthings API functionality, we need to be able user to log in to smartthings and get the corresponding token, I´ve already set up my development environment and Feb 10, 2020 · I can’t find how to retrieve the history of events from a motion device, A point & click interface to the SmartThings API, The reason I asked about the units for all values within the powerConsumption object in the JSON is that the developer documentation doesn’t provide these information, 0 Bearer Tokens sent on the request as an Authorization: Bearer <TOKEN> header, and operations require specific OAuth scopes that specify the exact permissions authorized by the user, There was a more detailed SmartThings hub website that I’ve accessed for years that I can’t access anymore, Using the Rules API the developer can create automations such as Manage API Keys API keys enable your Service Account to authenticate with the Enterprise API, This includes creating a SmartApp record to associate your OAuth-In SmartApp with the SmartThings Platform, and defining the OAuth permission scopes and redirect URIs used in the authorization code flow, The smartthings mobile app works fine when the mobile is away(in another city away) or close to the hub(in the same house as the hub), Feb 23, 2018 · Hi, I am trying to make a Smartthings - Alexa Smart Home API, which requires Account linking, therefore requiring a client ID & secret from my Smartthings account, NodeJs Java The SDKs are a set of libraries and wrappers around the SmartThings API designed specifically for SmartApp Here you can find the list of standard production Capabilities maintained by SmartThings, Add a little smartness to your things, Your application will respond to lifecycle events sent from SmartThings to perform actions on behalf of your users and will execute any scheduled tasks that you have created in the SmartApp, Easy I thought, It is used to control devices, create Automations, manage Locations, retrieve user and With the launch of SmartThings Edge, we are taking some events that would have happened in the Cloud and moving them to the SmartThings Hub, I could see APIs LOCATIONS, AUTOMATIONS, DEVICES but I couldn’t see APIs to login to get temporal credential like access token, refresh token, html#operation/executeDeviceCommand… Aug 13, 2020 · I am using the below link to find all the possible API I can use for SmartThings, I have set up an environment in Postman and created variables for my Location and the Dimmer Switch ID that I am using for testing, I have not done much research on the possibility of converting the given documentation to version 3, When you’re ready to start creating Rules, visit our Rules API community page where you can find tutorials on getting started, plus expanded Rule examples, and more, Set your PAT on the 'My Device' Node a, com Get Started With the SmartThings CLI | Developer Documentation | SmartThings Find the SmartThings CLI source in our GitHub repo, It provides functionalities to list devices, get device status, control the device (on/off), change AC mode, set temperature, and set fan mode, Get a PAT, Apr 22, 2022 · i am developing notification with smartThings api i want to make notification with smartThing api Rules thru Postman i google it for several days and search for official documents from Samsung smartThings but i cannot find that how am i going to send body in postman for example when doors open, notify me that ‘the door opened’ The world runs on you, 0, tech/ The swagger I referred to is of version 2, Device commissioning is the process of joining a device to SmartThings, Please read this SmartThings Edge uses Lua-based device drivers and our Rules API to control and automate devices connected directly to a SmartThings Hub, May 2, 2023 · NOTICE!!: SmartThings has now released its own equivalent of this app here, so you may prefer to use that instead, As Roles are applied to the Service Account, the Service Account's session token does not need to be refreshed in order to benefit from the role changes made, The SmartApp SDK reduces the amount of code necessary to write a SmartApp using the new platform and API, js server, I create device profile for a device (say switch) and added device by sending profileId as part of discovery response, The SmartApp SDK supports both Webhook and AWS Lamda deployment, but this tutorial will focus on the deploying a webhook SmartApp using Glitch Aug 12, 2020 · Advanced Rules API Tutorial We will use the rules API to create a trigger that will evaluate a condition then schedule to evaluate that condition again after a defined period of time, There are four general Shortcuts (ending in _api) that provides the following functionality: Execute a Rule (ST_Rule_API) Execute a Scene (ST_Scene_API) Get Device Status (ST_Device_Status_API) Send Device JSON commands (ST_Device_CMD_API) To use the general Shortcuts, you need to edit each one and , Unfortunately, those changes resulted in some users unexpectedly losing their connections between SmartThings and Home Assistant, What I can’t figure out is how to format a POST command to do the work and include the Bearer Authorization, Short Answer To get a SmartThings token, you need to log in to your SmartThings account on a web browser, Jan 26, 2024 · I’ve got a Samsung Family Hub fridge, and I’m wondering how to access the shopping list from the SmartThings API, Recently we made changes to how PAT tokens can be used on the platform, For now the only way of getting the new temperature is to make an API call for that specific device, getting the latest possible temperature, The api works fine only when the mobile is in the same house as the Apr 16, 2024 · Hi all! I want to see the outside temperature of my heating system in SmartThings, An example of an Automation is a WebHook; that uses the SmartThings REST API to control and get status notifications from SmartThings The old reliable IDE site remains accessible at https://graph, 0' info: title: SmartThings API version: 1, If it SmartThings Core SDK The SmartThings Core SDK is a wrapper designed to simplify the use of the SmartThings API when the API is called from JavaScript or TypeScript applications, If you are looking to provide a managed IoT service that you can easily integrate into your existing systems or use the SmartThings platform to power your solution, then our Enterprise APIs may be just what The SmartThings Core SDK is a wrapper designed to simplify the use of the SmartThings REST API from JavaScript and TypeScript applications, Apr 1, 2025 · Hey SamsungCommunity! 👋 I’m working on a script to retrieve device locations using the SmartThings API, similar to the “View in Map” feature in the app, I could do way more things than the app allows, and I need to manually remove a device, but I can’t access it anymore, Anyway it would be nice with the Feb 5, 2025 · Hello, I’m trying to use the SmartThings API to list devices and run commands for them using a Node, API Reference Device Commissioning Required packages To get started using the SmartThings API or for info on obtaining an Authorization Token, visit the API section of our documentation, api, Would it be possible to set up webhooks for smartthings to report to my server The SmartThings API provides access to devices, the ability to create and manage routines, and more, Run smartthings --help to make sure it’s working, The SmartThings API, a RESTful API, provides a method for your integration to communicate with the SmartThings Platform, The particular issue I just had that Iot API Guides Things SDK API API Usage API Usage SmartThings Thing API is a service that provides connection to SmartThings Cloud, These APIs provide a function for you to onboard Matter-based devices to SmartThings using your app, PATs were originally intended as a way to test and evaluate new integrations and SmartApps on the SmartThings platform, Figure: SmartThings Thing overall architecture The main SmartThings Thing API features include: Master API: Connecting to SmartThings Cloud with Jan 17, 2023 · I have a few devices that rely on my SmartThings Hub and I had a REST API set up to talk to it from my system (OpenHab) … well now I am trying to get the new REST API working and having some trouble … not too much out there on the community I could find and the ST documentation is so thoroughly complete it would take days to absorb, Oct 20, 2021 · Hello I’m trying to control my Samsung Windfree A/C by REST API (next step will be understand if I can use such APIs without cloud in order to let them work with OpenHAB without an internet connection), It is used to control devices, create Automations, manage Locations, retrieve user and device information; if you want to communicate with the SmartThings platform, you’ll be Welcome to the Certification Console Use the Certification Console to register your products in the Works with SmartThings (WWST) certification program, Complex Automations If you want to build complex Automations that run on your own platform, we recommend building a Connected Service, May 8, 2013 · Hello all, I am getting started on diving into the SmartThings API and have hit a snag in successfully authenticating, Oct 14, 2022 · NOTICE!!: SmartThings has now released its own equivalent of this app here, so you may prefer to use that instead, I can set up a PAT and identify the device ID from Smartthings, no problem, 1k Total Forks 145 Total Watchers 18 Updated Jun 21, 2023 Watch Scenes Scenes use the Scenes API to simultaneously set a group of Devices to a particular state, The SDK manages all MQTT topics and onboarding requirements, freeing you to focus on the Capabilities of your device, Learn more about Rules and Scenes, the building blocks of device and Connected Service automations, About all you can read is some metadata from the device, com That’s the regular app on the pc but not the place where to work on the IDE and smartapps, Create Your SmartApp With the SmartApp SDK There are two SDKs available to help create your SmartApp, SmartThings is a platform for IoT devices and Connected Services to interact and enable smarter living solutions, 0-PREVIEW description: | # Overview This is the reference documentation for the SmartThings API, Commissioner APIs Commission a Device Begin by creating a CommissioningClient instance: OAuth Integrations This topic covers the high-level process of integrating your apps with the SmartThings Platform using OAuth, Then, navigate to the API section on the left-hand side menu, com/ca/support/smartthings-support/ Nov 16, 2022 · This is the reference documentation for the SmartThings API, Mar 2, 2025 · The SmartThings API required a specific type of OAuth 2, In a future release of the API, local execution of rules on the SmartThings hub will be supported, making Rules API a great choice for those looking to create fast, stable, and secure automations, I was able to successfully use the GET command to retrieve my Location and location ID as well as my total Device list, Sep 26, 2019 · Hi, I am newbie to smartthings and I am looking for the API which provide me historical events of the device, The format of the log is based on Keep a Changelog, I guess you guys use the bearer token to figure out who the user is, and where to redirect? It kind of feels like I’m coding Alexa in a sense that my app is requesting something from your servers only to return back to a device, At the moment I’m using the TypeScript API (@smartthings/core-sdk) but I’m happy to move over to something else if required, This allows SmartApps to be much more rich, but they minimize use of SmartThings Cloud cycles, A number of interesting SmartThings capabilities, including the geolocation, are defined for the tags but only a couple of minor ones are exposed to end users, and even those don’t seem to generate events that end users can use outside of the app, Writing SmartApps Info about writing SmartApps, 😖 At least I have already found out that Jan 22, 2020 · Community for discussing the new Rules API and sharing rule recipes, I’m knowing that only a way to access LOCATIONS, AUTOMATIONS, DEVICES is to call them with PAT which Quickstart guide for the SmartThings CLIInput and Output Considerations Many commands in the CLI handle complex input and/or output, mostly for use with the SmartThings REST API, The SmartThings API itself is providing these extremely high values, I have got a Samsung Windfree AC (AR09RXPXBWKNEU) I would like to control via the REST API, I’ve programmed a couple apps now, and the process is so frustrating due to a lack of documentation, For more complete instructions on how to work with cloud connected devices please visit the Devices documentation section, The output format will match the input format unless otherwise specified, com, Could you please explain me how I can subscribe to and event and send it to my call back url? I really appreciate If you provide me detail description or documentation which will help me, What Is SmartThings? SmartThings is an Oct 27, 2025 · The SmartThings platform was built with flexibility at the core, providing Developers with simple tools that enable powerful Routines for their customers, Do you think there is no way to implement it similar like HomeAssistant does? Dec 28, 2023 · I have a Samsung TV UN75CU7000BXZA I have enabled remote and wifi capability to power the TV on, Install first CLI to Windows PC or Linux computer developer, html#operation/listLocations I wanted to create a new API rule that is based on the value of location mode, I´ve already accessed the API with Postman and also were able to read out the outside temperature, After integrating with the SmartThings Platform, you can enable The Rules API enables the developer to create automations, both simple and complex, that can operate on the SmartThings cloud, Air Conditioners For a SmartThings Air Conditioner to be represented by the climate entity, it must have all of the following required capabilities, Once the integration is created, you can use a JSON payload to facilitate communication between your cloud and SmartThings, handling interactions, device state events, and commands, See Routines in SmartThings to learn more about routines in the SmartThings app, These response headers will contain the information on the current status of the limits for that client application: X-RateLimit-Limit: Maximum requests allowed within the rate limit window, json, I made a Smart App to SmartThings Schema offers the fastest integration for Cloud Connected Devices into SmartThings, Jan 9, 2020 · I want to track historic temperatures from my 5 thermometers linked to my SmartThings hub, Dec 14, 2023 · The SmartThings Home API, announced at SDC 2023, allows you to leverage the SmartThings infrastructure for your own Matter and IoT products, For both the cases just got Client Id and Client secret but I don’t know how to use them, com/v1/devices/XXXXXXXXXXXXXXX/status in the smartthings app , In addition, it acts as an interface for resource applications to be controlled by the SmartThings applications, Now the API is broken due to the PAT TTL change that’s now limited to 24 hours… Anyways, I’m trying to make this an OAUTH request but the document’s are mind Oct 5, 2021 · I want to get device details by calling SmartThings API from my Web Application, Dec 13, 2024 · As part of SmartThings’ ongoing work to improve our platform and deliver a high-performing and secure smart home experience for our users, we’re making some changes to how personal access tokens (PATs) work,