Village:Königlich Bayerisches Amtsvillage/Lightcontroller
From SHA2017 Wiki
< Village:Königlich Bayerisches Amtsvillage
Somewhere at the Königlich Bayrisches Amtsvillage, there will be a 5 meter RGB LED strip.
You can control it via UDP. Just send packets with the blue, red and green values as ASCII-Text separated by a space. The range is 0-1 inclusive. The values will be smoothly faded to make it more elegant. The IP-Address will be published as soon as the device is online
#!/bin/bash # Set to some colour echo "1 0.5 0" > /dev/udp/18.104.22.168/8888 sleep 1 #set to cyan echo "1 0 1" > /dev/udp/22.214.171.124/8888