Philips Hue

Smart light lets you do more. Whether that’s creating the perfect atmosphere for a relaxing night in or bringing the thrill of the theater into your living room, Philips Hue helps you think larger than light.

Integrate the Philips Hue API with the Delay API

Setup the Philips Hue API trigger to run a workflow which integrates with the Delay API. Pipedream's integration platform allows you to integrate Philips Hue and Delay remarkably fast. Free for developers.

Delay Workflow with the Delay API

Delay the execution of your workflow for a specific amount of time (does not count against your compute time).

 
Try it

Overview of Philips Hue

Philips Hue offers a full suite of APIs that allow developers to use their
lights to create amazing applications and experiences. The Philips Hue API
allows developers to control an array of features and settings that make the
lights in a room act as if they are alive. Here are some of the things you can
build with the Philip Hue API:

  • Color changing effects like fading between different colors, flashing between
    colors and creating various moods throughout the room
  • Scheduling lights to turn on and off based on time
  • Automatically dimming lights based on light levels outside
  • Automatically adjusting entire color pallets for a more natural look
  • Providing a more immersive experience with your music and movies
  • Creating virtual assistants that you can control using spoken commands
  • Smart home automation for controlling other devices using voice commands and
    creating specific rules for the lights
  • Creating immersive gaming experiences with the lights
  • Developing applications to monitor the amount of energy your lights are using
    and to optimize your energy consumption

Connect Philips Hue

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: {
    philips_hue: {
      type: "app",
      app: "philips_hue",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.meethue.com/v2/api/resource`,
      headers: {
        Authorization: `Bearer ${this.philips_hue.$auth.oauth_access_token}`,
      },
    })
  },
})

Overview of Delay

The Delay API allows you to build workflows that wait a specified amount of
time before continuing. This can be useful for rate-limiting actions, or
waiting for an external event to occur.

Here are some examples of what you can build using the Delay API:

  • A workflow that sends a Slack message after a specified amount of time
  • A workflow that checks for new data from an external API every hour
  • A workflow that backs up a file to Dropbox every day

Connect Delay

1
2
3
4
5
6
7
export default defineComponent({
  async run({steps, $}) {
    // Specify the amount of time to delay your workflow in milliseconds
    return $.flow.delay(5000)
  },
})