diff --git a/KNX-Features.md b/KNX-Features.md index d95b5bc9..b426f34b 100644 --- a/KNX-Features.md +++ b/KNX-Features.md @@ -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. - \ No newline at end of file + + +**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%``