logo elektroda
logo elektroda
X
logo elektroda

Troubleshooting OpenBK7231T_558EB4AB MQTT Disconnection Issue with Broker

czareksa 492 1
ADVERTISEMENT
  • #1 21001004
    czareksa
    Level 2  

    I have a similar problem as in:
    https://www.elektroda.com/rtvforum/topic3973253.html

    I'm using OpenBK7231T_558EB4AB. Trying to integrate a Smart Valve Controller with my MQTT Broker. MQTT works fine with Home Assistant. But with my MQTT Broker I get "Disconnected" reason 256 and the device keeps reconnecting (repeatedly same message below in logs):

    mqtt_pass xxxxx
    mqtt_clientID xxxx
    mqtt_host xxxx:1884
    Info:MAIN:Time 442, idle 253676/s, free 84488, MQTT 0(27), bWifi 1, secondsWithNoPing -1, socks 2/38
    Info:MQTT:mqtt_connection_cb: Successfully connected
    Info:MQTT:mqtt_subscribed to T4I/+/set
    Info:MQTT:mqtt_subscribed to //+/set
    Info:MQTT:mqtt_subscribed to cmnd/T4I/+
    Info:MQTT:mqtt_subscribed to cmnd///+
    Info:MQTT:mqtt_subscribed to T4I/+/get
    Info:MQTT:mqtt_connection_cb: Disconnected, reason: 256(Disconnected)
    Info:MAIN:Time 443, idle 258697/s, free 84784, MQTT 0(27), bWifi 1, secondsWithNoPing -1, socks 2/38
    Info:MAIN:Time 444, idle

    I've already tried with different topics, setting/unsetting the flags 2 and 10 (as mentioned topic above) and other with same results.

    I've tried to set debug level both via commands and in the Web Application but only "Info" level is shown.
  • ADVERTISEMENT
  • #2 21005244
    p.kaczmarek2
    Moderator Smart Home
    What kind of MQTT broker do you use and how is that different from HA?

    Can you try binaries from this PR?
    https://github.com/openshwprojects/OpenBK7231T_App/pull/1063
    The following binaries are using QOS 1 of LWIP MQTT library.
    Helpful post? Buy me a coffee.
ADVERTISEMENT