Closed mattorp closed 2 years ago
This can be accomplished with syn-http now.
You can save a script like the one below and execute it to set saved colors. By storing multiple files you can have many different color vibes without storing multiple configs.
You can use 'rgb(r,g,b)' or normalized values (255=1) with comma as the delimiter.
LOW_COLOR='rgb(255,0,0)'
HIGH_COLOR=0.5,0.5,0
HOST=localhost
PORT=6001
URL=http://$HOST:$PORT/controls
curl $URL/limit_colors/1.0
curl $URL/low_color/$LOW_COLOR
curl $URL/high_color/$HIGH_COLOR
You can combine it with selecting the scene. This way you can save a file that opens the scene and limits the color on running it.
Add this to the script:
SCENE=neon_scene
curl http://$HOST:$PORT/scenes/$SCENE
yroc:
https://discord.com/channels/729824270913503374/752022203205287936/752748936699314316