NEWS
Zigbee stürzt beim schalten von Birnen über Shalter ab
-
@arteck bei mir kommt es zum selben Fehler (soweit ich das erkenne) wie bei @earl80
Cannot read property 'color_options' of undefined zigbee.0 2022-06-03 08:01:18.099 error TypeError: Cannot read property 'color_options' of undefined at Object.bulbOnEvent [as onEvent] (/opt/iobroker/node_modules/zigbee-herdsman-converters/devices/ikea.js:39:19) at DeviceEvent.callOnEvent (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceEvent.js:44:26) at DeviceEvent.onZigbeeEvent (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceEvent.js:26:18) at ZigbeeController.callExtensionMethod (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:236:54) at ZigbeeController.handleDeviceAnnounce (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:560:18) zigbee.0 2022-06-03 08:01:18.095 error unhandled promise rejection: Cannot read property 'color_options' of undefined zigbee.0 2022-06-03 08:01:18.094 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(). host.iobroker 2022-06-03 07:51:58.562 error instance system.adapter.zigbee.0 terminated with code 6 (UNCAUGHT_EXCEPTION) host.iobroker 2022-06-03 07:51:58.561 error Caught by controller[5]: at ZigbeeController.callExtensionMethod (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:236:54) host.iobroker 2022-06-03 07:51:58.560 error Caught by controller[5]: at DeviceEvent.onZigbeeEvent (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceEvent.js:26:18) host.iobroker 2022-06-03 07:51:58.561 error Caught by controller[5]: at ZigbeeController.handleDeviceAnnounce (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:560:18) host.iobroker 2022-06-03 07:51:58.560 error Caught by controller[5]: at DeviceEvent.callOnEvent (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceEvent.js:44:26) host.iobroker 2022-06-03 07:51:58.559 error Caught by controller[5]: at Object.bulbOnEvent [as onEvent] (/opt/iobroker/node_modules/zigbee-herdsman-converters/devices/ikea.js:39:19) host.iobroker 2022-06-03 07:51:58.559 error Caught by controller[5]: TypeError: Cannot read property 'color_options' of undefined host.iobroker 2022-06-03 07:51:58.559 error 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: host.iobroker 2022-06-03 07:51:58.558 error Caught by controller[3]: at ZigbeeController.handleDeviceAnnounce (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:560:18) host.iobroker 2022-06-03 07:51:58.558 error Caught by controller[3]: at ZigbeeController.callExtensionMethod (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:236:54) host.iobroker 2022-06-03 07:51:58.558 error Caught by controller[3]: at DeviceEvent.onZigbeeEvent (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceEvent.js:26:18) host.iobroker 2022-06-03 07:51:58.557 error Caught by controller[3]: at DeviceEvent.callOnEvent (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceEvent.js:44:26) host.iobroker 2022-06-03 07:51:58.552 error Caught by controller[3]: TypeError: Cannot read property 'color_options' of undefined host.iobroker 2022-06-03 07:51:58.551 error 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: host.iobroker 2022-06-03 07:51:58.551 error Caught by controller[1]: at ZigbeeController.callExtensionMethod (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:236:54) host.iobroker 2022-06-03 07:51:58.552 error Caught by controller[3]: at Object.bulbOnEvent [as onEvent] (/opt/iobroker/node_modules/zigbee-herdsman-converters/devices/ikea.js:39:19) host.iobroker 2022-06-03 07:51:58.550 error Caught by controller[1]: at DeviceEvent.onZigbeeEvent (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceEvent.js:26:18) host.iobroker 2022-06-03 07:51:58.551 error Caught by controller[1]: at ZigbeeController.handleDeviceAnnounce (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:560:18) host.iobroker 2022-06-03 07:51:58.550 error Caught by controller[1]: at DeviceEvent.callOnEvent (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceEvent.js:44:26) host.iobroker 2022-06-03 07:51:58.549 error Caught by controller[1]: TypeError: Cannot read property 'color_options' of undefined host.iobroker 2022-06-03 07:51:58.548 error Caught by controller[1]: 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: host.iobroker 2022-06-03 07:51:58.549 error Caught by controller[1]: at Object.bulbOnEvent [as onEvent] (/opt/iobroker/node_modules/zigbee-herdsman-converters/devices/ikea.js:39:19) host.iobroker 2022-06-03 07:51:58.548 error Caught by controller[1]: at ZigbeeController.handleDeviceAnnounce
Es handelt sich um Ikea Gu10 color spots.
Das sind bei mir die einzigen zigbee Geräte, die durch einen Schalter stromlos geschaltet werden. Ansonsten müsste der Fehler ja immer kommen, wenn ich ein zigbee Gerät vom Strom nehme und wieder anschließe? -
@m-a-x nein ES SIND NUR DIE IKEA BETROFFEN..und nur weil ihr die Spots vom Strom trennt
das ist das wiedereinschalten Verhalten nach Stromlos -
kann einer was testen
adapter stopen
dann in den konsolenano /opt/iobroker/node_modules/zigbee-herdsman-converters/devices/ikea.js
in zeile 39
if (state.color_options !== undefined && state.color_options.execute_if_off === true) {
ändern in
if (state !== undefined && state.color_options.execute_if_off === true) {
und zeile 42
if (state.level_config !== undefined && state.level_config.execute_if_off === true) {
in
if (state!== undefined && state.level_config.execute_if_off === true) {
adapter starten
-
Muss das von unterwegs auf dem Handy über VPN machen. Hoffe es geht nichts schief
code_textst.iobroker 2022-06-03 08:45:08.162 info Restart adapter system.adapter.zigbee.0 because enabled host.iobroker 2022-06-03 08:45:08.162 error instance system.adapter.zigbee.0 terminated with code 6 (UNCAUGHT_EXCEPTION) host.iobroker 2022-06-03 08:45:08.162 error Caught by controller[1]: at ZigbeeController.handleDeviceAnnounce (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:560:18) host.iobroker 2022-06-03 08:45:08.162 error Caught by controller[1]: at ZigbeeController.callExtensionMethod (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:236:54) host.iobroker 2022-06-03 08:45:08.161 error Caught by controller[1]: at DeviceEvent.onZigbeeEvent (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceEvent.js:26:18) host.iobroker 2022-06-03 08:45:08.161 error Caught by controller[1]: at DeviceEvent.callOnEvent (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceEvent.js:44:26) host.iobroker 2022-06-03 08:45:08.161 error Caught by controller[1]: at Object.bulbOnEvent [as onEvent] (/opt/iobroker/node_modules/zigbee-herdsman-converters/devices/ikea.js:42:19) host.iobroker 2022-06-03 08:45:08.160 error Caught by controller[1]: TypeError: Cannot read property 'level_config' of undefined host.iobroker 2022-06-03 08:45:08.159 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 with the reason: zigbee.0 2022-06-03 08:45:07.539 warn Terminated (UNCAUGHT_EXCEPTION): Without reason zigbee.0 2022-06-03 08:45:07.537 info terminating zigbee.0 2022-06-03 08:45:07.225 info Zigbee: disabling joining new devices. zigbee.0 2022-06-03 08:45:07.036 info cleaned everything up... zigbee.0 2022-06-03 08:45:07.022 error Cannot read property 'level_config' of undefined zigbee.0 2022-06-03 08:45:07.021 error TypeError: Cannot read property 'level_config' of undefined at Object.bulbOnEvent [as onEvent] (/opt/iobroker/node_modules/zigbee-herdsman-converters/devices/ikea.js:42:19) at DeviceEvent.callOnEvent (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceEvent.js:44:26) at DeviceEvent.onZigbeeEvent (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceEvent.js:26:18) at ZigbeeController.callExtensionMethod (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:236:54) at ZigbeeController.handleDeviceAnnounce (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:560:18) zigbee.0 2022-06-03 08:45:07.018 error unhandled promise rejection: Cannot read property 'level_config' of undefined zigbee.0 2022-06-03 08:45:07.017 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(). zigbee.0 2022-06-03 08:45:07.009 warn Device '0x2c1165fffe9542d9' announced itself web.0 2022-06-03 08:44:58.839 info ==> Connected system.user.admin from ::ffff:192.168.9.101 zigbee.0 2022-06-03 08:44:34.132 info Zigbee started
-
@m-a-x du musst noch eine zeile ändern
-
@arteck oh sorry. Hab ich überlesen... Handy Ansicht und so.
Scheint wieder zu funktionieren. Meine Frau sagt auch das Licht ist an und aus gegangenzigbee.0 2022-06-03 09:04:48.906 warn Device '0x2c1165fffe7d55cd' announced itself zigbee.0 2022-06-03 09:04:48.655 warn Device '0x2c1165fffe94ad5d' announced itself zigbee.0 2022-06-03 09:04:48.420 warn Device '0x2c1165fffe85b3f6' announced itself zigbee.0 2022-06-03 09:04:48.402 warn Device '0x2c1165fffe7d68a2' announced itself zigbee.0 2022-06-03 09:04:48.389 warn Device '0x2c1165fffe8a05ce' announced itself zigbee.0 2022-06-03 09:04:48.387 warn Device '0x2c1165fffe2cd033' announced itself zigbee.0 2022-06-03 09:04:48.359 warn Device '0x2c1165fffe9542d9' announced itself web.0 2022-06-03 09:04:38.708 info ==> Connected system.user.admin from ::ffff:192.168.9.101 zigbee.0 2022-06-03 09:04:12.555 info Zigbee started
-
ich hab ne korektur eingestellt im converter... wird bestimmt dauern..
aber so ist euch erstmal geholfen
-
@arteck Funktioniert!!
Vielen Dank!
-
Müssen wir die Zeilen jetzt bei jedem Update des Adapters ändern, bis das im Converter gefixt wurde?
Danke für die schnelle Hilfe.
-
@david-g wenn du von Git installierst dann ja..
-
korrektur ist ab sofort auf GIT verfügbar
-
@arteck Ich habe das Problem auch noch. Ich habe den Adapter aber über die Adapterverwaltung vom ioBroker installiert:
Gibt es schon Hochrechnungen, wann die Fehlerbehebung auch dort ankommt?
Oder soll ich den weiter oben beschriebenen Weg wählen? Muss / (Wie) Kann ich die Adapter sichern und wieder einspielen, um nicht alles neu anlernen zu müssen...?
Vielen Dank
Martin
-
@martin-72 Du kannst den über github installieren. In der Adminoberfläche auf die "Katze" tippen und da dann zigbee eingeben und den Adapter installieren. Das ist dasselbe wie ein Versionsupdate über die Adapterverwaltung, nur dass es halt "Beta" ist und noch nicht "offiziell", sichern musst du da eigentlich nichts, ist nur ne neue Version.
-
Vielen Dank
Liebe Grüße
Martin
-
@arteck Das Problem besteht seit geraumer Zeit wieder. Was genau meinst du mit Bug im Converter, kommt der Converter von dir, oder bindest du etwas externes ein? Dann müsste man den Fehler ja dort melden.
Guten Rutsch
-
@ewf04214
Aktuelle Stand: vor 3 Stunden über Git installiert, alles mögliche probiert, KENE FEHLER !
Guten Rutsch! -
1.9.6 ist unterwegs
-
@arteck danke, auf den ersten Blick scheints zu funktionieren, Geräte Annoncen sich, und der Adapter bleibt online.