mirror of https://github.com/arendst/Tasmota.git
Added example of using KNX commands
parent
d5aa30132f
commit
0d0caa568b
|
@ -70,4 +70,21 @@ DEVICE 2
|
|||
|
||||
We can configure to send the value of temperature or humidity every teleperiod. This teleperiod can be configured. See Sonoff Tasmota [wiki](https://github.com/arendst/Sonoff-Tasmota/wiki/Commands). It is recommended also to set the reply temperature address.
|
||||
|
||||
<img src="https://github.com/ascillato/Sonoff-Tasmota_KNX/blob/development/.github/7.jpg" />
|
||||
<img src="https://github.com/ascillato/Sonoff-Tasmota_KNX/blob/development/.github/7.jpg" />
|
||||
|
||||
**5) Using rules:**
|
||||
|
||||
Using rules more functionality can be added to KNX.
|
||||
|
||||
* In KNX Menu can be set a Group Address to send data or commands by rules as **KNX TX1** to **KNX TX5**
|
||||
|
||||
In rules we can use the command ``KnxTx_Cmnd1 1`` to send an ON state command to the group address set in **KNX TX1** slot of the KNX menu.
|
||||
Also, we can use the command ``KnxTx_Val1 15`` to send a 15 value to the group address set in **KNX TX1** slot of the KNX menu.
|
||||
|
||||
* In KNX Menu can be set a Group Address to receive commands by rules as **KNX RX1** to **KNX RX5**
|
||||
|
||||
In rules we can use the events to catch the reception from KNX to those RX Slots.
|
||||
|
||||
Example: ``rule on event#knxrx_cmnd1 do var1 %value%`` to store the command receive in the variable VAR1
|
||||
|
||||
Also, if a Read request is received from KNX Network, we can use that in a rule as for example: ``rule on event#knxrx_req1 do knxtx_val1 %var3%``
|
||||
|
|
Loading…
Reference in New Issue