Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docs:guide-user:services:leds:generic.rssileds [2018/03/03 20:15] – ↷ Page moved from docs:user-guide:services:leds:generic.rssileds to docs:guide-user:services:leds:generic.rssileds bobafetthotmaildocs:guide-user:hardware:led:generic.rssileds [2021/08/30 11:22] (current) – [LED definitions] feckert
Line 1: Line 1:
-======Use leds to show signal strenght with rssileds ====== +====== Use LEDs to show signal strength with rssileds ======
- +
 The rssileds package allows you to control LEDs on a router or access point depending on the signal strength of a WiFi interface. The rssileds package allows you to control LEDs on a router or access point depending on the signal strength of a WiFi interface.
  
Line 7: Line 5:
  
 ===== Step 1: installing rssileds ===== ===== Step 1: installing rssileds =====
- +<code bash
-<code> +opkg update 
-opkg install rssileds+opkg install rssileds
 </code> </code>
  
 ===== Step 2: configuring the system ===== ===== Step 2: configuring the system =====
- 
 The rssileds configuration is stored in the "system" UCI section. At least two sections are needed. The rssileds configuration is stored in the "system" UCI section. At least two sections are needed.
  
Line 24: Line 21:
  
 ==== LED definitions ==== ==== LED definitions ====
- +Options available for the "rssi trigger", for more details on other parameters refer to LED section in [[docs:guide-user:base-system:led_configuration|System configuration]].
-Options available for the "rssi trigger", for more details on other parameters refer to LED section in [[doc:uci:system|System configuration]].+
 ^ Name ^ Type ^ Required ^ Default ^ Description ^ ^ Name ^ Type ^ Required ^ Default ^ Description ^
 | ''iface'' | string | yes | //(none)// | Specifies the rssi block, must refer to the name defined in the "rssid" block sections | | ''iface'' | string | yes | //(none)// | Specifies the rssi block, must refer to the name defined in the "rssid" block sections |
 | ''minq'' | integer | yes | //(none)// | The minimum quality percentage for the LED to turn on | | ''minq'' | integer | yes | //(none)// | The minimum quality percentage for the LED to turn on |
-| ''maxq'' | integer | yes | //(none)// | The maximum quality percentage for the LED it to turn on |+| ''maxq'' | integer | yes | //(none)// | The maximum quality percentage for the LED to turn on |
 | ''offset'' | integer | no | 0 | Used for PWM LED, the led brightness is equal to the quality with the specified offset | | ''offset'' | integer | no | 0 | Used for PWM LED, the led brightness is equal to the quality with the specified offset |
 | ''factor'' | integer | no | 1 | Used for PWM LED, after the offset is applied, the brightness is scaled by the specified factor | | ''factor'' | integer | no | 1 | Used for PWM LED, after the offset is applied, the brightness is scaled by the specified factor |
Line 36: Line 32:
  
 ==== Example ==== ==== Example ====
- +<code bash>
-<code>+
 config rssid 'wlan0'          config rssid 'wlan0'         
         option refresh 40000                   option refresh 40000          
  • Last modified: 2021/08/30 11:22
  • by feckert