NEWS
Zigbee stürzt beim schalten von Birnen über Shalter ab
-
Hallo,
heute habe ich bemerkt, dass der Zigbee Adapter abstürzt wenn ich meine IKEA Birnen über den Lichtschalter einschalte.
Hab Version 1.7.5 installiert.
zigbee.0 2022-06-02 13:53:58.598 warn Terminated (UNCAUGHT_EXCEPTION): Without reason zigbee.0 2022-06-02 13:53:58.595 info terminating zigbee.0 2022-06-02 13:53:58.154 info Zigbee: disabling joining new devices. zigbee.0 2022-06-02 13:53:58.094 info cleaned everything up... zigbee.0 2022-06-02 13:53:58.085 error Cannot read property 'color_options' of undefined zigbee.0 2022-06-02 13:53:58.085 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-02 13:53:58.084 error unhandled promise rejection: Cannot read property 'color_options' of undefined zigbee.0 2022-06-02 13:53:58.081 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-02 13:53:58.075 error Cannot read property 'color_options' of undefined zigbee.0 2022-06-02 13:53:58.075 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-02 13:53:58.073 error unhandled promise rejection: Cannot read property 'color_options' of undefined zigbee.0 2022-06-02 13:53:58.072 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-02 13:53:58.053 warn Device '0x60a423fffef0ff05' announced itself zigbee.0 2022-06-02 13:53:58.043 warn Device '0xbc33acfffeb20bf5' announced itself
Sind beides diese Birnen:
EDIT:
Bin jetzt wieder mittelscd /opt/iobroker sudo -H -u iobroker npm install iobroker.zigbee@1.6.18 --loglevel error --prefix "/opt/iobroker"
auf die 1.6.8.
Jetzt klappt alles wieder (auch wenn bei den Instanzen noch die aktuelle Version steht, bei den Adaptern aber die die 1.6.8).
Zufall oder wurde da auch was gemacht @arteck ?
-
@david-g @arteck ist bei mir ähnlich
code_text host.raspberrypi 2022-06-03 04:50:09.070 error instance system.adapter.zigbee.0 terminated with code 6 (UNCAUGHT_EXCEPTION) host.raspberrypi 2022-06-03 04:50:09.070 error Caught by controller[1]: at ZigbeeController.handleDeviceAnnounce (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:560:18) host.raspberrypi 2022-06-03 04:50:09.070 error Caught by controller[1]: at ZigbeeController.callExtensionMethod (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:236:54) host.raspberrypi 2022-06-03 04:50:09.069 error Caught by controller[1]: at DeviceEvent.onZigbeeEvent (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceEvent.js:26:18) host.raspberrypi 2022-06-03 04:50:09.069 error Caught by controller[1]: at DeviceEvent.callOnEvent (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceEvent.js:44:26) host.raspberrypi 2022-06-03 04:50:09.069 error Caught by controller[1]: at Object.bulbOnEvent [as onEvent] (/opt/iobroker/node_modules/zigbee-herdsman-converters/devices/ikea.js:39:19) host.raspberrypi 2022-06-03 04:50:09.069 error Caught by controller[1]: TypeError: Cannot read property 'color_options' of undefined host.raspberrypi 2022-06-03 04:50:09.068 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 04:50:07.894 error Cannot read property 'color_options' of undefined zigbee.0 2022-06-03 04:50:07.893 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 04:50:07.887 error unhandled promise rejection: Cannot read property 'color_options' of undefined zigbee.0 2022-06-03 04:50:07.886 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().
-
Kann ich bestätigen. Hab auch IKEA Lampen
2022-06-03 06:00:55.929 - warn: zigbee.0 (17889) Device '0x2c1165fffee4589c' announced itself 2022-06-03 06:00:55.933 - error: zigbee.0 (17889) 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(). 2022-06-03 06:00:55.933 - error: zigbee.0 (17889) unhandled promise rejection: Cannot read properties of undefined (reading 'color_options') 2022-06-03 06:00:55.934 - error: zigbee.0 (17889) TypeError: Cannot read properties of undefined (reading 'color_options') 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) 2022-06-03 06:00:55.934 - error: zigbee.0 (17889) Cannot read properties of undefined (reading 'color_options') 2022-06-03 06:00:55.948 - info: zigbee.0 (17889) cleaned everything up... 2022-06-03 06:00:55.969 - info: zigbee.0 (17889) Zigbee: disabling joining new devices. 2022-06-03 06:00:56.448 - info: zigbee.0 (17889) terminating 2022-06-03 06:00:56.449 - warn: zigbee.0 (17889) Terminated (UNCAUGHT_EXCEPTION): Without reason 2022-06-03 06:00:56.997 - error: host.iob18ig 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: 2022-06-03 06:00:56.997 - error: host.iob18ig Caught by controller[0]: TypeError: Cannot read properties of undefined (reading 'color_options') 2022-06-03 06:00:56.997 - error: host.iob18ig Caught by controller[0]: at Object.bulbOnEvent [as onEvent] (/opt/iobroker/node_modules/zigbee-herdsman-converters/devices/ikea.js:39:19) 2022-06-03 06:00:56.997 - error: host.iob18ig Caught by controller[0]: at DeviceEvent.callOnEvent (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceEvent.js:44:26) 2022-06-03 06:00:56.997 - error: host.iob18ig Caught by controller[0]: at DeviceEvent.onZigbeeEvent (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceEvent.js:26:18) 2022-06-03 06:00:56.997 - error: host.iob18ig Caught by controller[0]: at ZigbeeController.callExtensionMethod (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:236:54) 2022-06-03 06:00:56.997 - error: host.iob18ig Caught by controller[0]: at ZigbeeController.handleDeviceAnnounce (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:560:18) 2022-06-03 06:00:56.998 - error: host.iob18ig instance system.adapter.zigbee.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2022-06-03 06:00:56.998 - info: host.iob18ig Restart adapter system.adapter.zigbee.0 because enabled
-
color_options
da ist ein bug im converter.und sind nur ikea lampen betroffen
@earl80 Logs bitte in Code tag.. kann man besser lesen
-
@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!