with Philips Hue and Easy Project?
Emit new event when the state of a light changes (e.g., turned on/off, brightness adjusted, color changed). See the documentation
Emit new event when a specific scene is activated. See the documentation
Emit new event when a linked Hue sensor (e.g., motion, temperature, or ambient light) sends an update. See the documentation
Sets the light color of a Philips Hue light. See the documentation
Turns on or off a Philips Hue light or group of lights. See the documentation
The Philips Hue API offers rich control over Philips Hue smart lighting systems. Via Pipedream, you can automate your lighting based on various triggers – think syncing lights with the sun's cycle, changing color to indicate new emails, or even integrating with motion sensors for a smart-home experience. With Pipedream's capabilities to connect to countless services, the possibilities of creating personalized lighting scenarios are vast, limited only by your imagination and the availability of triggers or events from other services and devices.
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}`,
},
})
},
})
The Easy Project API offers a suite of project management tools that integrate with Pipedream to automate workflows, streamline processes, and enhance team collaboration. By connecting the Easy Project API to Pipedream, you can create custom automations for tasks like syncing project data, monitoring project updates, and managing resources. The API allows for interactions with issues, time entries, and project structures, making it a versatile tool for project managers and teams who want to align their project management tooling with other business systems.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
easy_project: {
type: "app",
app: "easy_project",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.easy_project.$auth.domain}.easyproject.com/users.json`,
headers: {
"X-Redmine-API-Key": `${this.easy_project.$auth.api_access_key}`,
"Accept": `application/json`,
},
})
},
})