that’s not good. it should be populated with the info coming from $OPENHAB_CONF/services/mqtt.cfg
delete $OPENHAB_USERDATA/config/org/openhab/mqtt.config and let OH2 recreate it
Did you erase the info from this file manually?
Yes i use the new V2 binding, i use openHAB 2.4.0 Build #1447
PaperUI i have install mqtt action and binding. And some other bindings witch also not work. The in OH2 item files, sitemaps files, … everything is different. And this Thinks i read the documentation about them but i cannot understand their purpose. is it needed to communicate with the broker.
Take a look at the URL: https://www.openhab.org/addons/bindings/mqtt1/ (MQTTv1)
The docs for MQTTv2 have not been published yet on the openhab website
The latest refers to the openHAB Release # (latest = 2.4.0)
Hello. I have the same problem, but I don’t know how to install MQTTv1.
The only option that appears in Paper UI is:
### Embedded MQTT Broker
misc-mqttbroker - 2.3.0
Even with “Include Legacy 1.x Bindings” activated.
My OH2 version: 2.3.0 Release Build
Hiho,
I’m using:
250 x Active x 80 x 0.10.0.oh240 x Eclipse SmartHome MQTT Binding
251 x Active x 80 x 0.10.0.oh240 x Eclipse SmartHome MQTT Thing Binding
252 x Active x 80 x 0.10.0.oh240 x Eclipse SmartHome MQTT Transport Bundle
everything works fine.
I delete also:
$OPENHAB_USERDATA/config/org/openhab/mqtt.config
$OPENHAB_CONF/service/mqtt.config
But anyway I got the log entry:
2018-12-21 13:45:35.721 [WARN ] [.MqttBrokerConnectionServiceInstance] - MqttBroker connection configuration faulty: host : You need to provide a hostname/IP!
As I mentioned everything works fine but I will not see this entry
This is not related to MQTT Things. This is related to what is referred to as System brokers in the MQTT blog post. There is a UI for this in Paper UI. Look under “Config -> Services -> MQTT Brokers” or so and delete all broker instances over there.
Hey David - 100 Points
This solves the problem. Thank You.
BTW: Under “Config -> Services -> MQTT Brokers” I had no instances.
I do the this in Karaf console: