Created
January 20, 2016 00:00
-
-
Save samdup/6655c39640213c6a9d77 to your computer and use it in GitHub Desktop.
LIFX_cycle_beta1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"eventName": "LIFX_cycle_beta1", | |
"url": "https://api.lifx.com/v1/lights/all/cycle", | |
"requestType": "POST", | |
"headers": { | |
"Authorization": "Bearer YOUR_LIFX_API_KEY", | |
"Content-Type": "application/json" | |
}, | |
"json": { | |
"states": [ | |
{ | |
"{{parameter}}": "{{cycle1}}" | |
}, | |
{ | |
"{{parameter}}": "{{cycle2}}" | |
}, | |
{ | |
"{{parameter}}": "{{cycle3}}" | |
} | |
], | |
"defaults": { | |
"power": "on", | |
"duration": 0.2 | |
} | |
}, | |
"mydevices": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment