mirror of https://github.com/arendst/Tasmota.git
Updated KNX Features (markdown)
parent
c6244e08c5
commit
ef7285e93b
|
@ -123,12 +123,12 @@ Also, if a Read request is received from KNX Network, we can use that in a rule
|
|||
|
||||
```
|
||||
rule1 1
|
||||
rule1 on tele-BH1750#Illuminace do knxtx_val1 %value% endon
|
||||
rule1 on tele-BH1750#Illuminance do knxtx_val1 %value% endon
|
||||
```
|
||||
|
||||
* If you want to send your sensor values by KNX only **when it changes in a delta of 10 lx** to the Group Address defined in KNX_TX1, you can use the following rule:
|
||||
|
||||
```
|
||||
rule1 1
|
||||
rule1 on system#boot do backlog var1 0; var2 0 endon on BH1750#Illuminace>%var1% do backlog var1 %value%; knxtx_val1 %value%; var2 %value%; add1 5; sub2 5 endon on BH1750#Illuminace<%var2% do backlog var2 %value%; knxtx_val1 %value%; var1 %value%; add1 5; sub2 5 endon
|
||||
rule1 on system#boot do backlog var1 0; var2 0 endon on BH1750#Illuminance>%var1% do backlog var1 %value%; knxtx_val1 %value%; var2 %value%; add1 5; sub2 5 endon on BH1750#Illuminance<%var2% do backlog var2 %value%; knxtx_val1 %value%; var1 %value%; add1 5; sub2 5 endon
|
||||
```
|
Loading…
Reference in New Issue