NEWS
Test Adapter Meross v1.1.x
-
@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. -
@apollon77 sagte in [Aufruf] Meross Cloud Adapter 1.1.0 Test:
so lange wie es fährt sollte "working" auf true stehen und. danach auf false wieder gehen.
Deswegen habe ich ja danach gefragt.
Das war definitiv nicht so, stand immer auf false.
Hab ich jetzt gerade extra nochmal getestet, es ändert sich nur das garageOpen je nach Zustand, working bleibt auf false. -
Stell mal auf Debug und schick bitte mal das Log von so einem hoch ... fertig ... runter und so
-
Hab hier mal ein Log, inklusive Neustart der Instanz
2019-08-15 22:16:06.740 - info: host.iobroker object change system.adapter.meross.0 2019-08-15 22:16:06.741 - info: host.iobroker "system.adapter.meross.0" enabled 2019-08-15 22:16:06.756 - info: host.iobroker instance system.adapter.meross.0 started with pid 14463 2019-08-15 22:16:07.664 - debug: meross.0 objectDB connected 2019-08-15 22:16:07.701 - debug: meross.0 statesDB connected 2019-08-15 22:16:07.723 - info: meross.0 starting. Version 1.1.2 in /opt/iobroker/node_modules/iobroker.meross, node: v8.16.0 2019-08-15 22:16:07.858 - debug: meross.0 connected set to false 2019-08-15 22:16:08.209 - info: meross.0 Device 19050587453810390834342xxxxxxxxx initialized 2019-08-15 22:16:08.209 - debug: meross.0 {"uuid":"19050587453810390834342xxxxxxxxx","onlineStatus":1,"devName":"Garagentor","devIconId":"device039_un","bindTime":1565861439,"deviceType":"msg100","subType":"us","channels":[{}],"region":"eu","fmwareVersion":"3.1.3","hdwareVersion":"3.0.0","userDevIcon":"","iconType":1,"skillNumber":null,"domain":"mqtt-eu.meross.com","reservedDomain":"mqtt-eu-alter.meross.com"} 2019-08-15 22:16:08.455 - info: meross.0 Device: 19050587453810390834342xxxxxxxxx connected 2019-08-15 22:16:08.458 - debug: meross.0 Device Send Raw: 19050587453810390834342xxxxxxxxx - data: {"header":{"from":"/app/300974-e75c8ef169ee8a18f5ccfda9157f1357/subscribe","messageId":"4c9677154d89057775ecf751d609aad4","method":"GET","namespace":"Appliance.System.Ability","payloadVersion":1,"sign":"aa43063072792aafb9cbf9262cab9f5d","timestamp":1565900168},"payload":{}} 2019-08-15 22:16:08.461 - debug: meross.0 connected set to true 2019-08-15 22:16:08.763 - debug: meross.0 19050587453810390834342xxxxxxxxx Abilities: {"payloadVersion":1,"ability":{"Appliance.Config.Key":{},"Appliance.Config.WifiList":{},"Appliance.Config.Wifi":{},"Appliance.Config.Trace":{},"Appliance.System.All":{},"Appliance.System.Hardware":{},"Appliance.System.Firmware":{},"Appliance.System.Debug":{},"Appliance.System.Online":{},"Appliance.System.Time":{},"Appliance.System.Clock":{},"Appliance.System.Ability":{},"Appliance.System.Runtime":{},"Appliance.System.Report":{},"Appliance.System.Position":{},"Appliance.System.DNDMode":{},"Appliance.Control.Multiple":{"maxCmdNum":5},"Appliance.Control.ToggleX":{},"Appliance.Control.TimerX":{"sunOffsetSupport":1,"notify":["Appliance.GarageDoor.State"]},"Appliance.Control.TriggerX":{"notify":["Appliance.GarageDoor.State"]},"Appliance.Control.Bind":{},"Appliance.Control.Unbind":{},"Appliance.Control.Upgrade":{},"Appliance.GarageDoor.State":{},"Appliance.Digest.TriggerX":{},"Appliance.Digest.TimerX":{}}} 2019-08-15 22:16:08.764 - debug: meross.0 Device Send Raw: 19050587453810390834342xxxxxxxxx - data: {"header":{"from":"/app/300974-e75c8ef169ee8a18f5ccfda9157f1357/subscribe","messageId":"9e24b521df242a81dd696bb0fe07fe67","method":"GET","namespace":"Appliance.System.All","payloadVersion":1,"sign":"ffafef4ba9a5dba97cbdaea6fd84e6a7","timestamp":1565900169},"payload":{}} 2019-08-15 22:16:08.764 - debug: meross.0 Device Raw: 19050587453810390834342xxxxxxxxx - data: {"header":{"messageId":"4c9677154d89057775ecf751d609aad4","namespace":"Appliance.System.Ability","method":"GETACK","payloadVersion":1,"from":"/appliance/19050587453810390834342xxxxxxxxx/publish","timestamp":1565900168,"timestampMs":359,"sign":"aa43063072792aafb9cbf9262cab9f5d"},"payload":{"payloadVersion":1,"ability":{"Appliance.Config.Key":{},"Appliance.Config.WifiList":{},"Appliance.Config.Wifi":{},"Appliance.Config.Trace":{},"Appliance.System.All":{},"Appliance.System.Hardware":{},"Appliance.System.Firmware":{},"Appliance.System.Debug":{},"Appliance.System.Online":{},"Appliance.System.Time":{},"Appliance.System.Clock":{},"Appliance.System.Ability":{},"Appliance.System.Runtime":{},"Appliance.System.Report":{},"Appliance.System.Position":{},"Appliance.System.DNDMode":{},"Appliance.Control.Multiple":{"maxCmdNum":5},"Appliance.Control.ToggleX":{},"Appliance.Control.TimerX":{"sunOffsetSupport":1,"notify":["Appliance.GarageDoor.State"]},"Appliance.Control.TriggerX":{"notify":["Appliance.GarageDoor.State"]},"Appliance.Control.Bind":{},"Appliance.Control.Unbind":{},"Appliance.Control.Upgrade":{},"Appliance.GarageDoor.State":{},"Appliance.Digest.TriggerX":{},"Appliance.Digest.TimerX":{}}}} 2019-08-15 22:16:09.085 - debug: meross.0 19050587453810390834342xxxxxxxxx All-Data: {"all":{"system":{"hardware":{"type":"msg100","subType":"us","version":"3.0.0","chipType":"mt7682","uuid":"19050587453810390834342xxxxxxxxx","macAddress":"34:29:8f:1e:xx:xx"},"firmware":{"version":"3.1.3","compileTime":"2019/05/22 09:19:59 GMT +08:00","wifiMac":"44:4e:6d:d2:xx:xx","innerIp":"192.168.0.34","server":"mqtt.meross.com","port":443,"userId":300974},"time":{"timestamp":1565900168,"timezone":"Europe/Berlin","timeRule":[[1553994000,7200,1],[1572138000,3600,0],[1585443600,7200,1],[1603587600,3600,0],[1616893200,7200,1],[1635642000,3600,0],[1648342800,7200,1],[1667091600,3600,0],[1679792400,7200,1],[1698541200,3600,0],[1711846800,7200,1],[1729990800,3600,0],[1743296400,7200,1],[1761440400,3600,0],[1774746000,7200,1],[1792890000,3600,0],[1806195600,7200,1],[1824944400,3600,0],[1837645200,7200,1],[1856394000,3600,0]]},"online":{"status":1}},"digest":{"togglex":[{"channel":0,"onoff":1,"lmTime":0}],"triggerx":[{"channel":0,"id":"f9185db004ceeaee","count":1}],"timerx":[{"channel":0,"id":"a4373e818c492b98","count":1}],"garageDoor":[{"channel":0,"open":0,"lmTime":1565898367}]}}} 2019-08-15 22:16:09.086 - debug: meross.0 19050587453810390834342xxxxxxxxx: initDeviceObjects with channels = [{}] and data = {"togglex":[{"channel":0,"onoff":1,"lmTime":0}],"triggerx":[{"channel":0,"id":"f9185db004ceeaee","count":1}],"timerx":[{"channel":0,"id":"a4373e818c492b98","count":1}],"garageDoor":[{"channel":0,"open":0,"lmTime":1565898367}]} 2019-08-15 22:16:09.088 - debug: meross.0 Device Raw: 19050587453810390834342xxxxxxxxx - data: {"header":{"messageId":"9e24b521df242a81dd696bb0fe07fe67","namespace":"Appliance.System.All","method":"GETACK","payloadVersion":1,"from":"/appliance/19050587453810390834342xxxxxxxxx/publish","timestamp":1565900168,"timestampMs":657,"sign":"463348b1ba794aff9da779def8ad95ea"},"payload":{"all":{"system":{"hardware":{"type":"msg100","subType":"us","version":"3.0.0","chipType":"mt7682","uuid":"19050587453810390834342xxxxxxxxx","macAddress":"34:29:8f:1e:xx:xx"},"firmware":{"version":"3.1.3","compileTime":"2019/05/22 09:19:59 GMT +08:00","wifiMac":"44:4e:6d:d2:xx:xx","innerIp":"192.168.0.34","server":"mqtt.meross.com","port":443,"userId":300974},"time":{"timestamp":1565900168,"timezone":"Europe/Berlin","timeRule":[[1553994000,7200,1],[1572138000,3600,0],[1585443600,7200,1],[1603587600,3600,0],[1616893200,7200,1],[1635642000,3600,0],[1648342800,7200,1],[1667091600,3600,0],[1679792400,7200,1],[1698541200,3600,0],[1711846800,7200,1],[1729990800,3600,0],[1743296400,7200,1],[1761440400,3600,0],[1774746000,7200,1],[1792890000,3600,0],[1806195600,7200,1],[1824944400,3600,0],[1837645200,7200,1],[1856394000,3600,0]]},"online":{"status":1}},"digest":{"togglex":[{"channel":0,"onoff":1,"lmTime":0}],"triggerx":[{"channel":0,"id":"f9185db004ceeaee","count":1}],"timerx":[{"channel":0,"id":"a4373e818c492b98","count":1}],"garageDoor":[{"channel":0,"open":0,"lmTime":1565898367}]}}}} 2019-08-15 22:16:09.129 - debug: meross.0 Device Send Raw: 19050587453810390834342xxxxxxxxx - data: {"header":{"from":"/app/300974-e75c8ef169ee8a18f5ccfda9157f1357/subscribe","messageId":"9b6f403e5fb762dfe5b7a530db54f136","method":"GET","namespace":"Appliance.System.Online","payloadVersion":1,"sign":"c1b3ea650d6104604f59264d9cfbf64a","timestamp":1565900169},"payload":{}} 2019-08-15 22:16:09.129 - info: meross.0 Devices initialized 2019-08-15 22:16:10.576 - debug: meross.0 Online: {"online":{"status":1}} 2019-08-15 22:16:10.576 - debug: meross.0 Device Raw: 19050587453810390834342xxxxxxxxx - data: {"header":{"messageId":"9b6f403e5fb762dfe5b7a530db54f136","namespace":"Appliance.System.Online","method":"GETACK","payloadVersion":1,"from":"/appliance/19050587453810390834342xxxxxxxxx/publish","timestamp":1565900169,"timestampMs":366,"sign":"c1b3ea650d6104604f59264d9cfbf64a"},"payload":{"online":{"status":1}}} 2019-08-15 22:16:10.581 - debug: meross.0 stateChange meross.0.19050587453810390834342xxxxxxxxx.online {"val":true,"ack":true,"ts":1565900170578,"q":0,"from":"system.adapter.meross.0","user":"system.user.admin","lc":1565900170578} 2019-08-15 22:16:20.264 - debug: meross.0 Device: 19050587453810390834342xxxxxxxxx Appliance.GarageDoor.State - data: {"state":[{"channel":0,"open":1,"lmTime":1565900179}]} 2019-08-15 22:16:20.266 - debug: meross.0 Device Raw: 19050587453810390834342xxxxxxxxx - data: {"header":{"messageId":"ba227cede49c7aeacedc102220430d16","namespace":"Appliance.GarageDoor.State","method":"PUSH","payloadVersion":1,"from":"/appliance/19050587453810390834342xxxxxxxxx/publish","timestamp":1565900180,"timestampMs":819,"sign":"1b87c9b0b101eb464613a39bdb22234b"},"payload":{"state":[{"channel":0,"open":1,"lmTime":1565900179}]}} 2019-08-15 22:16:20.270 - debug: meross.0 stateChange meross.0.19050587453810390834342xxxxxxxxx.0-garageDoor {"val":true,"ack":true,"ts":1565900180266,"q":0,"from":"system.adapter.meross.0","user":"system.user.admin","lc":1565900180266} 2019-08-15 22:16:20.274 - debug: meross.0 stateChange meross.0.19050587453810390834342xxxxxxxxx.0-garageDoorWorking {"val":false,"ack":true,"ts":1565900180271,"q":0,"from":"system.adapter.meross.0","user":"system.user.admin","lc":1565883585504} 2019-08-15 22:17:04.992 - debug: meross.0 Device: 19050587453810390834342xxxxxxxxx Appliance.GarageDoor.State - data: {"state":[{"channel":0,"open":0,"lmTime":1565900224}]} 2019-08-15 22:17:04.993 - debug: meross.0 Device Raw: 19050587453810390834342xxxxxxxxx - data: {"header":{"messageId":"1fe5e14cf7bac60ff87e785b6c0aa69e","namespace":"Appliance.GarageDoor.State","method":"PUSH","payloadVersion":1,"from":"/appliance/19050587453810390834342xxxxxxxxx/publish","timestamp":1565900225,"timestampMs":749,"sign":"dc6af88b4ef05bb2c06f023311b3bba3"},"payload":{"state":[{"channel":0,"open":0,"lmTime":1565900224}]}} 2019-08-15 22:17:04.998 - debug: meross.0 stateChange meross.0.19050587453810390834342xxxxxxxxx.0-garageDoor {"val":false,"ack":true,"ts":1565900224994,"q":0,"from":"system.adapter.meross.0","user":"system.user.admin","lc":1565900224994} 2019-08-15 22:17:04.999 - debug: meross.0 stateChange meross.0.19050587453810390834342xxxxxxxxx.0-garageDoorWorking {"val":false,"ack":true,"ts":1565900224996,"q":0,"from":"system.adapter.meross.0","user":"system.user.admin","lc":1565883585504} 2019-08-15 22:17:15.312 - info: host.iobroker object change system.adapter.meross.0 2019-08-15 22:17:15.313 - info: host.iobroker stopInstance system.adapter.meross.0 2019-08-15 22:17:15.313 - info: host.iobroker stopInstance system.adapter.meross.0 killing pid 14463 2019-08-15 22:17:15.318 - info: meross.0 Device: 19050587453810390834342xxxxxxxxx closed: null 2019-08-15 22:17:15.333 - debug: meross.0 stateChange meross.0.info.connection {"val":false,"ack":true,"ts":1565900235331,"q":0,"from":"system.adapter.meross.0","user":"system.user.admin","lc":1565900235331} 2019-08-15 22:17:15.335 - debug: meross.0 connected set to false 2019-08-15 22:17:15.336 - debug: meross.0 stateChange meross.0.19050587453810390834342xxxxxxxxx.online {"val":false,"ack":true,"ts":1565900235333,"q":0,"from":"system.adapter.meross.0","user":"system.user.admin","lc":1565900235333} 2019-08-15 22:17:17.674 - debug: meross.0 system.adapter.admin.0: logging true 2019-08-15 22:17:18.337 - info: host.iobroker instance system.adapter.meross.0 terminated with code 0 (OK)
-
Die MSL120 wird zwar erkannt aber leider gibt es keinen color state um die Farbe über ioBroker zu steuern.
Derzeit kann ich das nur über die Meross App oder Alexa App.
Wollte eine Automation inkl Farbe erstellen. -
@danielmg said in [Aufruf] Meross Cloud Adapter 1.1.0 Test:
Die MSL120 wird zwar erkannt aber leider gibt es keinen color state um die Farbe über ioBroker zu steuern.
Derzeit kann ich das nur über die Meross App oder Alexa App.
Wollte eine Automation inkl Farbe erstellen.Jetzt habe ich 1.1.2 installiert und bekomme den folgenden Error Log
-
@danielmg Jippie ... jemand mit so einer farblampe im „real life“ ich hab das bisher blind programmiert weil ich so eine Lampe nicht hatte und auch auf Nachfrage bisher kein Feedback kam.
Bitte leg ein GitHub issue an. Ich bin ab Donnerstag wieder aus dem Urlaub da. Dann schau ich mir das an. Am besten bitte noch ein ausführliches log im debug log Modus. Und das zusammen mit dem Fehler Posten. Dann sehe ich genau welche Daten reinkommen und kann So den Fehler finden.
-
@apollon77 Issue ist angelegt. Bis Freitag Abend werde ich noch antworten und testen können danach bin ich erstmal zwei Wochen im Urlaub
-
@danielmg versuche es bis dahin zu prüfen ... sonst danach.
-
@apollon77 sagte in [Aufruf] Meross Cloud Adapter 1.1.0 Test:
@danielmg Jippie ... jemand mit so einer farblampe im „real life“ ich hab das bisher blind programmiert weil ich so eine Lampe nicht hatte und auch auf Nachfrage bisher kein Feedback kam.
Bitte leg ein GitHub issue an. Ich bin ab Donnerstag wieder aus dem Urlaub da. Dann schau ich mir das an. Am besten bitte noch ein ausführliches log im debug log Modus. Und das zusammen mit dem Fehler Posten. Dann sehe ich genau welche Daten reinkommen und kann So den Fehler finden.
Hab auch so was, sende dir auch meinen Debug Log......
-