Update 2.5.0-1 / 2.5.0-2 MQTT stop working correctly

  • Platform information:
    • Hardware: Proxmox VM
    • OS: openhabian
    • openHAB version: 2.5.0-1 and 2.5.0-2
  • Issue of the topic:

After update from 2.5 to 2.5.0-1 (and / or 2.5.0-2) i have no MQTT anymore.

if i start mosquitto in debug mode, it looks like the broker is working

1580323459: Received PUBLISH from DVES_EA64BC (d0, q0, r0, m0, 'tele/PowWohnzimmer2/STATE', ... (308 bytes))
1580323459: Received PUBLISH from DVES_EA64BC (d0, q0, r0, m0, 'tele/PowWohnzimmer2/SENSOR', ... (231 bytes))
1580323459: Received PUBLISH from DVES_374710 (d0, q0, r0, m0, 'tele/PowServer/STATE', ... (250 bytes))
1580323459: Received PUBLISH from DVES_374710 (d0, q0, r0, m0, 'tele/PowServer/SENSOR', ... (233 bytes))
1580323464: Received PINGREQ from DVES_4E9F81
1580323464: Sending PINGRESP to DVES_4E9F81
1580323464: Received PINGREQ from DVES_956E7D
1580323464: Sending PINGRESP to DVES_956E7D
1580323465: Received PINGREQ from DVES_EA6347
1580323465: Sending PINGRESP to DVES_EA6347
1580323465: Received PINGREQ from DVES_374710
1580323465: Sending PINGRESP to DVES_374710
1580323467: Received PUBLISH from DVES_956E7D (d0, q0, r0, m0, 'tele/PowBuero/STATE', ... (251 bytes))
1580323467: Received PUBLISH from DVES_956E7D (d0, q0, r0, m0, 'tele/PowBuero/SENSOR', ... (237 bytes))
1580323467: Received PUBLISH from DVES_EA6347 (d0, q0, r0, m0, 'tele/PowWohnzimmer/STATE', ... (251 bytes))
1580323467: Received PUBLISH from DVES_EA6347 (d0, q0, r0, m0, 'tele/PowWohnzimmer/SENSOR', ... (232 bytes))
1580323474: Received PINGREQ from DVES_4E9F81
1580323474: Sending PINGRESP to DVES_4E9F81

But i got no logs in frontail. Also my Basic UI can’t load the tasmota fields…

my items looking like this:

Number PowWohnzimmer_Power "Wohnzimmer Power [%.1f W]" <pressure>  

        { mqtt="<[broker:tele/PowWohnzimmer/SENSOR:state:JSONPATH($.ENERGY.Power)]" }

Number PowWohnzimmer_Signal "Wohnzimmer WLAN Signal: [%d %%]" <network>  

        { mqtt="<[broker:tele/PowWohnzimmer/STATE:state:JSONPATH($.Wifi.RSSI)]" }

the sitemap like this…

Text label="PowWohnzimmer2" icon="poweroutlet" {

            Switch item=PowWohnzimmer2_Switch

            Text item=PowWohnzimmer2_Power

            Text item=PowWohnzimmer2_Signal

have you any tips for me?

clear cache, reinstall bindings, reinstall mosquitto did not work :frowning:

thank you

Your Items are using MQTT 1 syntax. Do you have the MQTT 1 binding installed or the MQTT 2 binding installed?

Hi rlkoshak

i have both of them installed. and reinstalled too.

No logentries at all? Other items are showing?

Try putting the MQTT 1 binding into debug logging. You should at least see a log entry showing the MQTT binding connecting to the broker. Do you see that log statement at least? Pay special attention to the binding the logs are coming from though. These Items are using the v1 binding so you should ignore any logs coming from the v2 binding. Maybe disable the v2 binding until you get the v1 one working again.

i have disabled the v2 binding, try to put the debug mode, hope i did it right?

absolutly no logs from mqtt :frowning:

openhab> bundle:list -s | grep -i mqtt
229 x Active x  80 x 1.14.0                  x org.openhab.action.mqtt
234 x Active x  80 x 1.14.0                  x org.openhab.binding.mqtt
246 x Active x  80 x 1.14.0                  x org.openhab.io.transport.mqtt
openhab> log:set DEBUG org.openhab.binding.mqtt
openhab> log:tail
.....
18:48:19.908 [INFO ] [smarthome.event.ChannelTriggeredEvent] - hue:0820:0017887cfa72:32:dimmer_switch_event triggered 1002.0
18:48:23.786 [INFO ] [smarthome.event.ItemStateChangedEvent] - Schlafzimmer_Stripe changed from 29,80,0 to 29,80,13
18:48:59.997 [INFO ] [smarthome.event.ChannelTriggeredEvent] - hue:0820:0017887cfa72:32:dimmer_switch_event triggered 4002.0
18:49:03.896 [INFO ] [smarthome.event.ItemStateChangedEvent] - Schlafzimmer_Stripe changed from 29,80,13 to 29,80,0
18:55:00.259 [INFO ] [smarthome.event.ExtensionEvent       ] - Extension 'binding-mqtt' has been uninstalled.
19:07:00.003 [INFO ] [smarthome.event.ChannelTriggeredEvent] - astro:sun:home:eveningNight#event triggered START
19:07:00.004 [INFO ] [smarthome.event.ChannelTriggeredEvent] - astro:sun:home:night#event triggered START
19:07:00.004 [INFO ] [smarthome.event.ChannelTriggeredEvent] - astro:sun:home:astroDusk#event triggered END

what can i do? :S

edit:

oh sorry, was a little bit impatient. now it works again… have no idea why… maybe because of de uninstalling of the v2 binding?

but its works now again… thank you.