wombat.ch

your Partner for Network Design and CMS

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
-
-
-

RSS Feed


Warning: Invalid argument supplied for foreach() in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 39

Warning: Invalid argument supplied for foreach() in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 39

neusten Links


Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2/web2/web/j/modules/mod_quicklistweblinks/helper.php on line 78
many More Links »

part of ...

Linux Counter

Disqus

 

Learning Network

Seti@home & Boinc

myBonic

statistik

 


Who is Online

We have 597 guests and no members online

We have 600 guests, no bots and no members online