NEWS
Roborock Adapter tester gesucht
-
@wendy2702 said in Roborock Adapter tester gesucht:
@dontoben Das nicht. Aber bei Node 16 ist eigentlich NPM8 dabei.
Du solltest mal deine Node/NPM installation checken.
Wie das geht steht hier: https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian
So ich habe jetzt alles auf den neuesten STand gebracht. Fehler ist immer noch da.
Installationslog sieht jetzt so aus
$ iobroker url https://github.com/copystring/ioBroker.roborock --host raspberrypi --debug install copystring/ioBroker.roborock#150a18a009f6fef4f1bd9e8172184412230a6ca3 Installing copystring/ioBroker.roborock#150a18a009f6fef4f1bd9e8172184412230a6ca3... (System call) npm WARN skipping integrity check for git dependency ssh://git@github.com/copystring/ioBroker.roborock.git added 44 packages in 1m48 packages are looking for funding run `npm fund` for details upload [11] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/de/translations.json i18n/de/translations.json application/json upload [10] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/en/translations.json i18n/en/translations.json application/json upload [9] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/es/translations.json i18n/es/translations.json application/json upload [8] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/fr/translations.json i18n/fr/translations.json application/json upload [6] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/nl/translations.json i18n/nl/translations.json application/json upload [5] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/pl/translations.json i18n/pl/translations.json application/json upload [4] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/pt/translations.json i18n/pt/translations.json application/json upload [2] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json upload [0] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/roborock.png roborock.png image/png Process exited with code 0
Und hier die aktuelle NPM Version:
@copystring
Eine Idee? -
@dontoben Welcher Fehler?
Zumindest im Installations Log sieht man auf Anhieb keinen Fehler.
Was kommt denn wenn du die Instanz startest bzw neu startest?
Wie sieht denn die Ausgabe davon aus:
sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
-
@wendy2702 said in Roborock Adapter tester gesucht:
Kann nicht sein. Wenn iob neu startet steht das im log.
Wie kommst du darauf das iob sich neu startet?
Sorry, ich habe mich blöd ausgedrückt. Bestimmt steht was im Log, jedoch für mich auf die Schnelle via Handy nicht mehr in der Admin-Oberfläche sichtbar (da die Fehlermeldung vom Roborock-Adapter ziemlich schnell alles geflutet hatten).
Ich sehe den Neustart an zwei Indikatoren: Zum einen habe ich ein Script welches beim Start eine Telegram-Nachricht schickt und zum anderen kommen plötzlich sämtliche Sendungsbenachrichtigungen vom Parcel-Adapter neu rein
Bin aber gerade dabei, das System 24h ohne aktivierter Roborock-Instanz laufen zu lassen um auf Nummer sicher zu gehen. Dann aktivier ich sie wieder und versuche, entsprechende Log-Einträge zu finden.
-
@oxident Schau doch in die gespeicherten Logs unter:
/opt/iobroker/logs/
-
pi@raspberrypi:~ $ uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs armv7l /usr/bin/nodejs /usr/bin/node /usr/bin/npm /usr/bin/npx v16.19.0 v16.19.0 8.19.3 8.19.3 4.0.24 pi pi adm tty dialout cdrom sudo audio video plugdev games users input netdev lpadmin gpio i2c spi iobroker tty /home/pi OK:1 http://archive.raspberrypi.org/debian buster InRelease OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease OK:3 https://deb.nodesource.com/node_16.x buster InRelease Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Alle Pakete sind aktuell. nodejs: Installiert: 16.19.0-deb-1nodesource1 Installationskandidat: 16.19.0-deb-1nodesource1 Versionstabelle: *** 16.19.0-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x buster/main armhf Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u2 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages pi@raspberrypi:~ $
Hier der Log vom Adapter:
2023-01-30 20:21:55.849 - info: host.raspberrypi "system.adapter.roborock.0" enabled 2023-01-30 20:21:56.290 - info: host.raspberrypi instance system.adapter.roborock.0 started with pid 5746 2023-01-30 20:21:59.848 - debug: roborock.0 (5746) Redis Objects: Use Redis connection: 127.0.0.1:9001 2023-01-30 20:21:59.916 - debug: roborock.0 (5746) Objects client ready ... initialize now 2023-01-30 20:21:59.919 - debug: roborock.0 (5746) Objects create System PubSub Client 2023-01-30 20:21:59.923 - debug: roborock.0 (5746) Objects create User PubSub Client 2023-01-30 20:21:59.992 - debug: roborock.0 (5746) Objects client initialize lua scripts 2023-01-30 20:22:00.013 - debug: roborock.0 (5746) Objects connected to redis: 127.0.0.1:9001 2023-01-30 20:22:00.055 - debug: roborock.0 (5746) Redis States: Use Redis connection: 127.0.0.1:9000 2023-01-30 20:22:00.095 - debug: roborock.0 (5746) States create System PubSub Client 2023-01-30 20:22:00.097 - debug: roborock.0 (5746) States create User PubSub Client 2023-01-30 20:22:00.144 - debug: roborock.0 (5746) States connected to redis: 127.0.0.1:9000 2023-01-30 20:22:00.538 - info: roborock.0 (5746) starting. Version 0.0.6-alpha.0 (non-npm: copystring/ioBroker.roborock#150a18a009f6fef4f1bd9e8172184412230a6ca3) in /opt/iobroker/node_modules/iobroker.roborock, node: v16.19.0, js-controller: 4.0.24 2023-01-30 20:22:00.908 - debug: roborock.0 (5746) RoomIDs debug: {"8917356":"Küche","8917361":"Esszimmer","8917365":"Wohnzimmer","8917371":"Toilette","8917375":"Hauswirtschaftsraum","8917377":"Gang","8937845":"Badezimmer","8937849":"Büro","8937851":"Bügelzimmer","8937852":"Kinderzimmer Bastian","8937854":"Kinderzimmer Lara","8937856":"Schlafzimmer","10093883":"Bad"} 2023-01-30 20:22:01.049 - info: roborock.0 (5746) MQTT initialized 2023-01-30 20:22:01.059 - debug: roborock.0 (5746) Products: object 2023-01-30 20:22:01.060 - debug: roborock.0 (5746) Products: object 2023-01-30 20:22:01.063 - debug: roborock.0 (5746) Robot key: roborock.vacuum.a62 2023-01-30 20:22:02.000 - debug: roborock.0 (5746) Latest data requested 2023-01-30 20:22:02.003 - debug: roborock.0 (5746) getParameter: get_status 2023-01-30 20:22:02.009 - debug: roborock.0 (5746) getParameter: get_water_box_custom_mode 2023-01-30 20:22:02.012 - debug: roborock.0 (5746) getParameter: get_consumable 2023-01-30 20:22:02.015 - debug: roborock.0 (5746) getParameter: get_network_info 2023-01-30 20:22:02.018 - debug: roborock.0 (5746) getParameter: get_carpet_mode 2023-01-30 20:22:02.020 - debug: roborock.0 (5746) getParameter: get_carpet_clean_mode 2023-01-30 20:22:02.021 - debug: roborock.0 (5746) getParameter: get_fw_features 2023-01-30 20:22:02.023 - debug: roborock.0 (5746) Firmware features request 2023-01-30 20:22:02.025 - debug: roborock.0 (5746) getParameter: get_multi_maps_list 2023-01-30 20:22:02.027 - debug: roborock.0 (5746) getParameter: get_room_mapping 2023-01-30 20:22:02.028 - debug: roborock.0 (5746) get_room_mapping 2023-01-30 20:22:02.149 - debug: roborock.0 (5746) dps debug: {"id":6,"result":[{"enable":1,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}]} 2023-01-30 20:22:02.151 - debug: roborock.0 (5746) dps debug: {"id":7,"result":[{"carpet_clean_mode":1}]} 2023-01-30 20:22:02.160 - debug: roborock.0 (5746) dps debug: {"id":5,"result":{"clean_time":334535,"clean_area":5514490000,"clean_count":271,"dust_collection_count":183,"records":[1675101410,1674999168,1674997469,1674997396,1674996096,1674995173,1674992012,1674990549,1674988026,1674904255,1674902607,1674840930,1674839064,1674827084,1674805409,1674754825,1674742452,1674729983,1674669094,1674664205]}} 2023-01-30 20:22:02.178 - debug: roborock.0 (5746) dps debug: {"id":1,"result":[{"msg_ver":2,"msg_seq":215,"state":18,"battery":69,"clean_time":2000,"clean_area":40127500,"error_code":0,"map_present":1,"in_cleaning":3,"in_returning":0,"in_fresh_state":0,"lab_status":3,"water_box_status":1,"back_type":-1,"wash_phase":0,"wash_ready":0,"fan_power":102,"dnd_enabled":0,"map_status":3,"is_locating":0,"lock_status":0,"water_box_mode":203,"water_box_carriage_status":1,"mop_forbidden_enable":1,"adbumper_status":[0,0,0],"water_shortage_status":0,"dock_type":3,"dust_collection_status":0,"auto_dust_collection":1,"mop_mode":300,"debug_mode":0,"switch_map_mode":0,"dock_error_status":0,"charge_status":1,"unsave_map_reason":0,"unsave_map_flag":0}]} 2023-01-30 20:22:02.179 - debug: roborock.0 (5746) get_status: {"msg_ver":2,"msg_seq":215,"state":18,"battery":69,"clean_time":2000,"clean_area":40127500,"error_code":0,"map_present":1,"in_cleaning":3,"in_returning":0,"in_fresh_state":0,"lab_status":3,"water_box_status":1,"back_type":-1,"wash_phase":0,"wash_ready":0,"fan_power":102,"dnd_enabled":0,"map_status":3,"is_locating":0,"lock_status":0,"water_box_mode":203,"water_box_carriage_status":1,"mop_forbidden_enable":1,"adbumper_status":[0,0,0],"water_shortage_status":0,"dock_type":3,"dust_collection_status":0,"auto_dust_collection":1,"mop_mode":300,"debug_mode":0,"switch_map_mode":0,"dock_error_status":0,"charge_status":1,"unsave_map_reason":0,"unsave_map_flag":0} 2023-01-30 20:22:02.184 - debug: roborock.0 (5746) dps debug: {"id":2,"result":{"water_box_mode":203}} 2023-01-30 20:22:02.234 - debug: roborock.0 (5746) dps debug: {"id":4,"result":{"ssid":"FRITZ!Box 7490","ip":"192.168.178.84","mac":"b0:4a:39:3e:2a:b2","bssid":"c8:0e:14:cf:75:9a","rssi":-61}} 2023-01-30 20:22:02.239 - debug: roborock.0 (5746) dps debug: {"id":3,"result":[{"main_brush_work_time":334535,"side_brush_work_time":334535,"filter_work_time":334535,"filter_element_work_time":0,"sensor_dirty_time":2086,"strainer_work_times":3,"dust_collection_work_times":183,"cleaning_brush_work_times":3}]} 2023-01-30 20:22:02.243 - debug: roborock.0 (5746) dps debug: {"id":9,"result":[{"max_multi_map":4,"max_bak_map":1,"multi_map_count":2,"map_info":[{"mapFlag":0,"add_time":1675103601,"length":11,"name":"Erdgeschoss","bak_maps":[{"mapFlag":4,"add_time":1675091976}]},{"mapFlag":1,"add_time":1672833022,"length":12,"name":"Obergeschoss","bak_maps":[{"mapFlag":5,"add_time":1675092000}]}]}]} 2023-01-30 20:22:02.246 - debug: roborock.0 (5746) dps debug: {"id":10,"result":[[16,"8917365",6],[17,"8917361",13],[18,"8917356",14],[19,"8917377",12],[20,"8917375",12],[22,"8917371",12]]} 2023-01-30 20:22:02.247 - debug: roborock.0 (5746) get_room_mapping: [[16,"8917365",6],[17,"8917361",13],[18,"8917356",14],[19,"8917377",12],[20,"8917375",12],[22,"8917371",12]] 2023-01-30 20:22:02.249 - debug: roborock.0 (5746) dps debug: {"id":15,"result":[{"begin":1674997396,"end":1674997429,"duration":33,"area":122500,"error":0,"complete":0,"start_type":2,"clean_type":3,"finish_reason":60,"dust_collection_status":0,"wash_count":0}]} 2023-01-30 20:22:02.253 - debug: roborock.0 (5746) dps debug: {"id":8,"result":[111,112,113,114,115,116,117,118,119,120,122,123,124,125]} 2023-01-30 20:22:02.256 - debug: roborock.0 (5746) dps debug: {"id":13,"result":[{"begin":1674999168,"end":1675001120,"duration":1952,"area":30752500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"wash_count":0}]} 2023-01-30 20:22:02.258 - debug: roborock.0 (5746) dps debug: {"id":12,"result":[{"begin":1675101410,"end":1675103496,"duration":2086,"area":31040000,"error":0,"complete":1,"start_type":101,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"wash_count":0}]} 2023-01-30 20:22:02.261 - debug: roborock.0 (5746) dps debug: {"id":16,"result":[{"begin":1674996096,"end":1674997396,"duration":12,"area":0,"error":0,"complete":0,"start_type":2,"clean_type":3,"finish_reason":50,"dust_collection_status":0,"wash_count":1}]} 2023-01-30 20:22:02.264 - debug: roborock.0 (5746) dps debug: {"id":17,"result":[{"begin":1674995173,"end":1674995694,"duration":521,"area":12742500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"wash_count":0}]} 2023-01-30 20:22:02.267 - debug: roborock.0 (5746) dps debug: {"id":18,"result":[{"begin":1674992012,"end":1674992855,"duration":843,"area":11485000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":0,"wash_count":0}]} 2023-01-30 20:22:02.269 - debug: roborock.0 (5746) dps debug: {"id":19,"result":[{"begin":1674990549,"end":1674991556,"duration":1006,"area":5840000,"error":0,"complete":1,"start_type":101,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"wash_count":0}]} 2023-01-30 20:22:02.272 - debug: roborock.0 (5746) dps debug: {"id":21,"result":[{"begin":1674904255,"end":1674909516,"duration":5261,"area":91615000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"wash_count":0}]} 2023-01-30 20:22:02.274 - debug: roborock.0 (5746) dps debug: {"id":14,"result":[{"begin":1674997469,"end":1674997490,"duration":21,"area":417500,"error":0,"complete":0,"start_type":2,"clean_type":3,"finish_reason":60,"dust_collection_status":0,"wash_count":0}]} 2023-01-30 20:22:02.277 - debug: roborock.0 (5746) dps debug: {"id":20,"result":[{"begin":1674988026,"end":1674988721,"duration":695,"area":15525000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":0,"wash_count":0}]} 2023-01-30 20:22:02.278 - debug: roborock.0 (5746) dps debug: {"id":23,"result":[{"begin":1674840930,"end":1674842972,"duration":1854,"area":42267500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"wash_count":2}]} 2023-01-30 20:22:02.281 - debug: roborock.0 (5746) dps debug: {"id":27,"result":[{"begin":1674754825,"end":1674754844,"duration":19,"area":155000,"error":0,"complete":0,"start_type":2,"clean_type":3,"finish_reason":60,"dust_collection_status":0,"wash_count":0}]} 2023-01-30 20:22:02.284 - debug: roborock.0 (5746) dps debug: {"id":24,"result":[{"begin":1674839064,"end":1674839751,"duration":551,"area":5740000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"wash_count":2}]} 2023-01-30 20:22:02.286 - debug: roborock.0 (5746) dps debug: {"id":28,"result":[{"begin":1674742452,"end":1674743822,"duration":1370,"area":20887500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"wash_count":0}]} 2023-01-30 20:22:02.289 - debug: roborock.0 (5746) dps debug: {"id":30,"result":[{"begin":1674669094,"end":1674671507,"duration":2094,"area":40292500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"wash_count":3}]} 2023-01-30 20:22:02.364 - debug: roborock.0 (5746) dps debug: {"id":29,"result":[{"begin":1674729983,"end":1674735263,"duration":4614,"area":81692500,"error":0,"complete":1,"start_type":101,"clean_type":1,"finish_reason":52,"dust_collection_status":1,"wash_count":0}]} 2023-01-30 20:22:02.366 - debug: roborock.0 (5746) dps debug: {"id":22,"result":[{"begin":1674902607,"end":1674903605,"duration":997,"area":11620000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"wash_count":0}]} 2023-01-30 20:22:02.372 - debug: roborock.0 (5746) dps debug: {"id":25,"result":[{"begin":1674827084,"end":1674828836,"duration":1624,"area":24290000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"wash_count":2}]} 2023-01-30 20:22:02.376 - debug: roborock.0 (5746) dps debug: {"id":31,"result":[{"begin":1674664205,"end":1674664243,"duration":38,"area":860000,"error":0,"complete":0,"start_type":2,"clean_type":3,"finish_reason":60,"dust_collection_status":0,"wash_count":0}]} 2023-01-30 20:22:02.378 - debug: roborock.0 (5746) dps debug: {"id":26,"result":[{"begin":1674805409,"end":1674807918,"duration":2168,"area":31010000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"wash_count":3}]} 2023-01-30 20:22:02.441 - debug: roborock.0 (5746) dps debug: {"id":11,"result":["ok"]} 2023-01-30 20:22:03.208 - warn: host.raspberrypi instance system.adapter.roborock.0 terminated due to SIGSEGV 2023-01-30 20:22:03.209 - info: host.raspberrypi instance system.adapter.roborock.0 terminated with code NaN () 2023-01-30 20:22:03.209 - info: host.raspberrypi Restart adapter system.adapter.roborock.0 because enabled 2023-01-30 20:22:33.345 - info: host.raspberrypi instance system.adapter.roborock.0 started with pid 5773 2023-01-30 20:22:36.103 - debug: roborock.0 (5773) Redis Objects: Use Redis connection: 127.0.0.1:9001 2023-01-30 20:22:36.253 - debug: roborock.0 (5773) Objects client ready ... initialize now 2023-01-30 20:22:36.257 - debug: roborock.0 (5773) Objects create System PubSub Client 2023-01-30 20:22:36.259 - debug: roborock.0 (5773) Objects create User PubSub Client 2023-01-30 20:22:36.338 - debug: roborock.0 (5773) Objects client initialize lua scripts 2023-01-30 20:22:36.347 - debug: roborock.0 (5773) Objects connected to redis: 127.0.0.1:9001 2023-01-30 20:22:36.386 - debug: roborock.0 (5773) Redis States: Use Redis connection: 127.0.0.1:9000 2023-01-30 20:22:36.413 - debug: roborock.0 (5773) States create System PubSub Client 2023-01-30 20:22:36.415 - debug: roborock.0 (5773) States create User PubSub Client 2023-01-30 20:22:36.458 - debug: roborock.0 (5773) States connected to redis: 127.0.0.1:9000 2023-01-30 20:22:36.753 - info: roborock.0 (5773) starting. Version 0.0.6-alpha.0 (non-npm: copystring/ioBroker.roborock#150a18a009f6fef4f1bd9e8172184412230a6ca3) in /opt/iobroker/node_modules/iobroker.roborock, node: v16.19.0, js-controller: 4.0.24 2023-01-30 20:22:37.022 - debug: roborock.0 (5773) RoomIDs debug: {"8917356":"Küche","8917361":"Esszimmer","8917365":"Wohnzimmer","8917371":"Toilette","8917375":"Hauswirtschaftsraum","8917377":"Gang","8937845":"Badezimmer","8937849":"Büro","8937851":"Bügelzimmer","8937852":"Kinderzimmer Bastian","8937854":"Kinderzimmer Lara","8937856":"Schlafzimmer","10093883":"Bad"} 2023-01-30 20:22:37.101 - info: roborock.0 (5773) MQTT initialized 2023-01-30 20:22:37.109 - debug: roborock.0 (5773) Products: object 2023-01-30 20:22:37.110 - debug: roborock.0 (5773) Products: object 2023-01-30 20:22:37.111 - debug: roborock.0 (5773) Robot key: roborock.vacuum.a62 2023-01-30 20:22:37.938 - debug: roborock.0 (5773) Latest data requested 2023-01-30 20:22:37.940 - debug: roborock.0 (5773) getParameter: get_status 2023-01-30 20:22:37.946 - debug: roborock.0 (5773) getParameter: get_water_box_custom_mode 2023-01-30 20:22:37.948 - debug: roborock.0 (5773) getParameter: get_consumable 2023-01-30 20:22:37.950 - debug: roborock.0 (5773) getParameter: get_network_info 2023-01-30 20:22:37.953 - debug: roborock.0 (5773) getParameter: get_carpet_mode 2023-01-30 20:22:37.955 - debug: roborock.0 (5773) getParameter: get_carpet_clean_mode 2023-01-30 20:22:37.957 - debug: roborock.0 (5773) getParameter: get_fw_features 2023-01-30 20:22:37.957 - debug: roborock.0 (5773) Firmware features request 2023-01-30 20:22:37.959 - debug: roborock.0 (5773) getParameter: get_multi_maps_list 2023-01-30 20:22:37.961 - debug: roborock.0 (5773) getParameter: get_room_mapping 2023-01-30 20:22:37.962 - debug: roborock.0 (5773) get_room_mapping 2023-01-30 20:22:38.133 - debug: roborock.0 (5773) dps debug: {"id":2,"result":{"water_box_mode":203}} 2023-01-30 20:22:38.140 - debug: roborock.0 (5773) dps debug: {"id":10,"result":[[16,"8917365",6],[17,"8917361",13],[18,"8917356",14],[19,"8917377",12],[20,"8917375",12],[22,"8917371",12]]} 2023-01-30 20:22:38.141 - debug: roborock.0 (5773) get_room_mapping: [[16,"8917365",6],[17,"8917361",13],[18,"8917356",14],[19,"8917377",12],[20,"8917375",12],[22,"8917371",12]] 2023-01-30 20:22:38.143 - debug: roborock.0 (5773) dps debug: {"id":4,"result":{"ssid":"FRITZ!Box 7490","ip":"192.168.178.84","mac":"b0:4a:39:3e:2a:b2","bssid":"c8:0e:14:cf:75:9a","rssi":-62}} 2023-01-30 20:22:38.147 - debug: roborock.0 (5773) dps debug: {"id":1,"result":[{"msg_ver":2,"msg_seq":217,"state":18,"battery":68,"clean_time":2030,"clean_area":40127500,"error_code":0,"map_present":1,"in_cleaning":3,"in_returning":0,"in_fresh_state":0,"lab_status":3,"water_box_status":1,"back_type":-1,"wash_phase":0,"wash_ready":0,"fan_power":102,"dnd_enabled":0,"map_status":3,"is_locating":0,"lock_status":0,"water_box_mode":203,"water_box_carriage_status":1,"mop_forbidden_enable":1,"adbumper_status":[0,0,0],"water_shortage_status":0,"dock_type":3,"dust_collection_status":0,"auto_dust_collection":1,"mop_mode":300,"debug_mode":0,"switch_map_mode":0,"dock_error_status":0,"charge_status":1,"unsave_map_reason":0,"unsave_map_flag":0}]} 2023-01-30 20:22:38.148 - debug: roborock.0 (5773) get_status: {"msg_ver":2,"msg_seq":217,"state":18,"battery":68,"clean_time":2030,"clean_area":40127500,"error_code":0,"map_present":1,"in_cleaning":3,"in_returning":0,"in_fresh_state":0,"lab_status":3,"water_box_status":1,"back_type":-1,"wash_phase":0,"wash_ready":0,"fan_power":102,"dnd_enabled":0,"map_status":3,"is_locating":0,"lock_status":0,"water_box_mode":203,"water_box_carriage_status":1,"mop_forbidden_enable":1,"adbumper_status":[0,0,0],"water_shortage_status":0,"dock_type":3,"dust_collection_status":0,"auto_dust_collection":1,"mop_mode":300,"debug_mode":0,"switch_map_mode":0,"dock_error_status":0,"charge_status":1,"unsave_map_reason":0,"unsave_map_flag":0} 2023-01-30 20:22:38.153 - debug: roborock.0 (5773) dps debug: {"id":8,"result":[111,112,113,114,115,116,117,118,119,120,122,123,124,125]} 2023-01-30 20:22:38.156 - debug: roborock.0 (5773) dps debug: {"id":5,"result":{"clean_time":334535,"clean_area":5514490000,"clean_count":271,"dust_collection_count":183,"records":[1675101410,1674999168,1674997469,1674997396,1674996096,1674995173,1674992012,1674990549,1674988026,1674904255,1674902607,1674840930,1674839064,1674827084,1674805409,1674754825,1674742452,1674729983,1674669094,1674664205]}} 2023-01-30 20:22:38.173 - debug: roborock.0 (5773) dps debug: {"id":3,"result":[{"main_brush_work_time":334535,"side_brush_work_time":334535,"filter_work_time":334535,"filter_element_work_time":0,"sensor_dirty_time":2086,"strainer_work_times":3,"dust_collection_work_times":183,"cleaning_brush_work_times":3}]} 2023-01-30 20:22:38.176 - debug: roborock.0 (5773) dps debug: {"id":7,"result":[{"carpet_clean_mode":1}]} 2023-01-30 20:22:38.193 - debug: roborock.0 (5773) dps debug: {"id":6,"result":[{"enable":1,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}]} 2023-01-30 20:22:38.196 - debug: roborock.0 (5773) dps debug: {"id":9,"result":[{"max_multi_map":4,"max_bak_map":1,"multi_map_count":2,"map_info":[{"mapFlag":0,"add_time":1675103601,"length":11,"name":"Erdgeschoss","bak_maps":[{"mapFlag":4,"add_time":1675091976}]},{"mapFlag":1,"add_time":1672833022,"length":12,"name":"Obergeschoss","bak_maps":[{"mapFlag":5,"add_time":1675092000}]}]}]} 2023-01-30 20:22:38.243 - debug: roborock.0 (5773) dps debug: {"id":13,"result":[{"begin":1674999168,"end":1675001120,"duration":1952,"area":30752500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"wash_count":0}]} 2023-01-30 20:22:38.251 - debug: roborock.0 (5773) dps debug: {"id":12,"result":[{"begin":1675101410,"end":1675103496,"duration":2086,"area":31040000,"error":0,"complete":1,"start_type":101,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"wash_count":0}]} 2023-01-30 20:22:38.255 - debug: roborock.0 (5773) dps debug: {"id":19,"result":[{"begin":1674990549,"end":1674991556,"duration":1006,"area":5840000,"error":0,"complete":1,"start_type":101,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"wash_count":0}]} 2023-01-30 20:22:38.264 - debug: roborock.0 (5773) dps debug: {"id":15,"result":[{"begin":1674997396,"end":1674997429,"duration":33,"area":122500,"error":0,"complete":0,"start_type":2,"clean_type":3,"finish_reason":60,"dust_collection_status":0,"wash_count":0}]} 2023-01-30 20:22:38.272 - debug: roborock.0 (5773) dps debug: {"id":24,"result":[{"begin":1674839064,"end":1674839751,"duration":551,"area":5740000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"wash_count":2}]} 2023-01-30 20:22:38.274 - debug: roborock.0 (5773) dps debug: {"id":14,"result":[{"begin":1674997469,"end":1674997490,"duration":21,"area":417500,"error":0,"complete":0,"start_type":2,"clean_type":3,"finish_reason":60,"dust_collection_status":0,"wash_count":0}]} 2023-01-30 20:22:38.277 - debug: roborock.0 (5773) dps debug: {"id":21,"result":[{"begin":1674904255,"end":1674909516,"duration":5261,"area":91615000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"wash_count":0}]} 2023-01-30 20:22:38.282 - debug: roborock.0 (5773) dps debug: {"id":17,"result":[{"begin":1674995173,"end":1674995694,"duration":521,"area":12742500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"wash_count":0}]} 2023-01-30 20:22:38.285 - debug: roborock.0 (5773) dps debug: {"id":25,"result":[{"begin":1674827084,"end":1674828836,"duration":1624,"area":24290000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"wash_count":2}]} 2023-01-30 20:22:38.291 - debug: roborock.0 (5773) dps debug: {"id":26,"result":[{"begin":1674805409,"end":1674807918,"duration":2168,"area":31010000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"wash_count":3}]} 2023-01-30 20:22:38.293 - debug: roborock.0 (5773) dps debug: {"id":20,"result":[{"begin":1674988026,"end":1674988721,"duration":695,"area":15525000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":0,"wash_count":0}]} 2023-01-30 20:22:38.297 - debug: roborock.0 (5773) dps debug: {"id":27,"result":[{"begin":1674754825,"end":1674754844,"duration":19,"area":155000,"error":0,"complete":0,"start_type":2,"clean_type":3,"finish_reason":60,"dust_collection_status":0,"wash_count":0}]} 2023-01-30 20:22:38.303 - debug: roborock.0 (5773) dps debug: {"id":16,"result":[{"begin":1674996096,"end":1674997396,"duration":12,"area":0,"error":0,"complete":0,"start_type":2,"clean_type":3,"finish_reason":50,"dust_collection_status":0,"wash_count":1}]} 2023-01-30 20:22:38.304 - debug: roborock.0 (5773) dps debug: {"id":18,"result":[{"begin":1674992012,"end":1674992855,"duration":843,"area":11485000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":0,"wash_count":0}]} 2023-01-30 20:22:38.310 - debug: roborock.0 (5773) dps debug: {"id":30,"result":[{"begin":1674669094,"end":1674671507,"duration":2094,"area":40292500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"wash_count":3}]} 2023-01-30 20:22:38.312 - debug: roborock.0 (5773) dps debug: {"id":29,"result":[{"begin":1674729983,"end":1674735263,"duration":4614,"area":81692500,"error":0,"complete":1,"start_type":101,"clean_type":1,"finish_reason":52,"dust_collection_status":1,"wash_count":0}]} 2023-01-30 20:22:38.345 - debug: roborock.0 (5773) dps debug: {"id":28,"result":[{"begin":1674742452,"end":1674743822,"duration":1370,"area":20887500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"wash_count":0}]} 2023-01-30 20:22:38.369 - debug: roborock.0 (5773) dps debug: {"id":31,"result":[{"begin":1674664205,"end":1674664243,"duration":38,"area":860000,"error":0,"complete":0,"start_type":2,"clean_type":3,"finish_reason":60,"dust_collection_status":0,"wash_count":0}]} 2023-01-30 20:22:38.423 - debug: roborock.0 (5773) dps debug: {"id":22,"result":[{"begin":1674902607,"end":1674903605,"duration":997,"area":11620000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"wash_count":0}]} 2023-01-30 20:22:38.425 - debug: roborock.0 (5773) dps debug: {"id":23,"result":[{"begin":1674840930,"end":1674842972,"duration":1854,"area":42267500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"wash_count":2}]} 2023-01-30 20:22:38.428 - debug: roborock.0 (5773) dps debug: {"id":11,"result":["ok"]} 2023-01-30 20:22:40.311 - debug: roborock.0 (5773) dps debug: {"id":32,"result":["ok"]} 2023-01-30 20:22:41.122 - warn: host.raspberrypi instance system.adapter.roborock.0 terminated due to SIGSEGV 2023-01-30 20:22:41.122 - info: host.raspberrypi instance system.adapter.roborock.0 terminated with code NaN () 2023-01-30 20:22:41.123 - info: host.raspberrypi Restart adapter system.adapter.roborock.0 because enabled
-
@dontoben sagte in Roborock Adapter tester gesucht:
SIGSEGV
Was ist das fuer ein PI?
Was sagt:
free -ht sudo apt update
Als erste Hilfe kannst du mal Instanz und Adapter komplett loeschen. Server neu starten und dann neu installieren.
-
pi@raspberrypi:~ $ free -ht total used free shared buff/cache available Mem: 3,7Gi 606Mi 79Mi 200Mi 3,1Gi 2,8Gi Swap: 99Mi 13Mi 86Mi Total: 3,8Gi 619Mi 166Mi pi@raspberrypi:~ $ sudo apt update OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease OK:2 https://deb.nodesource.com/node_16.x buster InRelease OK:3 http://archive.raspberrypi.org/debian buster InRelease Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Alle Pakete sind aktuell. pi@raspberrypi:~ $
Raspberry Pi 4 Modell B; 4 GB, ARM-Cortex-A72 4 x, 1,50 GHz, 4 GB RAM, WLAN-ac, Bluetooth 5, LAN, 4 x USB, 2 x Micro-HD
0.0.5 funktionierte noch einwandfrei.
Deinstallation, Server Neustart und Neuinstallation brachte keine Abhilfe
-
@dontoben OK. Buster solltest du mal bei Gelegenheit updaten. Bzw. besser was aktuelles neu installieren. Moeglich das es da haengt. Kommt halt drauf an was @copystring alles in seinem Adapter verwendet.
Sonst wuerde ich einmal wie geschrieben vorgehen.
EDIT: Hat sich mit deinem Edit ueberschnitten. Immer noch SIGSEGV als error?
-
@wendy2702 said in Roborock Adapter tester gesucht:
@dontoben OK. Buster solltest du mal bei Gelegenheit updaten. Bzw. besser was aktuelles neu installieren. Moeglich das es da haengt. Kommt halt drauf an was @copystring alles in seinem Adapter verwendet.
Sonst wuerde ich einmal wie geschrieben vorgehen.
EDIT: Hat sich mit deinem Edit ueberschnitten. Immer noch SIGSEGV als error?
Ja, SIGSEGV kommt noch als Fehler.
Ich warte jetzt mal, was @copystring sagt. Update des Betriebssystems würde ich nur zur Not machen, da ich das mühselige Neueinrichten vermeiden möchte.Hoffentlich ist es nur ein Fehler im Adapter.
-
@dontoben Wieso muehselig bei einem PI?
Kannst das Betriebssystem auch updaten:
https://forum.iobroker.net/topic/47213/upgrade-von-debian-10-buster-auf-11-bullseye?page=1
Vorher natuerlich ein Backup machen.
-
SIGSEGV steht für Segmentation fault. Ein Programm stürzt also ab. Dass das von meinen Adapter direkt kommt ist eher unwahrscheinlich. Es wird wohl eher daher kommen, dass entweder eine Bibliothek (vielleicht canvas von npm) abstürzt oder ein RPi nicht damit klar kommt, dass die Karte jede Sekunde neu erstellt wird. Beim meinen Server lief das auch nicht richtig aber es kam nie ein Absturz. Daher hatte ich das bereits auf 2 Sekunden reduziert.
-
@dontoben said in Roborock Adapter tester gesucht:
@hunter-0 said in Roborock Adapter tester gesucht:
@dontoben
Ist Node v16 nicht voraussetzen? Du hast: (node: v14.18.1)Gleiches Problem mit Node v16.19.0
Hier mal der Log vom installieren des Adapters. Waren das schon immer so viele Meldungen?
$ iobroker url copystring/ioBroker.roborock --host raspberrypi --debug install copystring/ioBroker.roborock NPM version: 6.14.5 Installing copystring/ioBroker.roborock... (System call) > canvas@2.11.0 install /opt/iobroker/node_modules/canvas> node-pre-gyp install --fallback-to-build --update-binary node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.11.0/canvas-v2.11.0-node-v93-linux-glibc-arm.tar.gz node-pre-gyp WARN Pre-built binaries not installable for canvas@2.11.0 and node@16.19.0 (node-v93 ABI, glibc) (falling back to source compile with node-gyp) node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.11.0/canvas-v2.11.0-node-v93-linux-glibc-arm.tar.gz (node:4471) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only. (Use `node --trace-deprecation ...` to show where the warning was created) make: Verzeichnis „/opt/iobroker/node_modules/canvas/build“ wird betreten SOLINK_MODULE(target) Release/obj.target/canvas-postbuild.node CXX(target) Release/obj.target/canvas/src/backend/Backend.o CXX(target) Release/obj.target/canvas/src/backend/ImageBackend.o CXX(target) Release/obj.target/canvas/src/backend/PdfBackend.o CXX(target) Release/obj.target/canvas/src/backend/SvgBackend.o CXX(target) Release/obj.target/canvas/src/bmp/BMPParser.o ../src/bmp/BMPParser.cc: In member function ‘void BMPParser::Parser::parse(uint8_t*, int, uint8_t*)’:../src/bmp/BMPParser.cc:186:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] E(ptr - data > imgdOffset, "image data overlaps with another structure"); ~~~~~~~~~~~^~~~~~~~~~~~../src/bmp/BMPParser.cc:10:25: note: in definition of macro ‘E’ #define E(cond, msg) if(cond) return setErr(msg) ^~~~../src/bmp/BMPParser.cc:201:27: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] E(ptr - data + imgdSize > len, "not enough image data"); ~~~~~~~~~~~~~~~~~~~~~~^~~~~../src/bmp/BMPParser.cc:10:25: note: in definition of macro ‘E’ #define E(cond, msg) if(cond) return setErr(msg) ^~~~ CXX(target) Release/obj.target/canvas/src/Backends.o CXX(target) Release/obj.target/canvas/src/Canvas.o CXX(target) Release/obj.target/canvas/src/CanvasGradient.o CXX(target) Release/obj.target/canvas/src/CanvasPattern.o CXX(target) Release/obj.target/canvas/src/CanvasRenderingContext2d.o ../src/CanvasRenderingContext2d.cc: In member function ‘void Context2d::setTextPath(double, double)’:../src/CanvasRenderingContext2d.cc:2494:10: warning: enumeration value ‘TEXT_ALIGNMENT_LEFT’ not handled in switch [-Wswitch] switch (state->textAlignment) { ^../src/CanvasRenderingContext2d.cc:2494:10: warning: enumeration value ‘TEXT_ALIGNMENT_START’ not handled in switch [-Wswitch] CXX(target) Release/obj.target/canvas/src/closure.o CXX(target) Release/obj.target/canvas/src/color.o CXX(target) Release/obj.target/canvas/src/Image.o CXX(target) Release/obj.target/canvas/src/ImageData.o CXX(target) Release/obj.target/canvas/src/init.o CXX(target) Release/obj.target/canvas/src/register_font.o SOLINK_MODULE(target) Release/obj.target/canvas.node COPY Release/canvas.node make: Verzeichnis „/opt/iobroker/node_modules/canvas/build“ wird verlassen npm WARN crc@4.1.1 requires a peer of buffer@>=6.0.3 but none is installed. You must install peer dependencies yourself.npm WARN http-cookie-agent@4.0.2 requires a peer of tough-cookie@^4.0.0 but none is installed. You must install peer dependencies yourself.npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.8 (node_modules/osx-temperature-sensor):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.8: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) + iobroker.roborock@0.0.6-alpha.0added 45 packages from 35 contributors and updated 1 package in 346.618s 48 packages are looking for funding run `npm fund` for details upload [11] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/de/translations.json i18n/de/translations.json application/json upload [10] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/en/translations.json i18n/en/translations.json application/json upload [9] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/es/translations.json i18n/es/translations.json application/json upload [6] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/nl/translations.json i18n/nl/translations.json application/json upload [5] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/pl/translations.json i18n/pl/translations.json application/json upload [4] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/pt/translations.json i18n/pt/translations.json application/json upload [3] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/ru/translations.json i18n/ru/translations.json application/json upload [0] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/roborock.png roborock.png image/png Process exited with code 0
Ist dies das selbe Problem https://github.com/copystring/ioBroker.roborock/issues/40?
Für die Karte wird canvas benötigt und canvas scheint es für RPi (bzw. für arm) nicht zu geben... Daher 404 beim Herunterladen von canvas. Es scheint auch keine ältere Version von canvas für den RPi (arm) zu geben.
Vielleicht gibt es eine alternative, welche auch auf dem RPi läuft... -
-
Vergiss was ich gesagt habe. canvas wurde anschließend erfolgreich kompiliert.
Der eigentliche Fehler ist bei:npm WARN crc@4.1.1 requires a peer of buffer@>=6.0.3 but none is installed.
-
@copystring sagte in Roborock Adapter tester gesucht:
buffer@>=6.0.3
Da habe ich ja Glueck gehabt das es die bei mir gibt:
npm ls buffer [sudo] password for mi: iobroker.inst@2.0.3 /opt/iobroker +-- iobroker.modbus@5.0.11 | `-- crc@4.1.1 | `-- buffer@6.0.3 +-- iobroker.mqtt@4.0.7 | `-- mqtt-connection@4.1.0 | `-- mqtt-packet@6.10.0 | `-- bl@4.1.0 | `-- buffer@5.7.1 +-- iobroker.sayit@1.12.6 | `-- aws-sdk@2.1071.0 | `-- buffer@4.9.2 `-- iobroker.shelly@6.3.1 `-- shelly-iot@1.1.2 `-- coap@0.26.0 `-- bl@5.1.0 `-- buffer@6.0.3 deduped
-
@copystring said in Roborock Adapter tester gesucht:
@dontoben said in Roborock Adapter tester gesucht:
@hunter-0 said in Roborock Adapter tester gesucht:
@dontoben
Ist Node v16 nicht voraussetzen? Du hast: (node: v14.18.1)Gleiches Problem mit Node v16.19.0
Hier mal der Log vom installieren des Adapters. Waren das schon immer so viele Meldungen?
$ iobroker url copystring/ioBroker.roborock --host raspberrypi --debug install copystring/ioBroker.roborock NPM version: 6.14.5 Installing copystring/ioBroker.roborock... (System call) > canvas@2.11.0 install /opt/iobroker/node_modules/canvas> node-pre-gyp install --fallback-to-build --update-binary node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.11.0/canvas-v2.11.0-node-v93-linux-glibc-arm.tar.gz node-pre-gyp WARN Pre-built binaries not installable for canvas@2.11.0 and node@16.19.0 (node-v93 ABI, glibc) (falling back to source compile with node-gyp) node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.11.0/canvas-v2.11.0-node-v93-linux-glibc-arm.tar.gz (node:4471) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only. (Use `node --trace-deprecation ...` to show where the warning was created) make: Verzeichnis „/opt/iobroker/node_modules/canvas/build“ wird betreten SOLINK_MODULE(target) Release/obj.target/canvas-postbuild.node CXX(target) Release/obj.target/canvas/src/backend/Backend.o CXX(target) Release/obj.target/canvas/src/backend/ImageBackend.o CXX(target) Release/obj.target/canvas/src/backend/PdfBackend.o CXX(target) Release/obj.target/canvas/src/backend/SvgBackend.o CXX(target) Release/obj.target/canvas/src/bmp/BMPParser.o ../src/bmp/BMPParser.cc: In member function ‘void BMPParser::Parser::parse(uint8_t*, int, uint8_t*)’:../src/bmp/BMPParser.cc:186:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] E(ptr - data > imgdOffset, "image data overlaps with another structure"); ~~~~~~~~~~~^~~~~~~~~~~~../src/bmp/BMPParser.cc:10:25: note: in definition of macro ‘E’ #define E(cond, msg) if(cond) return setErr(msg) ^~~~../src/bmp/BMPParser.cc:201:27: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] E(ptr - data + imgdSize > len, "not enough image data"); ~~~~~~~~~~~~~~~~~~~~~~^~~~~../src/bmp/BMPParser.cc:10:25: note: in definition of macro ‘E’ #define E(cond, msg) if(cond) return setErr(msg) ^~~~ CXX(target) Release/obj.target/canvas/src/Backends.o CXX(target) Release/obj.target/canvas/src/Canvas.o CXX(target) Release/obj.target/canvas/src/CanvasGradient.o CXX(target) Release/obj.target/canvas/src/CanvasPattern.o CXX(target) Release/obj.target/canvas/src/CanvasRenderingContext2d.o ../src/CanvasRenderingContext2d.cc: In member function ‘void Context2d::setTextPath(double, double)’:../src/CanvasRenderingContext2d.cc:2494:10: warning: enumeration value ‘TEXT_ALIGNMENT_LEFT’ not handled in switch [-Wswitch] switch (state->textAlignment) { ^../src/CanvasRenderingContext2d.cc:2494:10: warning: enumeration value ‘TEXT_ALIGNMENT_START’ not handled in switch [-Wswitch] CXX(target) Release/obj.target/canvas/src/closure.o CXX(target) Release/obj.target/canvas/src/color.o CXX(target) Release/obj.target/canvas/src/Image.o CXX(target) Release/obj.target/canvas/src/ImageData.o CXX(target) Release/obj.target/canvas/src/init.o CXX(target) Release/obj.target/canvas/src/register_font.o SOLINK_MODULE(target) Release/obj.target/canvas.node COPY Release/canvas.node make: Verzeichnis „/opt/iobroker/node_modules/canvas/build“ wird verlassen npm WARN crc@4.1.1 requires a peer of buffer@>=6.0.3 but none is installed. You must install peer dependencies yourself.npm WARN http-cookie-agent@4.0.2 requires a peer of tough-cookie@^4.0.0 but none is installed. You must install peer dependencies yourself.npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.8 (node_modules/osx-temperature-sensor):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.8: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) + iobroker.roborock@0.0.6-alpha.0added 45 packages from 35 contributors and updated 1 package in 346.618s 48 packages are looking for funding run `npm fund` for details upload [11] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/de/translations.json i18n/de/translations.json application/json upload [10] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/en/translations.json i18n/en/translations.json application/json upload [9] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/es/translations.json i18n/es/translations.json application/json upload [6] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/nl/translations.json i18n/nl/translations.json application/json upload [5] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/pl/translations.json i18n/pl/translations.json application/json upload [4] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/pt/translations.json i18n/pt/translations.json application/json upload [3] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/ru/translations.json i18n/ru/translations.json application/json upload [0] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/roborock.png roborock.png image/png Process exited with code 0
Ist dies das selbe Problem https://github.com/copystring/ioBroker.roborock/issues/40?
Für die Karte wird canvas benötigt und canvas scheint es für RPi (bzw. für arm) nicht zu geben... Daher 404 beim Herunterladen von canvas. Es scheint auch keine ältere Version von canvas für den RPi (arm) zu geben.
Vielleicht gibt es eine alternative, welche auch auf dem RPi läuft...@copystring
Ja das ist issue 40.
Ich mache dann heute mit deinen Anweisungen aus issue 40 weiter. Oder soll ich noch etwas anderes installieren? -
@dontoben Siehe github.
-
Da es noch keine neue Version ist, weiß ich nicht ob es ein Issue für Github ist. Main Branch stand jetzt:
-
@hunter-0 Bitte vollständiges Log als text in Code Tags </> posten.
Und vielleicht noch mitteilen was für ein System das ist.
-
Hi,
aktualisieren sich bei euch die Objekte noch?
Unser Sauger ist eben gefahren und ich kann keine Änderung in den Objekten feststellen.
Batterie z.B.
Nach knapp 45 minuten Arbeit unverändert.
Bisschen was RAM belegt er auch:
Und im Log passiert zum Adapter nichts mehr.
Erst nach restart kommen die neuen Werte aber beim RAM hochzählen kann ich zugucken:
Restart log ohne Debug:
mirko@iobroker:~$ tail -f /opt/iobroker/log/iobroker.current.log |grep roborock 2023-02-02 15:50:38.847 - info: host.iobroker stopInstance system.adapter.roborock.0 (force=false, process=true) 2023-02-02 15:50:38.851 - info: roborock.0 (77838) Got terminate signal TERMINATE_YOURSELF 2023-02-02 15:50:38.853 - info: roborock.0 (77838) terminating 2023-02-02 15:50:38.854 - info: roborock.0 (77838) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2023-02-02 15:50:39.007 - info: host.iobroker stopInstance system.adapter.roborock.0 send kill signal 2023-02-02 15:50:40.012 - info: host.iobroker stopInstance system.adapter.roborock.0 killing pid 77838 2023-02-02 15:50:40.323 - info: host.iobroker instance system.adapter.roborock.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2023-02-02 15:50:42.148 - info: host.iobroker instance system.adapter.roborock.0 started with pid 89295 2023-02-02 15:50:43.974 - info: roborock.0 (89295) starting. Version 0.0.6-alpha.0 (non-npm: copystring/ioBroker.roborock) in /opt/iobroker/node_modules/iobroker.roborock, node: v16.19.0, js-controller: 4.0.24 2023-02-02 15:50:44.177 - info: roborock.0 (89295) MQTT initialized 2023-02-02 15:51:23.345 - info: host.iobroker "system.adapter.roborock.0" disabled 2023-02-02 15:51:23.346 - info: host.iobroker stopInstance system.adapter.roborock.0 (force=false, process=true) 2023-02-02 15:51:23.360 - info: roborock.0 (89295) Got terminate signal TERMINATE_YOURSELF 2023-02-02 15:51:23.364 - info: roborock.0 (89295) terminating 2023-02-02 15:51:23.365 - info: roborock.0 (89295) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2023-02-02 15:51:23.392 - info: host.iobroker stopInstance system.adapter.roborock.0 send kill signal 2023-02-02 15:51:23.954 - warn: roborock.0 (89295) get state error: Connection is closed. 2023-02-02 15:51:23.956 - error: roborock.0 (89295) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-02-02 15:51:23.956 - error: roborock.0 (89295) unhandled promise rejection: DB closed 2023-02-02 15:51:23.956 - error: roborock.0 (89295) Error: DB closed 2023-02-02 15:51:23.956 - error: roborock.0 (89295) DB closed 2023-02-02 15:51:24.059 - info: host.iobroker instance system.adapter.roborock.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2023-02-02 15:52:43.193 - info: host.iobroker "system.adapter.roborock.0" enabled 2023-02-02 15:52:43.422 - info: host.iobroker instance system.adapter.roborock.0 started with pid 89332 2023-02-02 15:52:44.603 - info: roborock.0 (89332) starting. Version 0.0.6-alpha.0 (non-npm: copystring/ioBroker.roborock) in /opt/iobroker/node_modules/iobroker.roborock, node: v16.19.0, js-controller: 4.0.24 2023-02-02 15:52:44.827 - info: roborock.0 (89332) MQTT initialized 2023-02-02 15:54:25.755 - info: host.iobroker "system.adapter.roborock.0" disabled 2023-02-02 15:54:25.756 - info: host.iobroker stopInstance system.adapter.roborock.0 (force=false, process=true) 2023-02-02 15:54:25.769 - info: roborock.0 (89332) Got terminate signal TERMINATE_YOURSELF 2023-02-02 15:54:25.772 - info: roborock.0 (89332) terminating 2023-02-02 15:54:25.772 - info: roborock.0 (89332) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2023-02-02 15:54:25.800 - info: host.iobroker stopInstance system.adapter.roborock.0 send kill signal 2023-02-02 15:54:26.440 - warn: roborock.0 (89332) get state error: Connection is closed. 2023-02-02 15:54:26.441 - error: roborock.0 (89332) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-02-02 15:54:26.441 - error: roborock.0 (89332) unhandled promise rejection: DB closed 2023-02-02 15:54:26.442 - error: roborock.0 (89332) Error: DB closed 2023-02-02 15:54:26.442 - error: roborock.0 (89332) DB closed 2023-02-02 15:54:26.533 - info: host.iobroker instance system.adapter.roborock.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
@copystring : soll ich ein Issue aufmachen?
Desweiteren, kann man es vielleicht so machen das die Karte nur aktualisiert wird wenn das Kerlchen fährt?