Apollon77 / ioBroker.homekit-controller

Pair and control HomeKit devices directly
MIT License
17 stars 8 forks source link

Adapter restart loop #302

Closed einarmiger0815 closed 12 months ago

einarmiger0815 commented 12 months ago

Hallo Ingo,

Mein Iobroker läuft im stable-Modus. Seit knapp 1 Jahr habe ich deinen Adapter zur Anbindung des Aqara-Hubs M3 bis dato problemlos und zuverlässig im Einsatz.

Seit dem Update des JS-Adapters auf 7.1.4 und dem notwendigen Update auf Nodejs 18.x häufen sich die Fehler im Homekit-Controller-Adapter. Immer wieder stoppt der Iobroker-Host den Adapter und gibt mir folgende Fehlermeldung:

—————————————————

2023-10-03 21:26:06.296 - error: homekit-controller.0 (13906) 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().

2023-10-03 21:26:06.298 - error: homekit-controller.0 (13906) unhandled promise rejection: undefined is not a valid state value 2023-10-03 21:26:06.368 - error: homekit-controller.0 (13906) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/maybeCallback.ts:136:17) at HomekitController._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7594:26) at HomekitController.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7552:21) at /opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:745:26 at Array.forEach () at HomekitController.setCharacteristicValues (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:734:32) at Timeout. (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:702:30) at processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-10-03 21:26:06.368 - error: homekit-controller.0 (13906) undefined is not a valid state value 2023-10-03 21:26:06.374 - error: homekit-controller.0 (13906) 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(). 2023-10-03 21:26:06.374 - error: homekit-controller.0 (13906) unhandled promise rejection: undefined is not a valid state value 2023-10-03 21:26:06.375 - error: homekit-controller.0 (13906) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/maybeCallback.ts:136:17) at HomekitController._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7594:26) at HomekitController.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7552:21) at /opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:745:26 at Array.forEach () at HomekitController.setCharacteristicValues (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:734:32) at Timeout. (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:702:30) at processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-10-03 21:26:06.375 - error: homekit-controller.0 (13906) undefined is not a valid state value 2023-10-03 21:26:06.376 - error: homekit-controller.0 (13906) 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(). 2023-10-03 21:26:06.376 - error: homekit-controller.0 (13906) unhandled promise rejection: undefined is not a valid state value 2023-10-03 21:26:06.377 - error: homekit-controller.0 (13906) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/maybeCallback.ts:136:17) at HomekitController._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7594:26) at HomekitController.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7552:21) at /opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:745:26 at Array.forEach () at HomekitController.setCharacteristicValues (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:734:32) at Timeout. (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:702:30) at processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-10-03 21:26:06.377 - error: homekit-controller.0 (13906) undefined is not a valid state value 2023-10-03 21:26:06.378 - error: homekit-controller.0 (13906) 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(). 2023-10-03 21:26:06.378 - error: homekit-controller.0 (13906) unhandled promise rejection: undefined is not a valid state value 2023-10-03 21:26:06.379 - error: homekit-controller.0 (13906) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/maybeCallback.ts:136:17) at HomekitController._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7594:26) at HomekitController.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7552:21) at /opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:745:26 at Array.forEach () at HomekitController.setCharacteristicValues (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:734:32) at Timeout. (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:702:30) at processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-10-03 21:26:06.379 - error: homekit-controller.0 (13906) undefined is not a valid state value 2023-10-03 21:26:06.387 - warn: homekit-controller.0 (13906) Terminated (UNCAUGHT_EXCEPTION): Without reason 2023-10-03 21:26:06.955 - error: host.iobroker 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 with the reason: 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[1]: Error: undefined is not a valid state value 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[1]: at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/maybeCallback.ts:136:17) 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[1]: at HomekitController._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7594:26) 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[1]: at HomekitController.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7552:21) 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[1]: at /opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:745:26 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[1]: at Array.forEach () 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[1]: at HomekitController.setCharacteristicValues (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:734:32) 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[1]: at Timeout. (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:702:30) 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[1]: at processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[2]: 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 with the reason: 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[2]: Error: undefined is not a valid state value 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[2]: at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/maybeCallback.ts:136:17) 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[2]: at HomekitController._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7594:26) 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[2]: at HomekitController.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7552:21) 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[2]: at /opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:745:26 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[2]: at Array.forEach () 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[2]: at HomekitController.setCharacteristicValues (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:734:32) 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[2]: at Timeout. (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:702:30) 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[2]: at processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[3]: 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 with the reason: 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[3]: Error: undefined is not a valid state value 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[3]: at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/maybeCallback.ts:136:17) 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[3]: at HomekitController._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7594:26) 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[3]: at HomekitController.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7552:21) 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[3]: at /opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:745:26 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[3]: at Array.forEach () 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[3]: at HomekitController.setCharacteristicValues (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:734:32) 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[3]: at Timeout. (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:702:30) 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[3]: at processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[4]: 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 with the reason: 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[4]: Error: undefined is not a valid state value 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[4]: at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/maybeCallback.ts:136:17) 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[4]: at HomekitController._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7594:26) 2023-10-03 21:26:06.956 - error: host.iobroker Caught by controller[4]: at HomekitController.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7552:21) 2023-10-03 21:26:06.957 - error: host.iobroker Caught by controller[4]: at /opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:745:26 2023-10-03 21:26:06.957 - error: host.iobroker Caught by controller[4]: at Array.forEach () 2023-10-03 21:26:06.957 - error: host.iobroker Caught by controller[4]: at HomekitController.setCharacteristicValues (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:734:32) 2023-10-03 21:26:06.957 - error: host.iobroker Caught by controller[4]: at Timeout. (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:702:30) 2023-10-03 21:26:06.957 - error: host.iobroker Caught by controller[4]: at processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-10-03 21:26:06.957 - error: host.iobroker instance system.adapter.homekit-controller.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2023-10-03 21:26:15.088 - error: homekit-controller.0 (13921) 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(). 2023-10-03 21:26:15.089 - error: homekit-controller.0 (13921) unhandled promise rejection: undefined is not a valid state value 2023-10-03 21:26:15.158 - error: homekit-controller.0 (13921) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/maybeCallback.ts:136:17) at HomekitController._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7594:26) at HomekitController.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7552:21) at /opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:745:26 at Array.forEach () at HomekitController.setCharacteristicValues (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:734:32) at Timeout. (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:702:30) at processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-10-03 21:26:15.158 - error: homekit-controller.0 (13921) undefined is not a valid state value 2023-10-03 21:26:15.164 - error: homekit-controller.0 (13921) 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(). 2023-10-03 21:26:15.164 - error: homekit-controller.0 (13921) unhandled promise rejection: undefined is not a valid state value 2023-10-03 21:26:15.165 - error: homekit-controller.0 (13921) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/maybeCallback.ts:136:17) at HomekitController._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7594:26) at HomekitController.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7552:21) at /opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:745:26 at Array.forEach () at HomekitController.setCharacteristicValues (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:734:32) at Timeout. (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:702:30) at processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-10-03 21:26:15.165 - error: homekit-controller.0 (13921) undefined is not a valid state value 2023-10-03 21:26:15.167 - error: homekit-controller.0 (13921) 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(). 2023-10-03 21:26:15.167 - error: homekit-controller.0 (13921) unhandled promise rejection: undefined is not a valid state value 2023-10-03 21:26:15.168 - error: homekit-controller.0 (13921) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/maybeCallback.ts:136:17) at HomekitController._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7594:26) at HomekitController.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7552:21) at /opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:745:26 at Array.forEach () at HomekitController.setCharacteristicValues (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:734:32) at Timeout. (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:702:30) at processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-10-03 21:26:15.168 - error: homekit-controller.0 (13921) undefined is not a valid state value 2023-10-03 21:26:15.169 - error: homekit-controller.0 (13921) 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(). 2023-10-03 21:26:15.169 - error: homekit-controller.0 (13921) unhandled promise rejection: undefined is not a valid state value 2023-10-03 21:26:15.170 - error: homekit-controller.0 (13921) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/maybeCallback.ts:136:17) at HomekitController._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7594:26) at HomekitController.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7552:21) at /opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:745:26 at Array.forEach () at HomekitController.setCharacteristicValues (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:734:32) at Timeout. (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:702:30) at processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-10-03 21:26:15.170 - error: homekit-controller.0 (13921) undefined is not a valid state value 2023-10-03 21:26:15.182 - warn: homekit-controller.0 (13921) Terminated (UNCAUGHT_EXCEPTION): Without reason 2023-10-03 21:26:15.765 - error: host.iobroker 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 with the reason: 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[1]: Error: undefined is not a valid state value 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[1]: at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/maybeCallback.ts:136:17) 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[1]: at HomekitController._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7594:26) 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[1]: at HomekitController.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7552:21) 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[1]: at /opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:745:26 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[1]: at Array.forEach () 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[1]: at HomekitController.setCharacteristicValues (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:734:32) 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[1]: at Timeout. (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:702:30) 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[1]: at processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[2]: 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 with the reason: 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[2]: Error: undefined is not a valid state value 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[2]: at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/maybeCallback.ts:136:17) 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[2]: at HomekitController._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7594:26) 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[2]: at HomekitController.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7552:21) 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[2]: at /opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:745:26 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[2]: at Array.forEach () 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[2]: at HomekitController.setCharacteristicValues (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:734:32) 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[2]: at Timeout. (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:702:30) 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[2]: at processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[3]: 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 with the reason: 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[3]: Error: undefined is not a valid state value 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[3]: at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/maybeCallback.ts:136:17) 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[3]: at HomekitController._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7594:26) 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[3]: at HomekitController.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7552:21) 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[3]: at /opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:745:26 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[3]: at Array.forEach () 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[3]: at HomekitController.setCharacteristicValues (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:734:32) 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[3]: at Timeout. (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:702:30) 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[3]: at processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-10-03 21:26:15.765 - error: host.iobroker Caught by controller[4]: 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 with the reason: 2023-10-03 21:26:15.766 - error: host.iobroker Caught by controller[5]: Error: undefined is not a valid state value 2023-10-03 21:26:15.766 - error: host.iobroker Caught by controller[5]: at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/maybeCallback.ts:136:17) 2023-10-03 21:26:15.766 - error: host.iobroker Caught by controller[5]: at HomekitController._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7594:26) 2023-10-03 21:26:15.766 - error: host.iobroker Caught by controller[5]: at HomekitController.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7552:21) 2023-10-03 21:26:15.766 - error: host.iobroker Caught by controller[5]: at /opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:745:26 2023-10-03 21:26:15.766 - error: host.iobroker Caught by controller[5]: at Array.forEach () 2023-10-03 21:26:15.766 - error: host.iobroker Caught by controller[5]: at HomekitController.setCharacteristicValues (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:734:32) 2023-10-03 21:26:15.766 - error: host.iobroker Caught by controller[5]: at Timeout. (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:702:30) 2023-10-03 21:26:15.766 - error: host.iobroker Caught by controller[5]: at processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-10-03 21:26:15.766 - error: host.iobroker instance system.adapter.homekit-controller.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2023-10-03 21:26:24.129 - error: homekit-controller.0 (13936) 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(). 2023-10-03 21:26:24.131 - error: homekit-controller.0 (13936) unhandled promise rejection: undefined is not a valid state value 2023-10-03 21:26:24.198 - error: homekit-controller.0 (13936) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/maybeCallback.ts:136:17) at HomekitController._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7594:26) at HomekitController.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7552:21) at /opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:745:26 at Array.forEach () at HomekitController.setCharacteristicValues (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:734:32) at Timeout. (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:702:30) at processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-10-03 21:26:24.199 - error: homekit-controller.0 (13936) undefined is not a valid state value 2023-10-03 21:26:24.205 - error: homekit-controller.0 (13936) 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(). 2023-10-03 21:26:24.205 - error: homekit-controller.0 (13936) unhandled promise rejection: undefined is not a valid state value 2023-10-03 21:26:24.206 - error: homekit-controller.0 (13936) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/maybeCallback.ts:136:17) at HomekitController._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7594:26) at HomekitController.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7552:21) at /opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:745:26 at Array.forEach () at HomekitController.setCharacteristicValues (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:734:32) at Timeout. (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:702:30) at processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-10-03 21:26:24.206 - error: homekit-controller.0 (13936) undefined is not a valid state value 2023-10-03 21:26:24.208 - error: homekit-controller.0 (13936) 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(). 2023-10-03 21:26:24.208 - error: homekit-controller.0 (13936) unhandled promise rejection: undefined is not a valid state value 2023-10-03 21:26:24.209 - error: homekit-controller.0 (13936) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/maybeCallback.ts:136:17) at HomekitController._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7594:26) at HomekitController.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7552:21) at /opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:745:26 at Array.forEach () at HomekitController.setCharacteristicValues (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:734:32) at Timeout. (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:702:30) at processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-10-03 21:26:24.209 - error: homekit-controller.0 (13936) undefined is not a valid state value 2023-10-03 21:26:24.210 - error: homekit-controller.0 (13936) 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(). 2023-10-03 21:26:24.210 - error: homekit-controller.0 (13936) unhandled promise rejection: undefined is not a valid state value 2023-10-03 21:26:24.211 - error: homekit-controller.0 (13936) Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/maybeCallback.ts:136:17) at HomekitController._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7594:26) at HomekitController.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7552:21) at /opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:745:26 at Array.forEach () at HomekitController.setCharacteristicValues (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:734:32) at Timeout. (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:702:30) at processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-10-03 21:26:24.211 - error: homekit-controller.0 (13936) undefined is not a valid state value 2023-10-03 21:26:24.222 - warn: homekit-controller.0 (13936) Terminated (UNCAUGHT_EXCEPTION): Without reason 2023-10-03 21:26:24.795 - error: host.iobroker 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 with the reason: 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[1]: Error: undefined is not a valid state value 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[1]: at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/maybeCallback.ts:136:17) 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[1]: at HomekitController._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7594:26) 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[1]: at HomekitController.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7552:21) 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[1]: at /opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:745:26 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[1]: at Array.forEach () 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[1]: at HomekitController.setCharacteristicValues (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:734:32) 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[1]: at Timeout. (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:702:30) 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[1]: at processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[2]: 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 with the reason: 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[2]: Error: undefined is not a valid state value 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[2]: at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/maybeCallback.ts:136:17) 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[2]: at HomekitController._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7594:26) 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[2]: at HomekitController.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7552:21) 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[2]: at /opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:745:26 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[2]: at Array.forEach () 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[2]: at HomekitController.setCharacteristicValues (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:734:32) 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[2]: at Timeout. (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:702:30) 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[2]: at processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[3]: 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 with the reason: 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[3]: Error: undefined is not a valid state value 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[3]: at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/maybeCallback.ts:136:17) 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[3]: at HomekitController._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7594:26) 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[3]: at HomekitController.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7552:21) 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[3]: at /opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:745:26 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[3]: at Array.forEach () 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[3]: at HomekitController.setCharacteristicValues (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:734:32) 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[3]: at Timeout. (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:702:30) 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[3]: at processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[4]: 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 with the reason: 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[4]: Error: undefined is not a valid state value 2023-10-03 21:26:24.795 - error: host.iobroker Caught by controller[4]: at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/src/lib/common/maybeCallback.ts:136:17) 2023-10-03 21:26:24.796 - error: host.iobroker Caught by controller[4]: at HomekitController._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7594:26) 2023-10-03 21:26:24.796 - error: host.iobroker Caught by controller[4]: at HomekitController.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7552:21) 2023-10-03 21:26:24.796 - error: host.iobroker Caught by controller[4]: at /opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:745:26 2023-10-03 21:26:24.796 - error: host.iobroker Caught by controller[4]: at Array.forEach () 2023-10-03 21:26:24.796 - error: host.iobroker Caught by controller[4]: at HomekitController.setCharacteristicValues (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:734:32) 2023-10-03 21:26:24.796 - error: host.iobroker Caught by controller[4]: at Timeout. (/opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js:702:30) 2023-10-03 21:26:24.796 - error: host.iobroker Caught by controller[4]: at processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-10-03 21:26:24.796 - error: host.iobroker instance system.adapter.homekit-controller.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2023-10-03 21:26:24.796 - warn: host.iobroker Do not restart adapter system.adapter.homekit-controller.0 because restart loop detected

