Updated Buttons and Switches (markdown)

blakadder 2019-05-25 14:25:06 +02:00
parent 013f2131fe
commit c60c4d6c98
1 changed files with 2 additions and 1 deletions

@ -8,9 +8,10 @@ Additional buttons and switches can be [wired](Expanding-Sonoffs#connect-switch)
It only sends commands directly to the corresponding relay or to an MQTT topic. It only sends commands directly to the corresponding relay or to an MQTT topic.
## 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. Learn more in [this video](https://www.youtube.com/watch?v=jNvCQVrEpDQ). 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 switch (more precisely a latching switch), when activated by the user, remains in that state until activated again. A switch (more precisely a latching switch), when activated by the user, remains in that state until activated again.
Learn more about buttons and switches in [this video](https://www.youtube.com/watch?v=jNvCQVrEpDQ).
Both have a similar function but Tasmota distinguishes between a "Button" and a "Switch" in other ways. Both have a similar function but Tasmota distinguishes between a "Button" and a "Switch" in other ways.
# Button # Button