openHAB 2.3 (stable) MQTT binding troubleshooting



  • With version 2.2 everything worked great, but after I updated OH to stable 2.3 MySensors MQTT binding always with "Initializing" status like this 0_1528960316257_2018-06-14 14_11_35-Paper UI.png
    OH2 logs seems to be fine

    ==> /var/log/openhab2/events.log <==
    
    2018-06-14 14:06:07.939 [hingStatusInfoChangedEvent] - 'mysensors:bridge-mqtt:4d219998' changed from UNINITIALIZED to INITIALIZING
    
    ==> /var/log/openhab2/openhab.log <==
    
    2018-06-14 14:06:07.959 [DEBUG] [ensors.factory.MySensorsCacheFactory] - Cache file: given_ids.cached exist.
    
    2018-06-14 14:06:08.036 [DEBUG] [ensors.factory.MySensorsCacheFactory] - Cache (given_ids) content: []
    
    2018-06-14 14:06:08.070 [DEBUG] [rotocol.mqtt.MySensorsMqttConnection] - Enabling connection watchdog
    
    2018-06-14 14:06:08.179 [DEBUG] [org.openhab.binding.mysensors       ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.config.discovery.DiscoveryService}={service.id=351, service.bundleid=235, service.scope=singleton} - org.openhab.binding.mysensors
    
    2018-06-14 14:06:08.251 [DEBUG] [.discovery.MySensorsDiscoveryService] - Starting MySensors discovery scan
    
    2018-06-14 14:06:08.283 [DEBUG] [nsors.handler.MySensorsBridgeHandler] - Initialization of the MySensors bridge DONE! 
    

    and it connects to mosquitto as usual with no errors

    1528958279: New connection from 127.0.0.1 on port 1883.
    1528958280: New client connected from 127.0.0.1 as paho36475635492761 (c1, k60, u'mk-sensors').
    1528959641: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
    

    I'm using org.openhab.binding.mysensors-2.3.0-SNAPSHOT.jar, is it latest release?



  • Just tested on fresh openhabian install - with OH2.3 problem persist, with OH2.2 everything works as expected =(



  • @madelle-kamois this issue is already discussed in this thread. In 2.3 mqtt Implementation has basically changed. Develloper @TimO is working on it.


Log in to reply
 

Suggested Topics

  • 22
  • 5
  • 3
  • 2
  • 4
  • 135

1
Online

11.4k
Users

11.1k
Topics

112.7k
Posts