NEWS
Test Adapter mihome-vacuum v2.0.x
-
@freaktech Da liegt die falsche Mask drauf.
So sieht das bei mir aus:pi@raspberrypi:~ $ getfacl /opt/iobroker/node_modules/canvas/package.json getfacl: Entferne führende '/' von absoluten Pfadnamen # file: opt/iobroker/node_modules/canvas/package.json # owner: iobroker # group: iobroker user::rw- group::r-x group:iobroker:rwx mask::rwx other::r-- pi@raspberrypi:~ $
Ich muss jetzt aber weg. Lies dich mal in ACL unter Linux ein.
-
ok mit dem iobroker fixer sieht es jetzt so aus
pi@ioBroker-RasPi4:/opt/iobroker $ ls -la /opt/iobroker/node_modules/canvas/ insgesamt 144 drwxrwxr-x+ 8 iobroker iobroker 4096 Aug 13 14:37 . drwxrwxrwx+ 816 iobroker iobroker 36864 Aug 14 21:15 .. -rw-rwxr--+ 1 iobroker iobroker 6832 Okt 26 1985 binding.gyp -rw-rwxr--+ 1 iobroker iobroker 1064 Okt 26 1985 browser.js drwxrwxr-x+ 3 iobroker iobroker 4096 Aug 13 14:37 build -rw-rwxr--+ 1 iobroker iobroker 28011 Okt 26 1985 CHANGELOG.md -rw-rwxr--+ 1 iobroker iobroker 2363 Okt 26 1985 index.js drwxrwxr-x+ 2 iobroker iobroker 4096 Aug 13 14:37 lib drwxrwxr-x+ 10 iobroker iobroker 4096 Aug 13 14:37 node_modules -rw-rwxr--+ 1 iobroker iobroker 3210 Aug 13 14:37 package.json -rw-rwxr--+ 1 iobroker iobroker 26514 Okt 26 1985 Readme.md drwxrwxr-x+ 4 iobroker iobroker 4096 Aug 13 14:37 src drwxrwxr-x+ 2 iobroker iobroker 4096 Aug 13 14:37 types drwxrwxr-x+ 2 iobroker iobroker 4096 Aug 13 14:37 util pi@ioBroker-RasPi4:/opt/iobroker $ iobroker start pi@ioBroker-RasPi4:/opt/iobroker $
close Zeit mihome-vacuum.0 2020-08-15 14:38:20.038 debug (6984) Receive <<< {"result":[{"msg_ver":2,"msg_seq":2016,"state":8,"battery":100,"clean_time":495,"clean_area":5242500,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state" mihome-vacuum.0 2020-08-15 14:38:20.030 debug (6984) sendMsg[1] >>> {"id":41,"method":"get_status"} mihome-vacuum.0 2020-08-15 14:38:01.177 debug (6984) Receive <<< {"result":[{"msg_ver":2,"msg_seq":2015,"state":8,"battery":100,"clean_time":495,"clean_area":5242500,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state" mihome-vacuum.0 2020-08-15 14:38:00.028 debug (6984) sendMsg[1] >>> {"id":40,"method":"get_status"} mihome-vacuum.0 2020-08-15 14:37:40.035 debug (6984) Receive <<< {"result":[{"msg_ver":2,"msg_seq":2014,"state":8,"battery":100,"clean_time":495,"clean_area":5242500,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state" mihome-vacuum.0 2020-08-15 14:37:40.032 debug (6984) Receive <<< {"partner_id":"","id":39,"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":-44},"netif":{"localIp":"1 mihome-vacuum.0 2020-08-15 14:37:40.027 debug (6984) Next WiFi check: 15.08 14:38 mihome-vacuum.0 2020-08-15 14:37:40.026 debug (6984) sendMsg[1] >>> {"id":39,"method":"miIO.info"} mihome-vacuum.0 2020-08-15 14:37:40.024 debug (6984) sendMsg[1] >>> {"id":38,"method":"get_status"} mihome-vacuum.0 2020-08-15 14:37:20.030 debug (6984) Receive <<< {"result":[{"msg_ver":2,"msg_seq":2013,"state":8,"battery":100,"clean_time":495,"clean_area":5242500,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state" mihome-vacuum.0 2020-08-15 14:37:20.022 debug (6984) sendMsg[1] >>> {"id":37,"method":"get_status"} mihome-vacuum.0 2020-08-15 14:37:00.885 debug (6984) system.adapter.admin.0: logging true mihome-vacuum.0 2020-08-15 14:36:42.042 debug (6984) Mappointer_updated mihome-vacuum.0 2020-08-15 14:36:42.041 debug (6984) Receive <<< {"result":["rubyslite%2F320252511%2F5"],"id":34} mihome-vacuum.0 2020-08-15 14:36:42.033 debug (6984) sendMsg[1] >>> {"id":34,"method":"get_map_v1"} mihome-vacuum.0 2020-08-15 14:36:40.541 debug (6984) Receive <<< {"result":[23651,324502500,122,[1597486566,1597478982,1597471813,1597471747,1597442430,1597442077,1597442057,1597441956,1597441792,1597441673,1597441472,1597441343,1597440959,15974 mihome-vacuum.0 2020-08-15 14:36:40.533 debug (6984) sendMsg[1] >>> {"id":33,"method":"get_clean_summary"} mihome-vacuum.0 2020-08-15 14:36:40.042 debug (6984) Receive <<< {"result":[{"main_brush_work_time":24359,"side_brush_work_time":24359,"filter_work_time":24359,"filter_element_work_time":0,"sensor_dirty_time":23651}],"id":32} mihome-vacuum.0 2020-08-15 14:36:40.031 debug (6984) sendMsg[1] >>> {"id":32,"method":"get_consumable"} mihome-vacuum.0 2020-08-15 14:36:40.029 info (6984) create states for water box filter mihome-vacuum.0 2020-08-15 14:36:40.028 info (6984) create states for water box mihome-vacuum.0 2020-08-15 14:36:40.026 debug (6984) Receive <<< {"result":[{"msg_ver":2,"msg_seq":2011,"state":8,"battery":100,"clean_time":495,"clean_area":5242500,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state mihome-vacuum.0 2020-08-15 14:36:40.018 debug (6984) sendMsg[1] >>> {"id":31,"method":"get_status"} mihome-vacuum.0 2020-08-15 14:36:36.902 debug (6984) Mappointer_updated mihome-vacuum.0 2020-08-15 14:36:36.901 debug (6984) Receive <<< {"result":["rubyslite%2F320252511%2F4"],"id":30} mihome-vacuum.0 2020-08-15 14:36:36.890 debug (6984) sendMsg[1] >>> {"id":30,"method":"get_map_v1"} mihome-vacuum.0 2020-08-15 14:36:36.888 debug (6984) stateChange mihome-vacuum.0.map.loadMap {"val":true,"ack":false,"ts":1597494996878,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1597432659531} mihome-vacuum.0 2020-08-15 14:36:25.160 debug (6984) CLEAN_LOGGING[{"Datum":"15.8","Start":"12:16","Saugzeit":"8 min","Fläche":"5.24 m²","Error":0,"Ende":true},{"Datum":"15.8","Start":"10:09","Saugzeit":"9 min","Fläche":"8.19 m²","Error":0,"Ende mihome-vacuum.0 2020-08-15 14:36:24.964 debug (6984) Receive <<< {"result":[[1597435574,1597435596,22,0,0,0,2,3,60]],"id":29} mihome-vacuum.0 2020-08-15 14:36:24.958 debug (6984) sendMsg[1] >>> {"id":29,"method":"get_clean_record","params":[1597435574]} mihome-vacuum.0 2020-08-15 14:36:24.763 debug (6984) Receive <<< {"result":[[1597435610,1597435624,14,0,0,0,2,3,60]],"id":28} mihome-vacuum.0 2020-08-15 14:36:24.756 debug (6984) sendMsg[1] >>> {"id":28,"method":"get_clean_record","params":[1597435610]} mihome-vacuum.0 2020-08-15 14:36:24.561 debug (6984) Receive <<< {"result":[[1597435636,1597435656,20,0,0,0,2,3,60]],"id":27} mihome-vacuum.0 2020-08-15 14:36:24.554 debug (6984) sendMsg[1] >>> {"id":27,"method":"get_clean_record","params":[1597435636]} mihome-vacuum.0 2020-08-15 14:36:24.358 debug (6984) Receive <<< {"result":[[1597436334,1597436350,16,140000,0,0,2,1,60]],"id":26} mihome-vacuum.0 2020-08-15 14:36:24.351 debug (6984) sendMsg[1] >>> {"id":26,"method":"get_clean_record","params":[1597436334]} mihome-vacuum.0 2020-08-15 14:36:24.183 debug (6984) Receive <<< {"result":[[1597440532,1597440545,13,0,0,0,2,3,60]],"id":25} mihome-vacuum.0 2020-08-15 14:36:24.148 debug (6984) sendMsg[1] >>> {"id":25,"method":"get_clean_record","params":[1597440532]} mihome-vacuum.0 2020-08-15 14:36:23.953 debug (6984) Receive <<< {"result":[[1597440550,1597440556,6,0,0,0,2,3,60]],"id":24} mihome-vacuum.0 2020-08-15 14:36:23.947 debug (6984) sendMsg[1] >>> {"id":24,"method":"get_clean_record","params":[1597440550]} mihome-vacuum.0 2020-08-15 14:36:23.752 debug (6984) Receive <<< {"result":[[1597440787,1597440812,25,465000,0,0,2,3,60]],"id":23} mihome-vacuum.0 2020-08-15 14:36:23.746 debug (6984) sendMsg[1] >>> {"id":23,"method":"get_clean_record","params":[1597440787]} mihome-vacuum.0 2020-08-15 14:36:23.550 debug (6984) Receive <<< {"result":[[1597440959,1597440974,15,0,0,0,2,3,60]],"id":22} mihome-vacuum.0 2020-08-15 14:36:23.544 debug (6984) sendMsg[1] >>> {"id":22,"method":"get_clean_record","params":[1597440959]} mihome-vacuum.0 2020-08-15 14:36:23.349 debug (6984) Receive <<< {"result":[[1597441343,1597441359,16,0,0,0,2,3,60]],"id":21} mihome-vacuum.0 2020-08-15 14:36:23.343 debug (6984) sendMsg[1] >>> {"id":21,"method":"get_clean_record","params":[1597441343]} mihome-vacuum.0 2020-08-15 14:36:23.148 debug (6984) Receive <<< {"result":[[1597441472,1597441672,13,0,0,0,2,3,60]],"id":20} mihome-vacuum.0 2020-08-15 14:36:23.140 debug (6984) sendMsg[1] >>> {"id":20,"method":"get_clean_record","params":[1597441472]} mihome-vacuum.0 2020-08-15 14:36:23.136 debug (6984) Xiaomi Cloud: Login successful mihome-vacuum.0 2020-08-15 14:36:22.934 debug (6984) Receive <<< {"result":[[1597441673,1597441687,14,0,0,0,2,3,60]],"id":19} mihome-vacuum.0 2020-08-15 14:36:22.927 debug (6984) sendMsg[1] >>> {"id":19,"method":"get_clean_record","params":[1597441673]} mihome-vacuum.0 2020-08-15 14:36:22.648 debug (6984) Receive <<< {"result":[[1597441792,1597441955,13,0,0,0,2,3,60]],"id":18} mihome-vacuum.0 2020-08-15 14:36:22.632 debug (6984) sendMsg[1] >>> {"id":18,"method":"get_clean_record","params":[1597441792]} mihome-vacuum.0 2020-08-15 14:36:22.437 debug (6984) Receive <<< {"result":[[1597441956,1597441969,13,140000,0,0,2,3,60]],"id":17} mihome-vacuum.0 2020-08-15 14:36:22.430 debug (6984) sendMsg[1] >>> {"id":17,"method":"get_clean_record","params":[1597441956]} mihome-vacuum.0 2020-08-15 14:36:22.235 debug (6984) Receive <<< {"result":[[1597442057,1597442076,13,0,0,0,2,3,60]],"id":16} mihome-vacuum.0 2020-08-15 14:36:22.228 debug (6984) sendMsg[1] >>> {"id":16,"method":"get_clean_record","params":[1597442057]} mihome-vacuum.0 2020-08-15 14:36:22.033 debug (6984) Receive <<< {"result":[[1597442077,1597442083,6,0,0,0,2,3,60]],"id":15} mihome-vacuum.0 2020-08-15 14:36:22.026 debug (6984) sendMsg[1] >>> {"id":15,"method":"get_clean_record","params":[1597442077]} mihome-vacuum.0 2020-08-15 14:36:21.911 debug (6984) Mappointer_updated mihome-vacuum.0 2020-08-15 14:36:21.910 debug (6984) Receive <<< {"result":["rubyslite%2F320252511%2F3"],"id":14} mihome-vacuum.0 2020-08-15 14:36:21.904 debug (6984) 0. Mappointer_nomap___retry mihome-vacuum.0 2020-08-15 14:36:21.904 debug (6984) sendMsg[1] >>> {"id":14,"method":"get_map_v1"} mihome-vacuum.0 2020-08-15 14:36:21.831 debug (6984) Receive <<< {"result":[[1597442430,1597442445,15,0,0,0,2,3,60]],"id":13} mihome-vacuum.0 2020-08-15 14:36:21.824 debug (6984) sendMsg[1] >>> {"id":13,"method":"get_clean_record","params":[1597442430]} mihome-vacuum.0 2020-08-15 14:36:21.637 debug (6984) Receive <<< {"result":[[1597471747,1597471761,14,122500,0,0,2,1,60]],"id":12} mihome-vacuum.0 2020-08-15 14:36:21.622 debug (6984) sendMsg[1] >>> {"id":12,"method":"get_clean_record","params":[1597471747]} mihome-vacuum.0 2020-08-15 14:36:21.418 debug (6984) Receive <<< {"result":[[1597471813,1597471826,13,140000,0,0,2,1,60]],"id":11} mihome-vacuum.0 2020-08-15 14:36:21.411 debug (6984) sendMsg[1] >>> {"id":11,"method":"get_clean_record","params":[1597471813]} mihome-vacuum.0 2020-08-15 14:36:21.401 debug (6984) Receive <<< {"result":["retry"],"id":10} mihome-vacuum.0 2020-08-15 14:36:21.395 debug (6984) sendMsg[1] >>> {"id":10,"method":"get_map_v1"} mihome-vacuum.0 2020-08-15 14:36:21.220 debug (6984) Receive <<< {"result":[[1597478982,1597479687,533,8185000,0,1,2,3,56]],"id":9} mihome-vacuum.0 2020-08-15 14:36:21.208 debug (6984) sendMsg[1] >>> {"id":9,"method":"get_clean_record","params":[1597478982]} mihome-vacuum.0 2020-08-15 14:36:21.205 debug (6984) Receive <<< {"result":[[16,"320001013943"],[17,"320001013946"],[18,"320001013989"],[19,"320001013938"],[20,"320001013934"],[21,"320001013937"],[22,"320001013942"],[23,"320001013990"]],"id":8} mihome-vacuum.0 2020-08-15 14:36:21.203 info (6984) create state for carpet_mode mihome-vacuum.0 2020-08-15 14:36:21.202 debug (6984) Receive <<< {"result":[{"enable":1,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":7} mihome-vacuum.0 2020-08-15 14:36:21.195 debug (6984) sendMsg[1] >>> {"id":8,"method":"get_room_mapping"} mihome-vacuum.0 2020-08-15 14:36:21.194 debug (6984) sendMsg[1] >>> {"id":7,"method":"get_carpet_mode"} mihome-vacuum.0 2020-08-15 14:36:21.011 debug (6984) Receive <<< {"result":[[1597486566,1597487061,495,5242500,0,1,2,3,56]],"id":6} mihome-vacuum.0 2020-08-15 14:36:21.005 debug (6984) sendMsg[1] >>> {"id":6,"method":"get_clean_record","params":[1597486566]} mihome-vacuum.0 2020-08-15 14:36:21.002 debug (6984) Receive <<< {"result":[23651,324502500,122,[1597486566,1597478982,1597471813,1597471747,1597442430,1597442077,1597442057,1597441956,1597441792,1597441673,1597441472,1597441343,1597440959,15974 mihome-vacuum.0 2020-08-15 14:36:20.994 debug (6984) sendMsg[1] >>> {"id":5,"method":"get_clean_summary"} mihome-vacuum.0 2020-08-15 14:36:20.800 debug (6984) Receive <<< {"result":[{"main_brush_work_time":24359,"side_brush_work_time":24359,"filter_work_time":24359,"filter_element_work_time":0,"sensor_dirty_time":23651}],"id":4} mihome-vacuum.0 2020-08-15 14:36:20.794 debug (6984) sendMsg[1] >>> {"id":4,"method":"get_consumable"} mihome-vacuum.0 2020-08-15 14:36:20.611 info (6984) set nächster Timer: Nicht verfügbar mihome-vacuum.0 2020-08-15 14:36:20.600 debug (6984) Receive <<< {"result":[78],"id":3} mihome-vacuum.0 2020-08-15 14:36:20.594 debug (6984) sendMsg[1] >>> {"id":3,"method":"get_sound_volume"} mihome-vacuum.0 2020-08-15 14:36:20.402 debug (6984) Receive <<< {"partner_id":"","id":2,"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":-44},"netif":{"localIp":"1 mihome-vacuum.0 2020-08-15 14:36:20.397 debug (6984) Next WiFi check: 15.08 14:37 mihome-vacuum.0 2020-08-15 14:36:20.395 debug (6984) sendMsg[1] >>> {"id":2,"method":"miIO.info"} mihome-vacuum.0 2020-08-15 14:36:20.192 info (6984) Connected mihome-vacuum.0 2020-08-15 14:36:20.178 debug (6984) sendTo "getStatus" to system.adapter.mihome-vacuum.0 from system.adapter.mihome-vacuum.0 mihome-vacuum.0 2020-08-15 14:36:20.175 debug (6984) Receive <<< {"result":[{"msg_ver":2,"msg_seq":2010,"state":8,"battery":100,"clean_time":495,"clean_area":5242500,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state mihome-vacuum.0 2020-08-15 14:36:20.163 debug (6984) sendMsg[1] >>> {"id":1,"method":"get_status"} mihome-vacuum.0 2020-08-15 14:36:20.122 debug (6984) sendTo "getStatus" to system.adapter.mihome-vacuum.0 from system.adapter.mihome-vacuum.0 mihome-vacuum.0 2020-08-15 14:36:20.120 info (6984) connecting, this can take up to 10 minutes ... mihome-vacuum.0 2020-08-15 14:36:20.118 debug (6984) Receive <<< Helo <<< 21310020000000001316aa5f5f37d6c4ffffffffffffffffffffffffffffffff mihome-vacuum.0 2020-08-15 14:36:20.108 info (6984) New generation or new fw(3.5.8,0876) detected, create new states goto and zoneclean mihome-vacuum.0 2020-08-15 14:36:20.096 debug (6984) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } mihome-vacuum.0 2020-08-15 14:36:20.027 debug (6984) server started on 0.0.0.0:53421 mihome-vacuum.0 2020-08-15 14:36:20.003 info (6984) Cloud control disabled mihome-vacuum.0 2020-08-15 14:36:20.000 info (6984) Expert mode disabled, states deleted mihome-vacuum.0 2020-08-15 14:36:19.982 debug (6984) Xiaomi Cloud: Logging in mihome-vacuum.0 2020-08-15 14:36:19.975 debug (6984) load Map creator... false mihome-vacuum.0 2020-08-15 14:36:19.847 info (6984) starting. Version 2.2.0 in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v12.18.3, js-controller: 3.1.6 mihome-vacuum.0 2020-08-15 14:36:18.546 debug (6984) statesDB connected mihome-vacuum.0 2020-08-15 14:36:18.545 debug (6984) States connected to redis: 127.0.0.1:9000 mihome-vacuum.0 2020-08-15 14:36:18.513 debug (6984) States create System PubSub Client mihome-vacuum.0 2020-08-15 14:36:18.509 debug (6984) States create User PubSub Client mihome-vacuum.0 2020-08-15 14:36:18.493 debug (6984) Redis States: Use Redis connection: 127.0.0.1:9000 mihome-vacuum.0 2020-08-15 14:36:18.490 debug (6984) objectDB connected mihome-vacuum.0 2020-08-15 14:36:18.481 debug (6984) Objects connected to redis: 127.0.0.1:9001 mihome-vacuum.0 2020-08-15 14:36:18.420 debug (6984) Objects client initialize lua scripts mihome-vacuum.0 2020-08-15 14:36:18.419 debug (6984) Objects create User PubSub Client mihome-vacuum.0 2020-08-15 14:36:18.416 debug (6984) Objects create System PubSub Client mihome-vacuum.0 2020-08-15 14:36:18.362 debug (6984) Objects client ready ... initialize now mihome-vacuum.0 2020-08-15 14:36:17.369 debug
der MAPS link ist weiterhin leer
-
@Rushmed die Räume werden falsch angelegt.Der interessante logeintrag ist
Receive <<< {"result":[[20,"275001013647"],[16,"275001013641"],[17,"275001013642"],[18,"275001013645"],[19,"275001013646"]],"id":41}
Kannst du mir den nochmal senden, wenn du jetzt auch die andere Karte umschaltet? Oder da das Log noch mal. Dann versuche ich da mal was zu basteln, dass die Räume bleiben. Ich habe jetzt immer alle automatisch angelegten Räume gesandt, sprich nicht mehr vorhandene gelöscht und due anderen neu angelegt. Als Workaround könntest du die Räume manuell anlegen, die lässt er in Ruhe -
so ich komm leider nicht weiter
hier auch mal ein Log wenn er reinigt
2020-08-16 01:53:34.685 debug (2779) Mappointer_updated mihome-vacuum.0 2020-08-16 01:53:34.684 debug (2779) Receive <<< {"result":["rubyslite%2F320252511%2F9"],"id":2360} mihome-vacuum.0 2020-08-16 01:53:34.678 debug (2779) update_Map need new mapurl mihome-vacuum.0 2020-08-16 01:53:34.678 debug (2779) update_Map Mimap enabled mihome-vacuum.0 2020-08-16 01:53:34.678 debug (2779) sendMsg[1] >>> {"id":2360,"method":"get_map_v1"} mihome-vacuum.0 2020-08-16 01:53:33.672 debug (2779) Receive <<< {"result":["ok"],"id":2359} mihome-vacuum.0 2020-08-16 01:53:33.666 debug (2779) sendMsg[1] >>> {"id":2359,"method":"app_charge"} mihome-vacuum.0 2020-08-16 01:53:33.663 debug (2779) stateChange mihome-vacuum.0.control.home {"val":true,"ack":false,"ts":1597535613659,"q":0,"from":"system.adapter.javascript.0","user":"system.user.admin","lc":1597432361481} mihome-vacuum.0 2020-08-16 01:53:32.676 debug (2779) TypeError: mapCreator.CanvasMap is not a function mihome-vacuum.0 2020-08-16 01:53:32.538 debug (2779) update_Map got new time:1597535612 mihome-vacuum.0 2020-08-16 01:53:32.537 debug (2779) update_Map got new expires:1597537412 mihome-vacuum.0 2020-08-16 01:53:32.537 debug (2779) update_Map got new url:https://awsde0.fds.api.xiaomi.com/robomap/rubyslite/320252511/7?Expires=1597537412000&GalaxyAccessKeyId=5271733786445&Signature=Nq3Ni/4ckjx++Ljv13AfRfvC24U= mihome-vacuum.0 2020-08-16 01:53:32.441 debug (2779) Mappointer_updated mihome-vacuum.0 2020-08-16 01:53:32.441 debug (2779) Receive <<< {"result":["rubyslite%2F320252511%2F8"],"id":2358} mihome-vacuum.0 2020-08-16 01:53:32.427 debug (2779) update_Map need new mapurl mihome-vacuum.0 2020-08-16 01:53:32.427 debug (2779) update_Map Mimap enabled mihome-vacuum.0 2020-08-16 01:53:32.426 debug (2779) sendMsg[1] >>> {"id":2358,"method":"get_map_v1"} mihome-vacuum.0 2020-08-16 01:53:31.927 debug (2779) Receive <<< {"result":[{"msg_ver":2,"msg_seq":4260,"state":5,"battery":100,"clean_time":19,"clean_area":405000,"error_code":0,"map_present":1,"in_cleaning":1,"in_returning":0,"in_fresh_state":0 mihome-vacuum.0 2020-08-16 01:53:31.926 debug (2779) Receive <<< {"partner_id":"","id":2357,"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-16 01:53:31.921 debug (2779) Next WiFi check: 16.08 01:54 mihome-vacuum.0 2020-08-16 01:53:31.920 debug (2779) sendMsg[1] >>> {"id":2357,"method":"miIO.info"} mihome-vacuum.0 2020-08-16 01:53:31.920 debug (2779) sendMsg[1] >>> {"id":2356,"method":"get_status"} mihome-vacuum.0 2020-08-16 01:53:30.426 debug (2779) TypeError: mapCreator.CanvasMap is not a function mihome-vacuum.0 2020-08-16 01:53:30.297 debug (2779) update_Map got new time:1597535610 mihome-vacuum.0 2020-08-16 01:53:30.297 debug (2779) update_Map got new expires:1597537410 mihome-vacuum.0 2020-08-16 01:53:30.297 debug (2779) update_Map got new url:https://awsde0.fds.api.xiaomi.com/robomap/rubyslite/320252511/6?Expires=1597537410000&GalaxyAccessKeyId=5271733786445&Signature=I1r1YsjSLQJlM7Qw8SP/DCkR/SI= mihome-vacuum.0 2020-08-16 01:53:30.208 debug (2779) Mappointer_updated mihome-vacuum.0 2020-08-16 01:53:30.207 debug (2779) Receive <<< {"result":["rubyslite%2F320252511%2F7"],"id":2355} mihome-vacuum.0 2020-08-16 01:53:30.201 debug (2779) update_Map need new mapurl mihome-vacuum.0 2020-08-16 01:53:30.201 debug (2779) update_Map Mimap enabled mihome-vacuum.0 2020-08-16 01:53:30.200 debug (2779) sendMsg[1] >>> {"id":2355,"method":"get_map_v1"} mihome-vacuum.0 2020-08-16 01:53:28.199 debug (2779) TypeError: mapCreator.CanvasMap is not a function mihome-vacuum.0 2020-08-16 01:53:28.068 debug (2779) update_Map got new time:1597535607 mihome-vacuum.0 2020-08-16 01:53:28.067 debug (2779) update_Map got new expires:1597537408 mihome-vacuum.0 2020-08-16 01:53:28.065 debug (2779) update_Map got new url:https://awsde0.fds.api.xiaomi.com/robomap/rubyslite/320252511/5?Expires=1597537408000&GalaxyAccessKeyId=5271733786445&Signature=JTBJCqLKf/mXJCpVIeWEPLTGFfQ= mihome-vacuum.0 2020-08-16 01:53:27.928 debug (2779) Mappointer_updated mihome-vacuum.0 2020-08-16 01:53:27.927 debug (2779) Receive <<< {"result":["rubyslite%2F320252511%2F6"],"id":2354} mihome-vacuum.0 2020-08-16 01:53:27.916 debug (2779) update_Map need new mapurl mihome-vacuum.0 2020-08-16 01:53:27.916 debug (2779) update_Map Mimap enabled mihome-vacuum.0 2020-08-16 01:53:27.907 debug (2779) sendMsg[1] >>> {"id":2354,"method":"get_map_v1"} mihome-vacuum.0 2020-08-16 01:53:25.904 debug (2779) TypeError: mapCreator.CanvasMap is not a function mihome-vacuum.0 2020-08-16 01:53:25.723 debug (2779) update_Map got new time:1597535605 mihome-vacuum.0 2020-08-16 01:53:25.723 debug (2779) update_Map got new expires:1597537405 mihome-vacuum.0 2020-08-16 01:53:25.723 debug (2779) update_Map got new url:https://awsde0.fds.api.xiaomi.com/robomap/rubyslite/320252511/4?Expires=1597537405000&GalaxyAccessKeyId=5271733786445&Signature=+eko4U453CCKnyc+RiWm9W1RDt4= mihome-vacuum.0 2020-08-16 01:53:25.577 debug (2779) Mappointer_updated mihome-vacuum.0 2020-08-16 01:53:25.575 debug (2779) Receive <<< {"result":["rubyslite%2F320252511%2F5"],"id":2353} mihome-vacuum.0 2020-08-16 01:53:25.566 debug (2779) update_Map need new mapurl mihome-vacuum.0 2020-08-16 01:53:25.566 debug (2779) update_Map Mimap enabled mihome-vacuum.0 2020-08-16 01:53:25.565 debug (2779) sendMsg[1] >>> {"id":2353,"method":"get_map_v1"} mihome-vacuum.0 2020-08-16 01:53:23.564 debug (2779) TypeError: mapCreator.CanvasMap is not a function mihome-vacuum.0 2020-08-16 01:53:23.434 debug (2779) update_Map got new time:1597535603 mihome-vacuum.0 2020-08-16 01:53:23.434 debug (2779) update_Map got new expires:1597537403 mihome-vacuum.0 2020-08-16 01:53:23.434 debug (2779) update_Map got new url:https://awsde0.fds.api.xiaomi.com/robomap/rubyslite/320252511/3?Expires=1597537403000&GalaxyAccessKeyId=5271733786445&Signature=CiWtSOVFBD9uxVjOJ9fDCF//pKU= mihome-vacuum.0 2020-08-16 01:53:23.296 debug (2779) Mappointer_updated mihome-vacuum.0 2020-08-16 01:53:23.295 debug (2779) Receive <<< {"result":["rubyslite%2F320252511%2F4"],"id":2352} mihome-vacuum.0 2020-08-16 01:53:23.287 debug (2779) update_Map need new mapurl mihome-vacuum.0 2020-08-16 01:53:23.287 debug (2779) update_Map Mimap enabled mihome-vacuum.0 2020-08-16 01:53:23.286 debug (2779) sendMsg[1] >>> {"id":2352,"method":"get_map_v1"} mihome-vacuum.0 2020-08-16 01:53:21.284 debug (2779) TypeError: mapCreator.CanvasMap is not a function mihome-vacuum.0 2020-08-16 01:53:21.147 debug (2779) update_Map got new time:1597535601 mihome-vacuum.0 2020-08-16 01:53:21.147 debug (2779) update_Map got new expires:1597537401 mihome-vacuum.0 2020-08-16 01:53:21.146 debug (2779) update_Map got new url:https://awsde0.fds.api.xiaomi.com/robomap/rubyslite/320252511/2?Expires=1597537401000&GalaxyAccessKeyId=5271733786445&Signature=71qd2EM76sazK0HXc6UgwCqlK+E= mihome-vacuum.0 2020-08-16 01:53:21.047 debug (2779) Mappointer_updated mihome-vacuum.0 2020-08-16 01:53:21.046 debug (2779) Receive <<< {"result":["rubyslite%2F320252511%2F3"],"id":2351} mihome-vacuum.0 2020-08-16 01:53:21.034 debug (2779) update_Map need new mapurl mihome-vacuum.0 2020-08-16 01:53:21.034 debug (2779) update_Map Mimap enabled mihome-vacuum.0 2020-08-16 01:53:21.033 debug (2779) sendMsg[1] >>> {"id":2351,"method":"get_map_v1"} mihome-vacuum.0 2020-08-16 01:53:19.033 debug (2779) TypeError: mapCreator.CanvasMap is not a function mihome-vacuum.0 2020-08-16 01:53:18.918 debug (2779) Mappointer_updated mihome-vacuum.0 2020-08-16 01:53:18.918 debug (2779) Receive <<< {"result":["rubyslite%2F320252511%2F2"],"id":2350} mihome-vacuum.0 2020-08-16 01:53:18.909 debug (2779) update_Map use old mapurl mihome-vacuum.0 2020-08-16 01:53:18.908 debug (2779) update_Map Mimap enabled mihome-vacuum.0 2020-08-16 01:53:18.908 debug (2779) sendMsg[1] >>> {"id":2350,"method":"get_map_v1"} mihome-vacuum.0 2020-08-16 01:53:16.906 debug (2779) TypeError: mapCreator.CanvasMap is not a function mihome-vacuum.0 2020-08-16 01:53:16.661 debug (2779) Mappointer_updated mihome-vacuum.0 2020-08-16 01:53:16.660 debug (2779) Receive <<< {"result":["rubyslite%2F320252511%2F0"],"id":2349} mihome-vacuum.0 2020-08-16 01:53:16.654 debug (2779) update_Map use old mapurl mihome-vacuum.0 2020-08-16 01:53:16.653 debug (2779) update_Map Mimap enabled mihome-vacuum.0 2020-08-16 01:53:16.653 debug (2779) sendMsg[1] >>> {"id":2349,"method":"get_map_v1"} mihome-vacuum.0 2020-08-16 01:53:16.424 debug (2779) Mappointer_updated mihome-vacuum.0 2020-08-16 01:53:16.423 debug (2779) Receive <<< {"result":["rubyslite%2F320252511%2F0"],"id":2348} mihome-vacuum.0 2020-08-16 01:53:16.416 debug (2779) 1. Mappointer_nomap___retry mihome-vacuum.0 2020-08-16 01:53:16.415 debug (2779) sendMsg[1] >>> {"id":2348,"method":"get_map_v1"} mihome-vacuum.0 2020-08-16 01:53:15.913 debug (2779) Receive <<< {"result":["retry"],"id":2347} mihome-vacuum.0 2020-08-16 01:53:15.909 debug (2779) 0. Mappointer_nomap___retry mihome-vacuum.0 2020-08-16 01:53:15.908 debug (2779) sendMsg[1] >>> {"id":2347,"method":"get_map_v1"} mihome-vacuum.0 2020-08-16 01:53:15.408 debug (2779) Receive <<< {"result":["retry"],"id":2346} mihome-vacuum.0 2020-08-16 01:53:14.652 debug (2779) TypeError: mapCreator.CanvasMap is not a function mihome-vacuum.0 2020-08-16 01:53:14.428 debug (2779) update_Map use old mapurl mihome-vacuum.0 2020-08-16 01:53:14.427 debug (2779) update_Map Mimap enabled mihome-vacuum.0 2020-08-16 01:53:14.427 debug (2779) sendMsg[1] >>> {"id":2346,"method":"get_map_v1"} mihome-vacuum.0 2020-08-16 01:53:12.426 debug (2779) TypeError: mapCreator.CanvasMap is not a function mihome-vacuum.0 2020-08-16 01:53:12.131 debug (2779) Receive <<< {"result":[{"enable":1,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":2345} mihome-vacuum.0 2020-08-16 01:53:12.126 debug (2779) sendMsg[1] >>> {"id":2345,"method":"get_carpet_mode"} mihome-vacuum.0 2020-08-16 01:53:12.114 debug (2779) update_Map got new time:1597535591 mihome-vacuum.0 2020-08-16 01:53:12.114 debug (2779) update_Map got new expires:1597537392 mihome-vacuum.0 2020-08-16 01:53:12.113 debug (2779) update_Map got new url:https://awsde0.fds.api.xiaomi.com/robomap/rubyslite/320252511/0?Expires=1597537392000&GalaxyAccessKeyId=5271733786445&Signature=KZiZxJjzO5quElJw1dYHDqyhz9s= mihome-vacuum.0 2020-08-16 01:53:11.939 debug (2779) Receive <<< {"result":[78],"id":2344} mihome-vacuum.0 2020-08-16 01:53:11.926 debug (2779) update_Map need new mapurl mihome-vacuum.0 2020-08-16 01:53:11.926 debug (2779) update_Map Mimap enabled mihome-vacuum.0 2020-08-16 01:53:11.925 debug (2779) sendMsg[1] >>> {"id":2344,"method":"get_sound_volume"} mihome-vacuum.0 2020-08-16 01:53:11.924 debug (2779) Receive <<< {"result":[{"msg_ver":2,"msg_seq":4259,"state":5,"battery":100,"clean_time":0,"clean_area":0,"error_code":0,"map_present":1,"in_cleaning":1,"in_returning":0,"in_fresh_state":0,"lab_ mihome-vacuum.0 2020-08-16 01:53:11.918 debug (2779) sendMsg[1] >>> {"id":2343,"method":"get_status"} mihome-vacuum.0 2020-08-16 01:53:09.924 debug (2779) Receive <<< {"result":["ok"],"id":2342} mihome-vacuum.0 2020-08-16 01:53:09.918 debug (2779) sendMsg[1] >>> {"id":2342,"method":"app_start"} mihome-vacuum.0 2020-08-16 01:53:09.917 info (2779) trigger cleaning all
da steht doch so was wie ne url drinnen. ?!?
aber wenn ich die jetzt imbrowser ansehe kommt so was wie
url expired
-
@freaktech du hast canvas nicht oder nicht korrekt installiert, gibt es genug Hinweise hier
-
hallo
leider bekomme ich es nicht hin, 2 Leute hätten es auch schon probiert.
könntest du mir helfen?
-
@freaktech Da sind vermutlich immer noch Rechte falsch gesetzt.
getfacl /opt/iobroker/node_modules/canvas/package.json
bringt z. B.?
-
ja leider bin ich halt nicht so der Profi und mittlerweile steh ich an
wenn ein Profi evtl mal 5 min mit teamvifer zeit hätte wär ich da sehr verbunden, denn nach 2 tagen macht das echt keinen Spaß mehr.
-
@Thomas-Braun said in Test Adapter mihome-vacuum v2.0.x:
getfacl /opt/iobroker/node_modules/canvas/package.json
pi@ioBroker-RasPi4:~ $ getfacl /opt/iobroker/node_modules/canvas/package.json getfacl: Entferne führende '/' von absoluten Pfadnamen # file: opt/iobroker/node_modules/canvas/package.json # owner: iobroker # group: iobroker user::rw- group::r-x group:iobroker:rwx mask::rwx other::r--
-
@dirkhe
Log vom Kartenwechsel 1 auf 2:mihome-vacuum.0 2020-08-16 20:17:34.604 debug (13625) Receive <<< {"result":[{"msg_ver":2,"msg_seq":3262,"state":8,"battery":100,"clean_time":1905,"clean_area":33115000,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_sta mihome-vacuum.0 2020-08-16 20:17:34.500 debug (13625) sendMsg[1] >>> {"id":62,"method":"get_status"} mihome-vacuum.0 2020-08-16 20:17:22.884 debug (13625) stateChange mihome-vacuum.0.rooms.275001013628.roomFanPower {"val":106,"ack":false,"ts":1597601842880,"q":0,"from":"system.adapter.mihome-vacuum.0","user":"system.user.admin","lc":159760184288 mihome-vacuum.0 2020-08-16 20:17:22.833 debug (13625) stateChange mihome-vacuum.0.rooms.275001013648.roomFanPower {"val":106,"ack":false,"ts":1597601842827,"q":0,"from":"system.adapter.mihome-vacuum.0","user":"system.user.admin","lc":159760184282 mihome-vacuum.0 2020-08-16 20:17:22.828 debug (13625) stateChange mihome-vacuum.0.rooms.275001013621.roomFanPower {"val":106,"ack":false,"ts":1597601842817,"q":0,"from":"system.adapter.mihome-vacuum.0","user":"system.user.admin","lc":159760184281 mihome-vacuum.0 2020-08-16 20:17:22.579 info (13625) room: 275001013646 not mapped mihome-vacuum.0 2020-08-16 20:17:22.577 info (13625) room: 275001013645 not mapped mihome-vacuum.0 2020-08-16 20:17:22.572 info (13625) room: 275001013642 not mapped mihome-vacuum.0 2020-08-16 20:17:22.570 info (13625) room: 275001013641 not mapped mihome-vacuum.0 2020-08-16 20:17:22.562 info (13625) room: 275001013647 not mapped mihome-vacuum.0 2020-08-16 20:17:22.559 info (13625) create new room: 275001013628 mihome-vacuum.0 2020-08-16 20:17:22.558 info (13625) create new room: 275001013648 mihome-vacuum.0 2020-08-16 20:17:22.556 info (13625) create new room: 275001013621 mihome-vacuum.0 2020-08-16 20:17:22.521 debug (13625) Receive <<< {"result":[[16,"275001013621"],[17,"275001013648"],[18,"275001013628"]],"id":61} mihome-vacuum.0 2020-08-16 20:17:22.437 debug (13625) sendMsg[1] >>> {"id":61,"method":"get_room_mapping"} mihome-vacuum.0 2020-08-16 20:17:22.436 debug (13625) stateChange mihome-vacuum.0.rooms.loadRooms {"val":true,"ack":false,"ts":1597601842434,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1597332190595} mihome-vacuum.0 2020-08-16 20:17:14.544 debug (13625) Receive <<< {"result":[{"msg_ver":2,"msg_seq":3255,"state":8,"battery":100,"clean_time":1905,"clean_area":33115000,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_sta mihome-vacuum.0 2020-08-16 20:17:14.531 debug (13625) Receive <<< {"partner_id":"","id":60,"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":{"local mihome-vacuum.0 2020-08-16 20:17:14.499 debug (13625) Next WiFi check: 16.08 20:18 mihome-vacuum.0 2020-08-16 20:17:14.497 debug (13625) sendMsg[1] >>> {"id":60,"method":"miIO.info"} mihome-vacuum.0 2020-08-16 20:17:14.496 debug (13625) sendMsg[1] >>> {"id":59,"method":"get_status"}
Log vom Kartenwechsel 2 auf 1:
mihome-vacuum.0 2020-08-16 20:18:34.520 debug (13625) Receive <<< {"result":[{"msg_ver":2,"msg_seq":3285,"state":8,"battery":100,"clean_time":1905,"clean_area":33115000,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_sta mihome-vacuum.0 2020-08-16 20:18:34.511 debug (13625) sendMsg[1] >>> {"id":67,"method":"get_status"} mihome-vacuum.0 2020-08-16 20:18:32.713 info (13625) room: 275001013628 not mapped mihome-vacuum.0 2020-08-16 20:18:32.712 info (13625) room: 275001013648 not mapped mihome-vacuum.0 2020-08-16 20:18:32.710 info (13625) room: 275001013621 not mapped mihome-vacuum.0 2020-08-16 20:18:32.709 info (13625) room: 275001013646 mapped with index undefined mihome-vacuum.0 2020-08-16 20:18:32.708 info (13625) room: 275001013645 mapped with index undefined mihome-vacuum.0 2020-08-16 20:18:32.706 info (13625) room: 275001013642 mapped with index undefined mihome-vacuum.0 2020-08-16 20:18:32.692 info (13625) room: 275001013641 mapped with index undefined mihome-vacuum.0 2020-08-16 20:18:32.690 info (13625) room: 275001013647 mapped with index undefined mihome-vacuum.0 2020-08-16 20:18:32.620 debug (13625) Receive <<< {"result":[[20,"275001013647"],[16,"275001013641"],[17,"275001013642"],[18,"275001013645"],[19,"275001013646"]],"id":66} mihome-vacuum.0 2020-08-16 20:18:32.610 debug (13625) sendMsg[1] >>> {"id":66,"method":"get_room_mapping"} mihome-vacuum.0 2020-08-16 20:18:32.608 debug (13625) stateChange mihome-vacuum.0.rooms.loadRooms {"val":true,"ack":false,"ts":1597601912603,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1597332190595}
-
@Rushmed schon mal danke für die Logs. Allerdings habe ich im Moment noch keine Idee, wie wir damit umgehen sollen. Im Prinzip bekommen wir vom Roboter eine Liste aktueller Räume mit timestamp und Index. Das Problem ist, dass der Index 16 zb bei beiden Karten existiert. Ich kann eigentlich nur immer alle Datenpunkte löschen und wieder neu anlegen. Warum er die bei dir nicht sauber löscht, muss ich nochmal untersuchen. Das Problem ist, dass in manuell gespeicherten Räumen ja auch der Index hinterlegt ist, der bei einem kartenwechsel nicht mehr gültig ist. Also irgendwie bräuchten wir noch einen kartenindex(key).
Irgendjemand eine Idee? -
Ich habe das selbe Probleme allerdings mit einer Synology Docker Installation. Komme auch nicht weiter...
Befehle zum änder der Rechte sind hier auch nicht bekannt.
Fehler ist zwar identifiziert aber eine Anleitung für Anwender mit minimalen Linux-Wissen ist leider noch nicht vorhanden.
Ich beobachte weiter.... -
@Rushmed Installiere bitte mal die 2.2.1 von github, lösche bitte einmal die kaputten Räume und wechsle mal die Karte. Ich habe einen Fehler gefunden, dass er nic ht die korrekten Objekte unterhalb des Raumes löscht. Er lässt die inaktiven Räume eigentliuch stehen und schreibt in den mapIndex "not available" rein.
-
@dirkhe Jess, das funktioniert. Die Ordnerstruktur bleibt beim Kartenwechsel erhaten und ich kann die Reinigug starten.
Ich muss aber nach einem Kartenwechsel in der App die Räume neu laden. Ist ein Kartenwechsel mit Aktualisierung der Räume in dem Adapter umsetzbar?Danke vorab!
-
@Rushmed unterhalb von rooms gibt es den Button loadrooms. Wie man die Karte wechselt, weiss ich leider nicht. Entweder müssen wir da mal googeln oder sniffen, da komme ich gerade aber nicht zu.
-
@dirkhe Jepp den Button kenn ich, damit lade ich doch stets die Räume. Es wäre echt toll wenn der Krtenwechsel noch über den ioBroker durchführbar wäre.
-
@Rushmed Die 2.2.1 funktioniert soweit, mir ist jedoch nicht klar warum bei Räumen der inaktiven Karte die Struktur geändert wird.
Im Bild sind Küche und Essbereich auf einer Karte und aktiv. Bei denen wird der Ordner mapIndex erzeugt in dem die DPs roomClean und state erzeugt werden. Die beiden DPs sind neu erstellt, das erkenne ich daran dass die Zuweisung des Smartnamen fehlt. Bei mehrmaligem Kartenwechsel und Räumeladen wird ein neuer Ordner mapIndex zusätzlich angelegt. Teilweise ohne Inhalt.
-
@Rushmed er sollte eigentlich nur den state und roomclean bei den aktiven anlegen und bei den inaktiven löschen, weil die ja nicht mehr auswählbar sein sollen. Ich habe gerade nochmal in den Code geschaut und gesehen, dass ich an der falschen Stelle gefixt habe, fixe ich gleich
-
So 2.2.2 ist im git, bitte nochmal testen, falsche DP bitte vorher löschen
-
könnte diese neue Version auch mein MAP Problem lösen
wo ohne Fehlermeldung der Link leer bleibt?
hättest nicht evtl abends oder nachmittags mal 10 min remote zeit ob ich dass doch irgendwie ans laufen bekommen könntelg
tom