I try to connect a ESP2866 (wemos d1 mini) with flashed tasmota with a hardware pushbutton at GIPO 2 with Openhab.
In the end I want to switch different items with this wifi button (e.x. the light at the kitchen - used a shelly1)
I tried to bring the ESP thru the .items to the system and in combination with a rule. But it didn´t working.
The thing definition is made at Paper UI like you see. Looking thru the messages of MQTTfx and the tasmota console everything seems to be all right. Push - ON / Sec Push=OFF
From your screenshot, your thing channel is mqtt:topic:WlanButton001:Wlan-Button-001POWER, which is not what you’re using in your item definition. Try to change your item to:
Hi, thanks I changed my mistakes. It doesn´t work abd it´s crazy, because when I change the wlan button item state via paper ui - control, the rule is working.
If I´m using the hardware wifi button, nothing happened.