@Asgothian
Ich habe den Raspberry mal 1.5h vom Strom genommen. Nach dem einschalten ist alles gut, sobald ich zum ersten Bewegungsmelder gehe (und dann wieder zurück zum PC um zu schauen ob etwas passiert ist) sehe ich nur noch Error Meldungen:
Spoiler
host.raspberrypi4-iob 2020-10-15 18:56:25.834 info Restart adapter system.adapter.deconz.0 because enabled
host.raspberrypi4-iob 2020-10-15 18:56:25.834 info instance system.adapter.deconz.0 terminated with code 0 (NO_ERROR)
host.raspberrypi4-iob 2020-10-15 18:56:25.833 error Caught by controller[1]: at WebSocket.ws.onmessage (/opt/iobroker/node_modules/iobroker.deconz/main.js:614:13)
host.raspberrypi4-iob 2020-10-15 18:56:25.833 error Caught by controller[1]: at processTicksAndRejections (internal/process/task_queues.js:97:5)
host.raspberrypi4-iob 2020-10-15 18:56:25.832 error Caught by controller[1]: at runMicrotasks (<anonymous>)
host.raspberrypi4-iob 2020-10-15 18:56:25.832 error Caught by controller[1]: at handleWSmessage (/opt/iobroker/node_modules/iobroker.deconz/main.js:2325:54)
host.raspberrypi4-iob 2020-10-15 18:56:25.832 error Caught by controller[1]: TypeError: Cannot read property 'id' of undefined
host.raspberrypi4-iob 2020-10-15 18:56:25.831 error Caught by controller[0]: 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(). The promise rejected
deconz.0 2020-10-15 18:56:25.299 info (4339) Terminated (NO_ERROR): Without reason
deconz.0 2020-10-15 18:56:25.298 info (4339) terminating
deconz.0 2020-10-15 18:56:25.224 info (4339) cleaned everything up...
deconz.0 2020-10-15 18:56:25.221 error (4339) TypeError: Cannot read property 'id' of undefined at handleWSmessage (/opt/iobroker/node_modules/iobroker.deconz/main.js:2325:54) at runMicrotasks (<anonymous>) at processTicksAndRe
deconz.0 2020-10-15 18:56:25.213 error (4339) unhandled promise rejection: Cannot read property 'id' of undefined
deconz.0 2020-10-15 18:56:25.213 error 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().
deconz.0 2020-10-15 18:56:22.986 info (4339) deConz Version: 2.5.75; API version: 1.16.0
deconz.0 2020-10-15 18:56:22.892 info (4339) Please wait while adapter is starting
deconz.0 2020-10-15 18:56:22.859 info (4339) starting. Version 2.0.5 in /opt/iobroker/node_modules/iobroker.deconz, node: v12.19.0, js-controller: 3.1.6
host.raspberrypi4-iob 2020-10-15 18:56:21.046 info instance system.adapter.deconz.0 started with pid 4339
host.raspberrypi4-iob 2020-10-15 18:55:50.997 info Restart adapter system.adapter.deconz.0 because enabled
host.raspberrypi4-iob 2020-10-15 18:55:50.996 info instance system.adapter.deconz.0 terminated with code 0 (NO_ERROR)
host.raspberrypi4-iob 2020-10-15 18:55:50.995 error Caught by controller[1]: at WebSocket.ws.onmessage (/opt/iobroker/node_modules/iobroker.deconz/main.js:614:13)
host.raspberrypi4-iob 2020-10-15 18:55:50.995 error Caught by controller[1]: at processTicksAndRejections (internal/process/task_queues.js:97:5)
host.raspberrypi4-iob 2020-10-15 18:55:50.995 error Caught by controller[1]: at handleWSmessage (/opt/iobroker/node_modules/iobroker.deconz/main.js:2325:54)
host.raspberrypi4-iob 2020-10-15 18:55:50.994 error Caught by controller[1]: TypeError: Cannot read property 'id' of undefined
host.raspberrypi4-iob 2020-10-15 18:55:50.987 error Caught by controller[0]: 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(). The promise rejected
deconz.0 2020-10-15 18:55:50.443 info (3599) Terminated (NO_ERROR): Without reason
deconz.0 2020-10-15 18:55:50.441 info (3599) terminating
deconz.0 2020-10-15 18:55:50.366 info (3599) cleaned everything up...
deconz.0 2020-10-15 18:55:50.364 error (3599) TypeError: Cannot read property 'id' of undefined at handleWSmessage (/opt/iobroker/node_modules/iobroker.deconz/main.js:2325:54) at processTicksAndRejections (internal/process/task_que
deconz.0 2020-10-15 18:55:50.357 error (3599) unhandled promise rejection: Cannot read property 'id' of undefined
deconz.0 2020-10-15 18:55:50.356 error 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().
deconz.0 2020-10-15 18:55:10.443 info (3599) deConz Version: 2.5.75; API version: 1.16.0
deconz.0 2020-10-15 18:55:10.370 info (3599) Please wait while adapter is starting
deconz.0 2020-10-15 18:55:10.339 info (3599) starting. Version 2.0.5 in /opt/iobroker/node_modules/iobroker.deconz, node: v12.19.0, js-controller: 3.1.6
host.raspberrypi4-iob 2020-10-15 18:55:08.532 info instance system.adapter.deconz.0 started with pid 3599
host.raspberrypi4-iob 2020-10-15 18:54:38.477 info Restart adapter system.adapter.deconz.0 because enabled
host.raspberrypi4-iob 2020-10-15 18:54:38.476 info instance system.adapter.deconz.0 terminated with code 0 (NO_ERROR)
host.raspberrypi4-iob 2020-10-15 18:54:38.475 error Caught by controller[1]: at WebSocket.ws.onmessage (/opt/iobroker/node_modules/iobroker.deconz/main.js:614:13)
host.raspberrypi4-iob 2020-10-15 18:54:38.475 error Caught by controller[1]: at processTicksAndRejections (internal/process/task_queues.js:97:5)
host.raspberrypi4-iob 2020-10-15 18:54:38.474 error Caught by controller[1]: at runMicrotasks (<anonymous>)
host.raspberrypi4-iob 2020-10-15 18:54:38.473 error Caught by controller[1]: at handleWSmessage (/opt/iobroker/node_modules/iobroker.deconz/main.js:2325:54)
host.raspberrypi4-iob 2020-10-15 18:54:38.472 error Caught by controller[1]: TypeError: Cannot read property 'id' of undefined
host.raspberrypi4-iob 2020-10-15 18:54:38.462 error Caught by controller[0]: 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(). The promise rejected
deconz.0 2020-10-15 18:54:37.620 info (975) Terminated (NO_ERROR): Without reason
deconz.0 2020-10-15 18:54:37.618 info (975) terminating
deconz.0 2020-10-15 18:54:37.538 info (975) cleaned everything up...
deconz.0 2020-10-15 18:54:37.536 error (975) TypeError: Cannot read property 'id' of undefined at handleWSmessage (/opt/iobroker/node_modules/iobroker.deconz/main.js:2325:54) at runMicrotasks (<anonymous>) at processTicksAndRej
deconz.0 2020-10-15 18:54:37.530 error (975) unhandled promise rejection: Cannot read property 'id' of undefined
deconz.0 2020-10-15 18:54:37.529 error 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().
deconz.0 2020-10-15 18:53:09.879 info (975) Adapter is ready
Edit:
Habe mal nach "(/opt/iobroker/node_modules/iobroker.deconz/main.js:614:13)" gesucht und folgendes gefunden:
https://github.com/iobroker-community-adapters/ioBroker.deconz/issues/175
Mal schauen, werde sonst deconz nochmals entfernen und eine ältere Version aufspielen.
Und hier hat jemand den gleichen Log:
https://forum.iobroker.net/topic/37492/error-meldungen-nach-2-instanz-installation/23?lang=en-GB&page=1
Habe mal das selbe wie dort gemacht aber bei mir ist der Log der selbe.
Im verlinkten Github Issue steht etwas von fehlende Weisskanal. Ich habe in der Zwischenzeit einige Lampen die ich via Hue im System hatte auf in Phoscon integriert. Vielleicht liegt auch da der Fehler...
Edit2:
Mitlerweile kann ich den Fehler auf 1 Lampe reduzieren... Komischerweise steuere ich diese Lampe indem ein Bewegungsmelder einen Shelly ein/aus schaltet und nicht die Lampe direkt.