LED color based on bandwidth usage
dpdrown, wrote a small program to set the color of the lan0/wan LEDs based on the bandwidth usage. 0% usage = green, 50% usage = yellow, 100% usage = red. I'm using the wan LED to show the download usage and the lan0 LED to show the upload usage.
The wifi leds change from green/yellow/red based off of all traffic (not just your traffic) on that channel.
The code for it is here: https://github.com/ddrown/omnia-led-colors147
To install it:opkg update
opkg
install git
git clone git://github.com/ddrown/omnia-led-colors.git
cd omnia-led-colors
./install
# Check the settings in /etc/config/omnia-led-colors
And a video of it in action:
Source/Quellen:
- https://forum.turris.cz/t/led-color-based-on-bandwidth-usage/1262
-
-
-