mirror of https://github.com/arendst/Tasmota.git
Added a line to remind beginners to enable rule1 on the MQTT example
parent
3d349e485b
commit
518e61df1e
3
Rules.md
3
Rules.md
|
@ -163,6 +163,9 @@ Software
|
|||
Rule
|
||||
- ``rule on button1#state do publish cmnd/ring2/power %value% endon on button2#state do publish cmnd/strip1/power %value% endon``
|
||||
|
||||
(You will likely need to enable this rule if it's the first time you've used them)
|
||||
"rule1 on".
|
||||
|
||||
Result
|
||||
- When button 1 is pressed the rule kicks in and sends a MQTT message substituting variable ``%value%`` with the button state like ``cmnd/ring2/power 2``. When button 2 is pressed a MQTT message like ``cmnd/strip1/power 2`` will be sent.
|
||||
|
||||
|
|
Loading…
Reference in New Issue