-
-
Save smithjw/22d6564f9e9981e5b0c6 to your computer and use it in GitHub Desktop.
party
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
aplay /home/pi/ding/Celebration.wav & | |
curl -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X POST -d '{"color":"red","period":2,"cycles":1,"persist":false,"power_on":true}' "https://api.lifx.com/v1/lights/label:James/effects/breathe" & | |
sleep .2 | |
curl -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X POST -d '{"color":"orange","period":2,"cycles":1,"persist":false,"power_on":true}' "https://api.lifx.com/v1/lights/label:Alexis/effects/breathe" & | |
sleep .2 | |
curl -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X POST -d '{"color":"yellow","period":2,"cycles":1,"persist":false,"power_on":true}' "https://api.lifx.com/v1/lights/label:Berty/effects/breathe" & | |
sleep .2 | |
curl -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X POST -d '{"color":"cyan","period":2,"cycles":1,"persist":false,"power_on":true}' "https://api.lifx.com/v1/lights/label:Chloe/effects/breathe" & | |
sleep .2 | |
curl -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X POST -d '{"color":"green","period":2,"cycles":1,"persist":false,"power_on":true}' "https://api.lifx.com/v1/lights/label:Katy/effects/breathe" & | |
sleep .2 | |
curl -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X POST -d '{"color":"blue","period":2,"cycles":1,"persist":false,"power_on":true}' "https://api.lifx.com/v1/lights/label:Nikkers/effects/breathe" & | |
sleep .2 | |
curl -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X POST -d '{"color":"purple","period":2,"cycles":1,"persist":false,"power_on":true}' "https://api.lifx.com/v1/lights/label:Rod/effects/breathe" & | |
sleep .2 | |
curl -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X POST -d '{"color":"pink","period":2,"cycles":1,"persist":false,"power_on":true}' "https://api.lifx.com/v1/lights/label:label:Kitchen - 1/effects/breathe" & | |
sleep .2 | |
curl -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X POST -d '{"color":"red","period":2,"cycles":1,"persist":false,"power_on":true}' "https://api.lifx.com/v1/lights/label:Kitchen - 2/effects/breathe" & | |
sleep .2 | |
curl -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X POST -d '{"color":"orange","period":2,"cycles":1,"persist":false,"power_on":true}' "https://api.lifx.com/v1/lights/label:Kitchen - 3/effects/breathe" & | |
sleep .2 | |
curl -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X POST -d '{"color":"yellow","period":2,"cycles":1,"persist":false,"power_on":true}' "https://api.lifx.com/v1/lights/label:Kitchen - 4/effects/breathe" & | |
sleep .2 | |
curl -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X POST -d '{"color":"red","period":2,"cycles":1,"persist":false,"power_on":true}' "https://api.lifx.com/v1/lights/label:James/effects/breathe" & | |
sleep .2 | |
curl -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X POST -d '{"color":"orange","period":2,"cycles":1,"persist":false,"power_on":true}' "https://api.lifx.com/v1/lights/label:Alexis/effects/breathe" & | |
sleep .2 | |
curl -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X POST -d '{"color":"yellow","period":2,"cycles":1,"persist":false,"power_on":true}' "https://api.lifx.com/v1/lights/label:Berty/effects/breathe" & | |
sleep .2 | |
curl -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X POST -d '{"color":"cyan","period":2,"cycles":1,"persist":false,"power_on":true}' "https://api.lifx.com/v1/lights/label:Chloe/effects/breathe" & | |
sleep .2 | |
curl -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X POST -d '{"color":"green","period":2,"cycles":1,"persist":false,"power_on":true}' "https://api.lifx.com/v1/lights/label:Katy/effects/breathe" & | |
sleep .2 | |
curl -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X POST -d '{"color":"blue","period":2,"cycles":1,"persist":false,"power_on":true}' "https://api.lifx.com/v1/lights/label:Nikkers/effects/breathe" & | |
sleep .2 | |
curl -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X POST -d '{"color":"purple","period":2,"cycles":1,"persist":false,"power_on":true}' "https://api.lifx.com/v1/lights/label:Rod/effects/breathe" & | |
sleep .2 | |
curl -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X POST -d '{"color":"pink","period":2,"cycles":1,"persist":false,"power_on":true}' "https://api.lifx.com/v1/lights/label:label:Kitchen - 1/effects/breathe" & | |
sleep .2 | |
curl -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X POST -d '{"color":"red","period":2,"cycles":1,"persist":false,"power_on":true}' "https://api.lifx.com/v1/lights/label:Kitchen - 2/effects/breathe" & | |
sleep .2 | |
curl -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X POST -d '{"color":"orange","period":2,"cycles":1,"persist":false,"power_on":true}' "https://api.lifx.com/v1/lights/label:Kitchen - 3/effects/breathe" & | |
sleep .2 | |
curl -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -X POST -d '{"color":"yellow","period":2,"cycles":1,"persist":false,"power_on":true}' "https://api.lifx.com/v1/lights/label:Kitchen - 4/effects/breathe" & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment