NEWS
Test Adapter mihome-vacuum v2.0.x
-
@haselchen
Ok, den Wert retry gibt es jetzt nicht mehr. Habe die Instanz neu gestartet und erhalte jetzt auch einen ähnlichen Wert wie du.
Leider kann ich dennoch die Karte nicht laden.
Ich habe die gleiche Firmwareversion wie du. -
Zeig mal was bei dir jetzt steht bei x_get_response und weiter unten beim map Ordner (die Werte)
-
es scheint auch so, als würde mein Adapter abschmieren, wenn ich den Befehl get map v1 sende.
-
-
Erstmal lösch das true aus der map url.
Dann geh in die Adaptereinstellungen.
Drück auf get Device .
Erscheint dann dein Gerät?Und wenn das alles passt, sag mir noch ob du in der App die Map hast?!
Ansonsten lass ich mal komplett alles saugen und dann zur Ladestation zurückfahren.
Dann sollte er eine Map deines/r Hauses/Wohnung gezeichnet haben. -
@haselchen
Die map kann ich in der App sehen.
Get Device geht nicht.
True Wert wurde entfernt.Ich habe unten den token ,die IP Adresse und Ports eingegeben.
Leider wird mir kein Device angezeigt.Ich habe auch bereits versucht die Emailadresse durch die User id zu ersetzen, dennoch funktioniert getDevice() nicht.
-
Bei den Einstellungen Email und Passwort aus der Mihome App.
Der Sauger hat auch im Router immer die gleiche IP?
Token hast du auslesen können ?
Den kannst du Manuell ja auch eintragen unten. -
@haselchen
Ja, Email und PW aus der MiHome App.
Der Sauger hat eine statische IP.
Token konnte ich auslesen und habe ihn manuell eingetragen.Auch die App habe ich bereits neu installiert.
Zum token auslesen habe ich eine token_extractor.exe genutzt. Ist ein kleines Programm zum Auslesen des Tokens etc..
-
@bjoegibbard
Die Token kann man doch auch direkt aus dem Adapter auslesen? -
Haste ihn mal saugen lassen?
Manchmal dauert es bis er die Map geladen hat. -
Due meinst wahrscheinlich die ganzen manuellen Einstellung leer lassen, sich anmelden und dann kommt der token automatisch?
-
Ja er saugt jetzt das zweite mal.
(Langsam kann ich das Teil nicht mehr hören ) -
Nein , die Anmeldedaten müssen eingetragen sein.
Mach mal den Adapter auf Debug und poste das Log beim Adapterstart. -
-
@bjoegibbard
Bitte keine zerstückelten Screenshots posten sondern Log Texte auch als Text (in CodeTags) hier rein. -
Keine Fehlermeldung. Scheint alles okay zu sein?!
Was steht jetzt im Ordner Map?Und wie @Thomas-Braun schrieb, bitte in Code Tags.
-
2021-01-24 16:23:20.048 - [32minfo[39m: mihome-vacuum.0 (5705) terminating 2021-01-24 16:23:20.049 - [32minfo[39m: mihome-vacuum.0 (5705) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2021-01-24 16:23:20.721 - [32minfo[39m: host.raspberrypi4-iob instance system.adapter.mihome-vacuum.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2021-01-24 16:23:23.077 - [32minfo[39m: host.raspberrypi4-iob instance system.adapter.mihome-vacuum.0 started with pid 6418 2021-01-24 16:23:24.434 - [34mdebug[39m: mihome-vacuum.0 (6418) Redis Objects: Use Redis connection: veraendert 2021-01-24 16:23:24.471 - [34mdebug[39m: mihome-vacuum.0 (6418) Objects client ready ... initialize now 2021-01-24 16:23:24.474 - [34mdebug[39m: mihome-vacuum.0 (6418) Objects create System PubSub Client 2021-01-24 16:23:24.475 - [34mdebug[39m: mihome-vacuum.0 (6418) Objects create User PubSub Client 2021-01-24 16:23:24.477 - [34mdebug[39m: mihome-vacuum.0 (6418) Objects client initialize lua scripts 2021-01-24 16:23:24.504 - [34mdebug[39m: mihome-vacuum.0 (6418) Objects connected to redis: veraendert 2021-01-24 16:23:24.513 - [34mdebug[39m: mihome-vacuum.0 (6418) objectDB connected 2021-01-24 16:23:24.516 - [34mdebug[39m: mihome-vacuum.0 (6418) Redis States: Use Redis connection: veraendert 2021-01-24 16:23:24.527 - [34mdebug[39m: mihome-vacuum.0 (6418) States create System PubSub Client 2021-01-24 16:23:24.528 - [34mdebug[39m: mihome-vacuum.0 (6418) States create User PubSub Client 2021-01-24 16:23:24.540 - [34mdebug[39m: mihome-vacuum.0 (6418) States connected to redis: veraendert 2021-01-24 16:23:24.541 - [34mdebug[39m: mihome-vacuum.0 (6418) statesDB connected 2021-01-24 16:23:25.703 - [32minfo[39m: mihome-vacuum.0 (6418) starting. Version 2.2.4 in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v12.18.3, js-controller: 3.2.8 2021-01-24 16:23:25.801 - [34mdebug[39m: mihome-vacuum.0 (6418) load Map creator... true 2021-01-24 16:23:25.803 - [34mdebug[39m: mihome-vacuum.0 (6418) Xiaomi Cloud: Logging in 2021-01-24 16:23:25.812 - [32minfo[39m: mihome-vacuum.0 (6418) Expert mode enabled, states created 2021-01-24 16:23:25.813 - [32minfo[39m: mihome-vacuum.0 (6418) Cloud control disabled 2021-01-24 16:23:25.827 - [34mdebug[39m: mihome-vacuum.0 (6418) server started on veraendert 2021-01-24 16:23:25.899 - [32minfo[39m: mihome-vacuum.0 (6418) change states from State control.fan_power 2021-01-24 16:23:25.900 - [32minfo[39m: mihome-vacuum.0 (6418) extend state mop for State control.fan_power 2021-01-24 16:23:25.901 - [32minfo[39m: mihome-vacuum.0 (6418) New generation or new fw(3.5.8,002034) detected, create new states goto and zoneclean 2021-01-24 16:23:25.910 - [34mdebug[39m: mihome-vacuum.0 (6418) Receive <<< Helo <<< veraendert 2021-01-24 16:23:25.911 - [33mwarn[39m: mihome-vacuum.0 (6418) Time difference between Mihome Vacuum and ioBroker: 1 sec 2021-01-24 16:23:25.911 - [32minfo[39m: mihome-vacuum.0 (6418) connecting, this can take up to 10 minutes ... 2021-01-24 16:23:25.913 - [34mdebug[39m: mihome-vacuum.0 (6418) sendTo "getStatus" to system.adapter.mihome-vacuum.0 from system.adapter.mihome-vacuum.0 2021-01-24 16:23:25.919 - [34mdebug[39m: mihome-vacuum.0 (6418) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } 2021-01-24 16:23:25.936 - [34mdebug[39m: mihome-vacuum.0 (6418) sendMsg[1] >>> {"id":1,"method":"get_status"} 2021-01-24 16:23:25.945 - [34mdebug[39m: mihome-vacuum.0 (6418) Receive <<< {"result":[{"msg_ver":3,"msg_seq":2614,"state":8,"battery":96,"clean_time":690,"clean_area":13170000,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab_status":1,"water_box_status":0,"fan_power":104,"dnd_enabled":0,"map_status":1,"lock_status":0}],"id":1} 2021-01-24 16:23:25.948 - [34mdebug[39m: mihome-vacuum.0 (6418) sendTo "getStatus" to system.adapter.mihome-vacuum.0 from system.adapter.mihome-vacuum.0 2021-01-24 16:23:25.965 - [32minfo[39m: mihome-vacuum.0 (6418) Connected 2021-01-24 16:23:26.167 - [34mdebug[39m: mihome-vacuum.0 (6418) sendMsg[1] >>> {"id":2,"method":"miIO.info"} 2021-01-24 16:23:26.169 - [34mdebug[39m: mihome-vacuum.0 (6418) Next WiFi check: 24.01 16:24 2021-01-24 16:23:26.179 - [34mdebug[39m: mihome-vacuum.0 (6418) Receive <<< {"partner_id":"","id":2,"code":0,"message":"ok","result":{"hw_ver":"Linux","fw_ver":"3.5.8_002034","ap":{"ssid":"veraendert","bssid":"veraendert","rssi":-23},"netif":{"localIp":"veraendert","mask":"veraendert","gw":"veraendert"},"miio_ver":"miio-client 3.5.8","model":"roborock.vacuum.s5","mac":"veraendert","token":"veraendert","life":47353}} 2021-01-24 16:23:26.367 - [34mdebug[39m: mihome-vacuum.0 (6418) sendMsg[1] >>> {"id":3,"method":"get_sound_volume"} 2021-01-24 16:23:26.373 - [34mdebug[39m: mihome-vacuum.0 (6418) Receive <<< {"result":[100],"id":3} 2021-01-24 16:23:26.377 - [32minfo[39m: mihome-vacuum.0 (6418) set nächster Timer: Nicht verfügbar 2021-01-24 16:23:26.567 - [34mdebug[39m: mihome-vacuum.0 (6418) sendMsg[1] >>> {"id":4,"method":"get_consumable"} 2021-01-24 16:23:26.574 - [34mdebug[39m: mihome-vacuum.0 (6418) Receive <<< {"result":[{"main_brush_work_time":11011,"side_brush_work_time":11011,"filter_work_time":11011,"filter_element_work_time":0,"sensor_dirty_time":11011}],"id":4} 2021-01-24 16:23:26.768 - [34mdebug[39m: mihome-vacuum.0 (6418) sendMsg[1] >>> {"id":5,"method":"get_clean_summary"} 2021-01-24 16:23:26.777 - [34mdebug[39m: mihome-vacuum.0 (6418) Receive <<< {"result":[1662944,24087925000,1159,[1611500298,1611498316,1611498123,1611497130,1611492488,1611492296,1611492277,1611492234,1611491816,1611423950,1611423782,1611422676,1611416509,1611402090,1610826971,1610824848,1610819714,1610793254,1610793182,1610793133]],"id":5} 2021-01-24 16:23:26.782 - [34mdebug[39m: mihome-vacuum.0 (6418) sendMsg[1] >>> {"id":6,"method":"get_clean_record","params":[1611500298]} 2021-01-24 16:23:26.795 - [34mdebug[39m: mihome-vacuum.0 (6418) Receive <<< {"result":[[1611500298,1611501039,690,13170000,0,0,2,1]],"id":6} 2021-01-24 16:23:26.968 - [34mdebug[39m: mihome-vacuum.0 (6418) sendMsg[1] >>> {"id":7,"method":"get_carpet_mode"} 2021-01-24 16:23:26.970 - [34mdebug[39m: mihome-vacuum.0 (6418) sendMsg[1] >>> {"id":8,"method":"get_room_mapping"} 2021-01-24 16:23:26.976 - [34mdebug[39m: mihome-vacuum.0 (6418) Receive <<< {"result":[{"enable":1,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":7} 2021-01-24 16:23:26.978 - [32minfo[39m: mihome-vacuum.0 (6418) create state for carpet_mode 2021-01-24 16:23:26.981 - [34mdebug[39m: mihome-vacuum.0 (6418) Receive <<< {"result":[],"id":8} 2021-01-24 16:23:26.982 - [34mdebug[39m: mihome-vacuum.0 (6418) Empty array try to get from Map 2021-01-24 16:23:26.983 - [34mdebug[39m: mihome-vacuum.0 (6418) get rooms from map 2021-01-24 16:23:26.984 - [34mdebug[39m: mihome-vacuum.0 (6418) get rooms from map pending... 2021-01-24 16:23:26.990 - [34mdebug[39m: mihome-vacuum.0 (6418) sendMsg[1] >>> {"id":9,"method":"get_clean_record","params":[1611498316]} 2021-01-24 16:23:26.999 - [34mdebug[39m: mihome-vacuum.0 (6418) Receive <<< {"result":[[1611498316,1611498317,0,0,0,0,2,1]],"id":9} 2021-01-24 16:23:27.167 - [34mdebug[39m: mihome-vacuum.0 (6418) sendMsg[1] >>> {"id":10,"method":"get_map_v1"} 2021-01-24 16:23:27.173 - [34mdebug[39m: mihome-vacuum.0 (6418) Receive <<< {"result":["retry"],"id":10} 2021-01-24 16:23:27.193 - [34mdebug[39m: mihome-vacuum.0 (6418) sendMsg[1] >>> {"id":11,"method":"get_clean_record","params":[1611498123]} 2021-01-24 16:23:27.205 - [34mdebug[39m: mihome-vacuum.0 (6418) Receive <<< {"result":[[1611498123,1611498170,40,602500,0,0,2,1]],"id":11} 2021-01-24 16:23:27.394 - [34mdebug[39m: mihome-vacuum.0 (6418) sendMsg[1] >>> {"id":12,"method":"get_clean_record","params":[1611497130]} 2021-01-24 16:23:27.404 - [34mdebug[39m: mihome-vacuum.0 (6418) Receive <<< {"result":[[1611497130,1611497739,602,11325000,0,0,2,1]],"id":12} 2021-01-24 16:23:27.596 - [34mdebug[39m: mihome-vacuum.0 (6418) sendMsg[1] >>> {"id":13,"method":"get_clean_record","params":[1611492488]} 2021-01-24 16:23:27.602 - [34mdebug[39m: mihome-vacuum.0 (6418) Receive <<< {"result":[[1611492488,1611492494,5,0,0,0,2,1]],"id":13} 2021-01-24 16:23:27.675 - [34mdebug[39m: mihome-vacuum.0 (6418) sendMsg[1] >>> {"id":14,"method":"get_map_v1"} 2021-01-24 16:23:27.676 - [34mdebug[39m: mihome-vacuum.0 (6418) 0. Mappointer_nomap___retry 2021-01-24 16:23:27.688 - [34mdebug[39m: mihome-vacuum.0 (6418) Receive <<< {"result":["robomap%veraendert"],"id":veraendert} 2021-01-24 16:23:27.688 - [34mdebug[39m: mihome-vacuum.0 (6418) Mappointer_updated
-
Jo, habe es mal fix im code tag gepostet.
Hat sich nicht verändert.
Aber wie gesagt get device geht irgendwie immer noch nicht -
Da meine Kräfte langsam schwinden, hilft es vielleicht nur noch den Entwickler zu fragen
@Meistertr -
@haselchen
Danke euch dennoch erstmal!