arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
21.98k stars 4.77k forks source link

KNX: ButtonX does nothing if isn't any associated relay to it. #4746

Closed ascillato2 closed 5 years ago

ascillato2 commented 5 years ago

IMPORTANT NOTICE If you do not complete the template below it is likely that your issue will not be addressed. When providing information about your issue please be as extensive as possible so that it can be solved by as little as possible responses.

FAILURE TO COMPLETE THE REQUESTED INFORMATION WILL RESULT IN YOUR ISSUE BEING CLOSED

Describe the bug A clear and concise description of what the bug is.

Originally posted by Sören in the Tasmota Chat:

I have a sonoff s20(target device) and a esp8266(testing device) with tasmota on it.

I want to use a Radarsensor (RCWL-0516) as a sensor that only send it state out through knx

I set up the Radarsensor to be button 2 und Said that button2 should send out on 6/1/20

That does not work

But it works when I have set up the Sensor as button1

Also, make sure these boxes are checked [x] before submitting your issue - Thank you!

Not provided



**To Reproduce**
_Steps to reproduce the behavior:_

* Set button2 without a relay2
* Enable KNX
* Add any KNX address to button2
* Press button2 (nothing happens)

If relay is added or a rule is used, button2 can send KNX data

**Expected behavior**
_A clear and concise description of what you expected to happen._
ButtonX to be used in KNX without virtual relays

**Screenshots**
_If applicable, add screenshots to help explain your problem._
NA

**Additional context**
_Add any other context about the problem here._
NO

**(Please, remember to close the issue when the problem has been addressed)**
ascillato2 commented 5 years ago

Tasmota does not support to use buttons without relays, so that is why it can't be added to the KNX Driver. Tasmota does support switches without relays.

As a workaround:

rule1 1
rule1 on switch2#state=1 do KnxTx_Cmnd1 1 endon