mirror of https://github.com/arendst/Tasmota.git
Updated Status LED (markdown)
parent
9c3fb0dbbb
commit
9033d58395
|
@ -6,13 +6,6 @@ By default Tasmota uses the first defined Led(i) as a device status LED. Next de
|
|||
|
||||
> It is possible to wire in your own LED and assign it as any of the above mentioned but that's outside the scope of this article.
|
||||
|
||||
### Power status LED
|
||||
**Power status LED** shows the status of components (commonly relays). It is turned off by default when the relay is OFF and turned on when the relay switches ON.
|
||||
|
||||
> Depending on the device design, some LEDs are connected to the same GPIO as the relay. Those cannot be independently controlled since they have to follow the relay state.
|
||||
|
||||
If you have more than one LED wired independently and you want it to show the relay state you need to assign [LedLink](#using-ledlink).
|
||||
|
||||
### Link status LED
|
||||
<img src="https://raw.githubusercontent.com/blakadder/testdocusite/master/sonoff%20blinking.gif" align=right height=90%>
|
||||
|
||||
|
@ -23,6 +16,13 @@ It blinks if the device is not connected to your Wi-Fi AP **and** MQTT broker.
|
|||
|
||||
*As an example:* On a Sonoff Basic the green LED is defined as Ledi and is used as the link status LED.
|
||||
|
||||
### Power status LED
|
||||
**Power status LED** shows the status of components (commonly relays). It is turned off by default when the relay is OFF and turned on when the relay switches ON.
|
||||
|
||||
> Depending on the device design, some LEDs are connected to the same GPIO as the relay. Those cannot be independently controlled since they have to follow the relay state.
|
||||
|
||||
If you have more than one LED wired independently and you want it to show the relay state you need to assign [LedLink](#using-ledlink).
|
||||
|
||||
## Using LedLink
|
||||
Since version 6.5.0.12, a new component, LedLink (or LedLinki) is used to assign the link status LED. When LedLink(i) is assigned other LEDs are automatically linked to their corresponding relay and serve as that relay's power status LED.
|
||||
|
||||
|
|
Loading…
Reference in New Issue