Hi!
I’d like to create a flow where the lights change colors when a button is pressed, triggering a sort of disco.
Is this possible with Ikea lights?
It’s possible with Hue, but I can’t find out if it also works with Ikea lights.
Hi!
I’d like to create a flow where the lights change colors when a button is pressed, triggering a sort of disco.
Is this possible with Ikea lights?
It’s possible with Hue, but I can’t find out if it also works with Ikea lights.
You could use a ‘transition’, to change the color or hue level.
There’s several apps with this functionality, I prefer the Chronograph app.
Tested Example:
And one as color wheel, which uses the actual transition value:
Flow export (to import: copy and paste all text below into an empty text file, and change the extension to .homeyadvflow.json , like: myimportedflow.homeyadvflow.json -
Next: right click on flow folder and press ALT):
{
"type": "advanced",
"name": "Color sweep",
"cards": {
"96ead657-a6ab-439a-9995-3c26d713f0a8": {
"ownerUri": "homey:app:nl.fellownet.chronograph",
"id": "homey:app:nl.fellownet.chronograph:transition_start",
"args": {
"namedd": {
"name": "kleurenmix",
"description": "New"
},
"from": 0.01,
"to": 1,
"steps": 50,
"time": "20",
"unit": "seconds"
},
"type": "action",
"x": 920,
"y": 20
},
"c7bd631c-432b-4ef1-8bf7-e03aa5ca8045": {
"type": "start",
"x": 0,
"y": 60,
"outputSuccess": [
"acb142bf-bc23-4596-89e4-399b7c6c2d93"
]
},
"0bee2284-7340-409d-9363-f9fca48ce299": {
"ownerUri": "homey:app:nl.fellownet.chronograph",
"id": "homey:app:nl.fellownet.chronograph:transition_split",
"args": {
"namedd": {
"name": "kleurenmix",
"description": "Existing"
}
},
"type": "trigger",
"x": 0,
"y": 520,
"outputSuccess": [
"e388fb70-63d7-48ca-914a-118c39acba2d"
]
},
"4378bd3a-9949-45fb-9cc7-c8ca2a8e56ee": {
"ownerUri": "homey:app:nl.fellownet.chronograph",
"id": "homey:app:nl.fellownet.chronograph:transition_finished",
"type": "trigger",
"x": 0,
"y": 120,
"args": {
"namedd": {
"name": "kleurenmix",
"description": "Existing"
}
},
"outputSuccess": [
"acb142bf-bc23-4596-89e4-399b7c6c2d93"
]
},
"a1fae4fc-9b53-4b69-be29-820c715d8fc0": {
"ownerUri": "homey:device:9f6e935e-8514-44fd-8748-89995c7edbe0",
"id": "homey:device:9f6e935e-8514-44fd-8748-89995c7edbe0:hue",
"args": {
"hue": "[[trigger::0bee2284-7340-409d-9363-f9fca48ce299::value]]"
},
"type": "action",
"x": 920,
"y": 680
},
"1e9b9cc2-5fe1-4217-ad79-a4521c5955d2": {
"ownerUri": "homey:device:82cfb244-ad9e-4f1f-b94c-e2d1bfbe180b",
"id": "homey:device:82cfb244-ad9e-4f1f-b94c-e2d1bfbe180b:onoff_true",
"type": "trigger",
"x": 0,
"y": 0,
"outputSuccess": []
},
"51528944-212b-4b20-83dc-be55b39a723b": {
"ownerUri": "homey:device:9f6e935e-8514-44fd-8748-89995c7edbe0",
"id": "homey:device:9f6e935e-8514-44fd-8748-89995c7edbe0:off",
"type": "action",
"x": 920,
"y": 140,
"outputSuccess": [
"95c41562-58f3-42ba-aceb-1b3ef4c8c859"
]
},
"f4892fcf-4bdf-4f3b-b996-5c623d7ad0ec": {
"ownerUri": "homey:device:9f6e935e-8514-44fd-8748-89995c7edbe0",
"id": "homey:device:9f6e935e-8514-44fd-8748-89995c7edbe0:dim",
"type": "action",
"x": 920,
"y": 320,
"args": {
"dim": 0.1
},
"outputSuccess": [
"d5d65f0e-e9a0-45d9-bd8d-1f244f518738"
]
},
"13245a2f-988f-4b66-990d-03156a1850b8": {
"ownerUri": "homey:device:9f6e935e-8514-44fd-8748-89995c7edbe0",
"id": "homey:device:9f6e935e-8514-44fd-8748-89995c7edbe0:on",
"type": "condition",
"x": 440,
"y": 320,
"inverted": true,
"outputTrue": [
"f4892fcf-4bdf-4f3b-b996-5c623d7ad0ec"
]
},
"d5d65f0e-e9a0-45d9-bd8d-1f244f518738": {
"ownerUri": "homey:device:9f6e935e-8514-44fd-8748-89995c7edbe0",
"id": "homey:device:9f6e935e-8514-44fd-8748-89995c7edbe0:color",
"type": "action",
"x": 920,
"y": 400,
"outputSuccess": [],
"args": {
"color": "#ff0000"
}
},
"95c41562-58f3-42ba-aceb-1b3ef4c8c859": {
"ownerUri": "homey:app:nl.fellownet.chronograph",
"id": "homey:app:nl.fellownet.chronograph:transition_stop",
"type": "action",
"x": 920,
"y": 220,
"args": {
"namedd": {
"name": "kleurenmix",
"description": "Existing"
}
}
},
"acb142bf-bc23-4596-89e4-399b7c6c2d93": {
"ownerUri": "homey:manager:logic",
"id": "homey:manager:logic:equal_boolean",
"droptoken": "homey:device:82d35af4-d2de-4ccc-9f7c-e5837f51cbb9|onoff",
"type": "condition",
"x": 440,
"y": 60,
"outputTrue": [
"96ead657-a6ab-439a-9995-3c26d713f0a8",
"13245a2f-988f-4b66-990d-03156a1850b8"
],
"outputFalse": [
"51528944-212b-4b20-83dc-be55b39a723b"
]
},
"05f80c9e-5442-44a1-accf-13a213023f12": {
"ownerUri": "homey:device:9f6e935e-8514-44fd-8748-89995c7edbe0",
"id": "homey:device:9f6e935e-8514-44fd-8748-89995c7edbe0:color_random",
"type": "action",
"x": 920,
"y": 540,
"outputSuccess": []
},
"f2c96e93-3e70-4a39-a96c-094d5d838d0f": {
"type": "note",
"value": "Color switch",
"color": "yellow",
"x": 1000,
"y": 480,
"width": null,
"height": null
},
"15fff905-bc20-458b-9122-be76a3528004": {
"type": "note",
"value": "Color wheel",
"color": "yellow",
"x": 1000,
"y": 620,
"width": null,
"height": null
},
"e388fb70-63d7-48ca-914a-118c39acba2d": {
"type": "any",
"x": 800,
"y": 620,
"outputSuccess": [
"05f80c9e-5442-44a1-accf-13a213023f12"
]
}
}
}