NEWS
Sonoff-Adapter
-
Hallo, Heute Morgen ein Schock erlebt. Das ganze Licht was über Sonoff-Adapter gesteuert wird …geht nicht.
Der Adapter steht im Iobroker auf gelb und ich weiß nicht warum.
Alle Daten sind noch drin: Port-1883, Usename und Kennwort. Die Sonoff-Geräte Online. Und trotzdem bleibt der Adapter gelb. Neustart hat nichts gebracht. Was kann das sein? Bitte um Hilfe -
@Leon111
na ohne Log wird hier wohl keiner glücklich -
Sorry,
sonoff.0 2019-06-08 10:34:23.516 info Starting MQTT authenticated server on port 1883
sonoff.0 2019-06-08 10:34:23.433 info starting. Version 2.2.2 in /opt/iobroker/node_modules/iobroker.sonoff, node: v8.15.0
host.raspberrypi 2019-06-08 10:34:22.046 info instance system.adapter.sonoff.0 started with pid 4519
host.raspberrypi 2019-06-08 10:34:19.579 info instance system.adapter.sonoff.0 terminated with code 0 (OK)
host.raspberrypi 2019-06-08 10:34:19.520 info stopInstance system.adapter.sonoff.0 killing pid 668
host.raspberrypi 2019-06-08 10:34:19.519 info stopInstance system.adapter.sonoff.0
host.raspberrypi 2019-06-08 10:34:19.514 info object change system.adapter.sonoff.0 -
@Leon111
OK, stell mal den Adapter auf debug, in dem LOG steht nur, dass er beendet wurde.
Alternativ kannst den auch mal frisch installieren und schauen, ob sich das Problem von alleine löst.Hast aber nicht zufällig noch den MQTT Adapter auf dem selben Port laufen?
-
sonoff.0 2019-06-08 11:33:05.287 debug stateChange sonoff.0.Sonoff-Basic-7.alive: {"val":false,"ack":true,"ts":1559986385275,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1540338327116}
sonoff.0 2019-06-08 11:33:05.287 debug stateChange sonoff.0.Sonoff-Basic-6.alive: {"val":false,"ack":true,"ts":1559986385275,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1541266636916}
sonoff.0 2019-06-08 11:33:05.287 debug stateChange sonoff.0.Sonoff-Basic-5.alive: {"val":false,"ack":true,"ts":1559986385274,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1540338327116}
sonoff.0 2019-06-08 11:33:05.286 debug stateChange sonoff.0.Sonoff-Basic-4.alive: {"val":false,"ack":true,"ts":1559986385271,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1559979121461}
sonoff.0 2019-06-08 11:33:05.283 debug stateChange sonoff.0.Schlafzimmer-Licht.alive: {"val":false,"ack":true,"ts":1559986385271,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1559979121460}
sonoff.0 2019-06-08 11:33:05.282 debug stateChange sonoff.0.Sonoff-Basic-3.alive: {"val":false,"ack":true,"ts":1559986385271,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1559979121460}
sonoff.0 2019-06-08 11:33:05.282 debug stateChange sonoff.0.Sonoff-Basic-1.alive: {"val":false,"ack":true,"ts":1559986385270,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1559979121460}
sonoff.0 2019-06-08 11:33:05.282 debug stateChange sonoff.0.Sonoff-Basic-2.alive: {"val":false,"ack":true,"ts":1559986385270,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1559979121460}
sonoff.0 2019-06-08 11:33:05.277 debug stateChange sonoff.0.Sonoff-RF-Bridge.alive: {"val":false,"ack":true,"ts":1559986385269,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1522680641746}
sonoff.0 2019-06-08 11:33:05.274 debug stateChange sonoff.0.Sonoff-S20-3.alive: {"val":false,"ack":true,"ts":1559986385265,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1559979121459}
sonoff.0 2019-06-08 11:33:05.273 debug stateChange sonoff.0.Sonoff-S20-4.alive: {"val":false,"ack":true,"ts":1559986385265,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1548930526506}
sonoff.0 2019-06-08 11:33:05.273 debug stateChange sonoff.0.Sonoff-S20-2.alive: {"val":false,"ack":true,"ts":1559986385264,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1559979121453}
sonoff.0 2019-06-08 11:33:05.273 debug stateChange sonoff.0.Sonoff-S20-1.alive: {"val":false,"ack":true,"ts":1559986385263,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1559979121452}
sonoff.0 2019-06-08 11:33:05.272 debug stateChange sonoff.0.Küche Vitrinen licht.alive: {"val":false,"ack":true,"ts":1559986385261,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1525357953249}
sonoff.0 2019-06-08 11:33:05.272 debug stateChange sonoff.0.Küchenlicht.alive: {"val":false,"ack":true,"ts":1559986385258,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1559979121447}
sonoff.0 2019-06-08 11:33:05.093 debug stateChange sonoff.0.info.connection: {"val":"","ack":true,"ts":1559986385084,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1559977521881}
sonoff.0 2019-06-08 11:33:05.041 info Starting MQTT authenticated server on port 1883
sonoff.0 2019-06-08 11:33:04.971 info starting. Version 2.2.2 in /opt/iobroker/node_modules/iobroker.sonoff, node: v8.15.0
sonoff.0 2019-06-08 11:33:04.916 debug statesDB connected
sonoff.0 2019-06-08 11:33:04.874 debug objectDB connected
host.raspberrypi 2019-06-08 11:33:03.772 info instance system.adapter.sonoff.0 started with pid 24876
host.raspberrypi 2019-06-08 11:33:01.312 info instance system.adapter.sonoff.0 terminated with code 0 (OK)
host.raspberrypi 2019-06-08 11:33:01.244 info stopInstance system.adapter.sonoff.0 killing pid 23332
host.raspberrypi 2019-06-08 11:33:01.243 info stopInstance system.adapter.sonoff.0
host.raspberrypi 2019-06-08 11:33:01.242 info object change system.adapter.sonoff.0
sonoff.0 2019-06-08 11:31:39.464 info Starting MQTT authenticated server on port 1883
sonoff.0 2019-06-08 11:31:39.363 info starting. Version 2.2.2 in /opt/iobroker/node_modules/iobroker.sonoff, node: v8.15.0
host.raspberrypi 2019-06-08 11:31:37.944 info instance system.adapter.sonoff.0 started with pid 23332
host.raspberrypi 2019-06-08 11:31:35.464 info instance system.adapter.sonoff.0 terminated with code 0 (OK)
host.raspberrypi 2019-06-08 11:31:35.421 info stopInstance system.adapter.sonoff.0 killing pid 671
host.raspberrypi 2019-06-08 11:31:35.421 info stopInstance system.adapter.sonoff.0
host.raspberrypi 2019-06-08 11:31:35.418 info object change system.adapter.sonoff.0 -
@Leon111
hast den Adapter jetzt schon mal neu installiert?
Log bitte in Code poasten, ist übersichtlicher -
Soll ich den Adapter erst deinstalieren und dann neuinstalieren?
Alle Geräte gehen dan verlaren? -
@Leon111
ja und der findet selbständig danach eh wieder alle -
Hi, danke erstmal für Deine Hilfe. Nach der Neuinstalation bleibt der Adapter gelb und alle Geräte sind weg.
-
@Leon111
die kommen ja auch nur wenn der Adapter grün wird und genau das sollte auch so sein. -
ja richtig
-
das ist der letzte Log:
sonoff.0 2019-06-08 12:12:35.939 info Starting MQTT authenticated server on port 1883
sonoff.0 2019-06-08 12:12:35.864 info starting. Version 2.2.2 in /opt/iobroker/node_modules/iobroker.sonoff, node: v8.15.0
host.raspberrypi 2019-06-08 12:12:34.514 info instance system.adapter.sonoff.0 started with pid 1050
host.raspberrypi 2019-06-08 12:12:32.039 info instance system.adapter.sonoff.0 terminated with code 0 (OK)
host.raspberrypi 2019-06-08 12:12:31.999 info stopInstance system.adapter.sonoff.0 killing pid 357
host.raspberrypi 2019-06-08 12:12:31.999 info stopInstance system.adapter.sonoff.0
host.raspberrypi 2019-06-08 12:12:31.998 info object change system.adapter.sonoff.0
sonoff.0 2019-06-08 12:12:00.117 info Starting MQTT authenticated server on port 1883
sonoff.0 2019-06-08 12:12:00.037 info starting. Version 2.2.2 in /opt/iobroker/node_modules/iobroker.sonoff, node: v8.15.0
host.raspberrypi 2019-06-08 12:11:58.817 info instance system.adapter.sonoff.0 started with pid 357
host.raspberrypi 2019-06-08 12:11:56.333 info instance system.adapter.sonoff.0 terminated with code 0 (OK)
host.raspberrypi 2019-06-08 12:11:56.279 info stopInstance system.adapter.sonoff.0 killing pid 23179
host.raspberrypi 2019-06-08 12:11:56.278 info stopInstance system.adapter.sonoff.0
host.raspberrypi 2019-06-08 12:11:56.277 info object change system.adapter.sonoff.0
info.0 2019-06-08 12:10:01.426 info Popup-News readed...
sonoff.0 2019-06-08 12:02:52.403 info Starting MQTT server on port 1883
sonoff.0 2019-06-08 12:02:52.277 info starting. Version 2.2.2 in /opt/iobroker/node_modules/iobroker.sonoff, node: v8.15.0
sonoff.0 2019-06-08 12:02:47.015 error no connection to objects DB
iobroker 2019-06-08 12:02:40.972 info exit 0
iobroker 2019-06-08 12:02:40.946 info host.raspberrypi object system.adapter.sonoff.0 created
host.raspberrypi 2019-06-08 12:02:40.935 info instance system.adapter.sonoff.0 started with pid 23179
host.raspberrypi 2019-06-08 12:02:40.907 info object change system.adapter.sonoff.0
iobroker 2019-06-08 12:02:40.859 info host.raspberrypi object system.adapter.sonoff.0.alive created
iobroker 2019-06-08 12:02:40.823 info host.raspberrypi object system.adapter.sonoff.0.connected created
iobroker 2019-06-08 12:02:40.787 info host.raspberrypi object system.adapter.sonoff.0.cpu created
iobroker 2019-06-08 12:02:40.751 info host.raspberrypi object system.adapter.sonoff.0.cputime created
iobroker 2019-06-08 12:02:40.714 info host.raspberrypi object system.adapter.sonoff.0.memHeapUsed created
iobroker 2019-06-08 12:02:40.683 info host.raspberrypi object system.adapter.sonoff.0.memHeapTotal created
iobroker 2019-06-08 12:02:40.651 info host.raspberrypi object system.adapter.sonoff.0.memRss created
iobroker 2019-06-08 12:02:40.619 info host.raspberrypi object system.adapter.sonoff.0.uptime created
iobroker 2019-06-08 12:02:40.586 info host.raspberrypi object system.adapter.sonoff.0.inputCount created
iobroker 2019-06-08 12:02:40.551 info host.raspberrypi object system.adapter.sonoff.0.outputCount created
iobroker 2019-06-08 12:02:40.520 info host.raspberrypi object sonoff.0.info created
iobroker 2019-06-08 12:02:40.490 info host.raspberrypi object sonoff.0.info.connection created
iobroker 2019-06-08 12:02:40.482 info host.raspberrypi create instance sonoff
iobroker 2019-06-08 12:02:40.447 info host.raspberrypi object system.adapter.sonoff created -
@Leon111 denke das dein MQTT nicht passt, wie oben schon erwähnt
siehe@Jan1 sagte in Sonoff-Adapter:
Hast aber nicht zufällig noch den MQTT Adapter auf dem selben Port laufen?
-
@Leon111 sagte in Sonoff-Adapter:
sonoff.0 2019-06-08 12:02:47.015 error no connection to objects DB
das sollte glaube ich auch nicht sein. frage mich aber bitte nicht wie man das repariert. Ich hatte das auch mal bei nem anderen adapter, da ging dann auch nichts mehr
-
@Leon111
mach mal ein Screenshot von der Adapter Seite -
ich glaube du meinst leon und nicht mich bei mir geht alles
-
Meinst Du Adapter- oder Instanzen-Seite?
-
@Leon111
Die Adapter Seite, da DU die Frage zum MQTT Adapter noch nicht beantwortet hast, möchte ich's einfach mal selber sehen -
-
@Leon111
OK, ich glaube Du hast da noch ein paar Probleme mehr als nur den Sonoff Adapter.
Was hats denn als Admin Version und bist auf default oder latest?Dann deinstalliere bitte alles was gelb ist und bring Dein System auf einen aktuellen Stand, am besten auf latest.
Es wäre auch von Interesse, welche Node und NPM Version verwendet wird.