NEWS
UNSOLVED ham.homebridge-devolo fehler
-
Hallo ioBroker Forum,
ich bin neu im Forum und bin vor ein paar Wochen auf den iobroker gestoßen. Nach ein paar Videos auf Youtube und viel Googlesuche habe ich mir ein Raspberry zugelegt und auch alles eingerichtet. Der iobroker ist in meinen Augen das was ich schon immer gesucht habe. Alle möglichen Smart Homesysteme miteinander zu verbinden, zu steuern uvm.
Ich besitze eine Home Control von Devolo, nach ein wenig rechere im Netz habe ich etwas dazu gefunden das man dies mit dem Homebridge accessories Manager einbinden kann. Ich habe dies Laut Anleitung gemacht und alles eingetragen. Leider startet es nicht und ich bekomme fehler im Debug Modus angezeigt. Könnt ihr mir sagen was ich falsch gemacht habe bzw. was ich machen muss. Damit dies läuft.Vielen Dank im vorraus.
Konfiguration:
{
"description": "Add configuration for your accessories or platforms according to the docs of the plugins.",
"accessories": [],
"platforms": [
{
"platform": "Devolo",
"name": "Devolo",
"host": "192.168.002.103",
"email": "xxxxxx@xxx.com",
"password": "xxxxx",
"uuid": "xxxxxxxx-xxxx-44E3-A804-xxxx52Fxxx15",
"gateway": "Seriennr.",
"passkey": "XXXXXXXXXXXX"
}
]
}Debug Log:
2020-08-31 21:54:42.286 - info: host.raspberrypi "system.adapter.ham.0" enabled
2020-08-31 21:54:42.322 - info: host.raspberrypi instance system.adapter.ham.0 started with pid 1688
2020-08-31 21:54:43.188 - debug: ham.0 (1688) Redis Objects: Use Redis connection: 127.0.0.1:9001
2020-08-31 21:54:43.227 - debug: ham.0 (1688) Objects client ready ... initialize now
2020-08-31 21:54:43.231 - debug: ham.0 (1688) Objects create System PubSub Client
2020-08-31 21:54:43.232 - debug: ham.0 (1688) Objects create User PubSub Client
2020-08-31 21:54:43.233 - debug: ham.0 (1688) Objects client initialize lua scripts
2020-08-31 21:54:43.247 - debug: ham.0 (1688) Objects connected to redis: 127.0.0.1:9001
2020-08-31 21:54:43.254 - debug: ham.0 (1688) objectDB connected
2020-08-31 21:54:43.256 - debug: ham.0 (1688) Redis States: Use Redis connection: 127.0.0.1:9000
2020-08-31 21:54:43.263 - debug: ham.0 (1688) States create User PubSub Client
2020-08-31 21:54:43.266 - debug: ham.0 (1688) States create System PubSub Client
2020-08-31 21:54:43.276 - debug: ham.0 (1688) States connected to redis: 127.0.0.1:9000
2020-08-31 21:54:43.277 - debug: ham.0 (1688) statesDB connected
2020-08-31 21:54:43.525 - info: ham.0 (1688) starting. Version 1.1.2 in /opt/iobroker/node_modules/iobroker.ham, node: v14.9.0, js-controller: 3.1.6
2020-08-31 21:54:43.554 - info: ham.0 (1688) Install/Update the following Libraries: homebridge-devolo
2020-08-31 21:54:43.555 - info: ham.0 (1688) Install/Update homebridge-devolo
2020-08-31 21:54:43.556 - info: ham.0 (1688) All Libraries installed/updated
2020-08-31 21:54:45.075 - debug: ham.0 (1688) [31.8.2020, 21:54:45] Loaded plugin: homebridge-devolo
2020-08-31 21:54:45.078 - debug: ham.0 (1688) [31.8.2020, 21:54:45] Registering platform 'homebridge-devolo.Devolo'
2020-08-31 21:54:45.079 - debug: ham.0 (1688) [31.8.2020, 21:54:45] ---
2020-08-31 21:54:45.088 - debug: ham.0 (1688) [31.8.2020, 21:54:45] Loading 1 platforms...
2020-08-31 21:54:45.089 - debug: ham.0 (1688) [31.8.2020, 21:54:45] [Devolo] Initializing Devolo platform...
2020-08-31 21:54:45.095 - debug: ham.0 (1688) [31.8.2020, 21:54:45] [Devolo] HBDevoloPlatform > Searching for Devolo Central Unit.
2020-08-31 21:54:45.113 - debug: ham.0 (1688) [31.8.2020, 21:54:45] Loading 0 accessories...
2020-08-31 21:54:45.197 - debug: ham.0 (1688) Trying to connect to socket.
2020-08-31 21:54:45.264 - debug: ham.0 (1688) Websocket open
2020-08-31 21:54:45.268 - debug: ham.0 (1688) [31.8.2020, 21:54:45] [Devolo] HBDevoloPlatform > Central Unit found.
2020-08-31 21:54:46.526 - debug: ham.0 (1688) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it.
Model: %s
ProductID: %s
ProductTypeID: %s
Sensors: %s
2020-08-31 21:54:46.527 - debug: ham.0 (1688) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it.
Model: %s
ProductID: %s
ProductTypeID: %s
Sensors: %s
2020-08-31 21:54:46.527 - debug: ham.0 (1688) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it.
Model: %s
ProductID: %s
ProductTypeID: %s
Sensors: %s
2020-08-31 21:54:46.528 - debug: ham.0 (1688) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it.
Model: %s
ProductID: %s
ProductTypeID: %s
Sensors: %s
2020-08-31 21:54:46.528 - debug: ham.0 (1688) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it.
Model: %s
ProductID: %s
ProductTypeID: %s
Sensors: %s
2020-08-31 21:54:46.529 - debug: ham.0 (1688) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it.
Model: %s
ProductID: %s
ProductTypeID: %s
Sensors: %s
%(#ff0000)[2020-08-31 21:54:47.337 - error: ham.0 (1688) uncaught exception: Cannot read property 'length' of undefined
2020-08-31 21:54:47.338 - error: ham.0 (1688) TypeError: Cannot read property 'length' of undefined]
at /opt/iobroker/node_modules/iobroker.ham/node_modules/node-devolo/dist/Devolo.js:363:47
at /opt/iobroker/node_modules/iobroker.ham/node_modules/node-devolo/dist/DevoloApi.js:185:17
at IncomingMessage. (/opt/iobroker/node_modules/iobroker.ham/node_modules/node-devolo/dist/DevoloApi.js:69:21)
at IncomingMessage.emit (events.js:326:22)
at endReadableNT (_stream_readable.js:1244:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
2020-08-31 21:54:47.339 - info: ham.0 (1688) cleaned everything up...
2020-08-31 21:54:47.347 - warn: ham.0 (1688) Exception: TypeError: Cannot read property 'length' of undefined
2020-08-31 21:54:47.654 - info: ham.0 (1688) terminating
2020-08-31 21:54:47.655 - info: ham.0 (1688) Terminated (NO_ERROR): Without reason
2020-08-31 21:54:48.190 - error: host.raspberrypi Caught by controller[0: [31.8.2020, 21:54:44] Warning: skipping plugin found at '/opt/iobroker/node_modules/homebridge-devolo' since we already loaded the same plugin from '/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-devolo'.
2020-08-31 21:54:48.191 - error: host.raspberrypi Caught by controller[0: [31.8.2020, 21:54:44] Plugin /opt/iobroker/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'.]]
2020-08-31 21:54:48.191 - info: host.raspberrypi instance system.adapter.ham.0 terminated with code 0 (NO_ERROR)
2020-08-31 21:54:48.192 - info: host.raspberrypi Restart adapter system.adapter.ham.0 because enabledSystemdata Rasspberry Pi4 Model B Hardwaresystem: PI4 Arbeitsspeicher: 8GB Festplattenart: SD-Karte 128GB Betriebssystem: Raspberry Pi OS (32-bit) Lite Node-Version: 14.9.0 Nodejs-Version: 14.9. NPM-Version: 6.14.8 Installationsart: Manuell Image genutzt: JA Raspberry Pi OS (32-bit) Lite, Minimal image based on Debian Buster, Version: August 2020,Release date: 2020-08-20 https://www.raspberrypi.org/downloads/raspberry-pi-os/ Viele Grüße Tobi
-
@BaronT Für node14 ist's noch was früh. Installier node12.
-
@Thomas-Braun Danke für die schnelle hilfe.
Kannst du mir sagen wie ich das über die Konsole machen kann.Hier noch ein paar info falls du Sie benötigst:
pi@raspberrypi:~ $ uname -m
armv7l
pi@raspberrypi:~ $ nodejs -v
v14.9.0
pi@raspberrypi:~ $ node -v
v14.9.0
pi@raspberrypi:~ $ npm -v
6.14.8
pi@raspberrypi:~ $ apt policy nodejs
nodejs:
Installiert: 14.9.0-1nodesource1
Installationskandidat: 14.9.0-1nodesource1
Versionstabelle:
*** 14.9.0-1nodesource1 500
500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
100 /var/lib/dpkg/status
10.21.0~dfsg-1~deb10u1+rpi1 500
500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages -
-
@Thomas-Braun Supi Danke. Super Anleitung.
Leider habe ich immer noch die fehlermeldungen.
2020-08-31 23:38:46.027 - error: ham.0 (1394) uncaught exception: Cannot read property 'length' of undefined
2020-08-31 23:38:46.028 - error: ham.0 (1394) TypeError: Cannot read property 'length' of undefined
at /opt/iobroker/node_modules/iobroker.ham/node_modules/node-devolo/dist/Devolo.js:363:47
at /opt/iobroker/node_modules/iobroker.ham/node_modules/node-devolo/dist/DevoloApi.js:185:17
at IncomingMessage. (/opt/iobroker/node_modules/iobroker.ham/node_modules/node-devolo/dist/DevoloApi.js:69:21)
at IncomingMessage.emit (events.js:327:22)
at endReadableNT (_stream_readable.js:1220:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
2020-08-31 23:38:46.029 - info: ham.0 (1394) cleaned everything up...
2020-08-31 23:38:46.047 - warn: ham.0 (1394) Exception: TypeError: Cannot read property 'length' of undefined
2020-08-31 23:38:46.054 - info: ham.0 (1394) terminating
2020-08-31 23:38:46.055 - info: ham.0 (1394) Terminated (NO_ERROR): Without reason
2020-08-31 23:38:46.616 - error: host.raspberrypi Caught by controller[0]: [2020-8-31 23:38:42] Warning: skipping plugin found at '/opt/iobroker/node_modules/homebridge-devolo' since we already loaded the same plugin from '/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-devolo'.
2020-08-31 23:38:46.618 - error: host.raspberrypi Caught by controller[1]: [2020-8-31 23:38:42] Plugin /opt/iobroker/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'. -
@BaronT Ich hatte nichts anderes erwartet.
Da scheint irgendwas doppelt gemoppelt zu sein. Aber vom ham hab ich keine Ahnung.Bitte Konsolentext in CodeTags setzen.
-
@Thomas-Braun So?
Mfg Tobi
2020-09-02 20:17:32.555 - info: host.raspberrypi "system.adapter.ham.0" enabled 2020-09-02 20:17:32.593 - info: host.raspberrypi instance system.adapter.ham.0 started with pid 4018 2020-09-02 20:17:33.446 - debug: ham.0 (4018) Redis Objects: Use Redis connection: 127.0.0.1:9001 2020-09-02 20:17:33.480 - debug: ham.0 (4018) Objects client ready ... initialize now 2020-09-02 20:17:33.484 - debug: ham.0 (4018) Objects create System PubSub Client 2020-09-02 20:17:33.485 - debug: ham.0 (4018) Objects create User PubSub Client 2020-09-02 20:17:33.486 - debug: ham.0 (4018) Objects client initialize lua scripts 2020-09-02 20:17:33.500 - debug: ham.0 (4018) Objects connected to redis: 127.0.0.1:9001 2020-09-02 20:17:33.507 - debug: ham.0 (4018) objectDB connected 2020-09-02 20:17:33.509 - debug: ham.0 (4018) Redis States: Use Redis connection: 127.0.0.1:9000 2020-09-02 20:17:33.516 - debug: ham.0 (4018) States create User PubSub Client 2020-09-02 20:17:33.519 - debug: ham.0 (4018) States create System PubSub Client 2020-09-02 20:17:33.529 - debug: ham.0 (4018) States connected to redis: 127.0.0.1:9000 2020-09-02 20:17:33.530 - debug: ham.0 (4018) statesDB connected 2020-09-02 20:17:33.667 - info: ham.0 (4018) starting. Version 1.1.2 in /opt/iobroker/node_modules/iobroker.ham, node: v12.18.3, js-controller: 3.1.6 2020-09-02 20:17:33.695 - info: ham.0 (4018) Install/Update the following Libraries: homebridge-devolo 2020-09-02 20:17:33.696 - info: ham.0 (4018) Install/Update homebridge-devolo 2020-09-02 20:17:33.697 - info: ham.0 (4018) All Libraries installed/updated 2020-09-02 20:17:35.145 - debug: ham.0 (4018) [2020-9-2 20:17:35] Loaded plugin: homebridge-devolo 2020-09-02 20:17:35.147 - debug: ham.0 (4018) [2020-9-2 20:17:35] Registering platform 'homebridge-devolo.Devolo' 2020-09-02 20:17:35.148 - debug: ham.0 (4018) [2020-9-2 20:17:35] --- 2020-09-02 20:17:35.156 - debug: ham.0 (4018) [2020-9-2 20:17:35] Loading 1 platforms... 2020-09-02 20:17:35.158 - debug: ham.0 (4018) [2020-9-2 20:17:35] [Devolo] Initializing Devolo platform... 2020-09-02 20:17:35.163 - debug: ham.0 (4018) [2020-9-2 20:17:35] [Devolo] HBDevoloPlatform > Searching for Devolo Central Unit. 2020-09-02 20:17:35.177 - debug: ham.0 (4018) [2020-9-2 20:17:35] Loading 0 accessories... 2020-09-02 20:17:35.253 - debug: ham.0 (4018) Trying to connect to socket. 2020-09-02 20:17:35.679 - debug: ham.0 (4018) Websocket open 2020-09-02 20:17:35.687 - debug: ham.0 (4018) [2020-9-2 20:17:35] [Devolo] HBDevoloPlatform > Central Unit found. 2020-09-02 20:17:36.760 - debug: ham.0 (4018) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it. > Model: %s > ProductID: %s > ProductTypeID: %s > Sensors: %s 2020-09-02 20:17:36.761 - debug: ham.0 (4018) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it. > Model: %s > ProductID: %s > ProductTypeID: %s > Sensors: %s 2020-09-02 20:17:36.763 - debug: ham.0 (4018) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it. > Model: %s > ProductID: %s > ProductTypeID: %s > Sensors: %s 2020-09-02 20:17:36.764 - debug: ham.0 (4018) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it. > Model: %s > ProductID: %s > ProductTypeID: %s > Sensors: %s 2020-09-02 20:17:36.765 - debug: ham.0 (4018) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it. > Model: %s > ProductID: %s > ProductTypeID: %s > Sensors: %s 2020-09-02 20:17:36.766 - debug: ham.0 (4018) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it. > Model: %s > ProductID: %s > ProductTypeID: %s > Sensors: %s 2020-09-02 20:17:37.342 - error: ham.0 (4018) uncaught exception: Cannot read property 'length' of undefined 2020-09-02 20:17:37.343 - error: ham.0 (4018) TypeError: Cannot read property 'length' of undefined at /opt/iobroker/node_modules/iobroker.ham/node_modules/node-devolo/dist/Devolo.js:363:47 at /opt/iobroker/node_modules/iobroker.ham/node_modules/node-devolo/dist/DevoloApi.js:185:17 at IncomingMessage. (/opt/iobroker/node_modules/iobroker.ham/node_modules/node-devolo/dist/DevoloApi.js:69:21) at IncomingMessage.emit (events.js:327:22) at endReadableNT (_stream_readable.js:1220:12) at processTicksAndRejections (internal/process/task_queues.js:84:21) 2020-09-02 20:17:37.344 - info: ham.0 (4018) cleaned everything up... 2020-09-02 20:17:37.351 - warn: ham.0 (4018) Exception: TypeError: Cannot read property 'length' of undefined 2020-09-02 20:17:37.357 - info: ham.0 (4018) terminating 2020-09-02 20:17:37.358 - info: ham.0 (4018) Terminated (NO_ERROR): Without reason 2020-09-02 20:17:37.931 - error: host.raspberrypi Caught by controller[0]: [2020-9-2 20:17:34] Warning: skipping plugin found at '/opt/iobroker/node_modules/homebridge-devolo' since we already loaded the same plugin from '/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-devolo'. 2020-09-02 20:17:37.932 - error: host.raspberrypi Caught by controller[1]: [2020-9-2 20:17:34] Plugin /opt/iobroker/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'. 2020-09-02 20:17:37.932 - info: host.raspberrypi instance system.adapter.ham.0 terminated with code 0 (NO_ERROR) 2020-09-02 20:17:37.933 - info: host.raspberrypi Restart adapter system.adapter.ham.0 because enabled
-
2020-09-02 23:13:50.185 - info: host.raspberrypi instance system.adapter.ham.0 started with pid 25036 2020-09-02 23:13:51.088 - debug: ham.0 (25036) Redis Objects: Use Redis connection: 127.0.0.1:9001 2020-09-02 23:13:51.127 - debug: ham.0 (25036) Objects client ready ... initialize now 2020-09-02 23:13:51.131 - debug: ham.0 (25036) Objects create System PubSub Client 2020-09-02 23:13:51.132 - debug: ham.0 (25036) Objects create User PubSub Client 2020-09-02 23:13:51.133 - debug: ham.0 (25036) Objects client initialize lua scripts 2020-09-02 23:13:51.147 - debug: ham.0 (25036) Objects connected to redis: 127.0.0.1:9001 2020-09-02 23:13:51.153 - debug: ham.0 (25036) objectDB connected 2020-09-02 23:13:51.156 - debug: ham.0 (25036) Redis States: Use Redis connection: 127.0.0.1:9000 2020-09-02 23:13:51.163 - debug: ham.0 (25036) States create User PubSub Client 2020-09-02 23:13:51.166 - debug: ham.0 (25036) States create System PubSub Client 2020-09-02 23:13:51.188 - debug: ham.0 (25036) States connected to redis: 127.0.0.1:9000 2020-09-02 23:13:51.189 - debug: ham.0 (25036) statesDB connected 2020-09-02 23:13:51.419 - info: ham.0 (25036) starting. Version 1.1.2 in /opt/iobroker/node_modules/iobroker.ham, node: v12.18.3, js-controller: 3.1.6 2020-09-02 23:13:51.448 - info: ham.0 (25036) Install/Update the following Libraries: homebridge-plugin-wrapper 2020-09-02 23:13:51.449 - info: ham.0 (25036) Install/Update homebridge-plugin-wrapper 2020-09-02 23:13:51.450 - info: ham.0 (25036) All Libraries installed/updated 2020-09-02 23:13:52.860 - debug: ham.0 (25036) [2020-9-2 23:13:52] Loaded plugin: homebridge-devolo 2020-09-02 23:13:52.863 - debug: ham.0 (25036) [2020-9-2 23:13:52] Registering platform 'homebridge-devolo.Devolo' 2020-09-02 23:13:52.864 - debug: ham.0 (25036) [2020-9-2 23:13:52] --- 2020-09-02 23:13:52.872 - debug: ham.0 (25036) [2020-9-2 23:13:52] Loading 1 platforms... 2020-09-02 23:13:52.873 - debug: ham.0 (25036) [2020-9-2 23:13:52] [Devolo] Initializing Devolo platform... 2020-09-02 23:13:52.879 - debug: ham.0 (25036) [2020-9-2 23:13:52] [Devolo] HBDevoloPlatform > Searching for Devolo Central Unit. 2020-09-02 23:13:52.893 - debug: ham.0 (25036) [2020-9-2 23:13:52] Loading 0 accessories... 2020-09-02 23:13:52.971 - debug: ham.0 (25036) Trying to connect to socket. 2020-09-02 23:13:53.038 - debug: ham.0 (25036) Websocket open 2020-09-02 23:13:53.042 - debug: ham.0 (25036) [2020-9-2 23:13:53] [Devolo] HBDevoloPlatform > Central Unit found. 2020-09-02 23:13:54.096 - debug: ham.0 (25036) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it. > Model: %s > ProductID: %s > ProductTypeID: %s > Sensors: %s 2020-09-02 23:13:54.097 - debug: ham.0 (25036) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it. > Model: %s > ProductID: %s > ProductTypeID: %s > Sensors: %s 2020-09-02 23:13:54.098 - debug: ham.0 (25036) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it. > Model: %s > ProductID: %s > ProductTypeID: %s > Sensors: %s 2020-09-02 23:13:54.099 - debug: ham.0 (25036) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it. > Model: %s > ProductID: %s > ProductTypeID: %s > Sensors: %s 2020-09-02 23:13:54.100 - debug: ham.0 (25036) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it. > Model: %s > ProductID: %s > ProductTypeID: %s > Sensors: %s 2020-09-02 23:13:54.101 - debug: ham.0 (25036) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it. > Model: %s > ProductID: %s > ProductTypeID: %s > Sensors: %s 2020-09-02 23:13:54.690 - error: ham.0 (25036) uncaught exception: Cannot read property 'length' of undefined 2020-09-02 23:13:54.692 - error: ham.0 (25036) TypeError: Cannot read property 'length' of undefined at /usr/lib/node_modules/homebridge-devolo/node_modules/node-devolo/dist/Devolo.js:363:47 at /usr/lib/node_modules/homebridge-devolo/node_modules/node-devolo/dist/DevoloApi.js:185:17 at IncomingMessage. (/usr/lib/node_modules/homebridge-devolo/node_modules/node-devolo/dist/DevoloApi.js:69:21) at IncomingMessage.emit (events.js:327:22) at endReadableNT (_stream_readable.js:1220:12) at processTicksAndRejections (internal/process/task_queues.js:84:21) 2020-09-02 23:13:54.693 - info: ham.0 (25036) cleaned everything up... 2020-09-02 23:13:54.714 - warn: ham.0 (25036) Exception: TypeError: Cannot read property 'length' of undefined 2020-09-02 23:13:54.726 - info: ham.0 (25036) terminating 2020-09-02 23:13:54.729 - info: ham.0 (25036) Terminated (NO_ERROR): Without reason 2020-09-02 23:13:55.276 - error: host.raspberrypi Caught by controller[0]: [2020-9-2 23:13:52] Plugin /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'. 2020-09-02 23:13:55.277 - error: host.raspberrypi Caught by controller[1]: [2020-9-2 23:13:52] Plugin /usr/lib/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'. 2020-09-02 23:13:55.278 - info: host.raspberrypi instance system.adapter.ham.0 terminated with code 0 (NO_ERROR) 2020-09-02 23:13:55.279 - info: host.raspberrypi Restart adapter system.adapter.ham.0 because enabled 2020-09-02 23:13:58.241 - info: host.raspberrypi "system.adapter.ham.0" disabled
-
@BaronT Da ist was doppelt.
/usr/lib/node_modules sollte (so) nicht existieren. Mal als root angemeldet und dann iobroker installiert? -
@Thomas-Braun Das möchte ich nicht ausschließen.
Kann ich das einfach über die Konsole löschen oder muss ich den iobroker neu installieren? -
@BaronT Da wäre ich äußerst vorsichtig. Ich würde da vielleicht erstmal nur den Verzeichnisnamen nur umbenennen. Z.B. in node_modules_test oder so. Das kannst du dann leichter wieder korrigieren.
-
@Thomas-Braun Okay dann probiere ich es morgen mal aus.
-
@BaronT Da liegt Zeuch von node bzw. npm drin, aber eigentlich keine Module direkt vom iobroker.
-
@BaronT sagte in ham.homebridge-devolo fehler:
Das möchte ich nicht ausschließen
Das ist halt auch so ein Grund warum man sich nicht als root direkt anmeldet.
-
@Thomas-Braun Das habe ich mittlerweile auch verstanden, dass man damit viel schaden anrichten kann.
Aber bei manchen Installationen muss man dies doch machen oder nicht?
Wie z.B. bei Node da ging es ohne root meine ich nicht.Aber zurück zum Thema:
Ich habe den Ordner unbenannt danach ging npm nicht mehr. Habe alles wieder zurück benannt und habe die Plugins im Ornder gelöscht.
Danach bekamm ich im Debug eine fehlermeldung das "homebridge-plugin" nicht im package.json unter keyword steht, habe dort "Homebride-plugin" eingegeben. Dannach hatte ich diese fehlermeldung weg.Jetzt wird mir das im Debug angezeigtt wo ich nicht verstehe, was er mir sagen möchte:
2020-09-03 20:14:40.196 - info: host.raspberrypi instance system.adapter.ham.0 started with pid 11044 2020-09-03 20:14:41.098 - debug: ham.0 (11044) Redis Objects: Use Redis connection: 127.0.0.1:9001 2020-09-03 20:14:41.129 - debug: ham.0 (11044) Objects client ready ... initialize now 2020-09-03 20:14:41.132 - debug: ham.0 (11044) Objects create System PubSub Client 2020-09-03 20:14:41.134 - debug: ham.0 (11044) Objects create User PubSub Client 2020-09-03 20:14:41.135 - debug: ham.0 (11044) Objects client initialize lua scripts 2020-09-03 20:14:41.151 - debug: ham.0 (11044) Objects connected to redis: 127.0.0.1:9001 2020-09-03 20:14:41.158 - debug: ham.0 (11044) objectDB connected 2020-09-03 20:14:41.160 - debug: ham.0 (11044) Redis States: Use Redis connection: 127.0.0.1:9000 2020-09-03 20:14:41.167 - debug: ham.0 (11044) States create User PubSub Client 2020-09-03 20:14:41.170 - debug: ham.0 (11044) States create System PubSub Client 2020-09-03 20:14:41.180 - debug: ham.0 (11044) States connected to redis: 127.0.0.1:9000 2020-09-03 20:14:41.181 - debug: ham.0 (11044) statesDB connected 2020-09-03 20:14:41.493 - info: ham.0 (11044) starting. Version 1.1.2 in /opt/iobroker/node_modules/iobroker.ham, node: v12.18.3, js-controller: 3.1.6 2020-09-03 20:14:41.522 - info: ham.0 (11044) Install/Update the following Libraries: homebridge-devolo 2020-09-03 20:14:41.523 - info: ham.0 (11044) Install/Update homebridge-devolo 2020-09-03 20:14:41.524 - info: ham.0 (11044) All Libraries installed/updated 2020-09-03 20:14:42.965 - debug: ham.0 (11044) [2020-9-3 20:14:42] Loaded plugin: homebridge-devolo 2020-09-03 20:14:42.968 - debug: ham.0 (11044) [2020-9-3 20:14:42] Registering platform 'homebridge-devolo.Devolo' 2020-09-03 20:14:42.969 - debug: ham.0 (11044) [2020-9-3 20:14:42] --- 2020-09-03 20:14:42.985 - debug: ham.0 (11044) [2020-9-3 20:14:42] Loading 1 platforms... 2020-09-03 20:14:42.986 - debug: ham.0 (11044) [2020-9-3 20:14:42] [Devolo] Initializing Devolo platform... 2020-09-03 20:14:42.992 - debug: ham.0 (11044) [2020-9-3 20:14:42] [Devolo] HBDevoloPlatform > Searching for Devolo Central Unit. 2020-09-03 20:14:43.006 - debug: ham.0 (11044) [2020-9-3 20:14:43] Loading 0 accessories... 2020-09-03 20:14:43.464 - debug: ham.0 (11044) Trying to connect to socket. 2020-09-03 20:14:43.529 - debug: ham.0 (11044) Websocket open 2020-09-03 20:14:43.533 - debug: ham.0 (11044) [2020-9-3 20:14:43] [Devolo] HBDevoloPlatform > Central Unit found. 2020-09-03 20:14:44.593 - debug: ham.0 (11044) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it. > Model: %s > ProductID: %s > ProductTypeID: %s > Sensors: %s 2020-09-03 20:14:44.594 - debug: ham.0 (11044) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it. > Model: %s > ProductID: %s > ProductTypeID: %s > Sensors: %s 2020-09-03 20:14:44.594 - debug: ham.0 (11044) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it. > Model: %s > ProductID: %s > ProductTypeID: %s > Sensors: %s 2020-09-03 20:14:44.595 - debug: ham.0 (11044) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it. > Model: %s > ProductID: %s > ProductTypeID: %s > Sensors: %s 2020-09-03 20:14:44.595 - debug: ham.0 (11044) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it. > Model: %s > ProductID: %s > ProductTypeID: %s > Sensors: %s 2020-09-03 20:14:44.596 - debug: ham.0 (11044) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it. > Model: %s > ProductID: %s > ProductTypeID: %s > Sensors: %s 2020-09-03 20:14:45.182 - error: ham.0 (11044) uncaught exception: Cannot read property 'length' of undefined 2020-09-03 20:14:45.185 - error: ham.0 (11044) TypeError: Cannot read property 'length' of undefined at /opt/iobroker/node_modules/iobroker.ham/node_modules/node-devolo/dist/Devolo.js:363:47 at /opt/iobroker/node_modules/iobroker.ham/node_modules/node-devolo/dist/DevoloApi.js:185:17 at IncomingMessage. (/opt/iobroker/node_modules/iobroker.ham/node_modules/node-devolo/dist/DevoloApi.js:69:21) at IncomingMessage.emit (events.js:327:22) at endReadableNT (_stream_readable.js:1220:12) at processTicksAndRejections (internal/process/task_queues.js:84:21) 2020-09-03 20:14:45.187 - info: ham.0 (11044) cleaned everything up... 2020-09-03 20:14:45.203 - warn: ham.0 (11044) Exception: TypeError: Cannot read property 'length' of undefined 2020-09-03 20:14:45.644 - info: ham.0 (11044) terminating 2020-09-03 20:14:45.645 - info: ham.0 (11044) Terminated (NO_ERROR): Without reason 2020-09-03 20:14:46.180 - error: host.raspberrypi Caught by controller[0]: [2020-9-3 20:14:42] ==================== 2020-09-03 20:14:46.180 - error: host.raspberrypi Caught by controller[1]: [2020-9-3 20:14:42] ERROR LOADING PLUGIN homebridge-plugin-wrapper: 2020-09-03 20:14:46.181 - error: host.raspberrypi Caught by controller[2]: [2020-9-3 20:14:42] Error: Plugin /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper does not contain the 'homebridge' package in 'engines'. 2020-09-03 20:14:46.181 - error: host.raspberrypi Caught by controller[2]: at Plugin.load (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/homebridge/plugin.js:49:11) 2020-09-03 20:14:46.181 - error: host.raspberrypi Caught by controller[2]: at Server. (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/homebridge/server.js:153:14) 2020-09-03 20:14:46.181 - error: host.raspberrypi Caught by controller[2]: at Array.forEach () 2020-09-03 20:14:46.182 - error: host.raspberrypi Caught by controller[2]: at Server._loadPlugins (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/homebridge/server.js:145:22) 2020-09-03 20:14:46.182 - error: host.raspberrypi Caught by controller[2]: at new Server (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/homebridge/server.js:57:24) 2020-09-03 20:14:46.182 - error: host.raspberrypi Caught by controller[2]: at HomebridgeWrapper.init (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/index.js:221:19) 2020-09-03 20:14:46.182 - error: host.raspberrypi Caught by controller[2]: at Object.start (/opt/iobroker/node_modules/iobroker.ham/lib/wrapper-handler.js:111:23) 2020-09-03 20:14:46.182 - error: host.raspberrypi Caught by controller[2]: at /opt/iobroker/node_modules/iobroker.ham/main.js:276:39 2020-09-03 20:14:46.183 - error: host.raspberrypi Caught by controller[2]: at /opt/iobroker/node_modules/iobroker.ham/main.js:177:27 2020-09-03 20:14:46.183 - error: host.raspberrypi Caught by controller[2]: at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4008:33 2020-09-03 20:14:46.183 - error: host.raspberrypi Caught by controller[3]: [2020-9-3 20:14:42] ==================== 2020-09-03 20:14:46.184 - info: host.raspberrypi instance system.adapter.ham.0 terminated with code 0 (NO_ERROR) 2020-09-03 20:14:46.184 - info: host.raspberrypi Restart adapter system.adapter.ham.0 because enabled
-
@BaronT sagte in ham.homebridge-devolo fehler:
Aber bei manchen Installationen muss man dies doch machen oder nicht? Wie z.B. bei Node da ging es ohne root meine ich nicht.
Doch, auch die Installation via apt geht ohne root. sudo davor und gut ist. Unter Debian meldet man sich nie als root an. Der ist ja auch eigentlich gesperrt, aus Gründen.
Nach dem Umbenennen hättest du einfach nodeJS nochmal auf das System bügeln können. Aber so scheint es auch zu funktionieren, die Doublette ist wohl weg.
-
@Thomas-Braun said in ham.homebridge-devolo fehler:
@BaronT sagte in ham.homebridge-devolo fehler:
Aber bei manchen Installationen muss man dies doch machen oder nicht? Wie z.B. bei Node da ging es ohne root meine ich nicht.
Doch, auch die Installation via apt geht ohne root. sudo davor und gut ist. Unter Debian meldet man sich nie als root an. Der ist ja auch eigentlich gesperrt, aus Gründen.
Nach dem Umbenennen hättest du einfach nodeJS nochmal auf das System bügeln können. Aber so scheint es auch zu funktionieren, die Doublette ist wohl weg.
Achso also nur sudo davor. Ich packe den root nicht mehr an.
Jap die ist weg. Kannst du denn erkennen was jetzt nicht richtig läuft?
(Anders gefragt ist mein Problem ggf. weg wenn ich alles nochmal neu installiere, also den kompletten Raspberry)
Mfg Tobi
-
@BaronT Von ham habe ich wie gesagt keine Ahnung.