mirror of https://github.com/arendst/Tasmota.git
Updated Kesen KS 604S (markdown)
parent
e868879ed6
commit
e99a98222f
|
@ -42,6 +42,6 @@ _**Note: Use the module configuration to define the Generic Module GPIO settings
|
||||||
In order to have the power indicators follow the state of the relays, the two orange LED GPIO must be configured as virtual relays. A rule is used to change the state of the LED "relay" when the real relay is toggled. Also, to avoid excessive flash writes caused by the addition of the virtual relays, disable state saves using [`SetOption0`](Commands#setoption0). In this case, Tasmota will not be able to restore the last known state so [`PowerOnState`](Commands#poweronstate) 3 is not an option. Select the desired power on state for the devices relays. Also, on this device, the status LED default is to turn the LED on whenever either relay is powered on. To avoid having the status LED indicate power status, set [`LEDState`](Commands#ledstate) to only display boot and connectivity status.
|
In order to have the power indicators follow the state of the relays, the two orange LED GPIO must be configured as virtual relays. A rule is used to change the state of the LED "relay" when the real relay is toggled. Also, to avoid excessive flash writes caused by the addition of the virtual relays, disable state saves using [`SetOption0`](Commands#setoption0). In this case, Tasmota will not be able to restore the last known state so [`PowerOnState`](Commands#poweronstate) 3 is not an option. Select the desired power on state for the devices relays. Also, on this device, the status LED default is to turn the LED on whenever either relay is powered on. To avoid having the status LED indicate power status, set [`LEDState`](Commands#ledstate) to only display boot and connectivity status.
|
||||||
|
|
||||||
The following Console statements define the necessary settings and rules for configuring the indicator behavior as described above.
|
The following Console statements define the necessary settings and rules for configuring the indicator behavior as described above.
|
||||||
> Backlog SetOption0 0; PowerOnState 0; LEDState 0; Rule1 ON Power1#State DO Power4 %value% ENDON ON Power2#State DO Power5 %value% ENDON
|
> Backlog SetOption0 0; PowerOnState 0; LEDState 0; Rule1 ON Power1#State DO Power4 %value% ENDON ON Power2#State DO Power5 %value% ENDON ON System#Boot DO Power3 On ENDON
|
||||||
>
|
>
|
||||||
> Rule1 1
|
> Rule1 1
|
||||||
|
|
Loading…
Reference in New Issue