Just looking at moving from 2.x to 3.1. Thought I’d start with fresh install and slowly redo it in 3.1 to learn better. So made a new openhab3 on my linux server and installed it there. So can turn off 2, play with 3 and switch back/forward until I’m ready. Totally happy with that.
However seem to be stuck at basic MQTT binding. On my 2.x I have the System MQTT broker and 90% of all my OH goes thu that. But then I install the same binding in 3.1 it doesn’t seem to work like the 2.x one?
You do not want to have any System Broker Thing in OH3 because that is to do with the OH2 “embedded” mqtt broker, which is not available in OH3 (because it cannot be supported in future).
You might want to review the concept of how MQTT works. You need a broker of some kind. This broker can live anywhere on your network, where anything can connect to it.
You seem to have had a working broker using the “embedded broker” add-on for OH2, which your devices and OH2 connected to in order to exchange messages.
You can set up a new unrelated OH3 on the same or a different box, and also have that set up to connect to the same broker your devices are already using.
I do get that. It’s just my server is the only host that is on 24/7, hence why it was the MQTT host on OH2. I was hoping I could keep it the MQTT broker host on OH3 too, without introducing another box on 24/7 just to be MQTT broker.
Would have been good to get either;
Current MQTT broker to work without the “Invalid protocol “MQTT” in CONNECT” error
Be able to compile a working newer version of MQTT broker.
Adding another box just for that, is a distant 3rd.