with Noticeable and Philips Hue?
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 events when a new email subscription created. See the docs
Emit new event when a linked Hue sensor (e.g., motion, temperature, or ambient light) sends an update. See the documentation
Emit new events when an email subscription is deleted. See the docs
The Noticeable API on Pipedream allows you to automate the management of your project's news and updates efficiently. By integrating Noticeable with Pipedream, you can trigger workflows based on new publications, update timelines, and synchronize content across various platforms. This can help keep your users or team informed about the latest changes, releases or announcements with minimal manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
noticeable: {
type: "app",
app: "noticeable",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.noticeable.io/graphql`,
headers: {
"Authorization": `Apikey ${this.noticeable.$auth.api_key}`,
},
params: {
//Replace the query below with your own
query: `query { organization { projects(first: 10) { pageInfo { hasNextPage } edges {
node { name posts(last: 10) { edges { node { title permalink } } } } } } } }`,
},
})
},
})
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}`,
},
})
},
})