—————————————————

Kannst du mir helfen herauszufinden, wo ich den Fehler gemacht habe?

Apollon77 commented 12 months ago

Duplicate #291 ... please try github version. Does it work?

einarmiger0815 commented 12 months ago

Guten Morgen.

Ich habe via github installiert und werde es bis morgen früh beobachten.

Danke erstmal.

Grüße, Thomas

Von: Ingo Fischer @.> Gesendet: Mittwoch, 4. Oktober 2023 08:34 An: Apollon77/ioBroker.homekit-controller @.> Cc: einarmiger0815 @.>; Author @.> Betreff: Re: [Apollon77/ioBroker.homekit-controller] Adapter restart loop (Issue #302)

Duplicate #291 https://github.com/Apollon77/ioBroker.homekit-controller/issues/291 ... please try github version. Does it work?

— Reply to this email directly, view it on GitHub https://github.com/Apollon77/ioBroker.homekit-controller/issues/302#issuecomment-1746223356 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ALIWWBZ6GQ6CHSLDOEWWDJ3X5T7MTAVCNFSM6AAAAAA5RPZBJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBWGIZDGMZVGY . You are receiving this because you authored the thread. https://github.com/notifications/beacon/ALIWWB5UV2EXURYX7HUSX53X5T7MTA5CNFSM6AAAAAA5RPZBJSWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTICVAPY.gif Message ID: @. @.> >

einarmiger0815 commented 12 months ago

Hallo Ingo,

Danke für den Link und den Hinweis zur Überinstallation mit der gepatchten Github-Variante. Scheint wieder sauber zu laufen.

Ich bin halt auch auf der vorherigen Recherche zur Fehlerbehebung auf den „Zauber“ mit derr gleichlautenden Versionsnummer hereingefallen.

Grüße,

Thomas

Von meinem iPad gesendet

Am 04.10.2023 um 08:33 schrieb Ingo Fischer @.***>:



Duplicate #291https://github.com/Apollon77/ioBroker.homekit-controller/issues/291 ... please try github version. Does it work?

— Reply to this email directly, view it on GitHubhttps://github.com/Apollon77/ioBroker.homekit-controller/issues/302#issuecomment-1746223356, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALIWWBZ6GQ6CHSLDOEWWDJ3X5T7MTAVCNFSM6AAAAAA5RPZBJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBWGIZDGMZVGY. You are receiving this because you authored the thread.Message ID: @.***>