NEWS
Test Adapter mihome-vacuum v2.0.x
-
@xADDRx Mach einen neuen Thread auf und poste da die Ausgabe von
lsb_release -a
sowie von
which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
Komplette Eingaben und auch Ausgaben posten, nichts kürzen oder abändern...
Das gleiche würde ich @Kevin auch empfehlen...
-
@K_o_bold
Habe die Version 5 drauf und bisher ausschließlich den Container von Buanet genutz. Funktioniert trotzdem nicht.Entsprechend der Anleitung von Buanet habe ich über portainer den ioBroker Container über Recreate neu erstellt und das neueste Image eingespielt. (siehe Bild)
-
-
Hallo,
ich habe das gleiche Problem. Ich habe zwei Roborock der ersten Generation, und der Adapter lief immer korrekt. Seit Update auf 2.x aber bleibt die Instanze des ersten Saugers auf "gelb" stehen, nur die des zweiten Saugers bekommt eine Verbindung.
Log des ersten Saugers:
{der Hinweis auf die 10 Minuten wiederholt sich dann endlos} mihome-vacuum.0 2020-08-10 17:10:56.044 info (11238) connecting, this can take up to 10 minutes ... mihome-vacuum.0 2020-08-10 17:10:36.040 info (11238) connecting, this can take up to 10 minutes ... mihome-vacuum.0 2020-08-10 17:10:16.571 info (11238) set nächster Timer: Nicht verfügbar mihome-vacuum.0 2020-08-10 17:10:16.080 info (11238) connecting, this can take up to 10 minutes ... mihome-vacuum.0 2020-08-10 17:10:16.063 info (11238) New generation or new fw(3.5.4,004004) detected, create new states goto and zoneclean mihome-vacuum.0 2020-08-10 17:10:16.017 info (11238) Create state clean_home for controlling by cloud adapter mihome-vacuum.0 2020-08-10 17:10:16.014 info (11238) Expert mode disabled, states deleted mihome-vacuum.0 2020-08-10 17:10:15.972 info (11238) starting. Version 2.1.1 in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v10.20.1, js-controller: 3.1.4 host.iobroker 2020-08-10 17:10:10.405 info instance system.adapter.mihome-vacuum.0 started with pid 11238
Konfiguration:
Adapter Mihome-vaccuum 2.1.1
Erster Sauger (der ohne Verbindung):: Port des Robot: 54321; eigener Port: 54321
Zweiter Sauger (der mit Verbindung): Port des Robot: 54321; eigener Port: 54322
Aktuelle Firmware auf beiden Saugern: 3.5.8_004018Der Tipp, die Mihome-App bei der Anmeldung geöffnet zu halten, hat nicht genutzt.
Weiß da jemand Abhilfe?
Grüße, EckartS
-
@EckartS mach bitte ein debug Log, da kann man mehr sehen
-
@xADDRx folgendes hat mir geholfen:
sudo iobroker stop cd /opt/iobroker sudo apt update sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev sudo npm install canvas --unsafe-perm=true
Katrte geht wieder und Räume wurden geladen
-
Hallo,
ich habe erfolgreich meinen S6 maxv im ioBroker installiert, für meine beiden Etagen jeweils eine Karte erstellt, Räume abgetrennt, umbenannt und Moduseinstellungen gesetzt.Wenn ich nun ein "roomClean" Objekt auslose passiert im Log das Folgende:
mihome-vacuum.0 2020-08-13 20:39:22.260 info (14105) set nächster Timer: Nicht verfügbar mihome-vacuum.0 2020-08-13 20:39:21.858 info (14105) connecting, this can take up to 10 minutes ... mihome-vacuum.0 2020-08-13 20:39:21.801 info (14105) New generation or new fw(3.5.8,4436) detected, create new states goto and zoneclean mihome-vacuum.0 2020-08-13 20:39:21.714 info (14105) Create state clean_home for controlling by cloud adapter mihome-vacuum.0 2020-08-13 20:39:21.711 info (14105) Expert mode disabled, states deleted mihome-vacuum.0 2020-08-13 20:39:21.607 info (14105) starting. Version 2.1.1 in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v12.18.3, js-controller: 3.1.6 mihome-vacuum.0 2020-08-13 20:38:49.057 info (12745) Terminated (NO_ERROR): Without reason mihome-vacuum.0 2020-08-13 20:38:49.055 info (12745) terminating mihome-vacuum.0 2020-08-13 20:38:49.044 error (12745) TypeError: Cannot read property 'val' of null at /opt/iobroker/node_modules/iobroker.mihome-vacuum/lib/roomManager.js:144:51 at /opt/iobroker/node_modules/iobroker.js-controller/lib/ad mihome-vacuum.0 2020-08-13 20:38:49.040 error (12745) uncaught exception: Cannot read property 'val' of null mihome-vacuum.0 2020-08-13 20:37:33.316 info (12745) create states for water box filter mihome-vacuum.0 2020-08-13 20:37:33.313 info (12745) create states for water box mihome-vacuum.0 2020-08-13 20:37:14.454 info (12745) create state for carpet_mode mihome-vacuum.0 2020-08-13 20:37:13.819 info (12745) set nächster Timer: Nicht verfügbar mihome-vacuum.0 2020-08-13 20:37:13.441 info (12745) Connected mihome-vacuum.0 2020-08-13 20:37:13.381 info (12745) connecting, this can take up to 10 minutes ... mihome-vacuum.0 2020-08-13 20:37:13.369 info (12745) New generation or new fw(3.5.8,4436) detected, create new states goto and zoneclean mihome-vacuum.0 2020-08-13 20:37:13.290 info (12745) Create state clean_home for controlling by cloud adapter mihome-vacuum.0 2020-08-13 20:37:13.288 info (12745) Expert mode disabled, states deleted mihome-vacuum.0 2020-08-13 20:37:13.188 info (12745) starting. Version 2.1.1 in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v12.18.3, js-controller: 3.1.6 mihome-vacuum.0 2020-08-13 20:36:40.744 info (9488) Terminated (NO_ERROR): Without reason mihome-vacuum.0 2020-08-13 20:36:40.742 info (9488) terminating mihome-vacuum.0 2020-08-13 20:36:40.724 error at processTicksAndRejections (internal/process/task_queues.js:97:5) mihome-vacuum.0 2020-08-13 20:36:40.724 error at /opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49 mihome-vacuum.0 2020-08-13 20:36:40.724 error at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23) mihome-vacuum.0 2020-08-13 20:36:40.724 error at /opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:673:13 mihome-vacuum.0 2020-08-13 20:36:40.724 error at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:6757:17 mihome-vacuum.0 2020-08-13 20:36:40.724 error at /opt/iobroker/node_modules/iobroker.mihome-vacuum/lib/roomManager.js:144:51 mihome-vacuum.0 2020-08-13 20:36:40.724 error (9488) TypeError: Cannot read property 'val' of null mihome-vacuum.0 2020-08-13 20:36:40.717 error (9488) uncaught exception: Cannot read property 'val' of null mihome-vacuum.0 2020-08-13 20:35:27.231 info (9488) create states for water box filter mihome-vacuum.0 2020-08-13 20:35:27.230 info (9488) create states for water box mihome-vacuum.0 2020-08-13 20:35:18.347 info (9488) create state for carpet_mode mihome-vacuum.0 2020-08-13 20:35:17.329 info (9488) Connected mihome-vacuum.0 2020-08-13 20:35:07.224 info (9488) connecting, this can take up to 10 minutes ...
Der Robi mach garnichts und der Adapter startet neu.
Kann mir jemand sagen was das Problem ist?Habe gerade noch diesen Post entdeckt und es mit "roomFanPower" auf BALANCED60 nochmal probiert.
mihome-vacuum.0 2020-08-13 20:47:57.910 error (14105) TypeError: Cannot read property 'val' of null at /opt/iobroker/node_modules/iobroker.mihome-vacuum/lib/roomManager.js:144:51 at /opt/iobroker/node_modules/iobroker.js-controller/lib/ad mihome-vacuum.0 2020-08-13 20:47:57.903 error (14105) uncaught exception: Cannot read property 'val' of null
Gleiches Ergebnis.
-
Hi zusammen,
@Alle Valetudo-Nutzer:
Mit welcher Konstellation/Versionen (JS-Controller, Node, Valetudo, mihome-vacuum Adapter etc. ) funktioniert bei Euch die MAP-Funktion?Gruß Daniel
-
@xADDRx npm nicht mit sudo zusammen verwenden.
-
@Rushmed sagte in Test Adapter mihome-vacuum v2.0.x:
Hallo,
ich habe erfolgreich meinen S6 maxv im ioBroker installiert, für meine beiden Etagen jeweils eine Karte erstellt, Räume abgetrennt, umbenannt und Moduseinstellungen gesetzt.Wenn ich nun ein "roomClean" Objekt auslose passiert im Log das Folgende:
mihome-vacuum.0 2020-08-13 20:39:22.260 info (14105) set nächster Timer: Nicht verfügbar mihome-vacuum.0 2020-08-13 20:39:21.858 info (14105) connecting, this can take up to 10 minutes ... mihome-vacuum.0 2020-08-13 20:39:21.801 info (14105) New generation or new fw(3.5.8,4436) detected, create new states goto and zoneclean mihome-vacuum.0 2020-08-13 20:39:21.714 info (14105) Create state clean_home for controlling by cloud adapter mihome-vacuum.0 2020-08-13 20:39:21.711 info (14105) Expert mode disabled, states deleted mihome-vacuum.0 2020-08-13 20:39:21.607 info (14105) starting. Version 2.1.1 in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v12.18.3, js-controller: 3.1.6 mihome-vacuum.0 2020-08-13 20:38:49.057 info (12745) Terminated (NO_ERROR): Without reason mihome-vacuum.0 2020-08-13 20:38:49.055 info (12745) terminating mihome-vacuum.0 2020-08-13 20:38:49.044 error (12745) TypeError: Cannot read property 'val' of null at /opt/iobroker/node_modules/iobroker.mihome-vacuum/lib/roomManager.js:144:51 at /opt/iobroker/node_modules/iobroker.js-controller/lib/ad mihome-vacuum.0 2020-08-13 20:38:49.040 error (12745) uncaught exception: Cannot read property 'val' of null mihome-vacuum.0 2020-08-13 20:37:33.316 info (12745) create states for water box filter mihome-vacuum.0 2020-08-13 20:37:33.313 info (12745) create states for water box mihome-vacuum.0 2020-08-13 20:37:14.454 info (12745) create state for carpet_mode mihome-vacuum.0 2020-08-13 20:37:13.819 info (12745) set nächster Timer: Nicht verfügbar mihome-vacuum.0 2020-08-13 20:37:13.441 info (12745) Connected mihome-vacuum.0 2020-08-13 20:37:13.381 info (12745) connecting, this can take up to 10 minutes ... mihome-vacuum.0 2020-08-13 20:37:13.369 info (12745) New generation or new fw(3.5.8,4436) detected, create new states goto and zoneclean mihome-vacuum.0 2020-08-13 20:37:13.290 info (12745) Create state clean_home for controlling by cloud adapter mihome-vacuum.0 2020-08-13 20:37:13.288 info (12745) Expert mode disabled, states deleted mihome-vacuum.0 2020-08-13 20:37:13.188 info (12745) starting. Version 2.1.1 in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v12.18.3, js-controller: 3.1.6 mihome-vacuum.0 2020-08-13 20:36:40.744 info (9488) Terminated (NO_ERROR): Without reason mihome-vacuum.0 2020-08-13 20:36:40.742 info (9488) terminating mihome-vacuum.0 2020-08-13 20:36:40.724 error at processTicksAndRejections (internal/process/task_queues.js:97:5) mihome-vacuum.0 2020-08-13 20:36:40.724 error at /opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49 mihome-vacuum.0 2020-08-13 20:36:40.724 error at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23) mihome-vacuum.0 2020-08-13 20:36:40.724 error at /opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:673:13 mihome-vacuum.0 2020-08-13 20:36:40.724 error at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:6757:17 mihome-vacuum.0 2020-08-13 20:36:40.724 error at /opt/iobroker/node_modules/iobroker.mihome-vacuum/lib/roomManager.js:144:51 mihome-vacuum.0 2020-08-13 20:36:40.724 error (9488) TypeError: Cannot read property 'val' of null mihome-vacuum.0 2020-08-13 20:36:40.717 error (9488) uncaught exception: Cannot read property 'val' of null mihome-vacuum.0 2020-08-13 20:35:27.231 info (9488) create states for water box filter mihome-vacuum.0 2020-08-13 20:35:27.230 info (9488) create states for water box mihome-vacuum.0 2020-08-13 20:35:18.347 info (9488) create state for carpet_mode mihome-vacuum.0 2020-08-13 20:35:17.329 info (9488) Connected mihome-vacuum.0 2020-08-13 20:35:07.224 info (9488) connecting, this can take up to 10 minutes ...
Der Robi mach garnichts und der Adapter startet neu.
Kann mir jemand sagen was das Problem ist?Habe gerade noch diesen Post entdeckt und es mit "roomFanPower" auf BALANCED60 nochmal probiert.
mihome-vacuum.0 2020-08-13 20:47:57.910 error (14105) TypeError: Cannot read property 'val' of null at /opt/iobroker/node_modules/iobroker.mihome-vacuum/lib/roomManager.js:144:51 at /opt/iobroker/node_modules/iobroker.js-controller/lib/ad mihome-vacuum.0 2020-08-13 20:47:57.903 error (14105) uncaught exception: Cannot read property 'val' of null
Gleiches Ergebnis.
Hat wirklich keiner eine Idee was ich versuchen könnte um Robi dazu zu bringen einzelne Rume zu reinigen?
-
@Rushmed stell mal das log auf debug
-
mihome-vacuum.0 2020-08-14 21:45:34.950 info (3510) Terminated (NO_ERROR): Without reason mihome-vacuum.0 2020-08-14 21:45:34.946 info (3510) terminating mihome-vacuum.0 2020-08-14 21:45:34.918 error (3510) TypeError: Cannot read property 'val' of null at /opt/iobroker/node_modules/iobroker.mihome-vacuum/lib/roomManager.js:144:51 at /opt/iobroker/node_modules/iobroker.js-controller/lib/ada mihome-vacuum.0 2020-08-14 21:45:34.911 error (3510) uncaught exception: Cannot read property 'val' of null mihome-vacuum.0 2020-08-14 21:45:34.903 debug (3510) stateChange mihome-vacuum.0.rooms.275001013621.mapIndex.roomClean {"val":true,"ack":false,"ts":1597434334896,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1597343114831} mihome-vacuum.0 2020-08-14 21:45:29.580 debug (3510) Receive <<< {"result":[{"msg_ver":2,"msg_seq":3558,"state":8,"battery":100,"clean_time":10,"clean_area":0,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab mihome-vacuum.0 2020-08-14 21:45:29.534 debug (3510) sendMsg[1] >>> {"id":37,"method":"get_status"} mihome-vacuum.0 2020-08-14 21:45:18.416 debug (3510) Receive <<< {"result":["ok"],"id":36} mihome-vacuum.0 2020-08-14 21:45:18.377 debug (3510) sendMsg[1] >>> {"id":36,"method":"find_me"} mihome-vacuum.0 2020-08-14 21:45:18.376 debug (3510) stateChange mihome-vacuum.0.control.find {"val":true,"ack":false,"ts":1597434318372,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1597265268021} mihome-vacuum.0 2020-08-14 21:45:09.609 debug (3510) Receive <<< {"result":[{"msg_ver":2,"msg_seq":3557,"state":8,"battery":100,"clean_time":10,"clean_area":0,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab mihome-vacuum.0 2020-08-14 21:45:09.532 debug (3510) sendMsg[1] >>> {"id":35,"method":"get_status"} mihome-vacuum.0 2020-08-14 21:44:51.693 debug (3510) Mappointer_updated mihome-vacuum.0 2020-08-14 21:44:51.691 debug (3510) Receive <<< {"result":["roboroommap%2F321636546%2F1"],"id":34} mihome-vacuum.0 2020-08-14 21:44:51.654 debug (3510) sendMsg[1] >>> {"id":34,"method":"get_map_v1"} mihome-vacuum.0 2020-08-14 21:44:50.253 debug (3510) Receive <<< {"result":[10689,143015000,22,[1597423082,1597414047,1597411995,1597344916,1597332841,1597331343,1597326675,1597322633,1597321619,1597321488,1597321049,1597320922,1597320739,159731 mihome-vacuum.0 2020-08-14 21:44:50.154 debug (3510) sendMsg[1] >>> {"id":33,"method":"get_clean_summary"} mihome-vacuum.0 2020-08-14 21:44:49.661 debug (3510) Receive <<< {"result":[{"main_brush_work_time":10689,"side_brush_work_time":10689,"filter_work_time":10689,"filter_element_work_time":7543,"sensor_dirty_time":10689}],"id":32} mihome-vacuum.0 2020-08-14 21:44:49.652 debug (3510) sendMsg[1] >>> {"id":32,"method":"get_consumable"} mihome-vacuum.0 2020-08-14 21:44:49.648 info (3510) create states for water box filter mihome-vacuum.0 2020-08-14 21:44:49.646 info (3510) create states for water box mihome-vacuum.0 2020-08-14 21:44:49.643 debug (3510) Receive <<< {"result":[{"msg_ver":2,"msg_seq":3556,"state":8,"battery":100,"clean_time":10,"clean_area":0,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"la mihome-vacuum.0 2020-08-14 21:44:49.528 debug (3510) sendMsg[1] >>> {"id":31,"method":"get_status"} mihome-vacuum.0 2020-08-14 21:44:34.572 debug (3510) CLEAN_LOGGING[{"Datum":"14.8","Start":"18:38","Saugzeit":"0 min","Fläche":"0 m²","Error":0,"Ende":false},{"Datum":"14.8","Start":"16:07","Saugzeit":"22 min","Fläche":"9.36 m²","Error":0,"Ende" mihome-vacuum.0 2020-08-14 21:44:34.378 debug (3510) Receive <<< {"result":[[1597265144,1597265146,2,0,0,0,2,1,43]],"id":30} mihome-vacuum.0 2020-08-14 21:44:34.370 debug (3510) sendMsg[1] >>> {"id":30,"method":"get_clean_record","params":[1597265144]} mihome-vacuum.0 2020-08-14 21:44:34.174 debug (3510) Receive <<< {"result":[[1597266329,1597266345,16,0,0,0,2,1,60]],"id":29} mihome-vacuum.0 2020-08-14 21:44:34.169 debug (3510) sendMsg[1] >>> {"id":29,"method":"get_clean_record","params":[1597266329]} mihome-vacuum.0 2020-08-14 21:44:33.976 debug (3510) Receive <<< {"result":[[1597266401,1597266403,2,0,0,0,2,1,43]],"id":28} mihome-vacuum.0 2020-08-14 21:44:33.968 debug (3510) sendMsg[1] >>> {"id":28,"method":"get_clean_record","params":[1597266401]} mihome-vacuum.0 2020-08-14 21:44:33.774 debug (3510) Receive <<< {"result":[[1597266433,1597266614,181,4265000,0,0,2,1,60]],"id":27} mihome-vacuum.0 2020-08-14 21:44:33.766 debug (3510) sendMsg[1] >>> {"id":27,"method":"get_clean_record","params":[1597266433]} mihome-vacuum.0 2020-08-14 21:44:33.570 debug (3510) Receive <<< {"result":[[1597268211,1597268217,6,0,0,0,2,1,60]],"id":26} mihome-vacuum.0 2020-08-14 21:44:33.565 debug (3510) sendMsg[1] >>> {"id":26,"method":"get_clean_record","params":[1597268211]} mihome-vacuum.0 2020-08-14 21:44:33.371 debug (3510) Receive <<< {"result":[[1597294395,1597296293,1898,32012500,0,1,5,1,52]],"id":25} mihome-vacuum.0 2020-08-14 21:44:33.363 debug (3510) sendMsg[1] >>> {"id":25,"method":"get_clean_record","params":[1597294395]} mihome-vacuum.0 2020-08-14 21:44:33.188 debug (3510) Receive <<< {"result":[[1597319289,1597319912,605,7660000,0,1,5,1,52]],"id":24} mihome-vacuum.0 2020-08-14 21:44:33.161 debug (3510) sendMsg[1] >>> {"id":24,"method":"get_clean_record","params":[1597319289]} mihome-vacuum.0 2020-08-14 21:44:32.968 debug (3510) Receive <<< {"result":[[1597320739,1597320899,15,220000,0,0,1,1,43]],"id":23} mihome-vacuum.0 2020-08-14 21:44:32.959 debug (3510) sendMsg[1] >>> {"id":23,"method":"get_clean_record","params":[1597320739]} mihome-vacuum.0 2020-08-14 21:44:32.766 debug (3510) Receive <<< {"result":[[1597320922,1597320988,23,0,0,0,2,2,61]],"id":22} mihome-vacuum.0 2020-08-14 21:44:32.757 debug (3510) sendMsg[1] >>> {"id":22,"method":"get_clean_record","params":[1597320922]} mihome-vacuum.0 2020-08-14 21:44:32.563 debug (3510) Receive <<< {"result":[[1597321049,1597321413,346,3345000,0,1,2,1,52]],"id":21} mihome-vacuum.0 2020-08-14 21:44:32.554 debug (3510) sendMsg[1] >>> {"id":21,"method":"get_clean_record","params":[1597321049]} mihome-vacuum.0 2020-08-14 21:44:32.360 debug (3510) Receive <<< {"result":[[1597321488,1597321547,59,1775000,0,0,1,1,43]],"id":20} mihome-vacuum.0 2020-08-14 21:44:32.353 debug (3510) sendMsg[1] >>> {"id":20,"method":"get_clean_record","params":[1597321488]} mihome-vacuum.0 2020-08-14 21:44:32.156 debug (3510) Receive <<< {"result":[[1597321619,1597322479,844,7545000,0,1,2,1,52]],"id":19} mihome-vacuum.0 2020-08-14 21:44:32.151 debug (3510) sendMsg[1] >>> {"id":19,"method":"get_clean_record","params":[1597321619]} mihome-vacuum.0 2020-08-14 21:44:32.110 warn (3510) HTTP error when getting token cookie mihome-vacuum.0 2020-08-14 21:44:32.109 error (3510) HTTP error when getting token cookie{} mihome-vacuum.0 2020-08-14 21:44:31.956 debug (3510) Receive <<< {"result":[[1597322633,1597325189,2556,33375000,0,1,2,1,52]],"id":18} mihome-vacuum.0 2020-08-14 21:44:31.950 debug (3510) Mappointer_updated mihome-vacuum.0 2020-08-14 21:44:31.949 debug (3510) Receive <<< {"result":["roboroommap%2F321636546%2F0"],"id":17} mihome-vacuum.0 2020-08-14 21:44:31.948 debug (3510) sendMsg[1] >>> {"id":18,"method":"get_clean_record","params":[1597322633]} mihome-vacuum.0 2020-08-14 21:44:31.939 debug (3510) 1. Mappointer_nomap___retry mihome-vacuum.0 2020-08-14 21:44:31.938 debug (3510) sendMsg[1] >>> {"id":17,"method":"get_map_v1"} mihome-vacuum.0 2020-08-14 21:44:31.754 debug (3510) Receive <<< {"result":[[1597326675,1597328878,2203,31472500,0,1,1,1,52]],"id":16} mihome-vacuum.0 2020-08-14 21:44:31.745 debug (3510) sendMsg[1] >>> {"id":16,"method":"get_clean_record","params":[1597326675]} mihome-vacuum.0 2020-08-14 21:44:31.550 debug (3510) Receive <<< {"result":[[1597331343,1597331356,13,0,0,0,5,1,60]],"id":15} mihome-vacuum.0 2020-08-14 21:44:31.543 debug (3510) sendMsg[1] >>> {"id":15,"method":"get_clean_record","params":[1597331343]} mihome-vacuum.0 2020-08-14 21:44:31.435 debug (3510) Receive <<< {"result":["retry"],"id":14} mihome-vacuum.0 2020-08-14 21:44:31.427 debug (3510) 0. Mappointer_nomap___retry mihome-vacuum.0 2020-08-14 21:44:31.426 debug (3510) sendMsg[1] >>> {"id":14,"method":"get_map_v1"} mihome-vacuum.0 2020-08-14 21:44:31.350 debug (3510) Receive <<< {"result":[[1597332841,1597332874,33,482500,0,0,5,1,60]],"id":13} mihome-vacuum.0 2020-08-14 21:44:31.341 debug (3510) sendMsg[1] >>> {"id":13,"method":"get_clean_record","params":[1597332841]} mihome-vacuum.0 2020-08-14 21:44:31.145 debug (3510) Receive <<< {"result":[[1597344916,1597344932,16,0,0,0,5,1,60]],"id":12} mihome-vacuum.0 2020-08-14 21:44:31.140 debug (3510) sendMsg[1] >>> {"id":12,"method":"get_clean_record","params":[1597344916]} mihome-vacuum.0 2020-08-14 21:44:30.946 debug (3510) Receive <<< {"result":[[1597411995,1597412226,231,5247500,0,1,2,3,56]],"id":11} mihome-vacuum.0 2020-08-14 21:44:30.939 debug (3510) sendMsg[1] >>> {"id":11,"method":"get_clean_record","params":[1597411995]} mihome-vacuum.0 2020-08-14 21:44:30.924 debug (3510) Receive <<< {"result":["retry"],"id":10} mihome-vacuum.0 2020-08-14 21:44:30.916 debug (3510) sendMsg[1] >>> {"id":10,"method":"get_map_v1"} mihome-vacuum.0 2020-08-14 21:44:30.746 debug (3510) Receive <<< {"result":[[1597414047,1597415374,1327,9362500,0,1,2,3,56]],"id":9} mihome-vacuum.0 2020-08-14 21:44:30.738 debug (3510) sendMsg[1] >>> {"id":9,"method":"get_clean_record","params":[1597414047]} mihome-vacuum.0 2020-08-14 21:44:30.732 debug (3510) Receive <<< {"result":[[16,"275001013621"],[17,"275001013648"],[18,"275001013628"]],"id":8} mihome-vacuum.0 2020-08-14 21:44:30.730 info (3510) create state for carpet_mode mihome-vacuum.0 2020-08-14 21:44:30.729 debug (3510) Receive <<< {"result":[{"enable":1,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":7} mihome-vacuum.0 2020-08-14 21:44:30.716 debug (3510) sendMsg[1] >>> {"id":8,"method":"get_room_mapping"} mihome-vacuum.0 2020-08-14 21:44:30.715 debug (3510) sendMsg[1] >>> {"id":7,"method":"get_carpet_mode"} mihome-vacuum.0 2020-08-14 21:44:30.552 debug (3510) Receive <<< {"result":[[1597423082,1597423092,10,0,0,0,2,2,61]],"id":6} mihome-vacuum.0 2020-08-14 21:44:30.536 debug (3510) sendMsg[1] >>> {"id":6,"method":"get_clean_record","params":[1597423082]} mihome-vacuum.0 2020-08-14 21:44:30.528 debug (3510) Receive <<< {"result":[10689,143015000,22,[1597423082,1597414047,1597411995,1597344916,1597332841,1597331343,1597326675,1597322633,1597321619,1597321488,1597321049,1597320922,1597320739,159731 mihome-vacuum.0 2020-08-14 21:44:30.516 debug (3510) sendMsg[1] >>> {"id":5,"method":"get_clean_summary"} mihome-vacuum.0 2020-08-14 21:44:30.325 debug (3510) Receive <<< {"result":[{"main_brush_work_time":10689,"side_brush_work_time":10689,"filter_work_time":10689,"filter_element_work_time":7543,"sensor_dirty_time":10689}],"id":4} mihome-vacuum.0 2020-08-14 21:44:30.316 debug (3510) sendMsg[1] >>> {"id":4,"method":"get_consumable"} mihome-vacuum.0 2020-08-14 21:44:30.123 debug (3510) Receive <<< {"result":[90],"id":3} mihome-vacuum.0 2020-08-14 21:44:30.115 debug (3510) sendMsg[1] >>> {"id":3,"method":"get_sound_volume"} mihome-vacuum.0 2020-08-14 21:44:30.051 info (3510) set nächster Timer: Nicht verfügbar mihome-vacuum.0 2020-08-14 21:44:29.922 debug (3510) Receive <<< {"partner_id":"","id":2,"code":0,"message":"ok","result":{"hw_ver":"Linux","fw_ver":"3.5.8_4436","ap":{"ssid":"Slowdazamba","bssid":"e0:28:6d:87:52:85","rssi":-47},"netif":{"localI mihome-vacuum.0 2020-08-14 21:44:29.918 debug (3510) Next WiFi check: 14.08 21:45 mihome-vacuum.0 2020-08-14 21:44:29.916 debug (3510) sendMsg[1] >>> {"id":2,"method":"miIO.info"} mihome-vacuum.0 2020-08-14 21:44:29.714 info (3510) Connected mihome-vacuum.0 2020-08-14 21:44:29.710 debug (3510) sendTo "getStatus" to system.adapter.mihome-vacuum.0 from system.adapter.mihome-vacuum.0 mihome-vacuum.0 2020-08-14 21:44:29.707 debug (3510) Receive <<< {"result":[{"msg_ver":2,"msg_seq":3555,"state":8,"battery":100,"clean_time":10,"clean_area":0,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"la mihome-vacuum.0 2020-08-14 21:44:29.698 debug (3510) sendMsg[1] >>> {"id":1,"method":"get_status"} mihome-vacuum.0 2020-08-14 21:44:29.674 debug (3510) sendTo "getStatus" to system.adapter.mihome-vacuum.0 from system.adapter.mihome-vacuum.0 mihome-vacuum.0 2020-08-14 21:44:29.673 info (3510) connecting, this can take up to 10 minutes ... mihome-vacuum.0 2020-08-14 21:44:29.671 debug (3510) Receive <<< Helo <<< 2131002000000000132bc8c25f36e99dffffffffffffffffffffffffffffffff mihome-vacuum.0 2020-08-14 21:44:29.605 info (3510) New generation or new fw(3.5.8,4436) detected, create new states goto and zoneclean mihome-vacuum.0 2020-08-14 21:44:29.597 debug (3510) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } mihome-vacuum.0 2020-08-14 21:44:29.533 debug (3510) server started on 0.0.0.0:53421 mihome-vacuum.0 2020-08-14 21:44:29.517 info (3510) Create state clean_home for controlling by cloud adapter mihome-vacuum.0 2020-08-14 21:44:29.515 info (3510) Expert mode disabled, states deleted mihome-vacuum.0 2020-08-14 21:44:29.504 debug (3510) Xiaomi Cloud: Logging in mihome-vacuum.0 2020-08-14 21:44:29.501 debug (3510) load Map creator... true mihome-vacuum.0 2020-08-14 21:44:29.412 info (3510) starting. Version 2.1.1 in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v12.18.3, js-controller: 3.1.6 mihome-vacuum.0 2020-08-14 21:44:27.908 debug (3510) statesDB connected mihome-vacuum.0 2020-08-14 21:44:27.907 debug (3510) States connected to redis: 127.0.0.1:9000 mihome-vacuum.0 2020-08-14 21:44:27.894 debug (3510) States create System PubSub Client mihome-vacuum.0 2020-08-14 21:44:27.891 debug (3510) States create User PubSub Client mihome-vacuum.0 2020-08-14 21:44:27.881 debug (3510) Redis States: Use Redis connection: 127.0.0.1:9000 mihome-vacuum.0 2020-08-14 21:44:27.879 debug (3510) objectDB connected mihome-vacuum.0 2020-08-14 21:44:27.872 debug (3510) Objects connected to redis: 127.0.0.1:9001 mihome-vacuum.0 2020-08-14 21:44:27.850 debug (3510) Objects client initialize lua scripts mihome-vacuum.0 2020-08-14 21:44:27.849 debug (3510) Objects create User PubSub Client mihome-vacuum.0 2020-08-14 21:44:27.847 debug (3510) Objects create System PubSub Client mihome-vacuum.0 2020-08-14 21:44:27.844 debug (3510) Objects client ready ... initialize now mihome-vacuum.0 2020-08-14 21:44:27.801 debug (3510) Redis Objects: Use Redis connection: 127.0.0.1:9001 mihome-vacuum.0 2020-08-14 21:44:23.511 info (7879) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason mihome-vacuum.0 2020-08-14 21:44:23.509 info (7879) terminating mihome-vacuum.0 2020-08-14 21:44:23.506 info (7879) Got terminate signal TERMINATE_YOURSELF
Habe kurz noch die "find" Funktion getestet, die funktioniert.
-
@Rushmed dir fehlt der dp roomFanPower. Fehlt der in allen Räumen? Wenn nein, dann lösch mal den Raum und lass ihn neu anlegen. Wenn der überall fehlt, dann ist das ein Bug, dann muss ich mal schauen, das ich das abfange
-
@dirkhe roomFanPower existiert in den Raümen, siehe Screenshot. Ich hab ihn auch scho explizit gesetzt vor dem Anfordern der Reinigung.
Ich werd sie trotzdem mal löschen.
ERROR: HTTP Error when getting cookie token beim Speichern der Instanzeinstellungen.
Aktuell bleibt der Adapter gelb, ich versuchs weiter.
Edit:
Nach dem Löchen der Ordner hat sich die Struktur geändert un ist nun:
Jetzt funktionierts.Edit2:
Ich habe nochmal über die Xiaomi Home app die Karte (Etage) hin und zurück gewechselt. Dabei werden die Datenpunkte umsortiert.
Dann funktioniert es nichtmehr.Erneutes Löschen der Ordner und Neuladen der Karte stellt die korrekte Struktur wieder her und es funktioniert.
Ist über den Adapter ein wechsel der gespeicherten Karten möglich?
Danke schonmal.
-
@Rushmed ich habe bei mir kein raumwechsel gemacht, daher kann ich das aktuell nicht nachvollziehen. Kannst du das debug log nochmal schicken, wenn du die Karte wechselt? Ich vermute mal, das er auf einen Fehler läuft, wenn er die Räume anlegen will, den ich abfangen muss
-
@dirkhe Klaro!
Karte in der Xiaomi App gewechselt und Räume über DP neu geladen.mihome-vacuum.0 2020-08-14 23:55:37.936 debug (8589) Receive <<< {"result":[{"msg_ver":2,"msg_seq":4261,"state":8,"battery":100,"clean_time":8,"clean_area":0,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab_ mihome-vacuum.0 2020-08-14 23:55:37.886 debug (8589) sendMsg[1] >>> {"id":53,"method":"get_status"} mihome-vacuum.0 2020-08-14 23:55:17.966 debug (8589) Receive <<< {"result":[{"msg_ver":2,"msg_seq":4260,"state":8,"battery":100,"clean_time":8,"clean_area":0,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab_ mihome-vacuum.0 2020-08-14 23:55:17.885 debug (8589) sendMsg[1] >>> {"id":52,"method":"get_status"} mihome-vacuum.0 2020-08-14 23:54:58.004 debug (8589) Receive <<< {"result":[{"msg_ver":2,"msg_seq":4259,"state":8,"battery":100,"clean_time":8,"clean_area":0,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab_ mihome-vacuum.0 2020-08-14 23:54:58.002 debug (8589) Receive <<< {"partner_id":"","id":51,"code":0,"message":"ok","result":{"hw_ver":"Linux","fw_ver":"3.5.8_4436","ap":{"ssid":"Slowdazamba","bssid":"e0:28:6d:87:52:85","rssi":-44},"netif":{"localI mihome-vacuum.0 2020-08-14 23:54:57.883 debug (8589) Next WiFi check: 14.08 23:55 mihome-vacuum.0 2020-08-14 23:54:57.883 debug (8589) sendMsg[1] >>> {"id":51,"method":"miIO.info"} mihome-vacuum.0 2020-08-14 23:54:57.882 debug (8589) sendMsg[1] >>> {"id":50,"method":"get_status"} mihome-vacuum.0 2020-08-14 23:54:37.927 debug (8589) Receive <<< {"result":[{"msg_ver":2,"msg_seq":4258,"state":8,"battery":100,"clean_time":8,"clean_area":0,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab_ mihome-vacuum.0 2020-08-14 23:54:37.877 debug (8589) sendMsg[1] >>> {"id":49,"method":"get_status"} mihome-vacuum.0 2020-08-14 23:54:17.959 debug (8589) Receive <<< {"result":[{"msg_ver":2,"msg_seq":4257,"state":8,"battery":100,"clean_time":8,"clean_area":0,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab_ mihome-vacuum.0 2020-08-14 23:54:17.875 debug (8589) sendMsg[1] >>> {"id":48,"method":"get_status"} mihome-vacuum.0 2020-08-14 23:53:57.993 debug (8589) Receive <<< {"result":[{"msg_ver":2,"msg_seq":4256,"state":8,"battery":100,"clean_time":8,"clean_area":0,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab_ mihome-vacuum.0 2020-08-14 23:53:57.989 debug (8589) Receive <<< {"partner_id":"","id":47,"code":0,"message":"ok","result":{"hw_ver":"Linux","fw_ver":"3.5.8_4436","ap":{"ssid":"Slowdazamba","bssid":"e0:28:6d:87:52:85","rssi":-44},"netif":{"localI mihome-vacuum.0 2020-08-14 23:53:57.874 debug (8589) Next WiFi check: 14.08 23:54 mihome-vacuum.0 2020-08-14 23:53:57.873 debug (8589) sendMsg[1] >>> {"id":47,"method":"miIO.info"} mihome-vacuum.0 2020-08-14 23:53:57.872 debug (8589) sendMsg[1] >>> {"id":46,"method":"get_status"} mihome-vacuum.0 2020-08-14 23:53:37.921 debug (8589) Receive <<< {"result":[{"msg_ver":2,"msg_seq":4245,"state":8,"battery":100,"clean_time":8,"clean_area":0,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab_ mihome-vacuum.0 2020-08-14 23:53:37.869 debug (8589) sendMsg[1] >>> {"id":45,"method":"get_status"} mihome-vacuum.0 2020-08-14 23:53:17.955 debug (8589) Receive <<< {"result":[{"msg_ver":2,"msg_seq":4235,"state":8,"battery":100,"clean_time":8,"clean_area":0,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab_ mihome-vacuum.0 2020-08-14 23:53:17.867 debug (8589) sendMsg[1] >>> {"id":44,"method":"get_status"} mihome-vacuum.0 2020-08-14 23:53:16.841 debug (8589) system.adapter.admin.0: logging true mihome-vacuum.0 2020-08-14 23:52:58.455 debug (8589) system.adapter.admin.0: logging false mihome-vacuum.0 2020-08-14 23:52:57.886 debug (8589) Receive <<< {"result":[{"msg_ver":2,"msg_seq":4224,"state":8,"battery":100,"clean_time":8,"clean_area":0,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab mihome-vacuum.0 2020-08-14 23:52:57.882 debug (8589) Receive <<< {"partner_id":"","id":43,"code":0,"message":"ok","result":{"hw_ver":"Linux","fw_ver":"3.5.8_4436","ap":{"ssid":"Slowdazamba","bssid":"e0:28:6d:87:52:85","rssi":-44},"netif":{"local mihome-vacuum.0 2020-08-14 23:52:57.866 debug (8589) Next WiFi check: 14.08 23:53 mihome-vacuum.0 2020-08-14 23:52:57.865 debug (8589) sendMsg[1] >>> {"id":43,"method":"miIO.info"} mihome-vacuum.0 2020-08-14 23:52:57.864 debug (8589) sendMsg[1] >>> {"id":42,"method":"get_status"} mihome-vacuum.0 2020-08-14 23:52:53.977 info (8589) room: 275001013628 not mapped mihome-vacuum.0 2020-08-14 23:52:53.976 info (8589) room: 275001013648 not mapped mihome-vacuum.0 2020-08-14 23:52:53.971 info (8589) room: 275001013621 not mapped mihome-vacuum.0 2020-08-14 23:52:53.968 info (8589) room: 275001013646 mapped with index undefined mihome-vacuum.0 2020-08-14 23:52:53.965 info (8589) room: 275001013645 mapped with index undefined mihome-vacuum.0 2020-08-14 23:52:53.961 info (8589) room: 275001013642 mapped with index undefined mihome-vacuum.0 2020-08-14 23:52:53.959 info (8589) room: 275001013641 mapped with index undefined mihome-vacuum.0 2020-08-14 23:52:53.955 info (8589) room: 275001013647 mapped with index undefined mihome-vacuum.0 2020-08-14 23:52:53.887 debug (8589) Receive <<< {"result":[[20,"275001013647"],[16,"275001013641"],[17,"275001013642"],[18,"275001013645"],[19,"275001013646"]],"id":41} mihome-vacuum.0 2020-08-14 23:52:53.762 debug (8589) sendMsg[1] >>> {"id":41,"method":"get_room_mapping"} mihome-vacuum.0 2020-08-14 23:52:53.760 debug (8589) stateChange mihome-vacuum.0.rooms.loadRooms {"val":true,"ack":false,"ts":1597441973751,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1597332190595} mihome-vacuum.0 2020-08-14 23:52:37.873 debug (8589) Receive <<< {"result":[{"msg_ver":2,"msg_seq":4212,"state":8,"battery":100,"clean_time":8,"clean_area":0,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab mihome-vacuum.0 2020-08-14 23:52:37.861 debug (8589) sendMsg[1] >>> {"id":40,"method":"get_status"} mihome-vacuum.0 2020-08-14 23:52:17.946 debug (8589) Receive <<< {"result":[{"msg_ver":2,"msg_seq":4200,"state":8,"battery":100,"clean_time":8,"clean_area":0,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab mihome-vacuum.0 2020-08-14 23:52:17.860 debug (8589) sendMsg[1] >>> {"id":39,"method":"get_status"} mihome-vacuum.0 2020-08-14 23:51:57.980 debug (8589) Receive <<< {"result":[{"msg_ver":2,"msg_seq":4199,"state":8,"battery":100,"clean_time":8,"clean_area":0,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab mihome-vacuum.0 2020-08-14 23:51:57.979 debug (8589) Receive <<< {"partner_id":"","id":38,"code":0,"message":"ok","result":{"hw_ver":"Linux","fw_ver":"3.5.8_4436","ap":{"ssid":"Slowdazamba","bssid":"e0:28:6d:87:52:85","rssi":-44},"netif":{"local mihome-vacuum.0 2020-08-14 23:51:57.859 debug (8589) Next WiFi check: 14.08 23:52 mihome-vacuum.0 2020-08-14 23:51:57.858 debug (8589) sendMsg[1] >>> {"id":38,"method":"miIO.info"} mihome-vacuum.0 2020-08-14 23:51:57.857 debug (8589) sendMsg[1] >>> {"id":37,"method":"get_status"} mihome-vacuum.0 2020-08-14 23:51:37.912 debug (8589) Receive <<< {"result":[{"msg_ver":2,"msg_seq":4198,"state":8,"battery":100,"clean_time":8,"clean_area":0,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab mihome-vacuum.0 2020-08-14 23:51:37.855 debug (8589) sendMsg[1] >>> {"id":36,"method":"get_status"} mihome-vacuum.0 2020-08-14 23:51:17.940 debug (8589) Receive <<< {"result":[{"msg_ver":2,"msg_seq":4197,"state":8,"battery":100,"clean_time":8,"clean_area":0,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab mihome-vacuum.0 2020-08-14 23:51:17.854 debug (8589) sendMsg[1] >>> {"id":35,"method":"get_status"} mihome-vacuum.0 2020-08-14 23:51:00.016 debug (8589) Mappointer_updated mihome-vacuum.0 2020-08-14 23:51:00.015 debug (8589) Receive <<< {"result":["roboroommap%2F321636546%2F1"],"id":34} mihome-vacuum.0 2020-08-14 23:50:59.979 debug (8589) sendMsg[1] >>> {"id":34,"method":"get_map_v1"} mihome-vacuum.0 2020-08-14 23:50:58.588 debug (8589) Receive <<< {"result":[10854,145977500,26,[1597438510,1597437891,1597437765,1597437590,1597423082,1597414047,1597411995,1597344916,1597332841,1597331343,1597326675,1597322633,1597321619,159732 mihome-vacuum.0 2020-08-14 23:50:58.479 debug (8589) sendMsg[1] >>> {"id":33,"method":"get_clean_summary"} mihome-vacuum.0 2020-08-14 23:50:57.985 debug (8589) Receive <<< {"result":[{"main_brush_work_time":10854,"side_brush_work_time":10854,"filter_work_time":10854,"filter_element_work_time":7737,"sensor_dirty_time":10854}],"id":32} mihome-vacuum.0 2020-08-14 23:50:57.977 debug (8589) sendMsg[1] >>> {"id":32,"method":"get_consumable"} mihome-vacuum.0 2020-08-14 23:50:57.975 info (8589) create states for water box filter mihome-vacuum.0 2020-08-14 23:50:57.975 info (8589) create states for water box mihome-vacuum.0 2020-08-14 23:50:57.973 debug (8589) Receive <<< {"result":[{"msg_ver":2,"msg_seq":4196,"state":8,"battery":100,"clean_time":8,"clean_area":0,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab mihome-vacuum.0 2020-08-14 23:50:57.852 debug (8589) sendMsg[1] >>> {"id":31,"method":"get_status"} mihome-vacuum.0 2020-08-14 23:50:42.847 debug (8589) CLEAN_LOGGING[{"Datum":"14.8","Start":"22:55","Saugzeit":"0 min","Fläche":"0 m²","Error":0,"Ende":false},{"Datum":"14.8","Start":"22:44","Saugzeit":"1 min","Fläche":"1.52 m²","Error":0,"Ende": mihome-vacuum.0 2020-08-14 23:50:42.653 debug (8589) Receive <<< {"result":[[1597268211,1597268217,6,0,0,0,2,1,60]],"id":30} mihome-vacuum.0 2020-08-14 23:50:42.646 debug (8589) sendMsg[1] >>> {"id":30,"method":"get_clean_record","params":[1597268211]} mihome-vacuum.0 2020-08-14 23:50:42.453 debug (8589) Receive <<< {"result":[[1597294395,1597296293,1898,32012500,0,1,5,1,52]],"id":29} mihome-vacuum.0 2020-08-14 23:50:42.445 debug (8589) sendMsg[1] >>> {"id":29,"method":"get_clean_record","params":[1597294395]} mihome-vacuum.0 2020-08-14 23:50:42.252 debug (8589) Receive <<< {"result":[[1597319289,1597319912,605,7660000,0,1,5,1,52]],"id":28} mihome-vacuum.0 2020-08-14 23:50:42.243 debug (8589) sendMsg[1] >>> {"id":28,"method":"get_clean_record","params":[1597319289]} mihome-vacuum.0 2020-08-14 23:50:42.049 debug (8589) Receive <<< {"result":[[1597320739,1597320899,15,220000,0,0,1,1,43]],"id":27} mihome-vacuum.0 2020-08-14 23:50:42.040 debug (8589) sendMsg[1] >>> {"id":27,"method":"get_clean_record","params":[1597320739]} mihome-vacuum.0 2020-08-14 23:50:41.846 debug (8589) Receive <<< {"result":[[1597320922,1597320988,23,0,0,0,2,2,61]],"id":26} mihome-vacuum.0 2020-08-14 23:50:41.837 debug (8589) sendMsg[1] >>> {"id":26,"method":"get_clean_record","params":[1597320922]} mihome-vacuum.0 2020-08-14 23:50:41.643 debug (8589) Receive <<< {"result":[[1597321049,1597321413,346,3345000,0,1,2,1,52]],"id":25} mihome-vacuum.0 2020-08-14 23:50:41.634 debug (8589) sendMsg[1] >>> {"id":25,"method":"get_clean_record","params":[1597321049]} mihome-vacuum.0 2020-08-14 23:50:41.444 debug (8589) Receive <<< {"result":[[1597321488,1597321547,59,1775000,0,0,1,1,43]],"id":24} mihome-vacuum.0 2020-08-14 23:50:41.432 debug (8589) sendMsg[1] >>> {"id":24,"method":"get_clean_record","params":[1597321488]} mihome-vacuum.0 2020-08-14 23:50:41.239 debug (8589) Receive <<< {"result":[[1597321619,1597322479,844,7545000,0,1,2,1,52]],"id":23} mihome-vacuum.0 2020-08-14 23:50:41.230 debug (8589) sendMsg[1] >>> {"id":23,"method":"get_clean_record","params":[1597321619]} mihome-vacuum.0 2020-08-14 23:50:41.036 debug (8589) Receive <<< {"result":[[1597322633,1597325189,2556,33375000,0,1,2,1,52]],"id":22} mihome-vacuum.0 2020-08-14 23:50:41.028 debug (8589) sendMsg[1] >>> {"id":22,"method":"get_clean_record","params":[1597322633]} mihome-vacuum.0 2020-08-14 23:50:40.835 debug (8589) Receive <<< {"result":[[1597326675,1597328878,2203,31472500,0,1,1,1,52]],"id":21} mihome-vacuum.0 2020-08-14 23:50:40.826 debug (8589) sendMsg[1] >>> {"id":21,"method":"get_clean_record","params":[1597326675]} mihome-vacuum.0 2020-08-14 23:50:40.633 debug (8589) Receive <<< {"result":[[1597331343,1597331356,13,0,0,0,5,1,60]],"id":20} mihome-vacuum.0 2020-08-14 23:50:40.625 debug (8589) sendMsg[1] >>> {"id":20,"method":"get_clean_record","params":[1597331343]} mihome-vacuum.0 2020-08-14 23:50:40.430 debug (8589) Receive <<< {"result":[[1597332841,1597332874,33,482500,0,0,5,1,60]],"id":19} mihome-vacuum.0 2020-08-14 23:50:40.421 debug (8589) sendMsg[1] >>> {"id":19,"method":"get_clean_record","params":[1597332841]} mihome-vacuum.0 2020-08-14 23:50:40.370 warn (8589) HTTP error when getting token cookie mihome-vacuum.0 2020-08-14 23:50:40.369 error (8589) HTTP error when getting token cookie{} mihome-vacuum.0 2020-08-14 23:50:40.225 debug (8589) Receive <<< {"result":[[1597344916,1597344932,16,0,0,0,5,1,60]],"id":18} mihome-vacuum.0 2020-08-14 23:50:40.220 debug (8589) sendMsg[1] >>> {"id":18,"method":"get_clean_record","params":[1597344916]} mihome-vacuum.0 2020-08-14 23:50:40.216 debug (8589) Mappointer_updated mihome-vacuum.0 2020-08-14 23:50:40.215 debug (8589) Receive <<< {"result":["roboroommap%2F321636546%2F0"],"id":17} mihome-vacuum.0 2020-08-14 23:50:40.208 debug (8589) 1. Mappointer_nomap___retry mihome-vacuum.0 2020-08-14 23:50:40.207 debug (8589) sendMsg[1] >>> {"id":17,"method":"get_map_v1"} mihome-vacuum.0 2020-08-14 23:50:40.027 debug (8589) Receive <<< {"result":[[1597411995,1597412226,231,5247500,0,1,2,3,56]],"id":16} mihome-vacuum.0 2020-08-14 23:50:40.018 debug (8589) sendMsg[1] >>> {"id":16,"method":"get_clean_record","params":[1597411995]} mihome-vacuum.0 2020-08-14 23:50:39.829 debug (8589) Receive <<< {"result":[[1597414047,1597415374,1327,9362500,0,1,2,3,56]],"id":15} mihome-vacuum.0 2020-08-14 23:50:39.817 debug (8589) sendMsg[1] >>> {"id":15,"method":"get_clean_record","params":[1597414047]} mihome-vacuum.0 2020-08-14 23:50:39.705 debug (8589) Receive <<< {"result":["retry"],"id":14} mihome-vacuum.0 2020-08-14 23:50:39.700 debug (8589) 0. Mappointer_nomap___retry mihome-vacuum.0 2020-08-14 23:50:39.699 debug (8589) sendMsg[1] >>> {"id":14,"method":"get_map_v1"} mihome-vacuum.0 2020-08-14 23:50:39.624 debug (8589) Receive <<< {"result":[[1597423082,1597423092,10,0,0,0,2,2,61]],"id":13} mihome-vacuum.0 2020-08-14 23:50:39.616 debug (8589) sendMsg[1] >>> {"id":13,"method":"get_clean_record","params":[1597423082]} mihome-vacuum.0 2020-08-14 23:50:39.423 debug (8589) Receive <<< {"result":[[1597437590,1597437762,70,970000,0,0,2,3,60]],"id":12} mihome-vacuum.0 2020-08-14 23:50:39.415 debug (8589) sendMsg[1] >>> {"id":12,"method":"get_clean_record","params":[1597437590]} mihome-vacuum.0 2020-08-14 23:50:39.218 debug (8589) Receive <<< {"result":[[1597437765,1597437801,36,470000,0,0,2,3,60]],"id":11} mihome-vacuum.0 2020-08-14 23:50:39.213 debug (8589) sendMsg[1] >>> {"id":11,"method":"get_clean_record","params":[1597437765]} mihome-vacuum.0 2020-08-14 23:50:39.196 debug (8589) Receive <<< {"result":["retry"],"id":10} mihome-vacuum.0 2020-08-14 23:50:39.191 debug (8589) sendMsg[1] >>> {"id":10,"method":"get_map_v1"} mihome-vacuum.0 2020-08-14 23:50:39.021 debug (8589) Receive <<< {"result":[[1597437891,1597437942,51,1522500,0,0,2,3,60]],"id":9} mihome-vacuum.0 2020-08-14 23:50:39.010 debug (8589) sendMsg[1] >>> {"id":9,"method":"get_clean_record","params":[1597437891]} mihome-vacuum.0 2020-08-14 23:50:39.004 debug (8589) Receive <<< {"result":[[16,"275001013621"],[17,"275001013648"],[18,"275001013628"]],"id":8} mihome-vacuum.0 2020-08-14 23:50:39.003 info (8589) create state for carpet_mode mihome-vacuum.0 2020-08-14 23:50:39.001 debug (8589) Receive <<< {"result":[{"enable":1,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":7} mihome-vacuum.0 2020-08-14 23:50:38.992 debug (8589) sendMsg[1] >>> {"id":8,"method":"get_room_mapping"} mihome-vacuum.0 2020-08-14 23:50:38.991 debug (8589) sendMsg[1] >>> {"id":7,"method":"get_carpet_mode"} mihome-vacuum.0 2020-08-14 23:50:38.815 debug (8589) Receive <<< {"result":[[1597438510,1597438518,8,0,0,0,2,3,60]],"id":6} mihome-vacuum.0 2020-08-14 23:50:38.808 debug (8589) sendMsg[1] >>> {"id":6,"method":"get_clean_record","params":[1597438510]} mihome-vacuum.0 2020-08-14 23:50:38.802 debug (8589) Receive <<< {"result":[10854,145977500,26,[1597438510,1597437891,1597437765,1597437590,1597423082,1597414047,1597411995,1597344916,1597332841,1597331343,1597326675,1597322633,1597321619,159732 mihome-vacuum.0 2020-08-14 23:50:38.792 debug (8589) sendMsg[1] >>> {"id":5,"method":"get_clean_summary"} mihome-vacuum.0 2020-08-14 23:50:38.601 debug (8589) Receive <<< {"result":[{"main_brush_work_time":10854,"side_brush_work_time":10854,"filter_work_time":10854,"filter_element_work_time":7737,"sensor_dirty_time":10854}],"id":4} mihome-vacuum.0 2020-08-14 23:50:38.591 debug (8589) sendMsg[1] >>> {"id":4,"method":"get_consumable"} mihome-vacuum.0 2020-08-14 23:50:38.404 debug (8589) Receive <<< {"result":[90],"id":3} mihome-vacuum.0 2020-08-14 23:50:38.393 debug (8589) sendMsg[1] >>> {"id":3,"method":"get_sound_volume"} mihome-vacuum.0 2020-08-14 23:50:38.391 info (8589) set nächster Timer: Nicht verfügbar mihome-vacuum.0 2020-08-14 23:50:38.198 debug (8589) Receive <<< {"partner_id":"","id":2,"code":0,"message":"ok","result":{"hw_ver":"Linux","fw_ver":"3.5.8_4436","ap":{"ssid":"Slowdazamba","bssid":"e0:28:6d:87:52:85","rssi":-44},"netif":{"localI mihome-vacuum.0 2020-08-14 23:50:38.194 debug (8589) Next WiFi check: 14.08 23:51 mihome-vacuum.0 2020-08-14 23:50:38.192 debug (8589) sendMsg[1] >>> {"id":2,"method":"miIO.info"} mihome-vacuum.0 2020-08-14 23:50:37.989 info (8589) Connected mihome-vacuum.0 2020-08-14 23:50:37.986 debug (8589) sendTo "getStatus" to system.adapter.mihome-vacuum.0 from system.adapter.mihome-vacuum.0 mihome-vacuum.0 2020-08-14 23:50:37.983 debug (8589) Receive <<< {"result":[{"msg_ver":2,"msg_seq":4195,"state":8,"battery":100,"clean_time":8,"clean_area":0,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab mihome-vacuum.0 2020-08-14 23:50:37.972 debug (8589) sendMsg[1] >>> {"id":1,"method":"get_status"} mihome-vacuum.0 2020-08-14 23:50:37.940 debug (8589) sendTo "getStatus" to system.adapter.mihome-vacuum.0 from system.adapter.mihome-vacuum.0 mihome-vacuum.0 2020-08-14 23:50:37.939 info (8589) connecting, this can take up to 10 minutes ... mihome-vacuum.0 2020-08-14 23:50:37.937 debug (8589) Receive <<< Helo <<< 2131002000000000132bc8c25f37072dffffffffffffffffffffffffffffffff mihome-vacuum.0 2020-08-14 23:50:37.930 info (8589) New generation or new fw(3.5.8,4436) detected, create new states goto and zoneclean mihome-vacuum.0 2020-08-14 23:50:37.916 debug (8589) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } mihome-vacuum.0 2020-08-14 23:50:37.857 debug (8589) server started on 0.0.0.0:53421 mihome-vacuum.0 2020-08-14 23:50:37.842 info (8589) Create state clean_home for controlling by cloud adapter mihome-vacuum.0 2020-08-14 23:50:37.840 info (8589) Expert mode disabled, states deleted mihome-vacuum.0 2020-08-14 23:50:37.831 debug (8589) Xiaomi Cloud: Logging in mihome-vacuum.0 2020-08-14 23:50:37.828 debug (8589) load Map creator... true mihome-vacuum.0 2020-08-14 23:50:37.730 info (8589) starting. Version 2.1.1 in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v12.18.3, js-controller: 3.1.6 mihome-vacuum.0 2020-08-14 23:50:36.347 debug (8589) statesDB connected mihome-vacuum.0 2020-08-14 23:50:36.346 debug (8589) States connected to redis: 127.0.0.1:9000 mihome-vacuum.0 2020-08-14 23:50:36.311 debug (8589) States create System PubSub Client mihome-vacuum.0 2020-08-14 23:50:36.308 debug (8589) States create User PubSub Client mihome-vacuum.0 2020-08-14 23:50:36.296 debug (8589) Redis States: Use Redis connection: 127.0.0.1:9000 mihome-vacuum.0 2020-08-14 23:50:36.294 debug (8589) objectDB connected mihome-vacuum.0 2020-08-14 23:50:36.287 debug (8589) Objects connected to redis: 127.0.0.1:9001 mihome-vacuum.0 2020-08-14 23:50:36.262 debug (8589) Objects client initialize lua scripts mihome-vacuum.0 2020-08-14 23:50:36.261 debug (8589) Objects create User PubSub Client mihome-vacuum.0 2020-08-14 23:50:36.260 debug (8589) Objects create System PubSub Client mihome-vacuum.0 2020-08-14 23:50:36.256 debug (8589) Objects client ready ... initialize now mihome-vacuum.0 2020-08-14 23:50:36.216 debug (8589) Redis Objects: Use Redis connection: 127.0.0.1:9001 mihome-vacuum.0 2020-08-14 23:50:31.904 info (12559) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason mihome-vacuum.0 2020-08-14 23:50:31.903 info (12559) terminating mihome-vacuum.0 2020-08-14 23:50:31.900 info (12559) Got terminate signal TERMINATE_YOURSELF
Die Datenpunkte "roomClean" und "state" werden bei Kartenwechsel jeweils neu angelegt und in den ordner "mapIndex" verschoben. Das macht mir erstens den gezielten Raumzugriff unmöglich und eliminiert zweitens meine IOT smart Devices.
-
Hallo Leute!
Hab jetzt nen S5 Max und bekomme in den Kartenlink keinen Eintrag.
Bin leider nicht so der Profi, aber hier mal meine Infos und Einstellungen
PI4
Adapter mihome-vacuum Version 2.2.0
Modell S5 Max
Firmware lt Mi Home APP 3.5.8_0876Logging:
mihome-vacuum.0 2020-08-15 08:41:49.625 debug (28150) Receive <<< {"result":[{"msg_ver":2,"msg_seq":1012,"state":8,"battery":100,"clean_time":13,"clean_area":140000,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state": mihome-vacuum.0 2020-08-15 08:41:49.621 debug (28150) Receive <<< {"partner_id":"","id":119,"code":0,"message":"ok","result":{"hw_ver":"Linux","fw_ver":"3.5.8_0876","ap":{"ssid":"dexter","bssid":"74:83:c2:87:ca:a6","rssi":-47},"netif":{"localIp": mihome-vacuum.0 2020-08-15 08:41:49.615 debug (28150) Next WiFi check: 15.08 08:42 mihome-vacuum.0 2020-08-15 08:41:49.614 debug (28150) sendMsg[1] >>> {"id":119,"method":"miIO.info"} mihome-vacuum.0 2020-08-15 08:41:49.613 debug (28150) sendMsg[1] >>> {"id":118,"method":"get_status"} mihome-vacuum.0 2020-08-15 08:41:41.447 debug (28150) system.adapter.admin.0: logging true mihome-vacuum.0 2020-08-15 08:41:29.617 debug (28150) Receive <<< {"result":[{"msg_ver":2,"msg_seq":1011,"state":8,"battery":100,"clean_time":13,"clean_area":140000,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state" mihome-vacuum.0 2020-08-15 08:41:29.608 debug (28150) sendMsg[1] >>> {"id":117,"method":"get_status"} mihome-vacuum.0 2020-08-15 08:41:10.637 debug (28150) Receive <<< {"result":[{"msg_ver":2,"msg_seq":1010,"state":8,"battery":100,"clean_time":13,"clean_area":140000,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state" mihome-vacuum.0 2020-08-15 08:41:09.606 debug (28150) sendMsg[1] >>> {"id":116,"method":"get_status"} mihome-vacuum.0 2020-08-15 08:40:49.613 debug (28150) Receive <<< {"result":[{"msg_ver":2,"msg_seq":1009,"state":8,"battery":100,"clean_time":13,"clean_area":140000,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state" mihome-vacuum.0 2020-08-15 08:40:49.610 debug (28150) Receive <<< {"partner_id":"","id":115,"code":0,"message":"ok","result":{"hw_ver":"Linux","fw_ver":"3.5.8_0876","ap":{"ssid":"dexter","bssid":"74:83:c2:87:ca:a6","rssi":-47},"netif":{"localIp" mihome-vacuum.0 2020-08-15 08:40:49.605 debug (28150) Next WiFi check: 15.08 08:41 mihome-vacuum.0 2020-08-15 08:40:49.604 debug (28150) sendMsg[1] >>> {"id":115,"method":"miIO.info"} mihome-vacuum.0 2020-08-15 08:40:49.603 debug (28150) sendMsg[1] >>> {"id":114,"method":"get_status"} mihome-vacuum.0 2020-08-15 08:40:29.608 debug (28150) Receive <<< {"result":[{"msg_ver":2,"msg_seq":1008,"state":8,"battery":100,"clean_time":13,"clean_area":140000,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state" mihome-vacuum.0 2020-08-15 08:40:29.601 debug (28150) sendMsg[1] >>> {"id":113,"method":"get_status"} mihome-vacuum.0 2020-08-15 08:40:09.608 debug (28150) Receive <<< {"result":[{"msg_ver":2,"msg_seq":1007,"state":8,"battery":100,"clean_time":13,"clean_area":140000,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state" mihome-vacuum.0 2020-08-15 08:40:09.600 debug (28150) sendMsg[1] >>> {"id":112,"method":"get_status"} mihome-vacuum.0 2020-08-15 08:39:49.608 debug (28150) Receive <<< {"result":[{"msg_ver":2,"msg_seq":1006,"state":8,"battery":100,"clean_time":13,"clean_area":140000,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state" mihome-vacuum.0 2020-08-15 08:39:49.606 debug (28150) Receive <<< {"partner_id":"","id":111,"code":0,"message":"ok","result":{"hw_ver":"Linux","fw_ver":"3.5.8_0876","ap":{"ssid":"dexter","bssid":"74:83:c2:87:ca:a6","rssi":-47},"netif":{"localIp" mihome-vacuum.0 2020-08-15 08:39:49.599 debug (28150) Next WiFi check: 15.08 08:40 mihome-vacuum.0 2020-08-15 08:39:49.598 debug (28150) sendMsg[1] >>> {"id":111,"method":"miIO.info"} mihome-vacuum.0 2020-08-15 08:39:49.593 debug (28150) sendMsg[1] >>> {"id":110,"method":"get_status"} mihome-vacuum.0 2020-08-15 08:41:41.447 debug (28150) system.adapter.admin.0: logging true
der Adapter selbst läuft nun
die Räume sind drinnen und auf Steuerungsbefehle per Blockly reagiert er auchdanke Tom
evtl. kann mal wer mit Teamviewer helfen, ich checks nicht mehr
-
@freaktech in dem Log seh ich jetzt weniger einen Fehler, der wichtige Teil fehlt anscheinend... ?
Hast du mal canvas neu gebaut? ( falls nicht, google mal hier im Thread danach, ist xmal beschrieben)Ansonsten hilft für die Fehlersuche immer das Log vom Starten des Adapters
-
Please install canvas and the libs manually with:
sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
sudo npm install canvas --unsafe-perm=true
das hab ich probiert
jetzt versucht er wieder seit 10 min zu verbinden ?!?
-
@freaktech npm ohne sudo
Dafür musst du aber in /opt/iobroker stehen.
Was liefert denn nachfolgende Befehlsfolge bei dir?pi@raspberrypi:~ $ cd /opt/iobroker/ pi@raspberrypi:/opt/iobroker $ npm list canvas iobroker.inst@2.0.3 /opt/iobroker ├── canvas@2.6.1 ├─┬ iobroker.iot@1.7.0 │ └── canvas@2.6.1 deduped └─┬ iobroker.mihome-vacuum@2.1.1 └── canvas@2.6.1 deduped