Ankündigung

Einklappen
Keine Ankündigung bisher.

Sonoffs schalten nicht mehr (MQTT-Binding)

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    Sonoffs schalten nicht mehr (MQTT-Binding)

    Hallo OH-Gemeinde

    Seit ca. einem Jahr schaltete ich meine Kaffeemaschine zuverlässig über einen Switch im Basic UI (Sonoff-Schalter) Ein und Aus (OH2 2.2.0 /MQTT-Binding 1.1.0/Tasmota 5.12.0). Plötzlich funktioniert es seit vier Tagen nicht mehr. Schalte ich im Basic UI den Switch für die Kaffeemaschine wie gewohnt ein, sehe ich in der OH2-Logdatei, daß sich der Status des Switch von OFF auf ON ändert, ebenfalls sehe ich die Änderung auch in MQTT.FX (Subscribe), aber der Schalter schaltet nicht. Merkwürdigerweise kann ich in MQTT.FX (Publish) den Sonoff-Schalter Ein und Aus schalten.
    Openhab2 und der MQTT-Broker laufen bei mir auf einem Mac mini, auf dem in den letzten Wochen keine manuellen oder automatischen Updates gemacht worden sind. Auch in OH2 habe ich keinerlei Änderungen in den letzten Wochen vorgenommen.

    Folgende Aktionen meinerseits brachten leider keinen Erfolg:

    - Paper UI: MQTT-Bindings deinstalliert (auch MQTT-Event...) und mqtt.cfg deinstalliert. Nach dem Starten von OH2 wurde das MQTT-Binding sofort als installiert angezeigt (MQTT-Event... nicht). Danach OH2 beendet und die cfg-Datei konfiguriert und OH2 wieder neu gestartet.
    - Openhab2: Im Verzeichnisbaum den Inhalt des Cache- und Temp- Verzeichnis gelöscht und OH2 wieder neu gestartet.
    - Rechner habe ich mehrmals nach Änderungen neu gestartet.
    - Neuen Sonoff-Schalter geflasht -> leider genau das gleiche Verhalten wie schon oben beschrieben

    Mittlerweile bin ich am verzweifeln und weiß auch nicht mehr weiter. Hat jemand vielleicht noch eine Idee ? Kann man irgendetwas in der Karaf-Konsole zurücksetzen (bin da nicht so fitt drin) ?
    Zuletzt geändert von Machineman; 01.12.2018, 11:07.

    #2
    Der erste Schritt wäre mal, die Verbindung mit dem Browser zum Sonoff zu testen. Dann schau Dir mal genau die Messages an, die openHAB an den Broker schickt und empfängt (jeweils auf der Empfangsseite!)
    Grundsätzlich hat es schon ein paar Updates gegeben, inwieweit die auf einem Mac Mini "einfach so" passieren könnten, hab ich keine Ahnung.

    Kannst Du eventuell mal Ausschnitte der Logs schicken (sowohl openhab.log als auch events.log und mqtt.fx logs?)

    Kommentar


      #3
      Hallo udo1toni,

      das Schalten des Sonoffschalters über den Browser funktioniert einwandfrei. Ich hoffe die Logs sind aussagekräftig. Hier noch ein paar Infos zum Schalter und MQTT-Clients:

      Friendly Name: SonoffBasic1
      MQTT Topic: sonoff

      MQTT Brokername:
      Mosquitto

      MQTT Clients:
      Sonoff-Schalter: 192.168.2.131 as Sonoff131
      OpenHab2: 192.168.2.111 as openHAB2



      .item
      Code:
      Switch Kaffeemaschine "Kaffeemaschine [MAP(anaus.map):%s]" <Kaffee>     [ "Switchable" ]    { mqtt=">[mosquitto:cmnd/SonoffBasic1/power:command:*:default],<[mosquitto:stat/SonoffBasic1/POWER:state:default]" }
      .sitemap
      Code:
      Switch item=Kaffeemaschine            //Sonoff131
      Die Log-Dateien in Openhab habe ich mir mittels log:tail ​​​​​​​anzeigen lassen.


      Einschalten des Sonoff von OpenHab aus über den Switch Kaffeemaschine -> Sonoff schaltet nicht
      Code:
      [U]OpenHab2 Log:[/U]
      21:30:57.125 [INFO ] [smarthome.event.ItemCommandEvent     ] - Item 'Kaffeemaschine' received command ON
      21:30:57.125 [DEBUG] [binding.mqtt.internal.MqttItemBinding] - Publishing command ON to cmnd/SonoffBasic1/power
      21:30:57.126 [INFO ] [smarthome.event.ItemStateChangedEvent] - Kaffeemaschine changed from OFF to ON
      21:30:57.127 [INFO ] [smarthome.event.ItemCommandEvent     ] - Item 'Lampe1_ONOFF' received command ON
      
      [U]MQTT.FX Log:[/U]
      2018-12-01 21:30:53,866  INFO --- MqttFX ClientModel             : messageArrived() with topic: $SYS/broker/bytes/sent
      2018-12-01 21:30:58,777  INFO --- MqttFX ClientModel             : messageArrived() with topic: /openhab2/out/Kaffeemaschine/state
      2018-12-01 21:30:58,778  INFO --- MqttFX ClientModel             : messageArrived() added: message #10 to topic '/openhab2/out/Kaffeemaschine/state'
      2018-12-01 21:31:05,023  INFO --- MqttFX ClientModel             : messageArrived() with topic: $SYS/broker/uptime
      2018-12-01 21:31:05,028  INFO --- MqttFX ClientModel             : messageArrived() with topic: $SYS/broker/load/messages/received/1min
      2018-12-01 21:31:05,028  INFO --- MqttFX ClientModel             : messageArrived() with topic: $SYS/broker/load/messages/sent/1min
      2018-12-01 21:31:05,028  INFO --- MqttFX ClientModel             : messageArrived() with topic: $SYS/broker/load/publish/sent/1min
      Einschalten des Sonoff von MQTT.FX aus -> Sonoff schaltet von AUS nach AN, wie es sein soll
      Code:
      [U]MQTT.FX Log:[/U]
      2018-12-01 21:36:01,893  INFO --- MqttFX ClientModel             : messageArrived() with topic: $SYS/broker/messages/sent
      2018-12-01 21:36:01,893  INFO --- MqttFX ClientModel             : messageArrived() with topic: $SYS/broker/bytes/received
      2018-12-01 21:36:01,893  INFO --- MqttFX ClientModel             : messageArrived() with topic: $SYS/broker/bytes/sent
      2018-12-01 21:36:05,769  INFO --- PublishController              : publish
      2018-12-01 21:36:05,770  INFO --- MqttFX ClientModel             : attempt to add PublishTopic
      2018-12-01 21:36:05,770  INFO --- MqttFX ClientModel             : sucessfully published message on to topic cmnd/sonoff/POWER (QoS 0, Retained: false)
      2018-12-01 21:36:12,951  INFO --- MqttFX ClientModel             : messageArrived() with topic: $SYS/broker/uptime
      2018-12-01 21:36:12,954  INFO --- MqttFX ClientModel             : messageArrived() with topic: $SYS/broker/load/messages/received/1min
      2018-12-01 21:36:12,955  INFO --- MqttFX ClientModel             : messageArrived() with topic: $SYS/broker/load/messages/sent/1min
      2018-12-01 21:36:12,955  INFO --- MqttFX ClientModel             : messageArrived() with topic: $SYS/broker/load/publish/received/1min
      
      [U]OpenHab2 Log:[/U]
      21:35:48.807 [DEBUG] [binding.mqtt.internal.MqttItemBinding] - Publishing command OFF to cmnd/SonoffBasic1/power
      21:35:48.808 [INFO ] [smarthome.event.ItemStateChangedEvent] - Kaffeemaschine changed from ON to OFF
      21:35:48.965 [INFO ] [smarthome.event.ItemCommandEvent     ] - Item 'Lampe1_ONOFF' received command OFF
      21:35:48.966 [INFO ] [smarthome.event.ItemStateChangedEvent] - Lampe1_ONOFF changed from ON to OFF
      21:35:49.045 [WARN ] [orm.AbstractFileTransformationService] - Could not transform 'NULL' with the file 'garagedoor.map' : Target value not found in map for 'NULL'
      21:35:49.046 [WARN ] [orm.AbstractFileTransformationService] - Could not transform '-' with the file 'garagedoor.map' : Target value not found in map for '-'
      21:35:57.342 [ERROR] [jersey.server.ServerRuntime$Responder] - An I/O error has occurred while writing a response message entity to the container output stream.
      org.glassfish.jersey.server.internal.process.MappableException: org.eclipse.jetty.io.EofException
          at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:92) [178:org.glassfish.jersey.core.jersey-server:2.22.2]
          at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162) [177:org.glassfish.jersey.core.jersey-common:2.22.2]
          at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1130) [177:org.glassfish.jersey.core.jersey-common:2.22.2]
          at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:711) [178:org.glassfish.jersey.core.jersey-server:2.22.2]
          at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:444) [178:org.glassfish.jersey.core.jersey-server:2.22.2]
          at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:434) [178:org.glassfish.jersey.core.jersey-server:2.22.2]
          at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:329) [178:org.glassfish.jersey.core.jersey-server:2.22.2]
          at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) [177:org.glassfish.jersey.core.jersey-common:2.22.2]
          at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) [177:org.glassfish.jersey.core.jersey-common:2.22.2]
          at org.glassfish.jersey.internal.Errors.process(Errors.java:315) [177:org.glassfish.jersey.core.jersey-common:2.22.2]
          at org.glassfish.jersey.internal.Errors.process(Errors.java:297) [177:org.glassfish.jersey.core.jersey-common:2.22.2]
          at org.glassfish.jersey.internal.Errors.process(Errors.java:267) [177:org.glassfish.jersey.core.jersey-common:2.22.2]
          at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) [177:org.glassfish.jersey.core.jersey-common:2.22.2]
          at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) [178:org.glassfish.jersey.core.jersey-server:2.22.2]
          at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154) [178:org.glassfish.jersey.core.jersey-server:2.22.2]
          at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473) [175:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
          at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427) [175:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
          at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388) [175:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
          at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341) [175:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
          at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228) [175:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
          at com.eclipsesource.jaxrs.publisher.internal.ServletContainerBridge.service(ServletContainerBridge.java:76) [15:com.eclipsesource.jaxrs.publisher:5.3.1.201602281253]
          at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848) [88:org.eclipse.jetty.servlet:9.3.22.v20171030]
          at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:584) [88:org.eclipse.jetty.servlet:9.3.22.v20171030]
          at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71) [191:org.ops4j.pax.web.pax-web-jetty:6.0.7]
          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [87:org.eclipse.jetty.server:9.3.22.v20171030]
          at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) [85:org.eclipse.jetty.security:9.3.22.v20171030]
          at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [87:org.eclipse.jetty.server:9.3.22.v20171030]
          at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) [87:org.eclipse.jetty.server:9.3.22.v20171030]
          at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:284) [191:org.ops4j.pax.web.pax-web-jetty:6.0.7]
          at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) [88:org.eclipse.jetty.servlet:9.3.22.v20171030]
          at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [87:org.eclipse.jetty.server:9.3.22.v20171030]
          at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) [87:org.eclipse.jetty.server:9.3.22.v20171030]
          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [87:org.eclipse.jetty.server:9.3.22.v20171030]
          at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80) [191:org.ops4j.pax.web.pax-web-jetty:6.0.7]
          at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) [87:org.eclipse.jetty.server:9.3.22.v20171030]
          at org.eclipse.jetty.server.Server.handle(Server.java:534) [87:org.eclipse.jetty.server:9.3.22.v20171030]
          at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:333) [87:org.eclipse.jetty.server:9.3.22.v20171030]
          at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) [87:org.eclipse.jetty.server:9.3.22.v20171030]
          at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283) [79:org.eclipse.jetty.io:9.3.22.v20171030]
          at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108) [79:org.eclipse.jetty.io:9.3.22.v20171030]
          at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [79:org.eclipse.jetty.io:9.3.22.v20171030]
          at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [90:org.eclipse.jetty.util:9.3.22.v20171030]
          at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [90:org.eclipse.jetty.util:9.3.22.v20171030]
          at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [90:org.eclipse.jetty.util:9.3.22.v20171030]
          at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [90:org.eclipse.jetty.util:9.3.22.v20171030]
          at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [90:org.eclipse.jetty.util:9.3.22.v20171030]
          at java.lang.Thread.run(Thread.java:748) [?:?]
      Caused by: org.eclipse.jetty.io.EofException
          at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:199) ~[79:org.eclipse.jetty.io:9.3.22.v20171030]
          at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:420) ~[79:org.eclipse.jetty.io:9.3.22.v20171030]
          at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:313) ~[79:org.eclipse.jetty.io:9.3.22.v20171030]
          at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:147) ~[79:org.eclipse.jetty.io:9.3.22.v20171030]
          at org.eclipse.jetty.server.HttpConnection$SendCallback.process(HttpConnection.java:731) ~[87:org.eclipse.jetty.server:9.3.22.v20171030]
          at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:241) ~[90:org.eclipse.jetty.util:9.3.22.v20171030]
          at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:224) ~[90:org.eclipse.jetty.util:9.3.22.v20171030]
          at org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:519) ~[87:org.eclipse.jetty.server:9.3.22.v20171030]
          at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:745) ~[87:org.eclipse.jetty.server:9.3.22.v20171030]
          at org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:801) ~[87:org.eclipse.jetty.server:9.3.22.v20171030]
          at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:235) ~[87:org.eclipse.jetty.server:9.3.22.v20171030]
          at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:219) ~[87:org.eclipse.jetty.server:9.3.22.v20171030]
          at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:496) ~[87:org.eclipse.jetty.server:9.3.22.v20171030]
          at java.io.OutputStream.write(OutputStream.java:75) ~[?:?]
          at org.glassfish.jersey.servlet.internal.ResponseWriter$NonCloseableOutputStreamWrapper.write(ResponseWriter.java:320) ~[?:?]
          at org.glassfish.jersey.message.internal.CommittingOutputStream.write(CommittingOutputStream.java:218) ~[?:?]
          at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$UnCloseableOutputStream.write(WriterInterceptorExecutor.java:294) ~[?:?]
          at org.eclipse.smarthome.io.rest.core.internal.GsonProvider.writeTo(GsonProvider.java:71) ~[?:?]
          at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:265) ~[?:?]
          at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:250) ~[?:?]
          at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162) ~[?:?]
          at org.glassfish.jersey.server.internal.JsonWithPaddingInterceptor.aroundWriteTo(JsonWithPaddingInterceptor.java:106) ~[?:?]
          at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162) ~[?:?]
          at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:86) ~[?:?]
          ... 46 more
      Caused by: java.io.IOException: Broken pipe
          at sun.nio.ch.FileDispatcherImpl.writev0(Native Method) ~[?:?]
          at sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:51) ~[?:?]
          at sun.nio.ch.IOUtil.write(IOUtil.java:148) ~[?:?]
          at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:504) ~[?:?]
          at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:179) ~[79:org.eclipse.jetty.io:9.3.22.v20171030]
          at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:420) ~[79:org.eclipse.jetty.io:9.3.22.v20171030]
          at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:313) ~[79:org.eclipse.jetty.io:9.3.22.v20171030]
          at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:147) ~[79:org.eclipse.jetty.io:9.3.22.v20171030]
          at org.eclipse.jetty.server.HttpConnection$SendCallback.process(HttpConnection.java:731) ~[87:org.eclipse.jetty.server:9.3.22.v20171030]
          at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:241) ~[90:org.eclipse.jetty.util:9.3.22.v20171030]
          at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:224) ~[90:org.eclipse.jetty.util:9.3.22.v20171030]
          at org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:519) ~[87:org.eclipse.jetty.server:9.3.22.v20171030]
          at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:745) ~[87:org.eclipse.jetty.server:9.3.22.v20171030]
          at org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:801) ~[87:org.eclipse.jetty.server:9.3.22.v20171030]
          at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:235) ~[87:org.eclipse.jetty.server:9.3.22.v20171030]
          at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:219) ~[87:org.eclipse.jetty.server:9.3.22.v20171030]
          at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:496) ~[87:org.eclipse.jetty.server:9.3.22.v20171030]
          at java.io.OutputStream.write(OutputStream.java:75) ~[?:?]
          at org.glassfish.jersey.servlet.internal.ResponseWriter$NonCloseableOutputStreamWrapper.write(ResponseWriter.java:320) ~[?:?]
          at org.glassfish.jersey.message.internal.CommittingOutputStream.write(CommittingOutputStream.java:218) ~[?:?]
          at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$UnCloseableOutputStream.write(WriterInterceptorExecutor.java:294) ~[?:?]
          at org.eclipse.smarthome.io.rest.core.internal.GsonProvider.writeTo(GsonProvider.java:71) ~[?:?]
          at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:265) ~[?:?]
          at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:250) ~[?:?]
          at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162) ~[?:?]
          at org.glassfish.jersey.server.internal.JsonWithPaddingInterceptor.aroundWriteTo(JsonWithPaddingInterceptor.java:106) ~[?:?]
          at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162) ~[?:?]
          at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:86) ~[?:?]
          ... 46 more

      Broker - Neustart
      Code:
      [U]Broker Log:[/U]
      1543697864: mosquitto version 1.4.14 (build date 2017-10-22 16:34:20+0100) starting
      1543697864: Config loaded from etc/mosquitto/mosquitto.conf.
      1543697864: Opening ipv6 listen socket on port 1883.
      1543697864: Opening ipv4 listen socket on port 1883.
      1543697869: New connection from 192.168.2.131 on port 1883.
      1543697869: New client connected from 192.168.2.131 as Sonoff131 (c1, k15, u'DVES_USER').
      1543697916: New connection from 192.168.2.111 on port 1883.
      1543697916: New client connected from 192.168.2.111 as openHAB2 (c1, k60, u'machineman').
      
      [U]OpenHab2 Log:[/U]
      21:57:44.263 [WARN ] [rt.mqtt.internal.MqttBrokerConnection] - Broker connection not started. Cannot publish message to topic '/openhab2/out/HZA_FH_RL/state'
      21:57:45.520 [WARN ] [rt.mqtt.internal.MqttBrokerConnection] - Broker connection not started. Cannot publish message to topic '/openhab2/out/HZA_HK_RL/state'
      21:57:45.520 [INFO ] [smarthome.event.ItemStateChangedEvent] - HZA_HK_RL changed from 38.50 to 38.43
      21:57:46.579 [WARN ] [rt.mqtt.internal.MqttBrokerConnection] - Broker connection not started. Cannot publish message to topic '/openhab2/out/HZA_FH_VL/state'
      21:57:46.579 [INFO ] [smarthome.event.ItemStateChangedEvent] - HZA_FH_VL changed from 30.81 to 30.75
      21:57:47.190 [INFO ] [smarthome.event.ItemCommandEvent     ] - Item 'TP_Ist_Flur' received command 21.28
      21:57:47.190 [WARN ] [rt.mqtt.internal.MqttBrokerConnection] - Broker connection not started. Cannot publish message to topic '/openhab2/out/TP_Ist_Flur/command'
      21:57:47.191 [INFO ] [tuwien.auto.calimero                 ] - calimero.link.192.168.2.107:3671: send message to 5/3/3, wait for confirmation
      21:57:47.191 [INFO ] [smarthome.event.ItemStateChangedEvent] - TP_Ist_Flur changed from 21.32 to 21.28
      21:57:47.228 [WARN ] [rt.mqtt.internal.MqttBrokerConnection] - Broker connection not started. Cannot publish message to topic '/openhab2/out/TP_Ist_Flur/state'
      21:57:47.639 [WARN ] [rt.mqtt.internal.MqttBrokerConnection] - Broker connection not started. Cannot publish message to topic '/openhab2/out/HZA_HK_VL/state'
      21:57:47.639 [INFO ] [smarthome.event.ItemStateChangedEvent] - HZA_HK_VL changed from 32.50 to 32.43
      21:57:48.737 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'milight:bridgeV6:F0FE6B72C2C6' has been updated.
      21:57:48.882 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'milight:bridgeV6:F0FE6B72C2C6' has been updated.
      21:57:48.882 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'milight:bridgeV6:F0FE6B72C2C6' has been updated.
      21:57:53.741 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'milight:bridgeV6:F0FE6B72C2C6' has been updated.
      21:57:53.887 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'milight:bridgeV6:F0FE6B72C2C6' has been updated.
      21:57:58.744 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'milight:bridgeV6:F0FE6B72C2C6' has been updated.
      21:57:58.891 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'milight:bridgeV6:F0FE6B72C2C6' has been updated.
      21:57:58.892 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'milight:bridgeV6:F0FE6B72C2C6' has been updated.
      21:58:00.643 [WARN ] [rt.mqtt.internal.MqttBrokerConnection] - Broker connection not started. Cannot publish message to topic '/openhab2/out/Moon_Phase/state'
      21:58:03.185 [INFO ] [smarthome.event.ItemCommandEvent     ] - Item 'Fl_Stellgroesse' received command 0
      21:58:03.185 [WARN ] [rt.mqtt.internal.MqttBrokerConnection] - Broker connection not started. Cannot publish message to topic '/openhab2/out/Fl_Stellgroesse/command'
      21:58:03.186 [INFO ] [tuwien.auto.calimero                 ] - calimero.link.192.168.2.107:3671: send message to 3/0/3, wait for confirmation
      21:58:03.223 [WARN ] [rt.mqtt.internal.MqttBrokerConnection] - Broker connection not started. Cannot publish message to topic '/openhab2/out/Fl_Stellgroesse/state'
      21:58:03.441 [WARN ] [rt.mqtt.internal.MqttBrokerConnection] - Broker connection not started. Cannot publish message to topic '/openhab2/out/Counter_1_Minuten/state'
      21:58:03.441 [INFO ] [smarthome.event.ItemStateChangedEvent] - Counter_1_Minuten changed from 14 to 13
      21:58:03.748 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'milight:bridgeV6:F0FE6B72C2C6' has been updated.
      21:58:03.897 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'milight:bridgeV6:F0FE6B72C2C6' has been updated.
      21:58:07.238 [WARN ] [rt.mqtt.internal.MqttBrokerConnection] - Broker connection not started. Cannot publish message to topic '/openhab2/out/Computer3/state'
      21:58:07.239 [WARN ] [rt.mqtt.internal.MqttBrokerConnection] - Broker connection not started. Cannot publish message to topic '/openhab2/out/Computer4/state'
      21:58:07.239 [WARN ] [rt.mqtt.internal.MqttBrokerConnection] - Broker connection not started. Cannot publish message to topic '/openhab2/out/Computer5/state'
      21:58:07.241 [WARN ] [rt.mqtt.internal.MqttBrokerConnection] - Broker connection not started. Cannot publish message to topic '/openhab2/out/KNX_Router/state'
      21:58:07.243 [WARN ] [rt.mqtt.internal.MqttBrokerConnection] - Broker connection not started. Cannot publish message to topic '/openhab2/out/FritzRepeater/state'
      21:58:08.751 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'milight:bridgeV6:F0FE6B72C2C6' has been updated.
      21:58:08.902 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'milight:bridgeV6:F0FE6B72C2C6' has been updated.
      21:58:12.248 [WARN ] [rt.mqtt.internal.MqttBrokerConnection] - Broker connection not started. Cannot publish message to topic '/openhab2/out/Computer1/state'
      21:58:13.755 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'milight:bridgeV6:F0FE6B72C2C6' has been updated.
      21:58:13.904 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'milight:bridgeV6:F0FE6B72C2C6' has been updated.
      21:58:15.827 [WARN ] [rt.mqtt.internal.MqttBrokerConnection] - Broker connection not started. Cannot publish message to topic '/openhab2/out/HZA_FH_RL/state'
      21:58:15.827 [INFO ] [smarthome.event.ItemStateChangedEvent] - HZA_FH_RL changed from 27.31 to 27.25
      21:58:17.161 [WARN ] [rt.mqtt.internal.MqttBrokerConnection] - Broker connection not started. Cannot publish message to topic '/openhab2/out/HZA_HK_RL/state'
      21:58:17.249 [WARN ] [rt.mqtt.internal.MqttBrokerConnection] - Broker connection not started. Cannot publish message to topic '/openhab2/out/Computer2/state'
      21:58:18.237 [WARN ] [rt.mqtt.internal.MqttBrokerConnection] - Broker connection not started. Cannot publish message to topic '/openhab2/out/HZA_FH_VL/state'
      21:58:18.759 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'milight:bridgeV6:F0FE6B72C2C6' has been updated.
      21:58:18.907 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'milight:bridgeV6:F0FE6B72C2C6' has been updated.
      21:58:19.286 [WARN ] [rt.mqtt.internal.MqttBrokerConnection] - Broker connection not started. Cannot publish message to topic '/openhab2/out/HZA_HK_VL/state'
      21:58:19.286 [INFO ] [smarthome.event.ItemStateChangedEvent] - HZA_HK_VL changed from 32.43 to 32.37[B][/B]

      Kommentar


        #4
        Hallo udo1toni,

        ich konnte das Problem selbst lösen. Im Item Kaffeemaschine habe ich den Teil

        cmnd/SonoffBasic1/power:command

        in

        cmnd/sonoff/power:command

        geändert und der Schalter arbeitet wie er soll. Warum das ca. 1 Jahr mit dem "Friendly Name" anstatt des "Topic Name" funktioniert hat und plötzlich nicht mehr, ist mir noch ein Rätsel.

        Trotzdem Danke für deine Hilfe !!!

        Kommentar

        Lädt...
        X