I'm using a TUYA-BK7231N/CBU Wi-Fi door sensor like here: https://www.elektroda.com/rtvforum/topic3982902.html#20611799
Flashed openBeken and configured all settings for Wi-Fi & MQTT - Data publish works fine.
BUT, since my subscribing client is not always online I'd like to set the QoS to 1 and some flat lie "retain" or "cleansession" to get the data stored on my MQTT broker until the subscriber comes online again.
Any ideas how to do this on openBeken firmware?
Thanks in advance