@tombox jetzt Funktioniert es
NEWS
Latest posts made by kasperfunsurfer
-
RE: Test Dreame Home Adapter
Hallo.
Das ganze läuft auf einem Raspberry Pi.
Als Adresse zum Download benutze ich diese https://github.com/TA2k/ioBroker.dreameWas mich wundert es lief ja schon mal. Habe es ja versehentlich gelöscht und nun lässt es sich nicht mehr Installieren. Fehler Code siehe oben.
Grüße Timo
-
RE: Test Dreame Home Adapter
Hallo zusammen und frohes neues Jahr,
habe den Dream Adapter erfolgreich Installiert und auch Probiert war alles I.O.
Durch eine blöde Unaufmerksamkeit habe ich versehentlich den Adapter gelöscht. Jetzt kann ich warum auch immer den Adapter nicht erneut Installieren. Es kommt folgende Meldung woraus ich nicht schlauch werde. Vielleicht hat ja jemand einen Tipp um das zu fixen. Danke schon mal im voraus.$ iobroker url https://github.com/TA2k/ioBroker.dreame --host iobroker --debug
install TA2k/ioBroker.dreame#9ce22397cdf5170062bdad3eb86f21542fc9f1e2
NPM version: 10.7.0
Installing TA2k/ioBroker.dreame#9ce22397cdf5170062bdad3eb86f21542fc9f1e2... (System call)
npm warn skipping integrity check for git dependency ssh://git@github.com/TA2k/ioBroker.dreame.git
canvas@3.0.1 install
prebuild-install -r napi || node-gyp rebuild
prebuild-install warn install No prebuilt binaries found (target=7 runtime=napi arch=arm64 libc= platform=linux)
gyp info it worked if it ends with ok
gyp info using node-gyp@10.1.0gyp info using node@20.15.0 | linux | arm64
gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
gyp info spawn /usr/bin/python3
gyp info spawn args [gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',gyp info spawn args 'binding.gyp',gyp info spawn args '-f',gyp info spawn args 'make',gyp info spawn args '-I',gyp info spawn args '/opt/iobroker/node_modules/iobroker.dreame/node_modules/canvas/build/config.gypi',gyp info spawn args '-I',gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',gyp info spawn args '-I',gyp info spawn args '/home/iobroker/.cache/node-gyp/20.15.0/include/node/common.gypi',gyp info spawn args '-Dlibrary=shared_library',gyp info spawn args '-Dvisibility=default',gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/20.15.0',gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/20.15.0/<(target_arch)/node.lib',gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/iobroker.dreame/node_modules/canvas',gyp info spawn args '-Dnode_engine=v8',gyp info spawn args '--depth=.',gyp info spawn args '--no-parallel',gyp info spawn args '--generator-output',gyp info spawn args 'build',gyp info spawn args '-Goutput_dir=.'gyp info spawn args ]
gyp info spawn make
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
CXX(target) Release/obj.target/canvas/src/Backends.o
CXX(target) Release/obj.target/canvas/src/Canvas.o
In file included from /home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:76, from /home/iobroker/.cache/node-gyp/20.15.0/include/node/node_buffer.h:25,
from ../src/backend/Backend.h:6, from ../src/Canvas.h:7, from ../src/Canvas.cc:3:/home/iobroker/.cache/node-gyp/20.15.0/include/node/js_native_api.h:20: note: this is the location of the previous definition 20 | #define NAPI_VERSION 8 |
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
In file included from /home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:76, from /home/iobroker/.cache/node-gyp/20.15.0/include/node/node_buffer.h:25,
from ../src/Image.cc:11:/home/iobroker/.cache/node-gyp/20.15.0/include/node/node_version.h:103: warning: "NAPI_VERSION" redefined 103 | #define NAPI_VERSION 9 |
In file included from /home/iobroker/.cache/node-gyp/20.15.0/include/node/node_api.h:12, from ../../node-addon-api/napi.h:13, from ../src/CanvasError.h:4, from ../src/Image.h:6, from ../src/Image.cc:3:/home/iobroker/.cache/node-gyp/20.15.0/include/node/js_native_api.h:20: note: this is the location of the previous definition 20 | #define NAPI_VERSION 8 |
../src/Image.cc: In member function ‘cairo_status_t Image::loadSVGFromBuffer(uint8_t*, unsigned int)’:
../src/Image.cc:1483:3: error: ‘rsvg_handle_get_intrinsic_size_in_pixels’ was not declared in this scope; did you mean ‘rsvg_handle_get_intrinsic_dimensions’? 1483 | rsvg_handle_get_intrinsic_size_in_pixels(_rsvg, &d_width, &d_height); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | rsvg_handle_get_intrinsic_dimensions
make: *** [canvas.target.mk:161: Release/obj.target/canvas/src/Image.o] Error 1
make: Leaving directory '/opt/iobroker/node_modules/iobroker.dreame/node_modules/canvas/build'
gyp ERR! build error
gyp ERR! stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:209:23)gyp ERR! System Linux 6.1.21-v8+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/iobroker.dreame/node_modules/canvasgyp ERR! node -v v20.15.0gyp ERR! node-gyp -v v10.1.0gyp ERR! not ok
npm error code 1npm error path /opt/iobroker/node_modules/iobroker.dreame/node_modules/canvas
npm error command failednpm error command sh -c prebuild-install -r napi || node-gyp rebuild
npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-01-05T13_40_08_539Z-debug-0.log
npm warn skipping integrity check for git dependency ssh://git@github.com/TA2k/ioBroker.dreame.gitprebuild-install warn install No prebuilt binaries found (target=7 runtime=napi arch=arm64 libc= platform=linux)gyp info it worked if it ends with okgyp info using node-gyp@10.1.0gyp info using node@20.15.0 | linux | arm64gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"gyp info spawn /usr/bin/python3gyp info spawn args [gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',gyp info spawn args 'binding.gyp',gyp info spawn args '-f',gyp info spawn args 'make',gyp info spawn args '-I',gyp info spawn args '/opt/iobroker/node_modules/iobroker.dreame/node_modules/canvas/build/config.gypi',gyp info spawn args '-I',gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',gyp info spawn args '-I',gyp info spawn args '/home/iobroker/.cache/node-gyp/20.15.0/include/node/common.gypi',gyp info spawn args '-Dlibrary=shared_library',gyp info spawn args '-Dvisibility=default',gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/20.15.0',gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/20.15.0/<(target_arch)/node.lib',gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/iobroker.dreame/node_modules/canvas',gyp info spawn args '-Dnode_engine=v8',gyp info spawn args '--depth=.',gyp info spawn args '--no-parallel',gyp info spawn args '--generator-output',gyp info spawn args 'build',gyp info spawn args '-Goutput_dir=.'gyp info spawn args ]gyp info spawn makegyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]In file included from /home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:76, from /home/iobroker/.cache/node-gyp/20.15.0/include/node/node_buffer.h:25, from ../src/Canvas.cc:23:/home/iobroker/.cache/node-gyp/20.15.0/include/node/node_version.h:103: warning: "NAPI_VERSION" redefined 103 | #define NAPI_VERSION 9 | In file included from /home/iobroker/.cache/node-gyp/20.15.0/include/node/node_api.h:12, from ../../node-addon-api/napi.h:13, from ../src/backend/Backend.h:6, from ../src/Canvas.h:7, from ../src/Canvas.cc:3:/home/iobroker/.cache/node-gyp/20.15.0/include/node/js_native_api.h:20: note: this is the location of the previous definition 20 | #define NAPI_VERSION 8 | In file included from /home/iobroker/.cache/node-gyp/20.15.0/include/node/node.h:76, from /home/iobroker/.cache/node-gyp/20.15.0/include/node/node_buffer.h:25, from ../src/Image.cc:11:/home/iobroker/.cache/node-gyp/20.15.0/include/node/node_version.h:103: warning: "NAPI_VERSION" redefined 103 | #define NAPI_VERSION 9 | In file included from /home/iobroker/.cache/node-gyp/20.15.0/include/node/node_api.h:12, from ../../node-addon-api/napi.h:13, from ../src/CanvasError.h:4, from ../src/Image.h:6, from ../src/Image.cc:3:/home/iobroker/.cache/node-gyp/20.15.0/include/node/js_native_api.h:20: note: this is the location of the previous definition 20 | #define NAPI_VERSION 8 | ../src/Image.cc: In member function ‘cairo_status_t Image::loadSVGFromBuffer(uint8_t*, unsigned int)’:../src/Image.cc:1483:3: error: ‘rsvg_handle_get_intrinsic_size_in_pixels’ was not declared in this scope; did you mean ‘rsvg_handle_get_intrinsic_dimensions’? 1483 | rsvg_handle_get_intrinsic_size_in_pixels(_rsvg, &d_width, &d_height); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | rsvg_handle_get_intrinsic_dimensionsmake: *** [canvas.target.mk:161: Release/obj.target/canvas/src/Image.o] Error 1gyp ERR! build error gyp ERR! stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:209:23)gyp ERR! System Linux 6.1.21-v8+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/iobroker.dreame/node_modules/canvasgyp ERR! node -v v20.15.0gyp ERR! node-gyp -v v10.1.0gyp ERR! not ok npm error code 1npm error path /opt/iobroker/node_modules/iobroker.dreame/node_modules/canvasnpm error command failednpm error command sh -c prebuild-install -r napi || node-gyp rebuildnpm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-01-05T13_40_08_539Z-debug-0.loghost.iobroker Cannot install TA2k/ioBroker.dreame#9ce22397cdf5170062bdad3eb86f21542fc9f1e2: 1
ERROR: Process exited with code 25
Grüßle Timo
-
VW Connect Ladungen auslesen wie am besten
Hallo zusammen,
habe mal wieder ein Problem. Ich möchte von dem VW Connect Adapter die Records Ladedaten auslesen. Nur weiße ich leider nicht wie ich das machen soll da ich von Java fast keine Ahnung habe. Über Hilfe würde ich mich freuen. Das ganze soll dann in die Vis eingebunden werden.
Wie soll es aussehen. Dachte ungefähr so an die Daten:
location_Adress
location_Name
start_date_time
total_energy
total_prise
total_time -
RE: Script Adapter neu Starten lassen
Hallo und danke erstmal.
Ich suche ein Script was wenn der Adapter 5 Min keine werte liefert Automatisch neu Startet. Also sprich über einen Zeit Stempel von dem Abgerufenen Wert.
@Mic die Ursache versteht ich nicht. Der Parser Adapter ruft werte von einem Raspi alle 30sec ab. Aber manchmal hängt sich der Adapter einfach auf. Am Raspi liegt es nicht weil wenn der Parser keine Daten abruft der Raspi Automatisch neu Startet.
Grüße
-
Script Adapter neu Starten lassen
Hallo zusammen,
ich bräuchte mal wieder euere Hilfe Und zwar geht es darum das ich ein Script bräuchte was den Parser Adapter neu Starten lässt.
Sprich wenn 5 Minuten keine Werte an Iobroker übertragen werden das der Parser Adapter neu Startet wie realisiert man sowas ?Grüße Timo
-
RE: Kamera PTZ Steuerung von Vis
@paul53 sauber stimmt mal wieder.
Mal wieder vielen DANK und großes Lob an dich !!
-
RE: Kamera PTZ Steuerung von Vis
Das ist jetzt mein Komlpettes Script was fehlt denn da bzw. was muss da noch hin ?
// Steuerkreuz createState("VIS.Webcam_Wohnzimmer_Steuerung", {name: 'VIS Webcam Wohnzimmer Steuerung'}); // right, left, up, down, ... komt von VIS var url = 'http://****@192.168.2.'; var param = ':81/param.cgi?cmd=preset&-act=goto&-number='; on({id: 'javascript.0.VIS.Webcam_Wohnzimmer_Steuerung'}, function(dp) { var pos = dp.state.val; var addr = 111; if(pos >= 2) { pos = pos - 2; addr = 111; } var cmd = url + addr + param + pos; request(cmd, function (err, state, body){ if (body) { log(cmd, 'debug'); } else { log('Drehbefehl' + pos + 'nicht übertragen, Kamera nicht bewegt, Fehler bei Ansteuerung!', 'warn'); } }); });
-
RE: Kamera PTZ Steuerung von Vis
@paul53 sauber so geht es schon mal.
Jetzt haben wir ja 192.168.2.111 Position 2 und 3
wie würde es jetzt aussehen mit noch einer Kamera 192.168.2.110 Position 0 und 1 ????