NEWS
[Neuer Adapter] EuSec
-
@thomas-braun die veraltete nodeJS
-
Mit
sudo ln -s /usr/bin/node /usr/bin/nodejs which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
dann schauen ob das alles senkrecht im System hängt.
-
@thomas-braun said in [Neuer Adapter] EuSec:
which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
[16:16:01] openhabian@openhab:/opt/iobroker$ sudo ln -s /usr/bin/node /usr/bin/n odejs ln: die symbolische Verknüpfung '/usr/bin/nodejs' konnte nicht angelegt werden: Die Datei existiert bereits [16:17:07] openhabian@openhab:/opt/iobroker$ which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo ap t update && apt policy nodejs /usr/bin/nodejs /usr/bin/node /usr/bin/npm v14.19.0 v14.19.0 6.14.16 openhabian /opt/iobroker [16:15:56] openhabian@openhab:/opt/iobroker$ iobroker start [16:16:01] openhabian@openhab:/opt/iobroker$ sudo ln -s /usr/bin/node /usr/bin/n odejs ln: die symbolische Verknüpfung '/usr/bin/nodejs' konnte nicht angelegt werden: Die Datei existiert bereits [16:17:07] openhabian@openhab:/opt/iobroker$ which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo ap t update && apt policy nodejs /usr/bin/nodejs /usr/bin/node /usr/bin/npm v14.19.0 v14.19.0 6.14.16 openhabian /opt/iobroker OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease OK:2 http://phoscon.de/apt/deconz buster-beta InRelease OK:3 http://archive.raspberrypi.org/debian buster InRelease OK:4 https://deb.nodesource.com/node_14.x buster InRelease OK:5 https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Aktualisierung für 26 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen. nodejs: Installiert: 14.19.0-deb-1nodesource1 Installationskandidat: 14.19.0-deb-1nodesource1 Versionstabelle: *** 14.19.0-deb-1nodesource1 500 500 https://deb.nodesource.com/node_14.x buster/main armhf Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [16:17:59] openhabian@openhab:/opt/iobroker$ [16:15:56] openhabian@openhab:/opt/ iobroker$ iobroker start -bash: [16:15:56]: Kommando nicht gefunden. [16:18:00] openhabian@openhab:/opt/iobroker$ [16:16:01] openhabian@openhab:/opt/ iobroker$ sudo ln -s /usr/bin/node /usr/bin/nodejs -bash: [16:16:01]: Kommando nicht gefunden. [16:18:00] openhabian@openhab:/opt/iobroker$ ln: die symbolische Verknüpfung '/u sr/bin/nodejs' konnte nicht angelegt werden: Die Datei existiert bereits -bash: ln:: Kommando nicht gefunden. [16:18:00] openhabian@openhab:/opt/iobroker$ [16:17:07] openhabian@openhab:/opt/ iobroker$ which nodejs node npm && nodejs -v && node -v && npm -v && whoami && p wd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs -bash: [16:17:07]: Kommando nicht gefunden. [16:18:00] openhabian@openhab:/opt/iobroker$ /usr/bin/nodejs Welcome to Node.js v14.19.0. Type ".help" for more information. > /usr/bin/node /usr/bin/node ^ Uncaught SyntaxError: Invalid regular expression flags > /usr/bin/npm /usr/bin/npm ^ Uncaught SyntaxError: Invalid regular expression flags > v14.19.0 v14.19.0 ^^^ Uncaught SyntaxError: Unexpected number > v14.19.0 v14.19.0 ^^^ Uncaught SyntaxError: Unexpected number > 6.14.16 6.14.16 ^^^ Uncaught SyntaxError: Unexpected number > openhabian Uncaught ReferenceError: openhabian is not defined > /opt/iobroker /opt/iobroker ^ Uncaught SyntaxError: Invalid regular expression flags >
-
@marko1974 sagte in [Neuer Adapter] EuSec:
Okay, soweit schaut das sauber aus.
Die
Aktualisierung für 26 Pakete verfügbar.
würde ich aber auch noch eintüten.
-
@thomas-braun also bisher läuft da nichts sauber....immer noch das gleiche wie vorher
eintüten?
-
sudo apt update sudo apt full-upgrade sudo reboot
-
@thomas-braun said in [Neuer Adapter] EuSec:
sudo apt full-upgrade
achso ja...das hatte ich soben gemacht...nur noch mal eben rebooten
-
@thomas-braun ursprünglich wollte ich eigentlich nur, wenn ein bild erfasst wird in einer meiner eufy 2c (keine cloud) dieses an telegram schicken. meinentwegen auch ein video. Ich hatte das schonmal probiert mit nem blockly ....klappte aber leider nicht, da keiin http link versendet wurde und somit auch keine vorschau bei telegram angezeigt wurde. Hoffe das geht mittlerweile überhaupt
-
Ich kenne den Adapter nicht. Keine Ahnung was der kann oder nicht.
-
@thomas-braun aber wir sind doch hier in dem thread des adapters
-
Und? Für eine Installation eines Adapters muss man ja nicht wissen was der macht.
-
@thomas-braun hehe...ja das stimmt schon
zumindest bin ich hier damit dann aber nicht falsch -
Ist der ioBroker jetzt zur Ruhe gekommen? Rebuilds durchgeführt?
Ein (Neu)-Start des Adapters schaut jetzt wie aus? -
@thomas-braun es rödelt noch...melde mich sofort wenn er fertig ist
-
@thomas-braun habe da immer noch die gleichen dinge in schleife drin -.-
2022-03-06 16:44:08.612 - info: shuttercontrol.0 (3401) starting. Version 1.4.10 in /opt/iobroker/node_modules/iobroker.shuttercontrol, node: v14.19.0, js-controller: 4.0.18 2022-03-06 16:44:12.273 - info: fb-checkpresence.0 (2760) History function for Konrads-IphoneX disabled. Please select a history adapter in the configuration dialog! 2022-03-06 16:44:12.275 - info: fb-checkpresence.0 (2760) createMemberObjects finished successfully 2022-03-06 16:44:18.723 - info: wled.0 (3495) Bonjour service started, new devices will be detected automatically 2022-03-06 16:44:18.836 - info: wled.0 (3495) WLED connected 2022-03-06 16:44:28.738 - info: wled.0 (3495) WLED initialisation finalized, ready to do my job have fun ! 2022-03-06 16:44:39.445 - info: host.openhab iobroker npm-rebuild: > protobuf-typescript@6.8.8 postinstall /opt/iobroker/node_modules/protobuf-typescript> node scripts/postinstall 2022-03-06 16:44:44.187 - info: host.openhab iobroker npm-rebuild: > iobroker.amazon-dash@1.1.0 preinstall /opt/iobroker/node_modules/iobroker.amazon-dash> apt install libpcap-dev -y || true 2022-03-06 16:44:44.559 - info: host.openhab iobroker npm-rebuild: > pcap@3.1.0 install /opt/iobroker/node_modules/pcap> node-gyp rebuild 2022-03-06 16:44:51.608 - info: host.openhab iobroker npm-rebuild: make: Verzeichnis „/opt/iobroker/node_modules/pcap/build“ wird betreten 2022-03-06 16:44:51.623 - info: host.openhab iobroker npm-rebuild: CXX(target) Release/obj.target/pcap_binding/pcap_binding.o 2022-03-06 16:45:05.248 - info: host.openhab iobroker npm-rebuild: CXX(target) Release/obj.target/pcap_binding/pcap_session.o 2022-03-06 16:45:08.420 - info: fb-checkpresence.0 (2760) createFbDeviceObjects finished successfully 2022-03-06 16:45:08.424 - info: fb-checkpresence.0 (2760) states successfully subscribed 2022-03-06 16:45:08.427 - info: fb-checkpresence.0 (2760) loop successfully started 2022-03-06 16:45:15.730 - info: host.openhab iobroker npm-rebuild: SOLINK_MODULE(target) Release/obj.target/pcap_binding.node 2022-03-06 16:45:17.221 - info: host.openhab iobroker npm-rebuild: COPY Release/pcap_binding.nodemake: Verzeichnis „/opt/iobroker/node_modules/pcap/build“ wird verlassen 2022-03-06 16:45:19.116 - info: host.openhab iobroker npm-rebuild: > @serialport/bindings@9.1.0 install /opt/iobroker/node_modules/@serialport/bindings> prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild 2022-03-06 16:45:21.629 - info: alexa2.0 (2498) Subscribing to states... 2022-03-06 16:45:25.463 - info: host.openhab iobroker npm-rebuild: make: Verzeichnis „/opt/iobroker/node_modules/@serialport/bindings/build“ wird betreten 2022-03-06 16:45:25.471 - info: host.openhab iobroker npm-rebuild: CXX(target) Release/obj.target/bindings/src/serialport.o 2022-03-06 16:45:34.388 - info: hue-extended.0 (2824) Attempt 1x - Successfully set Flur Spot 3. 2022-03-06 16:45:34.470 - info: hue-extended.0 (2824) Attempt 1x - Successfully set Flur Spot 3. 2022-03-06 16:45:34.529 - info: hue-extended.0 (2824) Attempt 1x - Successfully set Flur Spot 3. 2022-03-06 16:45:34.568 - info: hue-extended.0 (2824) Attempt 1x - Successfully set Flur Spot 4. 2022-03-06 16:45:34.578 - info: hue-extended.0 (2824) Attempt 1x - Successfully set Flur Spot 4. 2022-03-06 16:45:34.585 - info: hue-extended.0 (2824) Attempt 1x - Successfully set Flur Spot 4. 2022-03-06 16:45:35.204 - info: host.openhab iobroker npm-rebuild: CXX(target) Release/obj.target/bindings/src/serialport_unix.o 2022-03-06 16:45:40.405 - info: host.openhab iobroker npm-rebuild: CXX(target) Release/obj.target/bindings/src/poller.o 2022-03-06 16:45:50.021 - info: host.openhab iobroker npm-rebuild: CXX(target) Release/obj.target/bindings/src/serialport_linux.o SOLINK_MODULE(target) Release/obj.target/bindings.node COPY Release/bindings.nodemake: Verzeichnis „/opt/iobroker/node_modules/@serialport/bindings/build“ wird verlassen> @serialport/bindings@9.2.8 install /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bindings> prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild 2022-03-06 16:45:57.423 - info: host.openhab iobroker npm-rebuild: make: Verzeichnis „/opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bindings/build“ wird betreten CXX(target) Release/obj.target/bindings/src/serialport.o 2022-03-06 16:46:07.980 - info: host.openhab iobroker npm-rebuild: CXX(target) Release/obj.target/bindings/src/serialport_unix.o 2022-03-06 16:46:13.766 - info: host.openhab iobroker npm-rebuild: CXX(target) Release/obj.target/bindings/src/poller.o 2022-03-06 16:46:23.360 - info: host.openhab iobroker npm-rebuild: CXX(target) Release/obj.target/bindings/src/serialport_linux.o SOLINK_MODULE(target) Release/obj.target/bindings.node 2022-03-06 16:46:23.864 - info: host.openhab iobroker npm-rebuild: COPY Release/bindings.node 2022-03-06 16:46:23.960 - info: host.openhab iobroker npm-rebuild: make: Verzeichnis „/opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bindings/build“ wird verlassen 2022-03-06 16:46:24.508 - info: host.openhab iobroker npm-rebuild: 2022-03-06 16:46:24.510 - info: host.openhab iobroker npm-rebuild: > ffmpeg-static@4.4.0 install /opt/iobroker/node_modules/ffmpeg-static> node install.js
-
Da läuft noch diverses rebuild-Zeuch. Abwarten bis da Ruhe ist.
-
@thomas-braun yo...web adapter lüft noch nicht. bei eufy security geht immer noch die passwort eingabe weg...somit kann keins eingegeben werden und der eufy sec bleibt rot
2022-03-06 16:53:33.472 - info: host.openhab Adapter system.adapter.eufy-security.0 needs rebuild and will be restarted afterwards. 2022-03-06 16:53:33.473 - info: host.openhab system.adapter.eufy-security.0 will be rebuilt 2022-03-06 16:53:33.474 - warn: host.openhab adapter "eufy-security" seems to be installed for a different version of Node.js. Trying to rebuild it... 3 attempt 2022-03-06 16:53:33.474 - info: host.openhab iobroker rebuild 2022-03-06 16:53:33.548 - error: host.openhab Caught by controller[0]: internal/modules/cjs/loader.js:329 2022-03-06 16:53:33.549 - error: host.openhab Caught by controller[0]: throw err; 2022-03-06 16:53:33.550 - error: host.openhab Caught by controller[0]: ^ 2022-03-06 16:53:33.551 - error: host.openhab Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/eufy-security-client/build/index.js'. Please verify that the package.json has a valid "main" entry 2022-03-06 16:53:33.552 - error: host.openhab Caught by controller[0]: at tryPackage (internal/modules/cjs/loader.js:321:19) 2022-03-06 16:53:33.553 - error: host.openhab Caught by controller[0]: at Function.Module._findPath (internal/modules/cjs/loader.js:534:18) 2022-03-06 16:53:33.553 - error: host.openhab Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:888:27) 2022-03-06 16:53:33.554 - error: host.openhab Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:746:27) 2022-03-06 16:53:33.565 - error: host.openhab Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:974:19) 2022-03-06 16:53:33.566 - error: host.openhab Caught by controller[0]: at require (internal/modules/cjs/helpers.js:101:18) 2022-03-06 16:53:33.566 - error: host.openhab Caught by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.eusec/build/main.js:31:32) 2022-03-06 16:53:33.567 - error: host.openhab Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1085:14) 2022-03-06 16:53:33.568 - error: host.openhab Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) 2022-03-06 16:53:33.569 - error: host.openhab Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:950:32) { 2022-03-06 16:53:33.569 - error: host.openhab Caught by controller[0]: code: 'MODULE_NOT_FOUND', 2022-03-06 16:53:33.570 - error: host.openhab Caught by controller[0]: path: '/opt/iobroker/node_modules/eufy-security-client/package.json', 2022-03-06 16:53:33.570 - error: host.openhab Caught by controller[0]: requestPath: 'eufy-security-client' 2022-03-06 16:53:33.571 - error: host.openhab Caught by controller[0]: } 2022-03-06 16:53:33.572 - error: host.openhab instance system.adapter.eusec.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2022-03-06 16:53:33.573 - info: host.openhab Adapter system.adapter.eusec.0 needs rebuild and will be restarted afterwards. 2022-03-06 16:53:33.574 - info: host.openhab system.adapter.eusec.0 will be rebuilt 2022-03-06 16:53:37.432 - info: host.openhab iobroker npm-rebuild: Rebuilding native modules ... 2022-03-06 16:53:40.823 - info: web.0 (11120) starting. Version 3.4.16 in /opt/iobroker/node_modules/iobroker.web, node: v14.19.0, js-controller: 4.0.18 2022-03-06 16:53:41.701 - info: web.0 (11120) socket.io server listening on port 8102 2022-03-06 16:53:41.765 - info: web.0 (11120) Connect extension "eusec/build/lib/web.js" 2022-03-06 16:53:41.826 - info: web.0 (11120) Connect extension "eufy-security/build/lib/web.js" 2022-03-06 16:53:41.876 - info: web.0 (11120) http server listening on port 8102 2022-03-06 16:53:42.712 - warn: web.0 (11120) State "web.0.info.connected" has no existing object, this might lead to an error in future versions 2022-03-06 16:54:06.269 - info: host.openhab iobroker npm-rebuild: 2022-03-06 16:54:06.272 - info: host.openhab iobroker npm-rebuild: > protobuf-typescript@6.8.8 postinstall /opt/iobroker/node_modules/protobuf-typescript> node scripts/postinstall 2022-03-06 16:54:09.558 - info: host.openhab iobroker npm-rebuild: > iobroker.amazon-dash@1.1.0 preinstall /opt/iobroker/node_modules/iobroker.amazon-dash> apt install libpcap-dev -y || true 2022-03-06 16:54:09.719 - info: host.openhab iobroker npm-rebuild: > pcap@3.1.0 install /opt/iobroker/node_modules/pcap> node-gyp rebuild
-
Ich denke es sollte nur einer der beiden eufy-Adapter installiert sein.
Und der web-Adapter muss wohl laufen, wenn ich das richtig sehe. -
@thomas-braun der web adapter bleibt mit nem gelben ausrufezeichen auf funktioniert nicht. und eufy sec auf rot. brauche ich vielleicht die cloud?
-
@marko1974 sagte in [Neuer Adapter] EuSec:
der web adapter bleibt mit nem gelben ausrufezeichen auf funktioniert nicht.
Warum nicht? Startvorgang des Adapters?
brauche ich vielleicht die cloud?
Welche cloud?