Last active
March 7, 2021 23:51
-
-
Save Crysknife007/fe09752dd91a3c8e966e9cd0c8a919d8 to your computer and use it in GitHub Desktop.
Sleep Mushroom Bash Controller
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
# Run the sleepy mushroom like a dodow sleep aid | |
# Makes use of WS2812FX Web Interface by kitesurfer1404: | |
# https://github.com/kitesurfer1404/WS2812FX | |
# Set animation to fade | |
curl http://192.168.0.128/set?m=15 | |
# Set color to red | |
curl http://192.168.0.128/set?c=16711680 | |
# Set speeds and wait in between changes | |
curl http://192.168.0.128/set?s=5455 | |
sleep 3m | |
curl http://192.168.0.128/set?s=6000 | |
sleep 3m | |
curl http://192.168.0.128/set?s=6666 | |
sleep 3m | |
curl http://192.168.0.128/set?s=7500 | |
sleep 3m | |
curl http://192.168.0.128/set?s=8571 | |
sleep 3m | |
curl http://192.168.0.128/set?s=9230 | |
sleep 2m | |
curl http://192.168.0.128/set?s=10000 | |
sleep 3m | |
curl http://192.168.0.128/set?s=10909 | |
sleep 3m | |
curl http://192.168.0.128/set?s=12000 | |
# Run that last one a long time | |
sleep 157m | |
# Turn off the light | |
curl http://192.168.0.128/set?c=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment