Added a line to remind beginners to enable rule1 on the MQTT example

tonyjobson 2018-07-23 20:27:57 +01:00
parent 3d349e485b
commit 518e61df1e
1 changed files with 3 additions and 0 deletions

@ -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.