-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
A while back Signify added effects_v2 to the API to allow for customizing the color, color temperature and speed of an effect. With this change the old effects on a scene or light is now deprecated. effects_v2 is available on all lights that support effects, even newer white only lights.
It would be great to add support for the color and color temperature property of effects.
Request example
{
"on": {
"on": true
},
"effects": {
"effect": "fire"
},
"effects_v2": {
"action": {
"effect": "fire",
"parameters": {
"color": {
"xy": {
"x": 0.2,
"y": 0.8
}
},
"color_temperature": {
"mirek": 233
},
"speed": 0.5
}
}
}
}Backwards Compatibility
- Sending both
effectsandeffects_v2will simply ignoreeffectsand succeed with applying all other properties includingeffects_v2.- The response will be a 207 (Multi-Status) with data and an error about an invalid argument for
effects.
- The response will be a 207 (Multi-Status) with data and an error about an invalid argument for
- Sending color or color-temperature to white only lights will not result in an error.
- Omitting
parametersforeffects_v2will apply the effect in the same way as the deprecatedeffectsproperty
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels