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 Gmail API

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

Send Email with the Gmail API

Send an email from your Google Workspace email account

 
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 Gmail

By connecting your personal Gmail account to Pipedream, you'll be able to incorporate email into whatever you're building with any of the thousands of apps that are available on Pipedream.

Connect Gmail

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: {
    gmail: {
      type: "app",
      app: "gmail",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://www.googleapis.com/oauth2/v1/userinfo`,
      headers: {
        Authorization: `Bearer ${this.gmail.$auth.oauth_access_token}`,
      },
    })
  },
})