NEWS
Test Adapter mihome-vacuum 3.x.x (STYJ02YM / Viomi)
-
@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
-
@kakacs Du hattest vor dem Link nen Leerzeichen
-
@audi1503 hab ich gemerckt grins ist das normal alles was da steht beim installieren
$ ./iobroker url "https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/tarball/rebuild3" --debug
install iobroker-community-adapters/ioBroker.mihome-vacuum#rebuild3
NPM version: 6.14.11npm install iobroker-community-adapters/ioBroker.mihome-vacuum#rebuild3 --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.0
added 23 packages from 15 contributors in 70.367s
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 0das sagt der log jetzt
mihome-vacuum.0 2021-04-04 17:14:52.696 debug (2687) system.adapter.admin.0: logging true
mihome-vacuum.0 2021-04-04 16:14:51.546 debug (2687) Recievded params for viomi: {"result":[],"id":5,"exe_time":100}
mihome-vacuum.0 2021-04-04 16:14:51.545 debug (2687) MIIO RECIVE: {"result":[],"id":5,"exe_time":100}
mihome-vacuum.0 2021-04-04 16:14:51.206 debug (2687) Message= {"id":5,"method":"get_prop","params":["run_state","suction_grade","mode","err_state","battary_life","start_time","order_time","s_time","s_area","v_state","zone_data","repeat_state","r
mihome-vacuum.0 2021-04-04 16:14:51.204 debug (2687) get params for Viomi
mihome-vacuum.0 2021-04-04 16:14:49.851 warn (2687) Time difference between Mihome Vacuum and ioBroker: -1617220013 sec
mihome-vacuum.0 2021-04-04 16:14:49.849 debug (2687) Receive <<< Helo <<< 21310020000000001661f4ca0005063cffffffffffffffffffffffffffffffff
mihome-vacuum.0 2021-04-04 16:14:31.203 debug (2687) Recievded params for viomi: {"result":[],"id":4,"exe_time":100}
mihome-vacuum.0 2021-04-04 16:14:31.201 debug (2687) MIIO RECIVE: {"result":[],"id":4,"exe_time":100}
mihome-vacuum.0 2021-04-04 16:14:30.897 debug (2687) system.adapter.admin.0: logging false
mihome-vacuum.0 2021-04-04 16:14:30.649 debug (2687) Message= {"id":4,"method":"get_prop","params":["run_state","suction_grade","mode","err_state","battary_life","start_time","order_time","s_time","s_area","v_state","zone_data","repeat_state","r
mihome-vacuum.0 2021-04-04 16:14:30.647 debug (2687) get params for Viomi
mihome-vacuum.0 2021-04-04 16:14:10.645 debug (2687) Recievded params for viomi: {"result":[],"id":3,"exe_time":100}
mihome-vacuum.0 2021-04-04 16:14:10.644 debug (2687) MIIO RECIVE: {"result":[],"id":3,"exe_time":100}
mihome-vacuum.0 2021-04-04 16:14:10.420 debug (2687) Message= {"id":3,"method":"get_prop","params":["run_state","suction_grade","mode","err_state","battary_life","start_time","order_time","s_time","s_area","v_state","zone_data","repeat_state","rund es steht defentiv mehr drin
- iobroker.mihome-vacuum@3.0.0
-
@meistertr also ich kann jetzt über objecte steuern super arbeit echt ist das den möglich das ich den über alexa starten kann weil ja da in einstellung von dem adapter gibt die option füge ein status für alexa zu ??
-
@meistertr Kann mit dem Adapter auch den mijia.vacuum.v2 steuern oder sind das auch andere Befehle wie mit dem Dreame.vacuum.mc1808. Diese beiden hab ich und die lassen sich noch nicht einbinden.
-
@kakacs aldos starten und stoppen geht?