Hi,
it’s quite simple; Just add the MQTT Binding (i think it is an “Legacy Binding” and then configure mqtt-eventbus.cfg in the services-Directory to push all Commands and States to MQTT.
As I told you I’m not familiar with setting up the system, so I don’t know the syntax of the mqtt-eventbus.cfg. Maybe this is documented in the file - have to check after I have finished the installation.
Would it be better just to install a clean MQTT-server?
I’m sure you are right, Rich. It’s my lack of knowledge!
I’ll try to describe what I want to achieve:
I have some DTH22 sensors I need to be able to read, and they are hooked up to ESP8266 Devices. These devices will post information about temperature and humidity using OpenHab MQTT, and I want to have a RPi working as a MQTT broker, so I can pull iformation from it via another RPi using Node-Red and the MQTT Add-On.
If I get you right, the best solution would be just to install MQTT on the dedicated RPi, but then I need to know how to configure it. Looks like this is another cup of tea, and has nothing to do with the OpenHab server.
Please correct me if I’m wrong, thoug I don’t know how to configure MQTT to read information from the Device sending information via OpenHab MQTT,