NEWS
Test Adapter Meross v1.1.x
-
@Nier dieser Fehler deutet meistens auf falsche meross credentials hin. Am besten mal in der App testen Unsinn Adapter konfig neu eingeben.
-
@apollon77 Ich bekomme leider immer noch eine fehlermeldung, jedoch eine andere:
host.SmartHome 2019-07-20 08:42:54.753 info Restart adapter system.adapter.meross.0 because enabled
host.SmartHome 2019-07-20 08:42:54.753 error instance system.adapter.meross.0 terminated with code 7 (Adapter already running)
host.SmartHome 2019-07-20 08:42:53.346 info instance system.adapter.meross.0 started with pid 19043
host.SmartHome 2019-07-20 08:42:23.319 info Restart adapter system.adapter.meross.0 because enabled
host.SmartHome 2019-07-20 08:42:23.319 error instance system.adapter.meross.0 terminated with code 7 (Adapter already running)
host.SmartHome 2019-07-20 08:42:21.905 info instance system.adapter.meross.0 started with pid 19033
host.SmartHome 2019-07-20 08:41:51.876 info Restart adapter system.adapter.meross.0 because enabled
host.SmartHome 2019-07-20 08:41:51.875 error instance system.adapter.meross.0 terminated with code 7 (Adapter already running)
meross.0 2019-07-20 08:41:51.807 info States connected to redis: 127.0.0.1:6379
host.SmartHome 2019-07-20 08:41:50.483 info instance system.adapter.meross.0 started with pid 19023 -
@Nier Das ist jetzt was anderes. Da läuft irgendwie noch ein Adapterprozess. Den manuell beenden oder einmal Rechner neustarten
-
@apollon77 erstmal danke für deine hilfe Ich habe alles gemacht und schon wieder gibt es eine fehlermeldung. Der adapter wird kurz Grün und dann wieder gelb und so weiter... hier der Log eintrag:
host.SmartHome 2019-07-20 10:52:14.186 info instance system.adapter.meross.0 started with pid 2171
host.SmartHome 2019-07-20 10:51:44.156 info Restart adapter system.adapter.meross.0 because enabled
host.SmartHome 2019-07-20 10:51:44.156 error instance system.adapter.meross.0 terminated with code 6 (uncaught exception)
Caught 2019-07-20 10:51:44.156 error by controller[0]: at doWrite (/opt/iobroker/node_modules/readable-stream/lib/_stream_writable.js:428:64)
Caught 2019-07-20 10:51:44.156 error by controller[0]: at Writable.writable._write (/opt/iobroker/node_modules/iobroker.meross/node_modules/mqtt/lib/client.js:294:5)
Caught 2019-07-20 10:51:44.155 error by controller[0]: at work (/opt/iobroker/node_modules/iobroker.meross/node_modules/mqtt/lib/client.js:283:12)
Caught 2019-07-20 10:51:44.155 error by controller[0]: at MqttClient._handlePacket (/opt/iobroker/node_modules/iobroker.meross/node_modules/mqtt/lib/client.js:351:12)
Caught 2019-07-20 10:51:44.155 error by controller[0]: at MqttClient._handlePublish (/opt/iobroker/node_modules/iobroker.meross/node_modules/mqtt/lib/client.js:1162:12)
Caught 2019-07-20 10:51:44.155 error by controller[0]: at MqttClient.emit (events.js:217:7)
Caught 2019-07-20 10:51:44.155 error by controller[0]: at emitThree (events.js:136:13)
Caught 2019-07-20 10:51:44.155 error by controller[0]: at MqttClient.client.on (/opt/iobroker/node_modules/iobroker.meross/node_modules/meross-cloud/index.js:239:66)
Caught 2019-07-20 10:51:44.154 error by controller[0]: at Object.device.getControlElectricity [as callback] (/opt/iobroker/node_modules/iobroker.meross/main.js:403:21)
Caught 2019-07-20 10:51:44.154 error by controller[0]: at initDeviceObjects (/opt/iobroker/node_modules/iobroker.meross/main.js:239:43)
Caught 2019-07-20 10:51:44.154 error by controller[0]: TypeError: Cannot read property 'role' of undefined
meross.0 2019-07-20 10:51:43.124 info Device: 1904022704522139082534298f1de161 closed: null
meross.0 2019-07-20 10:51:43.124 info Device: 1811185386359029086634298f185124 closed: null
meross.0 2019-07-20 10:51:43.123 info Device: 1905140485128839083534298f1eb128 closed: null
meross.0 2019-07-20 10:51:43.122 info Device: 1905051463045739083434298f1e5faa closed: null
meross.0 2019-07-20 10:51:43.121 info Device: 1812178568747925182734298f199cc8 closed: null
meross.0 2019-07-20 10:51:43.119 warn Exception: TypeError: Cannot read property 'role' of undefined
meross.0 2019-07-20 10:51:43.114 error at doWrite (/opt/iobroker/node_modules/readable-stream/lib/_stream_writable.js:428:64)
meross.0 2019-07-20 10:51:43.114 error at Writable.writable._write (/opt/iobroker/node_modules/iobroker.meross/node_modules/mqtt/lib/client.js:294:5)
meross.0 2019-07-20 10:51:43.114 error at work (/opt/iobroker/node_modules/iobroker.meross/node_modules/mqtt/lib/client.js:283:12)
meross.0 2019-07-20 10:51:43.114 error at MqttClient._handlePacket (/opt/iobroker/node_modules/iobroker.meross/node_modules/mqtt/lib/client.js:351:12)
meross.0 2019-07-20 10:51:43.114 error at MqttClient._handlePublish (/opt/iobroker/node_modules/iobroker.meross/node_modules/mqtt/lib/client.js:1162:12)
meross.0 2019-07-20 10:51:43.114 error at MqttClient.emit (events.js:217:7)
meross.0 2019-07-20 10:51:43.114 error at emitThree (events.js:136:13)
meross.0 2019-07-20 10:51:43.114 error at MqttClient.client.on (/opt/iobroker/node_modules/iobroker.meross/node_modules/meross-cloud/index.js:239:66)
meross.0 2019-07-20 10:51:43.114 error at Object.device.getControlElectricity [as callback] (/opt/iobroker/node_modules/iobroker.meross/main.js:403:21)
meross.0 2019-07-20 10:51:43.114 error at initDeviceObjects (/opt/iobroker/node_modules/iobroker.meross/main.js:239:43)
meross.0 2019-07-20 10:51:43.114 error TypeError: Cannot read property 'role' of undefined
meross.0 2019-07-20 10:51:43.114 error uncaught exception: Cannot read property 'role' of undefined
meross.0 2019-07-20 10:51:40.987 info Device: 1812178568747925182734298f199cc8 connected
meross.0 2019-07-20 10:51:40.981 info Device: 1811185386359029086634298f185124 connected
meross.0 2019-07-20 10:51:40.979 info Device: 1905140485128839083534298f1eb128 connected
meross.0 2019-07-20 10:51:40.976 info Device: 1905051463045739083434298f1e5faa connected
meross.0 2019-07-20 10:51:40.968 info Device: 1904022704522139082534298f1de161 connected
meross.0 2019-07-20 10:51:40.723 info Device 1812178568747925182734298f199cc8 initialized
meross.0 2019-07-20 10:51:40.721 info Device 1905051463045739083434298f1e5faa initialized
meross.0 2019-07-20 10:51:40.719 info Device 1905140485128839083534298f1eb128 initialized
meross.0 2019-07-20 10:51:40.715 info Device 1811185386359029086634298f185124 initialized
meross.0 2019-07-20 10:51:40.603 info Device 1904022704522139082534298f1de161 initialized
meross.0 2019-07-20 10:51:40.065 info starting. Version 1.1.2 in /opt/iobroker/node_modules/iobroker.meross, node: v8.15.0
meross.0 2019-07-20 10:51:39.894 info States connected to redis: 127.0.0.1:6379 -
@Nier bitte GitHub issue öffnen. Aber mal frech gefragt: warum nutzt du die GitHub Version?
-
@Nier Bitte neu vom Github aktualisieren. Jetzt Fehler weg? Die Frage vom letzten Post interessiert mich immer noch!
-
Ok, ziehe die Frage zurück ...ist ja hier der testthread der 1.1 Sorry
-
Hey an alle: hat noch jemand außer @Fenian einen smart hub mit den mts100 thermostaten? Dann bitte mal bei mir melden.
-
@apollon77 Seit gestern Abend circa 22:30 stürzt der Meross Adapter immer wieder ab. Wird kurz grün und dann erfolg connect der devices aber kurez darauf wieder absturz.
meross.0 2019-08-12 09:18:32.234 error adapter disabled
meross.0 2019-08-12 09:18:32.116 info States connected to redis: 127.0.0.1:6379
web.0 2019-08-12 09:18:25.603 info <==Disconnect system.user.admin from ::ffff:192.168.2.23
web.0 2019-08-12 09:18:22.037 info ==>Connected system.user.admin from ::ffff:192.168.2.23
web.0 2019-08-12 09:18:20.627 info <==Disconnect system.user.admin from ::ffff:192.168.2.23 vis.0
web.0 2019-08-12 09:18:20.097 info ==>Connected system.user.admin from ::ffff:192.168.2.23
web.0 2019-08-12 09:18:20.092 info ==>Connected system.user.admin from ::ffff:192.168.2.23
web.0 2019-08-12 09:18:20.087 info ==>Connected system.user.admin from ::ffff:192.168.2.23
web.0 2019-08-12 09:18:20.082 info ==>Connected system.user.admin from ::ffff:192.168.2.23
web.0 2019-08-12 09:18:20.077 info ==>Connected system.user.admin from ::ffff:192.168.2.23
web.0 2019-08-12 09:18:20.071 info ==>Connected system.user.admin from ::ffff:192.168.2.23
web.0 2019-08-12 09:18:20.063 info ==>Connected system.user.admin from ::ffff:192.168.2.23
host.Elzershark 2019-08-12 09:18:07.094 info object change system.adapter.meross.0
host.Elzershark 2019-08-12 09:17:59.464 info Restart adapter system.adapter.meross.0 because enabled
host.Elzershark 2019-08-12 09:17:59.463 error instance system.adapter.meross.0 terminated with code 6 (uncaught exception)
Caught 2019-08-12 09:17:59.463 error by controller[0]: at doWrite (/opt/iobroker/node_modules/iobroker.meross/node_modules/readable-stream/lib/_stream_writable.js:428:64)
Caught 2019-08-12 09:17:59.463 error by controller[0]: at Writable.writable._write (/opt/iobroker/node_modules/iobroker.meross/node_modules/mqtt/lib/client.js:294:5)
Caught 2019-08-12 09:17:59.463 error by controller[0]: at work (/opt/iobroker/node_modules/iobroker.meross/node_modules/mqtt/lib/client.js:283:12)
Caught 2019-08-12 09:17:59.463 error by controller[0]: at MqttClient._handlePacket (/opt/iobroker/node_modules/iobroker.meross/node_modules/mqtt/lib/client.js:351:12)
Caught 2019-08-12 09:17:59.463 error by controller[0]: at MqttClient._handlePublish (/opt/iobroker/node_modules/iobroker.meross/node_modules/mqtt/lib/client.js:1162:12)
Caught 2019-08-12 09:17:59.462 error by controller[0]: at MqttClient.emit (events.js:194:7)
Caught 2019-08-12 09:17:59.462 error by controller[0]: at emitThree (events.js:116:13)
Caught 2019-08-12 09:17:59.462 error by controller[0]: at MqttClient.client.on (/opt/iobroker/node_modules/iobroker.meross/node_modules/meross-cloud/index.js:239:66)
Caught 2019-08-12 09:17:59.462 error by controller[0]: at Object.device.getControlElectricity [as callback] (/opt/iobroker/node_modules/iobroker.meross/main.js:403:21)
Caught 2019-08-12 09:17:59.462 error by controller[0]: at initDeviceObjects (/opt/iobroker/node_modules/iobroker.meross/main.js:241:97)
Caught 2019-08-12 09:17:59.461 error by controller[0]: TypeError: Cannot read property 'scale' of undefined
meross.0 2019-08-12 09:17:58.441 info Device: 1811066260362925181734298f179c1e closed: null
meross.0 2019-08-12 09:17:58.440 info Device: 1811060412628225181734298f17a821 closed: null
meross.0 2019-08-12 09:17:58.439 info Device: 1808176517417929083134298f161add closed: null
meross.0 2019-08-12 09:17:58.437 info Device: 1801305139138025131034298f115452 closed: null
meross.0 2019-08-12 09:17:58.435 info Device: 1803192312834929080634298f155086 closed: null
meross.0 2019-08-12 09:17:58.433 info Device: 1801309023903725131034298f11545d closed: null
meross.0 2019-08-12 09:17:58.430 warn Exception: TypeError: Cannot read property 'scale' of undefined
meross.0 2019-08-12 09:17:58.416 error at doWrite (/opt/iobroker/node_modules/iobroker.meross/node_modules/readable-stream/lib/_stream_writable.js:428:64)
meross.0 2019-08-12 09:17:58.416 error at Writable.writable._write (/opt/iobroker/node_modules/iobroker.meross/node_modules/mqtt/lib/client.js:294:5)
meross.0 2019-08-12 09:17:58.416 error at work (/opt/iobroker/node_modules/iobroker.meross/node_modules/mqtt/lib/client.js:283:12)
meross.0 2019-08-12 09:17:58.416 error at MqttClient._handlePacket (/opt/iobroker/node_modules/iobroker.meross/node_modules/mqtt/lib/client.js:351:12)
meross.0 2019-08-12 09:17:58.416 error at MqttClient._handlePublish (/opt/iobroker/node_modules/iobroker.meross/node_modules/mqtt/lib/client.js:1162:12)
meross.0 2019-08-12 09:17:58.416 error at MqttClient.emit (events.js:194:7)
meross.0 2019-08-12 09:17:58.416 error at emitThree (events.js:116:13)
meross.0 2019-08-12 09:17:58.416 error at MqttClient.client.on (/opt/iobroker/node_modules/iobroker.meross/node_modules/meross-cloud/index.js:239:66)
meross.0 2019-08-12 09:17:58.416 error at Object.device.getControlElectricity [as callback] (/opt/iobroker/node_modules/iobroker.meross/main.js:403:21)
meross.0 2019-08-12 09:17:58.416 error at initDeviceObjects (/opt/iobroker/node_modules/iobroker.meross/main.js:241:97)
meross.0 2019-08-12 09:17:58.416 error TypeError: Cannot read property 'scale' of undefined
meross.0 2019-08-12 09:17:58.412 error uncaught exception: Cannot read property 'scale' of undefined
meross.0 2019-08-12 09:17:56.330 info Device: 1803192312834929080634298f155086 connected
meross.0 2019-08-12 09:17:56.326 info Device: 1801309023903725131034298f11545d connected
meross.0 2019-08-12 09:17:56.322 info Device: 1801305139138025131034298f115452 connected
meross.0 2019-08-12 09:17:56.319 info Device: 1808176517417929083134298f161add connected
meross.0 2019-08-12 09:17:56.313 info Device: 1811066260362925181734298f179c1e connected
meross.0 2019-08-12 09:17:56.298 info Device: 1811060412628225181734298f17a821 connected
meross.0 2019-08-12 09:17:56.072 info Device 1801309023903725131034298f11545d initialized
meross.0 2019-08-12 09:17:56.068 info Device 1803192312834929080634298f155086 initialized
meross.0 2019-08-12 09:17:56.064 info Device 1801305139138025131034298f115452 initialized
meross.0 2019-08-12 09:17:56.060 info Device 1808176517417929083134298f161add initialized
meross.0 2019-08-12 09:17:56.050 info Device 1811060412628225181734298f17a821 initialized
meross.0 2019-08-12 09:17:55.797 info Device 1811066260362925181734298f179c1e initialized
meross.0 2019-08-12 09:17:55.140 info starting. Version 1.1.2 in /opt/iobroker/node_modules/iobroker.meross, node: v6.13.1
meross.0 2019-08-12 09:17:55.027 info States connected to redis: 127.0.0.1:6379 -
Ok, schnelle Lösung wäre das Du manuell was aktualisierst:
/opt/iobroker/node_modules/iobroker.meross/main.js Zeile 241
andern in:
values[common.id] = Math.floor(data.electricity[key] * Math.pow(10, (roleValues[key] ? roleValues[key].scale || 0 : 0)) * 100) / 100;
Kommt bald noch ein größeres Update.
-
@apollon77 das hat so nicht geklappt.
Caught 2019-08-12 10:56:55.917 error by controller[0]: at createScript (vm.js:56:10)
Caught 2019-08-12 10:56:55.916 error by controller[0]: SyntaxError: Unexpected token )
Caught 2019-08-12 10:56:55.916 error by controller[0]: ^
Caught 2019-08-12 10:56:55.916 error by controller[0]: values[common.id] = Math.floor(data.electricity[key] * Math.pow(10, (roleValues[key] ? roleValues[key].scale || 0)) * 100) / 100;
Caught 2019-08-12 10:56:55.914 error by controller[0]: /opt/iobroker/node_modules/iobroker.meross/main.js:241 -
Dann hast Du aber nicht meinen Text vollständig übernommen. vergleich mal
-
@apollon77 Ok : 0 hat gefehlt. Verbessert. Jetzt hängt er eine Zeile später ich glaube ich warte auf dein Update. Gruß und Danke
Caught 2019-08-12 11:18:30.327 error by controller[0]: at doWrite (/opt/iobroker/node_modules/iobroker.meross/node_modules/readable-stream/lib/_stream_writable.js:428:64)
Caught 2019-08-12 11:18:30.327 error by controller[0]: at Writable.writable._write (/opt/iobroker/node_modules/iobroker.meross/node_modules/mqtt/lib/client.js:294:5)
Caught 2019-08-12 11:18:30.327 error by controller[0]: at work (/opt/iobroker/node_modules/iobroker.meross/node_modules/mqtt/lib/client.js:283:12)
Caught 2019-08-12 11:18:30.327 error by controller[0]: at MqttClient._handlePacket (/opt/iobroker/node_modules/iobroker.meross/node_modules/mqtt/lib/client.js:351:12)
Caught 2019-08-12 11:18:30.326 error by controller[0]: at MqttClient._handlePublish (/opt/iobroker/node_modules/iobroker.meross/node_modules/mqtt/lib/client.js:1162:12)
Caught 2019-08-12 11:18:30.326 error by controller[0]: at MqttClient.emit (events.js:194:7)
Caught 2019-08-12 11:18:30.326 error by controller[0]: at emitThree (events.js:116:13)
Caught 2019-08-12 11:18:30.326 error by controller[0]: at MqttClient.client.on (/opt/iobroker/node_modules/iobroker.meross/node_modules/meross-cloud/index.js:239:66)
Caught 2019-08-12 11:18:30.326 error by controller[0]: at Object.device.getControlElectricity [as callback] (/opt/iobroker/node_modules/iobroker.meross/main.js:403:21)
Caught 2019-08-12 11:18:30.325 error by controller[0]: at initDeviceObjects (/opt/iobroker/node_modules/iobroker.meross/main.js:242:42)
Caught 2019-08-12 11:18:30.321 error by controller[0]: TypeError: Cannot read property 'unit' of undefined -
@Bibo-13 sagte in [Aufruf] Meross Cloud Adapter 1.1.0 Test:
Caught 2019-08-12 11:18:30.321 error by controller[0]: TypeError: Cannot read property 'unit' of undefined
gggrrrr ... mach in der Zeile:
if (roleValues[key]) common.unit = roleValues[key].unit;
dann sollte aber gut sein
-
@apollon77 Ok läuft. herzlichen Dank. warte schon auf Deinen Update. Bis dann.
-
Dann nochmal die Frage in die Runde:
Hey an alle: hat noch jemand außer @Fenian einen smart hub mit den mts100 thermostaten? Dann bitte mal bei mir melden.
-
@apollon77 zu Früh gefreut. Also doch warten auf Update.
Caught 2019-08-12 13:45:06.566 error by controller[0]: at doWrite (/opt/iobroker/node_modules/iobroker.meross/node_modules/readable-stream/lib/_stream_writable.js:428:64)
Caught 2019-08-12 13:45:06.566 error by controller[0]: at Writable.writable._write (/opt/iobroker/node_modules/iobroker.meross/node_modules/mqtt/lib/client.js:294:5)
Caught 2019-08-12 13:45:06.566 error by controller[0]: at work (/opt/iobroker/node_modules/iobroker.meross/node_modules/mqtt/lib/client.js:283:12)
Caught 2019-08-12 13:45:06.566 error by controller[0]: at MqttClient._handlePacket (/opt/iobroker/node_modules/iobroker.meross/node_modules/mqtt/lib/client.js:351:12)
Caught 2019-08-12 13:45:06.566 error by controller[0]: at MqttClient._handlePublish (/opt/iobroker/node_modules/iobroker.meross/node_modules/mqtt/lib/client.js:1162:12)
Caught 2019-08-12 13:45:06.565 error by controller[0]: at MqttClient.emit (events.js:194:7)
Caught 2019-08-12 13:45:06.565 error by controller[0]: at emitThree (events.js:116:13)
Caught 2019-08-12 13:45:06.565 error by controller[0]: at MqttClient.client.on (/opt/iobroker/node_modules/iobroker.meross/node_modules/meross-cloud/index.js:239:66)
Caught 2019-08-12 13:45:06.565 error by controller[0]: at Object.knownDevices.(anonymous function).device.getControlElectricity [as callback] (/opt/iobroker/node_modules/iobroker.meross/main.js:441:17)
Caught 2019-08-12 13:45:06.564 error by controller[0]: at setValuesElectricity (/opt/iobroker/node_modules/iobroker.meross/main.js:506:135)
Caught 2019-08-12 13:45:06.563 error by controller[0]: TypeError: Cannot read property 'scale' of undefined -
@Bibo-13 Ok habe den Code roleValues dort ebenfalls angepasst. jetzt sollte es laufen
-
Moin,
hab die Version 1.1.2 heute aufgespielt, da ich den GarageOpener MSG100 installiert habe.
Verbindung ist da, aber ich verstehe nicht, wozu der 0-garageDoorWorking da ist.0-garageDoor steht im geschlossenen Zustand auf false, fahre ich den per App auf, geht er auf true und bleibt da stehen, erst wenn das Tor wieder komplett geschlossen ist (der Reedkontakt zu signalisiert), springt er auf false zurück.
Ansteuern per ioBroker geht nur, wenn ich eben 0-garageDoor auf true bzw false setze.
Hätte jetzt eher erwartet das ich bei 0-garageDoorWorking den Schalter habe zum betätigen und bei 0-garageDoor den Zustand.
Und missverstehe ich da etwas?
-
Working ist ala Homemmatic der stand wenn das Gerät reportet das es gerade arbeitet (also gerade von A nach B "fährt").
Mit 0-garageDoor true/false sagst Du ob es auf oder zu sein soll ... so lange wie es fährt sollte "working" auf true stehen und. danach auf false wieder gehen.