NEWS
Test Adapter mihome-vacuum 3.x.x (STYJ02YM / Viomi)
-
hätte einer vielleicht eine idee noch was das problem sein kann ???
Danke im voraus -
hab es gerade noch mal versucht den adptar manuel installiert
das gibt er mir raus bei installieren ist dieses loglevel error normal ?$ ./iobroker url "https://github.com/MeisterTR/ioBroker.mihome-vacuum" --debug
install MeisterTR/ioBroker.mihome-vacuum#8a5a2bc9b985bb9e32147e7869f7cec87c183cee
NPM version: 6.14.11
npm install MeisterTR/ioBroker.mihome-vacuum#8a5a2bc9b985bb9e32147e7869f7cec87c183cee --loglevel error --prefix "/opt/iobroker" (System call)canvas@2.7.0 install /opt/iobroker/node_modules/canvas> node-pre-gyp install --fallback-to-build
make: Verzeichnis „/opt/iobroker/node_modules/canvas/build“ wird betreten
SOLINK_MODULE(target) Release/obj.target/canvas-postbuild.node
COPY Release/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
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- iobroker.mihome-vacuum@3.0.2added 22 packages from 16 contributors in 72.94s
46 packages are looking for funding runnpm fund
for details
upload [11] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/words.js words.js application/javascript
upload [10] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/valetudo_logo_small.svg valetudo_logo_small.svg image/svg+xml
upload [9] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/valetudo_conf.png valetudo_conf.png image/png
upload [8] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/tank.png tank.png image/png
upload [7] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/spaceship.png spaceship.png image/png
upload [6] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/root/howto.md root/howto.md text/markdown
upload [5] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/robot1.png robot1.png image/png
upload [4] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/robot.png robot.png image/png
upload [3] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/mihome-vacuum.png mihome-vacuum.png image/png
upload [2] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/index_m.html index_m.html text/html
upload [1] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/index.html index.html text/html
upload [0] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/S5.png S5.png image/png
process exited with code 0
- iobroker.mihome-vacuum@3.0.2added 22 packages from 16 contributors in 72.94s
-
@meistertr Moin, ich teste gerade den neuen (noch nicht auf dem Markt) den Dreame L10 Pro.
Adapter ist grün, aber leider werden nur die Üblichen Datenpunkte erzeugt wie "device Info" & "info".
Falls ich irgendwie helfen kann, einfach melden.
PS: Aktuell lässte er sich nur über den China Server einbinden.Gruß
mihome-vacuum.0 2021-04-02 18:57:10.832 warn (1526) Model dreame.vacuum.p2029 not supported! Please open issue on git: https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/issues mihome-vacuum.0 2021-04-02 18:57:10.832 debug (1526) DeviceModel selected to: dreame.vacuum.p2029 mihome-vacuum.0 2021-04-02 18:57:10.830 debug (1526) Get Device data from robot.. mihome-vacuum.0 2021-04-02 18:57:10.829 debug (1526) Get Device data..1 mihome-vacuum.0 2021-04-02 18:57:10.828 debug (1526) GETMODELFROMAPI:Data: {"partner_id":"","id":2,"code":0,"message":"ok","result":{"hw_ver":"Linux","fw_ver":"3.5.8_1038","ap":{"ssid":"Hust24","bssid":"xxxxxxx","rssi":-43},"netif":{"l mihome-vacuum.0 2021-04-02 18:57:10.821 debug (1526) Get Device data..0 mihome-vacuum.0 2021-04-02 18:57:08.812 debug (1526) GETMODELFROMAPI: objModel: {"val":"dreame.vacuum.p2029","ack":true,"ts":1617xxxxx189,"q":0,"from":"system.adapter.mihome-vacuum.0","user":"system.user.admin","lc":161xxxxx60} mihome-vacuum.0 2021-04-02 18:57:08.803 debug (1526) MAIN: Connected to device, try to get model.. mihome-vacuum.0 2021-04-02 18:57:08.794 debug (1526) server started on 0.0.0.0:53421 mihome-vacuum.0 2021-04-02 18:57:08.779 debug (1526) MIIO: Config: ip:192.168.178.249 token: 737xxxxxxxxxxxxxxxxx4 mihome-vacuum.0 2021-04-02 18:57:08.777 debug (1526) load Map creator... true mihome-vacuum.0 2021-04-02 18:57:08.656 info (1526) check group user admin group admin: false mihome-vacuum.0 2021-04-02 18:57:08.638 info (1526) check user admin pw iobroker: false mihome-vacuum.0 2021-04-02 18:57:08.340 info (1526) starting. Version 3.0.2 in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v10.23.0, js-controller: 3.2.16 mihome-vacuum.0 2021-04-02 18:57:07.541 debug (1526) statesDB connected mihome-vacuum.0 2021-04-02 18:57:07.536 debug (1526) States connected to redis: 127.0.0.1:9010 mihome-vacuum.0 2021-04-02 18:57:07.489 debug (1526) States create User PubSub Client mihome-vacuum.0 2021-04-02 18:57:07.488 debug (1526) States create System PubSub Client mihome-vacuum.0 2021-04-02 18:57:07.464 debug (1526) Redis States: Use Redis connection: 127.0.0.1:9010 mihome-vacuum.0 2021-04-02 18:57:07.459 debug (1526) objectDB connected mihome-vacuum.0 2021-04-02 18:57:07.436 debug (1526) Objects connected to redis: 127.0.0.1:9011 mihome-vacuum.0 2021-04-02 18:57:07.386 debug (1526) Objects client initialize lua scripts mihome-vacuum.0 2021-04-02 18:57:07.385 debug (1526) Objects create User PubSub Client mihome-vacuum.0 2021-04-02 18:57:07.383 debug (1526) Objects create System PubSub Client mihome-vacuum.0 2021-04-02 18:57:07.377 debug (1526) Objects client ready ... initialize now mihome-vacuum.0 2021-04-02 18:57:06.864 debug (1526) Redis Objects: Use Redis connection: 127.0.0.1:9011 mihome-vacuum.0 2021-04-02 18:57:01.857 info (1122) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason mihome-vacuum.0 2021-04-02 18:57:01.855 info (1122) terminating mihome-vacuum.0 2021-04-02 18:57:01.853 info (1122) Got terminate signal TERMINATE_YOURSELF mihome-vacuum.0 2021-04-02 18:56:07.176 warn (1122) Model dreame.vacuum.p2029 not supported! Please open issue on git: https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/issues mihome-vacuum.0 2021-04-02 18:56:07.065 info (1122) check group user admin group admin: false mihome-vacuum.0 2021-04-02 18:56:07.056 info (1122) check user admin pw iobroker: false mihome-vacuum.0 2021-04-02 18:56:06.715 info (1122) starting. Version 3.0.2 in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v10.23.0, js-controller: 3.2.16 mihome-vacuum.0 2021-04-02 18:55:59.896 info (632) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason mihome-vacuum.0 2021-04-02 18:55:59.894 info (632) terminating mihome-vacuum.0 2021-04-02 18:55:59.891 info (632) Got terminate signal TERMINATE_YOURSELF mihome-vacuum.0 2021-04-02 18:55:09.233 warn (632) Model dreame.vacuum.p2029 not supported! Please open issue on git: https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/issues mihome-vacuum.0 2021-04-02 18:55:05.102 info (632) check group user admin group admin: false mihome-vacuum.0 2021-04-02 18:55:05.093 info (632) check user admin pw iobroker: false mihome-vacuum.0 2021-04-02 18:55:04.753 info (632) starting. Version 3.0.2 in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v10.23.0, js-controller: 3.2.16 mihome-vacuum.0 2021-04-02 18:54:57.748 info (32156) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason mihome-vacuum.0 2021-04-02 18:54:57.746 info (32156) terminating mihome-vacuum.0 2021-04-02 18:54:57.743 info (32156) Got terminate signal TERMINATE_YOURSEL
-
@goodold die Dream Modelle kommunizieren anders als die anderen nicht über miio sondern über miot das ist das neue Standartprotokoll von xiaomi mit DID (DeviceID kein Problem kommt mit über die cloud) SID (ServiceID) und PID (ParameterID) wie meine Nachforschungen ergeben haben geht diese Kommunikation auch verschlüsselt über udp wie beim miio (Schonmal gut somit kann man das alte nutzen) Ich bin gerade wieder mal an dem Adapter rewrite und baue es so, dass es Modular aufgebaut ist und schnell und einfach neue Geräte hinzugefügt werden können.
Jetzt Kommt aber das ABER Das Testen der Nachrichten ist sehr zeitaufwendig. Hilfe bietet jeder an (das aber auch nur, wenn es um bugreport und testen geht) für miot gibt es eine webapi wo alle komandos beschrieben sind (Reschere über git adresse ist mi.spect....) Der Adapter bieten in allen Versionen die Möglichkeit eigene Komandos zu schicken. also eigentlich nichts weltbewegendes, was auch jeder Beginner kann.
Ablauf:
1: Komandos SID und PID aus der mi.spect suchen (da gibs für jedes device einen apiurl)
2: config aus admin herunterladen und mit dem Texteditor öffen (unter devices müsste in einer json die DID stehen)
3: am besten in einen Texteditor die Messages zusammenbauen und abschicken und sehen was zurückkommt.
4: das ganze dokumentieren und mir zukommen lassen. dann ist der Roboter im nu eingebundenda fällt mir gerade ein dass es so mit dem adapter noch nciht geht weil die Nachricht auf miio standard geprüft wird. Wenn Interesse besteht mach ich eine Version fertig in der man raw daten senden kann.
-
@Meistertr gild das auch für den xiaomi viomi se ??? ich bekomme denn nicht verbunden mit dem adapter ??
-
@kakacs gibt es da etwas nähere ausführungen? debuglog? wie ist die Modellbezeichnung also viomi.vacuum.xxx
-
@meistertr das model ist viomi.vacuum.v19
wenn ich den andapter von dir installiere kommt das bei der installation raus .$ ./iobroker url "https://github.com/MeisterTR/ioBroker.mihome-vacuum" --debug
install MeisterTR/ioBroker.mihome-vacuum#8a5a2bc9b985bb9e32147e7869f7cec87c183cee
NPM version: 6.14.11
npm install MeisterTR/ioBroker.mihome-vacuum#8a5a2bc9b985bb9e32147e7869f7cec87c183cee --loglevel error --prefix "/opt/iobroker" (System call)canvas@2.7.0 install /opt/iobroker/node_modules/canvas> node-pre-gyp install --fallback-to-build
make: Verzeichnis „/opt/iobroker/node_modules/canvas/build“ wird betreten
SOLINK_MODULE(target) Release/obj.target/canvas-postbuild.node
COPY Release/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
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- iobroker.mihome-vacuum@3.0.2added 23 packages from 15 contributors in 68.776s
52 packages are looking for funding run
npm fund
for details
upload [11] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/words.js words.js application/javascript
upload [10] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/valetudo_logo_small.svg valetudo_logo_small.svg image/svg+xml
upload [9] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/valetudo_conf.png valetudo_conf.png image/png
upload [8] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/tank.png tank.png image/png
upload [7] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/spaceship.png spaceship.png image/png
upload [6] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/root/howto.md root/howto.md text/markdown
upload [5] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/robot1.png robot1.png image/png
upload [4] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/robot.png robot.png image/png
upload [3] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/mihome-vacuum.png mihome-vacuum.png image/png
upload [2] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/index_m.html index_m.html text/html
upload [1] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/index.html index.html text/html
upload [0] mihome-vacuum.admin /opt/iobroker/node_modules/iobroker.mihome-vacuum/admin/S5.png S5.png image/png
process exited with code 0und das kommt beim log raus :
mihome-vacuum.0 2021-04-04 10:59:11.969 warn (19248) Terminated (UNCAUGHT_EXCEPTION): Without reason
mihome-vacuum.0 2021-04-04 10:59:11.967 info (19248) terminating
mihome-vacuum.0 2021-04-04 10:59:11.942 error (19248) Cannot read property 'val' of null
mihome-vacuum.0 2021-04-04 10:59:11.941 error (19248) TypeError: Cannot read property 'val' of null at MihomeVacuum.getModel (/opt/iobroker/node_modules/iobroker.mihome-vacuum/main.js:102:37)
mihome-vacuum.0 2021-04-04 10:59:11.939 error (19248) unhandled promise rejection: Cannot read property 'val' of null
mihome-vacuum.0 2021-04-04 10:59:11.937 error (19248) 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().
mihome-vacuum.0 2021-04-04 10:59:01.898 info (19248) check group user admin group admin: false
mihome-vacuum.0 2021-04-04 10:59:01.893 info (19248) check user admin pw iobroker: true
mihome-vacuum.0 2021-04-04 10:59:01.687 info (19248) starting. Version 3.0.2 in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v12.21.0, js-controller: 3.2.16
mihome-vacuum.0 2021-04-04 10:58:29.564 warn (19214) Terminated (UNCAUGHT_EXCEPTION): Without reason
mihome-vacuum.0 2021-04-04 10:58:29.562 info (19214) terminating
mihome-vacuum.0 2021-04-04 10:58:29.542 error (19214) Cannot read property 'val' of null
mihome-vacuum.0 2021-04-04 10:58:29.541 error (19214) TypeError: Cannot read property 'val' of null at MihomeVacuum.getModel (/opt/iobroker/node_modules/iobroker.mihome-vacuum/main.js:102:37)
mihome-vacuum.0 2021-04-04 10:58:29.539 error (19214) unhandled promise rejection: Cannot read property 'val' of null
mihome-vacuum.0 2021-04-04 10:58:29.538 error (19214) 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().
mihome-vacuum.0 2021-04-04 10:58:19.440 info (19214) check group user admin group admin: false
mihome-vacuum.0 2021-04-04 10:58:19.435 info (19214) check user admin pw iobroker: true
mihome-vacuum.0 2021-04-04 10:58:19.235 info (19214) starting. Version 3.0.2 in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v12.21.0, js-controller: 3.2.16
mihome-vacuum.0 2021-04-04 10:57:47.070 warn (19187) Terminated (UNCAUGHT_EXCEPTION): Without reason
mihome-vacuum.0 2021-04-04 10:57:47.068 info (19187) terminating
mihome-vacuum.0 2021-04-04 10:57:47.044 error (19187) Cannot read property 'val' of null
mihome-vacuum.0 2021-04-04 10:57:47.043 error (19187) TypeError: Cannot read property 'val' of null at MihomeVacuum.getModel (/opt/iobroker/node_modules/iobroker.mihome-vacuum/main.js:102:37)
mihome-vacuum.0 2021-04-04 10:57:47.040 error (19187) unhandled promise rejection: Cannot read property 'val' of null
mihome-vacuum.0 2021-04-04 10:57:47.039 error (19187) 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().
mihome-vacuum.0 2021-04-04 09:57:36.943 info (19187) check group user admin group admin: false
mihome-vacuum.0 2021-04-04 09:57:36.938 info (19187) check user admin pw iobroker: true
mihome-vacuum.0 2021-04-04 09:57:36.729 info (19187) starting. Version 3.0.2 in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v12.21.0, js-controller: 3.2.16
mihome-vacuum.0 2021-04-04 09:56:28.779 warn (19145) Terminated (UNCAUGHT_EXCEPTION): Without reason
mihome-vacuum.0 2021-04-04 09:56:28.776 info (19145) terminating
mihome-vacuum.0 2021-04-04 09:56:28.752 error (19145) Cannot read property 'val' of null
mihome-vacuum.0 2021-04-04 09:56:28.751 error at MihomeVacuum.getModel (/opt/iobroker/node_modules/iobroker.mihome-vacuum/main.js:102:37)
mihome-vacuum.0 2021-04-04 09:56:28.751 error (19145) TypeError: Cannot read property 'val' of null
mihome-vacuum.0 2021-04-04 09:56:28.748 error (19145) unhandled promise rejection: Cannot read property 'val' of null
mihome-vacuum.0 2021-04-04 09:56:28.747 error (19145) 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().
mihome-vacuum.0 2021-04-04 09:56:18.711 info (19145) check group user admin group admin: false
mihome-vacuum.0 2021-04-04 09:56:18.707 info (19145) check user admin pw iobroker: true
mihome-vacuum.0 2021-04-04 09:56:18.498 info (19145) starting. Version 3.0.2 in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v12.21.0, js-controller: 3.2.16
mihome-vacuum.0 2021-04-04 09:55:46.333 warn (19125) Terminated (UNCAUGHT_EXCEPTION): Without reason
mihome-vacuum.0 2021-04-04 09:55:46.330 info (19125) terminating
mihome-vacuum.0 2021-04-04 09:55:46.302 error (19125) Cannot read property 'val' of null
mihome-vacuum.0 2021-04-04 09:55:46.301 error at MihomeVacuum.getModel (/opt/iobroker/node_modules/iobroker.mihome-vacuum/main.js:102:37)
mihome-vacuum.0 2021-04-04 09:55:46.301 error (19125) TypeError: Cannot read property 'val' of null
mihome-vacuum.0 2021-04-04 09:55:46.299 error (19125) unhandled promise rejection: Cannot read property 'val' of null
mihome-vacuum.0 2021-04-04 09:55:46.297 error (19125) 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().
mihome-vacuum.0 2021-04-04 09:55:36.204 info (19125) check group user admin group admin: false
mihome-vacuum.0 2021-04-04 09:55:36.199 info (19125) check user admin pw iobroker: true
mihome-vacuum.0 2021-04-04 09:55:35.993 info (19125) starting. Version 3.0.2 in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v12.21.0, js-controller: 3.2.16
mihome-vacuum.0 2021-04-04 09:55:03.867 warn (19100) Terminated (UNCAUGHT_EXCEPTION): Without reason
mihome-vacuum.0 2021-04-04 09:55:03.864 info (19100) terminating
mihome-vacuum.0 2021-04-04 09:55:03.840 error (19100) Cannot read property 'val' of null
mihome-vacuum.0 2021-04-04 09:55:03.838 error at MihomeVacuum.getModel (/opt/iobroker/node_modules/iobroker.mihome-vacuum/main.js:102:37)
mihome-vacuum.0 2021-04-04 09:55:03.838 error (19100) TypeError: Cannot read property 'val' of null
mihome-vacuum.0 2021-04-04 09:55:03.836 error (19100) unhandled promise rejection: Cannot read property 'val' of null
mihome-vacuum.0 2021-04-04 09:55:03.835 error (19100) 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().
mihome-vacuum.0 2021-04-04 09:54:53.734 info (19100) check group user admin group admin: false
mihome-vacuum.0 2021-04-04 09:54:53.729 info (19100) check user admin pw iobroker: true
mihome-vacuum.0 2021-04-04 09:54:53.507 info (19100) starting. Version 3.0.2 in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v12.21.0, js-controller: 3.2.16
mihome-vacuum.0 2021-04-04 09:54:48.899 info (19033) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
mihome-vacuum.0 2021-04-04 09:54:48.897 info (19033) terminating
mihome-vacuum.0 2021-04-04 09:54:48.894 info (19033) Got terminate signal TERMINATE_YOURSELF
mihome-vacuum.0 2021-04-04 09:52:32.454 info (19033) check group user admin group admin: false
mihome-vacuum.0 2021-04-04 09:52:32.449 info (19033) check user admin pw iobroker: true
mihome-vacuum.0 2021-04-04 09:52:32.235 info (19033) starting. Version 3.0.2 in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v12.21.0, js-controller: 3.2.16aber was mir auffällt ist das ein ganz andere token angezeigt wird als ich von der app ausgelesen habe.
-
@kakacs sagte in Test Adapter mihome-vacuum 3.x.x (STYJ02YM / Viomi):
viomi.vacuum.v19
installiere mal über https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/tarball/rebuild3
-
@meistertr super mit dem wird die instanz grün und unter objekten steht schon mal was
aber es ändert sich nichts an wenn ich den staubsauger starte im log habe ich das jetzt
mihome-vacuum.0 2021-04-04 14:22:50.827 warn (23416) Time difference between Mihome Vacuum and ioBroker: -1617220013 sec
mihome-vacuum.0 2021-04-04 13:21:50.822 warn (23416) Time difference between Mihome Vacuum and ioBroker: -1617220013 sec
mihome-vacuum.0 2021-04-04 13:20:50.934 warn (23416) Model viomi.vacuum.v19 not supported! Please open issue on git: https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/issues
mihome-vacuum.0 2021-04-04 13:20:50.718 warn (23416) Time difference between Mihome Vacuum and ioBroker: -1617220014 sec
mihome-vacuum.0 2021-04-04 13:20:50.639 info (23416) check group user admin group admin: false
mihome-vacuum.0 2021-04-04 13:20:50.633 info (23416) check user admin pw iobroker: true
mihome-vacuum.0 2021-04-04 13:20:50.408 info (23416) starting. Version 3.0.0 in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v12.21.0, js-controller: 3.2.16
mihome-vacuum.0 2021-04-04 13:20:45.741 info (23341) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
mihome-vacuum.0 2021-04-04 13:20:45.739 info (23341) terminating
mihome-vacuum.0 2021-04-04 13:20:45.736 info (23341) Got terminate signal TERMINATE_YOURSELF
mihome-vacuum.0 2021-04-04 13:20:28.689 warn (23341) Time difference between Mihome Vacuum and ioBroker: -1617220014 sec
mihome-vacuum.0 2021-04-04 13:19:28.676 warn (23341) Time difference between Mihome Vacuum and ioBroker: -1617220014 sec
mihome-vacuum.0 2021-04-04 13:18:28.669 warn (23341) Time difference between Mihome Vacuum and ioBroker: -1617220014 sec
mihome-vacuum.0 2021-04-04 13:17:30.856 warn (23341) Model viomi.vacuum.v19 not supported! Please open issue on git: https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/issues
mihome-vacuum.0 2021-04-04 13:17:28.662 warn (23341) Time difference between Mihome Vacuum and ioBroker: -1617220014 sec -
@kakacs bitte mal auf debug stellen und den log posten
-
@meistertr jetzt musst du mir helfen wie stell ich denn auf debug??
-
-
@meistertr danke
mihome-vacuum.0 2021-04-04 14:47:43.491 warn (25026) Time difference between Mihome Vacuum and ioBroker: -1617220014 sec
mihome-vacuum.0 2021-04-04 14:47:43.488 debug (25026) Receive <<< Helo <<< 21310020000000001661f4ca0004f1d1ffffffffffffffffffffffffffffffff
mihome-vacuum.0 2021-04-04 14:46:43.720 warn (25026) Model viomi.vacuum.v19 not supported! Please open issue on git: https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/issues
mihome-vacuum.0 2021-04-04 14:46:43.720 debug (25026) DeviceModel selected to: viomi.vacuum.v19
mihome-vacuum.0 2021-04-04 14:46:43.719 debug (25026) Get Device data from robot..
mihome-vacuum.0 2021-04-04 14:46:43.718 debug (25026) Get Device data..0
mihome-vacuum.0 2021-04-04 14:46:43.718 debug (25026) GETMODELFROMAPI:Data: {"id":1,"result":{"life":323990,"uid":6432461162,"model":"viomi.vacuum.v19","token":"494a4234547a4874416c424646664652","ipflag":1,"miio_ver":"0.0.8","mac":"5C:6B:D7:0B:C
mihome-vacuum.0 2021-04-04 14:46:43.717 debug (25026) MIIO RECIVE: {"id":1,"result":{"life":323990,"uid":6432461162,"model":"viomi.vacuum.v19","token":"494a4234547a4874416c424646664652","ipflag":1,"miio_ver":"0.0.8","mac":"5C:6B:D7:0B:CA:E7","fw
mihome-vacuum.0 2021-04-04 14:46:43.511 debug (25026) Message= {"id":1,"method":"miIO.info"}
mihome-vacuum.0 2021-04-04 14:46:43.509 debug (25026) GETMODELFROMAPI: objModel: {"val":"viomi.vacuum.v19","ack":true,"ts":1617543894399,"q":0,"from":"system.adapter.mihome-vacuum.0","user":"system.user.admin","lc":1617538571877}
mihome-vacuum.0 2021-04-04 14:46:43.396 warn (25026) Time difference between Mihome Vacuum and ioBroker: -1617220014 sec
mihome-vacuum.0 2021-04-04 14:46:43.393 debug (25026) MAIN: Connected to device, try to get model..
mihome-vacuum.0 2021-04-04 14:46:43.392 debug (25026) Receive <<< Helo <<< 21310020000000001661f4ca0004f195ffffffffffffffffffffffffffffffff
mihome-vacuum.0 2021-04-04 14:46:43.306 debug (25026) server started on 0.0.0.0:53421
mihome-vacuum.0 2021-04-04 14:46:43.298 debug (25026) MIIO: Config: ip:192.168.178.75 token: 494a4234547a4874416c424646664652
mihome-vacuum.0 2021-04-04 14:46:43.296 info (25026) check group user admin group admin: false
mihome-vacuum.0 2021-04-04 14:46:43.291 info (25026) check user admin pw iobroker: true
mihome-vacuum.0 2021-04-04 14:46:43.078 info (25026) starting. Version 3.0.0 in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v12.21.0, js-controller: 3.2.16
mihome-vacuum.0 2021-04-04 14:46:42.875 debug (25026) statesDB connected
mihome-vacuum.0 2021-04-04 14:46:42.874 debug (25026) States connected to redis: 127.0.0.1:9000
mihome-vacuum.0 2021-04-04 14:46:42.862 debug (25026) States create User PubSub Client
mihome-vacuum.0 2021-04-04 14:46:42.861 debug (25026) States create System PubSub Client
mihome-vacuum.0 2021-04-04 14:46:42.849 debug (25026) Redis States: Use Redis connection: 127.0.0.1:9000
mihome-vacuum.0 2021-04-04 14:46:42.847 debug (25026) objectDB connected
mihome-vacuum.0 2021-04-04 14:46:42.837 debug (25026) Objects connected to redis: 127.0.0.1:9001
mihome-vacuum.0 2021-04-04 14:46:42.819 debug (25026) Objects client initialize lua scripts
mihome-vacuum.0 2021-04-04 14:46:42.818 debug (25026) Objects create User PubSub Client
mihome-vacuum.0 2021-04-04 14:46:42.816 debug (25026) Objects create System PubSub Client
mihome-vacuum.0 2021-04-04 14:46:42.805 debug (25026) Objects client ready ... initialize now
mihome-vacuum.0 2021-04-04 14:46:42.764 debug (25026) Redis Objects: Use Redis connection: 127.0.0.1:9001
mihome-vacuum.0 2021-04-04 14:46:38.420 info (24980) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
mihome-vacuum.0 2021-04-04 14:46:38.417 info (24980) terminating
mihome-vacuum.0 2021-04-04 14:46:38.414 info (24980) Got terminate signal TERMINATE_YOURSELF -
@meistertr
mihome-vacuum.0 2021-04-04 15:58:57.637 warn (1208) Time difference between Mihome Vacuum and ioBroker: -1617220013 sec
mihome-vacuum.0 2021-04-04 15:58:57.635 debug (1208) Receive <<< Helo <<< 21310020000000001661f4ca0004f474ffffffffffffffffffffffffffffffff
mihome-vacuum.0 2021-04-04 15:58:56.681 debug (1208) system.adapter.admin.0: logging true
mihome-vacuum.0 2021-04-04 14:58:22.365 debug (1208) sendTo "discovery" to system.adapter.admin.0 from system.adapter.mihome-vacuum.0
mihome-vacuum.0 2021-04-04 14:58:22.364 debug (1208) discover__[{"did":"375518410","token":"494a4234547a4874416c424646664652","longitude":"0.00000000","latitude":"0.00000000","name":"Viomi SE","pid":"0","localip":"192.168.178.75","mac":"5C:6B:D7
mihome-vacuum.0 2021-04-04 14:58:22.362 debug (1208) {"code":0,"message":"ok","result":{"list":[{"did":"375518410","token":"494a4234547a4874416c424646664652","longitude":"0.00000000","latitude":"0.00000000","name":"Viomi SE","pid":"0","localip":
mihome-vacuum.0 2021-04-04 14:58:22.231 debug (1208) GET devices from:https://de.api.io.mi.com/app/home/device_list
mihome-vacuum.0 2021-04-04 14:58:22.223 debug (1208) Xiaomi Cloud: Login successful
mihome-vacuum.0 2021-04-04 14:58:22.222 debug (1208) Login step3: [{"key":"userId","value":"6432461162","domain":"sts.api.io.mi.com","path":"/","hostOnly":false,"creation":"2021-04-04T13:58:22.179Z","lastAccessed":"2021-04-04T13:58:22.220Z"},{"k
mihome-vacuum.0 2021-04-04 14:58:21.945 debug (1208) Login step2: &&&START&&&{"qs":"%3Fsid%3Dxiaomiio%26_json%3Dtrue","ssecurity":"XXyyLiOls5U1ionL2h/ygw==","code":0,"passToken":"V1:bOtEAOudpqEL/PTNVjfNjI1KRycqTK7DU62Fk/J18icmBS60DBX3c+rn/eV5WKs
mihome-vacuum.0 2021-04-04 14:58:21.340 debug (1208) Login step1: &&&START&&&{"serviceParam":"{"checkSafePhone":false,"checkSafeAddress":false,"lsrp_score":0.0}","qs":"%3Fsid%3Dxiaomiio%26_json%3Dtrue","code":70016,"captchaUrl":null,"callb
mihome-vacuum.0 2021-04-04 14:58:20.465 debug (1208) Xiaomi Cloud: Logging in
mihome-vacuum.0 2021-04-04 14:57:57.631 warn (1208) Time difference between Mihome Vacuum and ioBroker: -1617220013 sec
mihome-vacuum.0 2021-04-04 14:57:57.629 debug (1208) Receive <<< Helo <<< 21310020000000001661f4ca0004f438ffffffffffffffffffffffffffffffff
mihome-vacuum.0 2021-04-04 14:57:53.101 debug (1208) system.adapter.admin.0: logging false
mihome-vacuum.0 2021-04-04 14:56:57.590 warn (1208) Time difference between Mihome Vacuum and ioBroker: -1617220013 sec
mihome-vacuum.0 2021-04-04 14:56:57.589 debug (1208) Receive <<< Helo <<< 21310020000000001661f4ca0004f3fcffffffffffffffffffffffffffffffff
mihome-vacuum.0 2021-04-04 14:55:57.559 warn (1208) Time difference between Mihome Vacuum and ioBroker: -1617220014 sec
mihome-vacuum.0 2021-04-04 14:55:57.558 debug (1208) Receive <<< Helo <<< 21310020000000001661f4ca0004f3bfffffffffffffffffffffffffffffffff
mihome-vacuum.0 2021-04-04 14:54:57.502 warn (1208) Time difference between Mihome Vacuum and ioBroker: -1617220014 sec
mihome-vacuum.0 2021-04-04 14:54:57.500 debug (1208) Receive <<< Helo <<< 21310020000000001661f4ca0004f383ffffffffffffffffffffffffffffffff
mihome-vacuum.0 2021-04-04 14:53:57.741 warn (1208) Model viomi.vacuum.v19 not supported! Please open issue on git: https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/issues
mihome-vacuum.0 2021-04-04 14:53:57.740 debug (1208) DeviceModel selected to: viomi.vacuum.v19
mihome-vacuum.0 2021-04-04 14:53:57.739 debug (1208) Get Device data from robot..
mihome-vacuum.0 2021-04-04 14:53:57.739 debug (1208) Get Device data..0
mihome-vacuum.0 2021-04-04 14:53:57.738 debug (1208) GETMODELFROMAPI:Data: {"id":1,"result":{"life":324424,"uid":6432461162,"model":"viomi.vacuum.v19","token":"494a4234547a4874416c424646664652","ipflag":1,"miio_ver":"0.0.8","mac":"5C:6B:D7:0B:CA
mihome-vacuum.0 2021-04-04 14:53:57.738 debug (1208) MIIO RECIVE: {"id":1,"result":{"life":324424,"uid":6432461162,"model":"viomi.vacuum.v19","token":"494a4234547a4874416c424646664652","ipflag":1,"miio_ver":"0.0.8","mac":"5C:6B:D7:0B:CA:E7","fw_
mihome-vacuum.0 2021-04-04 14:53:57.442 debug (1208) Message= {"id":1,"method":"miIO.info"}
mihome-vacuum.0 2021-04-04 14:53:57.440 debug (1208) GETMODELFROMAPI: objModel: {"val":"viomi.vacuum.v19","ack":true,"ts":1617544003728,"q":0,"from":"system.adapter.mihome-vacuum.0","user":"system.user.admin","lc":1617538571877}
mihome-vacuum.0 2021-04-04 14:53:57.436 warn (1208) Time difference between Mihome Vacuum and ioBroker: -1617220014 sec
mihome-vacuum.0 2021-04-04 14:53:57.433 debug (1208) MAIN: Connected to device, try to get model..
mihome-vacuum.0 2021-04-04 14:53:57.432 debug (1208) Receive <<< Helo <<< 21310020000000001661f4ca0004f347ffffffffffffffffffffffffffffffff
mihome-vacuum.0 2021-04-04 14:53:57.340 debug (1208) server started on 0.0.0.0:53421
mihome-vacuum.0 2021-04-04 14:53:57.332 debug (1208) MIIO: Config: ip:192.168.178.75 token: 494a4234547a4874416c424646664652
mihome-vacuum.0 2021-04-04 14:53:57.330 info (1208) check group user admin group admin: false
mihome-vacuum.0 2021-04-04 14:53:57.325 info (1208) check user admin pw iobroker: true
mihome-vacuum.0 2021-04-04 14:53:57.113 info (1208) starting. Version 3.0.0 in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v12.22.0, js-controller: 3.2.16
mihome-vacuum.0 2021-04-04 14:53:56.874 debug (1208) statesDB connected
mihome-vacuum.0 2021-04-04 14:53:56.873 debug (1208) States connected to redis: 127.0.0.1:9000
mihome-vacuum.0 2021-04-04 14:53:56.866 debug (1208) States create User PubSub Client
mihome-vacuum.0 2021-04-04 14:53:56.864 debug (1208) States create System PubSub Client
mihome-vacuum.0 2021-04-04 14:53:56.857 debug (1208) Redis States: Use Redis connection: 127.0.0.1:9000
mihome-vacuum.0 2021-04-04 14:53:56.854 debug (1208) objectDB connected
mihome-vacuum.0 2021-04-04 14:53:56.845 debug (1208) Objects connected to redis: 127.0.0.1:9001
mihome-vacuum.0 2021-04-04 14:53:56.822 debug (1208) Objects client initialize lua scripts
mihome-vacuum.0 2021-04-04 14:53:56.821 debug (1208) Objects create User PubSub Client
mihome-vacuum.0 2021-04-04 14:53:56.819 debug (1208) Objects create System PubSub Client
mihome-vacuum.0 2021-04-04 14:53:56.816 debug (1208) Objects client ready ... initialize now
mihome-vacuum.0 2021-04-04 14:53:56.753 debug (1208) Redis Objects: Use Redis connection: 127.0.0.1:9001 -
@kakacs sagte in Test Adapter mihome-vacuum 3.x.x (STYJ02YM / Viomi):
viomi.vacuum.v19
bitte nochmal von git installieren und debug posten (bitte log in codetags)
-
@meistertr @meistertr said in Test Adapter mihome-vacuum 3.x.x (STYJ02YM / Viomi):
log in codetags
ok mache ich wie geht das mit log in code tags ??? bin noch nicht so fit mit iobroker sorry.
hast du geshen in dem log was ich gepostet habe ws bedeutet das
Time difference between Mihome Vacuum and ioBroker ich installier den adapter noch mal neu den du mir empfohlen hast richtig?? und soll ich erst wieder löschen ?? -
@meistertr hab den gelöscht und will den noch mal installieren und dann kommt das
$ ./iobroker url " https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/tarball/rebuild3" --debug
install "
NPM version: 6.14.11
npm install " --loglevel error --prefix "/opt/iobroker" (System call)
/bin/sh: 1: Syntax error: Unterminated quoted string
ERROR: host.raspberrypi Cannot install ": 2
ERROR: process exited with code 25 -
@kakacs sagte in Test Adapter mihome-vacuum 3.x.x (STYJ02YM / Viomi):
leerzeichen davor
-
@kakacs löschen brachst du ihn vor dem drüber installieren nicht. das sind nur kleine Änderungen die ich vornehme. Die Timedifference ist nebensächlich, das bedeutet nur dass der roboter und der adapter unterschiedliche uhrzeiten haben und die Nachrichten daran angepasst werden
-
@meistertr ok ich hab denn jetzt schon gelöscht wie meinst du leerzeichen davor