post https://api.lifx.com/v1/lights//effects/pulse
Log in to see full request history
Performs a pulse effect by quickly flashing between the given colors. Use the parameters to tweak the effect.
Response
Performs a pulse effect by quickly flashing between the given colors. Use the parameters to tweak the effect.
xxxxxxxxxx
13curl --request POST \
--url https://api.lifx.com/v1/lights/selector/effects/pulse \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"from_color": "current bulb color",
"period": 1,
"cycles": 1,
"persist": false,
"power_on": true
}
'
Try It!
to start a request and see the response here! Or choose an example: