i am currently building a small external touch panel with Arduino ESP32 and 2.8" Touch Panel.
With this device i want to externally control any kind of OpenHab items via MQTT.
In order to do this i created a new MQTT Topic and one Channel per item which i want to control.
Stehlampe Schlafzimmer is a echo control smart plug for a light in the bedroom.
However, it is not completly working as expected:
In case i turn on and off the item Stehlampe Schlafzimmer in the BasicUI the light is switched on and off and the ESP32 is receiving the MQTT publication MQTT_item_link/Schlafzimmer_Stehlampe/state ON/OFF. Also the button on the external screen is activated and deactivated accordingly.
In case i send MQTT_item_link/Schlafzimmer_Stehlampe/set ON/OFF the light is also switched on and off. However, the OpenHab item Stehlampe Schlafzimmer is not updated accordingly.
Can someone help me? Did i do the configuration wrong?
Thank you alot!