Hi
i know that there’s a lot of MQTT threads issue but this one is weirdest
MQTT.cfg is configured as below
# URL to the MQTT broker, e.g. tcp://localhost:1883 or ssl://localhost:8883
broker.url=tcp://192.168.1.110:1883
Mosquitto is up
My openhab server is up and connected to mosquitto
openhab.log:
2018-02-07 14:04:22.210 [INFO ] [er.internal.HomeBuilderDashboardTile] - Started Home Builder at /homebuilder
2018-02-07 14:04:23.399 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at http://192.168.1.110:8080
2018-02-07 14:04:23.440 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at https://192.168.1.110:8443
2018-02-07 14:04:54.315 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'newitems.items'
2018-02-07 14:04:58.780 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2018-02-07 14:04:59.489 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'SMH2.sitemap'
2018-02-07 14:05:03.366 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2018-02-07 14:05:03.471 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2018-02-07 14:05:03.747 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2018-02-07 14:05:04.165 [INFO ] [penhab.io.transport.mqtt.MqttService] - MQTT Service initialization completed.
2018-02-07 14:05:04.168 [INFO ] [t.mqtt.internal.MqttBrokerConnection] - Starting MQTT broker connection 'broker'
My mosquitto server is up without any errors and even got a connection from openhab
mosquitto.log:
1518005040: mosquitto version 1.4.10 (build date Mon, 29 May 2017 13:43:29 +0100) starting
1518005040: Config loaded from /etc/mosquitto/mosquitto.conf.
1518005040: Opening ipv4 listen socket on port 1883.
1518005040: Opening ipv6 listen socket on port 1883.
1518005104: New connection from 192.168.1.110 on port 1883.
i can publish and subscribe from mqttfx or from android mqtt
my items is well defined and displayed
Switch MQTT_chauffage "Switch MQTT_Chauffage" <poweroutlet> [ "Switchable" ] {mqtt=">[192.168.1.110:broadlink/SP2_1/power:command:ON:1],>[192.168.1.110:broadlink/SP2_1/power:command:OFF:0]"}
when i turn on/off the switch, it’s well logged in the events but nothing is published.
i have subscribed on mqttfx to #
2018-02-07 14:15:43.002 [ome.event.ItemCommandEvent] - Item 'MQTT_chauffage' received command ON
2018-02-07 14:15:43.023 [vent.ItemStateChangedEvent] - MQTT_chauffage changed from NULL to ON
2018-02-07 14:15:43.401 [ome.event.ItemCommandEvent] - Item 'MQTT_chauffage' received command OFF
2018-02-07 14:15:43.408 [vent.ItemStateChangedEvent] - MQTT_chauffage changed from ON to OFF
No error but nothing is published
- it’s after a uninstall/install of openhab
- i have uninstalled the mqtt binding and reinstalled
- i have uninstalled the mqtt action and reinstalled
- i have not uninstalled the mqtt persistence
I am driving crazy, please help, i need to sleep:disappointed_relieved:
please check my items , what i am missing?