My System is over three years old and has been working very well. Last week after upgrading MQTT stopped working and openhab is no longer able to receive or send data. I searched this forum and so tried uninstalling 2.4.0 snapshop and adding MQTT1 to the addons.cfg. No luck at all, any suggestions?
To be honest, I have no idea how to define the version in addons.cfg. Because mqtt1 and mqtt2 have actually the same binding id which is “mqtt”. You will always get the latest version.
In paper UI you can separately download v1 and v2.
The legacy binding is “mqtt1”. All 1.x version bindings have a 1 after them. So, for example, the only HTTP binding is “http1”. “mqtt” will install the 2.4 version binding. Here is my addons.cfg which installs both.
Going back to the second post, you need to enable legacy bindings for it to show up in the list there. The setting is under Configuration -> System -> “Include Legacy 1.x Bindings”. Toggle that ON and both versions will be shown in Add-ons >_ bindings.