NEWS
Test für mihome-vacuum 3.10.x
-
@bambam89 in map64 sind quasi die binär daten als text gespeichert, in mapUrl eine url zu einer karte, die im dateisystem gespeichert wird und per web adapter ausgeliefert. Du solltest abet beides in ein img src pavjen können
-
Ich bekomme ja auch eine Karte angezeigt, aber eben irgend einen "alten" Stand.
Das ist die Karte dir mir im VIS angezeigt wird:Und das ist die aktuelle Karte wenn ich die APP auf dem Handy öffne:
Gruß Christian
-
@bambam89 Also dann schick mal dein Log (debug), da drin solltest du sehen, ob er deine Karte updatet oder nicht. Wie oft er das macht, kannst du auch einstellen.
-
hier mal ein Auszug aus den Logs.
mihome-vacuum.0 2023-02-23 08:49:08.120 debug MIIO RECIVE: {"result":[{"enable":1,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":70} mihome-vacuum.0 2023-02-23 08:49:08.109 debug Message= {"id":70,"method":"get_carpet_mode"} mihome-vacuum.0 2023-02-23 08:49:08.108 debug MIIO RECIVE: {"result":[100],"id":69} mihome-vacuum.0 2023-02-23 08:49:08.099 debug Message= {"id":69,"method":"get_sound_volume"} mihome-vacuum.0 2023-02-23 08:49:08.069 debug MIIO RECIVE: {"result":{"ssid":"Sonnensystem","ip":"192.168.2.51","mac":"50:ec:50:1a:8d:7a","bssid":"7c:ff:4d:85:1b:8f","rssi":-67},"id":68} mihome-vacuum.0 2023-02-23 08:49:08.044 debug Message= {"id":68,"method":"get_network_info"} mihome-vacuum.0 2023-02-23 08:49:08.042 debug setGetStatus {"msg_ver":3,"msg_seq":1888,"state":18,"battery":99,"clean_time":108,"clean_area":3117500,"error_code":0,"map_present":true,"in_cleaning":false,"in_returning":0,"in_fresh_state":0,"lab_status":1,"water_box_status":0,"fan_power":103,"dnd_enabled":false,"map_status":3,"lock_status":0,"error_text":"No error"} mihome-vacuum.0 2023-02-23 08:49:08.041 debug MIIO RECIVE: {"result":[{"msg_ver":3,"msg_seq":1888,"state":18,"battery":99,"clean_time":108,"clean_area":3117500,"error_code":0,"map_present":1,"in_cleaning":3,"in_returning":0,"in_fresh_state":0,"lab_status":1,"water_box_status":0,"fan_power":103,"dnd_enabled":0,"map_status":3,"lock_status":0}],"id":67} mihome-vacuum.0 2023-02-23 08:49:08.032 debug Message= {"id":67,"method":"get_status"} mihome-vacuum.0 2023-02-23 08:49:08.032 debug get params for stock Vacuum mihome-vacuum.0 2023-02-23 08:49:01.800 debug Time difference between Mihome Vacuum and ioBroker: 1 sec mihome-vacuum.0 2023-02-23 08:49:01.799 debug Receive <<< Helo <<< 21310020000000000f9b48a163f71a6effffffffffffffffffffffffffffffff mihome-vacuum.0 2023-02-23 08:48:57.991 debug MIIO RECIVE: {"result":[{"enable":1,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":66} mihome-vacuum.0 2023-02-23 08:48:57.981 debug Message= {"id":66,"method":"get_carpet_mode"} mihome-vacuum.0 2023-02-23 08:48:57.979 debug MIIO RECIVE: {"result":[100],"id":65} mihome-vacuum.0 2023-02-23 08:48:57.968 debug Message= {"id":65,"method":"get_sound_volume"} mihome-vacuum.0 2023-02-23 08:48:57.889 debug MIIO RECIVE: {"result":{"ssid":"Sonnensystem","ip":"192.168.2.51","mac":"50:ec:50:1a:8d:7a","bssid":"7c:ff:4d:85:1b:8f","rssi":-67},"id":64} mihome-vacuum.0 2023-02-23 08:48:57.858 debug Message= {"id":64,"method":"get_network_info"} mihome-vacuum.0 2023-02-23 08:48:57.855 debug setGetStatus {"msg_ver":3,"msg_seq":1887,"state":18,"battery":99,"clean_time":96,"clean_area":2742500,"error_code":0,"map_present":true,"in_cleaning":false,"in_returning":0,"in_fresh_state":0,"lab_status":1,"water_box_status":0,"fan_power":103,"dnd_enabled":false,"map_status":3,"lock_status":0,"error_text":"No error"} mihome-vacuum.0 2023-02-23 08:48:57.853 debug MIIO RECIVE: {"result":[{"msg_ver":3,"msg_seq":1887,"state":18,"battery":99,"clean_time":96,"clean_area":2742500,"error_code":0,"map_present":1,"in_cleaning":3,"in_returning":0,"in_fresh_state":0,"lab_status":1,"water_box_status":0,"fan_power":103,"dnd_enabled":0,"map_status":3,"lock_status":0}],"id":63} mihome-vacuum.0 2023-02-23 08:48:57.842 debug Message= {"id":63,"method":"get_status"} mihome-vacuum.0 2023-02-23 08:48:57.841 debug get params for stock Vacuum mihome-vacuum.0 2023-02-23 08:48:51.795 debug Time difference between Mihome Vacuum and ioBroker: 1 sec mihome-vacuum.0 2023-02-23 08:48:51.794 debug Receive <<< Helo <<< 21310020000000000f9b48a163f71a64ffffffffffffffffffffffffffffffff mihome-vacuum.0 2023-02-23 08:48:47.788 debug MIIO RECIVE: {"result":[{"enable":1,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":62} mihome-vacuum.0 2023-02-23 08:48:47.779 debug Message= {"id":62,"method":"get_carpet_mode"} mihome-vacuum.0 2023-02-23 08:48:47.777 debug MIIO RECIVE: {"result":[100],"id":61} mihome-vacuum.0 2023-02-23 08:48:47.769 debug Message= {"id":61,"method":"get_sound_volume"} mihome-vacuum.0 2023-02-23 08:48:47.707 debug MIIO RECIVE: {"result":{"ssid":"Sonnensystem","ip":"192.168.2.51","mac":"50:ec:50:1a:8d:7a","bssid":"7c:ff:4d:85:1b:8f","rssi":-62},"id":60} mihome-vacuum.0 2023-02-23 08:48:47.656 debug Message= {"id":60,"method":"get_network_info"} mihome-vacuum.0 2023-02-23 08:48:47.654 debug setGetStatus {"msg_ver":3,"msg_seq":1886,"state":18,"battery":99,"clean_time":90,"clean_area":2392500,"error_code":0,"map_present":true,"in_cleaning":false,"in_returning":0,"in_fresh_state":0,"lab_status":1,"water_box_status":0,"fan_power":103,"dnd_enabled":false,"map_status":3,"lock_status":0,"error_text":"No error"} mihome-vacuum.0 2023-02-23 08:48:47.654 debug MIIO RECIVE: {"result":[{"msg_ver":3,"msg_seq":1886,"state":18,"battery":99,"clean_time":90,"clean_area":2392500,"error_code":0,"map_present":1,"in_cleaning":3,"in_returning":0,"in_fresh_state":0,"lab_status":1,"water_box_status":0,"fan_power":103,"dnd_enabled":0,"map_status":3,"lock_status":0}],"id":59} mihome-vacuum.0 2023-02-23 08:48:47.629 debug Message= {"id":59,"method":"get_status"} mihome-vacuum.0 2023-02-23 08:48:47.629 debug get params for stock Vacuum mihome-vacuum.0 2023-02-23 08:48:40.655 debug Time difference between Mihome Vacuum and ioBroker: 1 sec mihome-vacuum.0 2023-02-23 08:48:40.655 debug Receive <<< Helo <<< 21310020000000000f9b48a163f71a59ffffffffffffffffffffffffffffffff mihome-vacuum.0 2023-02-23 08:48:37.502 debug MIIO RECIVE: {"result":[{"enable":1,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":58} mihome-vacuum.0 2023-02-23 08:48:37.492 debug Message= {"id":58,"method":"get_carpet_mode"} mihome-vacuum.0 2023-02-23 08:48:37.491 debug MIIO RECIVE: {"result":[100],"id":57} mihome-vacuum.0 2023-02-23 08:48:37.483 debug Message= {"id":57,"method":"get_sound_volume"} mihome-vacuum.0 2023-02-23 08:48:37.219 debug MIIO RECIVE: {"result":{"ssid":"Sonnensystem","ip":"192.168.2.51","mac":"50:ec:50:1a:8d:7a","bssid":"7c:ff:4d:85:1b:8f","rssi":-62},"id":56} mihome-vacuum.0 2023-02-23 08:48:37.189 debug Message= {"id":56,"method":"get_network_info"} mihome-vacuum.0 2023-02-23 08:48:37.188 debug setGetStatus {"msg_ver":3,"msg_seq":1885,"state":18,"battery":99,"clean_time":79,"clean_area":1992500,"error_code":0,"map_present":true,"in_cleaning":false,"in_returning":0,"in_fresh_state":0,"lab_status":1,"water_box_status":0,"fan_power":103,"dnd_enabled":false,"map_status":3,"lock_status":0,"error_text":"No error"}
Der Intervall steht auf 2 Sekunden:
-
@bambam89 Ähhh, da saugt er doch gar nicht. Du solltest schon zu der Zeit das log schicken, wo er saugt. Da müsste dann drin stehen, dass er eine neue Karte bekommt. Wenn du den Adapter startetest steht aber nicht von canvas Problemen?
-
Der Log ist entstanden, als der S5 gesaugt hat.
aktueller Log: (saugt gerade)
mihome-vacuum.0 2023-02-23 18:54:16.376 debug Receive <<< Helo <<< 21310020000000000f9b48a163f7a847ffffffffffffffffffffffffffffffff mihome-vacuum.0 2023-02-23 18:54:10.918 debug MIIO RECIVE: {"result":[{"enable":1,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":120} mihome-vacuum.0 2023-02-23 18:54:10.912 debug Message= {"id":120,"method":"get_carpet_mode"} mihome-vacuum.0 2023-02-23 18:54:10.911 debug MIIO RECIVE: {"result":[100],"id":119} mihome-vacuum.0 2023-02-23 18:54:10.902 debug Message= {"id":119,"method":"get_sound_volume"} mihome-vacuum.0 2023-02-23 18:54:10.837 debug MIIO RECIVE: {"result":{"ssid":"Sonnensystem","ip":"192.168.2.51","mac":"50:ec:50:1a:8d:7a","bssid":"b0:f2:08:c7:6e:83","rssi":-53},"id":118} mihome-vacuum.0 2023-02-23 18:54:10.820 debug Message= {"id":118,"method":"get_network_info"} mihome-vacuum.0 2023-02-23 18:54:10.819 debug setGetStatus {"msg_ver":3,"msg_seq":3966,"state":5,"battery":95,"clean_time":49,"clean_area":1210000,"error_code":0,"map_present":true,"in_cleaning":true,"in_returning":0,"in_fresh_state":0,"lab_status":1,"water_box_status":0,"fan_power":103,"dnd_enabled":false,"map_status":3,"lock_status":0,"error_text":"No error"} mihome-vacuum.0 2023-02-23 18:54:10.818 debug MIIO RECIVE: {"result":[{"msg_ver":3,"msg_seq":3966,"state":5,"battery":95,"clean_time":49,"clean_area":1210000,"error_code":0,"map_present":1,"in_cleaning":1,"in_returning":0,"in_fresh_state":0,"lab_status":1,"water_box_status":0,"fan_power":103,"dnd_enabled":0,"map_status":3,"lock_status":0}],"id":117} mihome-vacuum.0 2023-02-23 18:54:10.363 debug Message= {"id":117,"method":"get_status"} mihome-vacuum.0 2023-02-23 18:54:10.362 debug get params for stock Vacuum mihome-vacuum.0 2023-02-23 18:54:06.370 debug Receive <<< Helo <<< 21310020000000000f9b48a163f7a83dffffffffffffffffffffffffffffffff mihome-vacuum.0 2023-02-23 18:54:00.282 debug MIIO RECIVE: {"result":[{"enable":1,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":116} mihome-vacuum.0 2023-02-23 18:54:00.275 debug Message= {"id":116,"method":"get_carpet_mode"} mihome-vacuum.0 2023-02-23 18:54:00.274 debug MIIO RECIVE: {"result":[100],"id":115} mihome-vacuum.0 2023-02-23 18:54:00.267 debug Message= {"id":115,"method":"get_sound_volume"} mihome-vacuum.0 2023-02-23 18:54:00.102 debug MIIO RECIVE: {"result":{"ssid":"Sonnensystem","ip":"192.168.2.51","mac":"50:ec:50:1a:8d:7a","bssid":"b0:f2:08:c7:6e:83","rssi":-58},"id":114} mihome-vacuum.0 2023-02-23 18:54:00.081 debug Message= {"id":114,"method":"get_network_info"} mihome-vacuum.0 2023-02-23 18:54:00.080 debug setGetStatus {"msg_ver":3,"msg_seq":3965,"state":5,"battery":95,"clean_time":38,"clean_area":847500,"error_code":0,"map_present":true,"in_cleaning":true,"in_returning":0,"in_fresh_state":0,"lab_status":1,"water_box_status":0,"fan_power":103,"dnd_enabled":false,"map_status":3,"lock_status":0,"error_text":"No error"} mihome-vacuum.0 2023-02-23 18:54:00.079 debug MIIO RECIVE: {"result":[{"msg_ver":3,"msg_seq":3965,"state":5,"battery":95,"clean_time":38,"clean_area":847500,"error_code":0,"map_present":1,"in_cleaning":1,"in_returning":0,"in_fresh_state":0,"lab_status":1,"water_box_status":0,"fan_power":103,"dnd_enabled":0,"map_status":3,"lock_status":0}],"id":113} mihome-vacuum.0 2023-02-23 18:54:00.072 debug Message= {"id":113,"method":"get_status"} mihome-vacuum.0 2023-02-23 18:54:00.071 debug get params for stock Vacuum
Hier sieht man das der Sauger gestartet wurde:
mihome-vacuum.0 2023-02-23 18:53:19.834 info trigger cleaning all
-
@bambam89 er ruft aber keine karte ab, entweder in den einstellungen den haken nivgt gesetzt oder canvas ist nicht verfügbar
-
Zeit gestern verbindet sich mein Sauger S7max unltra nicht mehr adapter bleibt gelb
kann mir jemand helfen
-
@dirkheDa ich keine Vis mehr nutze sondern das Node Red Dashboard, habe ich Probleme mit der Einbindung der Karte
Sobald ich die cleanmap.mapUrl mit der Iobroker in Node verbinde hängt sich das ganze System auf.
Oder mache ich hier einen Fehler und ich muss nur die Url, welche mir im Browser komplett angezeigt wird, nur in die template node packen?
So geht es jedenfalls nicht
-
@damrak2022 das kann dir leider nicht beantworten, in den einem datenpunkt steht halt eine url, relativ zum internen webserver, in dem anderen steht das img halt als data string. Was du brauchst, mußt du halt selber wissen.
-
@dirkhe Wenn ich aber meine Url:
http://192.168.178.24:8082/mihome-vacuum.0.cleanmap.mapURL
im Browser aufrufe, sollte er mir doch eigentlich die Karte anzeigen, oder?
Bei mir steht dann aber lediglich: File not found:{} -
@damrak2022 nein, dh musst den inhalt des datenpunktes hinter die ip + port hängen
-
@dirkhe Wenn ich das so mache
http://192.168.178.24:8082/mihome-vacuum.0.cleanmap.mapURL/mihome-vacuum.0.userfiles/actualMap.png
bekomme ich das als Ergebnis:
Kann das sein das für die Karte zwingend Canvas installiert sein muss Ich hatte da nämlich mal ein Problem und da wurde mir geraten es wegzulassen.
-
@damrak2022 sagte in Test für mihome-vacuum 3.9.x:
Kann das sein das für die Karte zwingend Canvas installiert sein muss
Ja.
-
@thomas-braun Okay, dann werde ich nochmal versuchen eine korrekte Canvas Installation nach der Beschreibung des mihome Adapters hinzubekommen.
-
-
http://192.168.178.24:8082/mihome-vacuum.0.userfiles/actualMap.png
-
@thomas-braun Das habe ich durchgeführt. Wie prüfe ich das nun alles korrekt ist?
pi@homebridge:~ $ iob fix library: loaded Library version=2022-12-09 ioBroker or some processes are still running: io.admin.0 io.history.0 io.javascript.0 io.scenes.0 io.influxdb.0 io.pushover.0 io.ham.0 io.ping.0 io.rpi2.0 io.shelly.0 io.geofency.0 io.hue.0 io.zigbee.0 io.discovery.0 io.alexa2.0 io.backitup.0 io.web.0 io.info.0 io.snmp.0 io.upnp.0 io.iot.0 io.withings.0 io.twinkly.0 Please stop them first and try again! pi@homebridge:~ $ iobroker stop pi@homebridge:~ $ iob fix library: loaded Library version=2022-12-09 ========================================================================== Welcome to the ioBroker installation fixer! Script version: 2022-12-22 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/4) ========================================================================== OK:1 http://deb.debian.org/debian bullseye InRelease Holen:2 http://deb.debian.org/debian bullseye-updates InRelease [44,1 kB] Holen:3 http://security.debian.org/debian-security bullseye-security InRelease [48,4 kB] OK:4 http://archive.raspberrypi.org/debian bullseye InRelease OK:5 https://deb.nodesource.com/node_16.x bullseye InRelease OK:6 https://download.docker.com/linux/debian bullseye InRelease Holen:7 https://apt.grafana.com stable InRelease [5.984 B] OK:8 https://repos.influxdata.com/debian stable InRelease OK:9 https://packagecloud.io/ookla/speedtest-cli/debian bullseye InRelease Es wurden 98,4 kB in 7 s geholt (14,0 kB/s). Paketlisten werden gelesen… Fertig Installed gcc-c++ ========================================================================== Checking ioBroker user and directory permissions (2/4) ========================================================================== Created /etc/sudoers.d/iobroker Fixing directory permissions... ========================================================================== Database maintenance (3/4) ========================================================================== Checking for uncompressed JSONL databases... This might take a while! Compressing /opt/iobroker/iobroker-data/states.jsonl Compressing /opt/iobroker/iobroker-data/objects.jsonl Compressed 2 JSONL files. Done ========================================================================== Checking autostart (4/4) ========================================================================== Enabling autostart... Autostart enabled! ========================================================================== Your installation was fixed successfully Run iobroker start to start ioBroker again! ========================================================================== pi@homebridge:~ $ iobroker start pi@homebridge:~ $
-
apt policy build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
muss zu jedem Paket sagen das es installiert ist und
cd /opt/iobroker npm ls canvas
spuckt sowas aus:
echad@chet:/opt/iobroker $ npm ls canvas iobroker.inst@3.0.0 /opt/iobroker ├─┬ iobroker.echarts@1.4.13 │ ├── canvas@2.11.0 │ └─┬ jsdom@21.1.1 │ └── canvas@2.11.0 deduped ├─┬ iobroker.iot@1.14.5 (git+ssh://git@github.com/ioBroker/ioBroker.iot.git#c4f7c5139d48613a655453aed737e9694843ccd4) │ └── canvas@2.11.0 deduped ├─┬ iobroker.mihome-vacuum@3.9.5 │ └── canvas@2.11.0 deduped └─┬ iobroker.parcel@0.0.25 └─┬ jsdom@20.0.3 └── canvas@2.11.0 deduped
-
@thomas-braun sagte in Test für mihome-vacuum 3.9.x:
npm ls canvas
Ich denke, das sieht so aus wie es sein soll
pi@homebridge:~ $ apt policy build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev build-essential: Installiert: 12.9 Installationskandidat: 12.9 Versionstabelle: *** 12.9 500 500 http://deb.debian.org/debian bullseye/main arm64 Packages 100 /var/lib/dpkg/status libcairo2-dev: Installiert: 1.16.0-5+rpt1 Installationskandidat: 1.16.0-5+rpt1 Versionstabelle: *** 1.16.0-5+rpt1 500 500 http://archive.raspberrypi.org/debian bullseye/main arm64 Packages 100 /var/lib/dpkg/status 1.16.0-5 500 500 http://deb.debian.org/debian bullseye/main arm64 Packages libpango1.0-dev: Installiert: 1.46.2-3 Installationskandidat: 1.46.2-3 Versionstabelle: *** 1.46.2-3 500 500 http://deb.debian.org/debian bullseye/main arm64 Packages 100 /var/lib/dpkg/status libjpeg-dev: Installiert: 1:2.0.6-4 Installationskandidat: 1:2.0.6-4 Versionstabelle: *** 1:2.0.6-4 500 500 http://deb.debian.org/debian bullseye/main arm64 Packages 100 /var/lib/dpkg/status libgif-dev: Installiert: 5.1.9-2 Installationskandidat: 5.1.9-2 Versionstabelle: *** 5.1.9-2 500 500 http://deb.debian.org/debian bullseye/main arm64 Packages 100 /var/lib/dpkg/status librsvg2-dev: Installiert: 2.50.3+dfsg-1 Installationskandidat: 2.50.3+dfsg-1 Versionstabelle: *** 2.50.3+dfsg-1 500 500 http://deb.debian.org/debian bullseye/main arm64 Packages 100 /var/lib/dpkg/status pi@homebridge:~ $ cd /opt/iobroker pi@homebridge:/opt/iobroker $ npm ls canvas iobroker.inst@3.0.0 /opt/iobroker ├─┬ iobroker.iot@1.14.2 │ ├── canvas@2.11.0 │ └─┬ jsdom@20.0.3 │ └── canvas@2.11.0 deduped └─┬ iobroker.mihome-vacuum@3.9.5 └── canvas@2.11.0 deduped pi@homebridge:/opt/iobroker $