mirror of https://github.com/arendst/Tasmota.git
Clarified how to decouple a switch/button from a relay. This has been very confusing for the community.
parent
0dfc387ac2
commit
647bbdb1ea
|
@ -2,6 +2,9 @@ Buttons and switches are primarily used to toggle (turn ON or OFF) device relays
|
||||||
|
|
||||||
> Other than relays, Tasmota does not publish the state of components (switches, buttons, sensors, etc.) in real-time. Only messages corresponding to relays are transmitted in real-time. The state of components is transmitted automatically each [TelePeriod](Commands#teleperiod) via the `SENSORS` message.
|
> Other than relays, Tasmota does not publish the state of components (switches, buttons, sensors, etc.) in real-time. Only messages corresponding to relays are transmitted in real-time. The state of components is transmitted automatically each [TelePeriod](Commands#teleperiod) via the `SENSORS` message.
|
||||||
|
|
||||||
|
## How to make Button or Switch not toggle a relay
|
||||||
|
By default `switch<x>` will actuate `relay<x>`. To ignore this default behavior, define a rule which triggers on the button/switch action.
|
||||||
|
|
||||||
## Button vs. Switch
|
## Button vs. Switch
|
||||||
A button (also called a push-button) is a momentary or non-latching switch which causes a temporary change in the state of an electrical circuit only while the switch is pressed. An automatic mechanism (i.e. a spring) returns the switch to its default position immediately afterwards, restoring the initial circuit condition.
|
A button (also called a push-button) is a momentary or non-latching switch which causes a temporary change in the state of an electrical circuit only while the switch is pressed. An automatic mechanism (i.e. a spring) returns the switch to its default position immediately afterwards, restoring the initial circuit condition.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue