2018-06-01 22:47:22.055 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2018-06-01 22:47:24.435 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'MyHome.things'
2018-06-01 22:47:26.605 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2018-06-01 22:47:26.773 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2018-06-01 22:47:26.888 [INFO ] [penhab.io.transport.mqtt.MqttService] - MQTT Service initialization completed.
2018-06-01 22:47:26.892 [INFO ] [t.mqtt.internal.MqttBrokerConnection] - Starting MQTT broker connection 'broker'
2018-06-01 22:47:27.044 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2018-06-01 22:47:27.145 [ERROR] [penhab.io.transport.mqtt.MqttService] - Error starting broker connection
org.eclipse.paho.client.mqttv3.MqttException: Unable to connect to server
at org.eclipse.paho.client.mqttv3.internal.TCPNetworkModule.start(TCPNetworkModule.java:79) [213:org.openhab.io.transport.mqtt:1.12.0]
at org.eclipse.paho.client.mqttv3.internal.ClientComms$ConnectBG.run(ClientComms.java:650) [213:org.openhab.io.transport.mqtt:1.12.0]
at java.lang.Thread.run(Thread.java:745) [?:?]
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method) ~[?:?]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:?]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:?]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:?]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:?]
at java.net.Socket.connect(Socket.java:589) ~[?:?]
at org.eclipse.paho.client.mqttv3.internal.TCPNetworkModule.start(TCPNetworkModule.java:70) ~[?:?]
... 2 more
2018-06-02 00:22:23.868 [WARN ] [g.dispatch.internal.ConfigDispatcher] - The file /etc/openhab2/services/mqtt.cfg subsequently defines the exclusive PID $
2018-06-02 00:22:24.085 [INFO ] [er.internal.HomeBuilderDashboardTile] - Started Home Builder at /homebuilder
2018-06-02 00:22:25.723 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at http://192.168.1.47:8080
2018-06-02 00:22:25.726 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at https://192.168.1.47:8443
2018-06-02 00:22:34.223 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'Myhome.items' has errors, therefore ignoring it: [3,23]: mi$
2018-06-02 00:22:38.088 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2018-06-02 00:22:39.938 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'MyHome.things'
2018-06-02 00:22:42.039 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2018-06-02 00:22:42.228 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2018-06-02 00:22:42.335 [INFO ] [penhab.io.transport.mqtt.MqttService] - MQTT Service initialization completed.
2018-06-02 00:22:42.338 [INFO ] [t.mqtt.internal.MqttBrokerConnection] - Starting MQTT broker connection 'broker'
2018-06-02 00:22:42.532 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
/var/log/mosquitto/mosquitto.log
1527876777: New connection from ::1 on port 1883.
1527876777: New client connected from ::1 as mosqsub|1876-raspberryp (c1, k60, $
1527876781: New connection from ::1 on port 1883.
1527876781: New client connected from ::1 as mosqpub|1877-raspberryp (c1, k60, $
1527876781: Client mosqpub|1877-raspberryp disconnected.
1527876809: Socket error on client mosqsub|1876-raspberryp, disconnecting.
1527876809: mosquitto version 1.5 terminating
I will relook into username/password combo however MQTT bindings is not showing up under configuration -> services.
I followed the below steps in the link correctly but I am not able to move forward in step 3 ( binding settings) . I tried installing /uninstalling ( MQTT Binding (binding-mqtt1) ) multiple times.
@rajeev2301
By the way, a little thank you for getting your stuff working would have been nice, after all 2 of us two 2 days to get through to you.
Some of the rest now you will have to figure out by yourself. The are the docs, the forum.
Search the forum before asking trivial questions. Chances are, someone asked the question before.
But ALL you need is in the docs. Read them, again and again.
Follow the docs, step by step. Don’t skip any
Check for typos
Don’t try to improvise. You do NOT know better.
openHAB is hard. At the beginning you WILL struggle. But that struggle will make you learn. If we tell you everything then you won’t learn and to be honest we have better things to do than telling you stuff that’s in the docs, that you should have been reading in the first place.