Samsung SmartThings

One simple home system. A world of possibilities.

Integrate the Samsung SmartThings API with the HTTP / Webhook API

Setup the Samsung SmartThings API trigger to run a workflow which integrates with the HTTP / Webhook API. Pipedream's integration platform allows you to integrate Samsung SmartThings and HTTP / Webhook remarkably fast. Free for developers.

New Requests from the HTTP / Webhook API

Get a URL and emit the full HTTP event on every request (including headers and query parameters). You can also configure the HTTP response code, body, and more.

 
Try it
New Requests (Payload Only) from the HTTP / Webhook API

Get a URL and emit the HTTP body as an event on every request

 
Try it
New event when the content of the URL changes. from the HTTP / Webhook API

Emit new event when the content of the URL changes.

 
Try it
Send any HTTP Request with the HTTP / Webhook API

Send an HTTP request using any method and URL. Optionally configure query string parameters, headers, and basic auth.

 
Try it
Send GET Request with the HTTP / Webhook API

Send an HTTP GET request to any URL. Optionally configure query string parameters, headers and basic auth.

 
Try it
Send POST Request with the HTTP / Webhook API

Send an HTTP POST request to any URL. Optionally configure query string parameters, headers and basic auth.

 
Try it
Send PUT Request with the HTTP / Webhook API

Send an HTTP PUT request to any URL. Optionally configure query string parameters, headers and basic auth.

 
Try it
Return HTTP Response with the HTTP / Webhook API

Use with an HTTP trigger that uses "Return a custom response from your workflow" as its HTTP Response

 
Try it

Overview of Samsung SmartThings

The Samsung SmartThings API is an open platform that enables developers to
quickly and securely connect a wide range of devices, services, and
applications to the SmartThings smart home and connected environment. With the
API, you can integrate your SmartThings-compatible products with a range of
third-party services and applications for enhanced convenience, automation, and
control.

Using the SmartThings API, you can create custom automations and routines,
helpful notifications, unique user experiences, and otherwise extend the
functionality of your SmartThings-enabled devices. You can also control your
devices with voice commands or control remotely over the internet, adding an
extra layer of convenience to your home or business.

Examples of What You Can Build with the SmartThings API

  • Automatically adjust the temperature of your thermostat when motion is
    detected in a certain room
  • Set up lights to turn off when you leave the room
  • Display your garden’s temperature and weather conditions on a mobile app
  • Set connected appliances to run at certain times and even synchronize them
    with a calendar
  • Control the lighting around your home from your smartphone
  • Receive notifications when doors and windows are opened
  • Create a security system by connecting detectors and cameras
  • Automate the lock on your doors based on the location of your smartphone
  • Track your energy usage and set energy-saving schedules for connected
    appliances
  • Receive personalized alerts about air quality based on changes in the
    environment.

Connect Samsung SmartThings

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    smartthings: {
      type: "app",
      app: "smartthings",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.smartthings.com/v1/devices`,
      headers: {
        Authorization: `Bearer ${this.smartthings.$auth.token}`,
      },
    })
  },
})

Connect HTTP / Webhook

1
2
3
4
5
6
7
8
9
10
11
12
13
// To use any npm package on Pipedream, just import it
import axios from "axios"

export default defineComponent({
  async run({ steps, $ }) {
    const { data } = await axios({
      method: "GET",
      url: "https://pokeapi.co/api/v2/pokemon/charizard",
    })
    return data.species
  },
})

Community Posts

A Look at Pipedream
A Look at Pipedream
I'm going to build a workflow that will search Twitter every hour for a keyword. It will take the results, format them nicely, and then email it.
Building a Traffic-Based Workflow in Pipedream
Building a Traffic-Based Workflow in Pipedream
Normally I don't like to blog about stuff that isn't generally available to all, but as it will be available sometime soon, I decided to go ahead anyway. And I built something really cool I want to share so that's another reason to talk about this now!