Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Zigbee Adapter mit CC2531 startet nicht mehr [gelöst]

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Zigbee Adapter mit CC2531 startet nicht mehr [gelöst]

    This topic has been deleted. Only users with topic management privileges can see it.
    • mickym
      mickym Most Active last edited by mickym

      Ich habe nun den Stick mal 15 Minuten raus gezogen - um thermische Probleme auszuschließen. Er will einfach nicht mehr. Kann man denn noch irgendwas überprüfen oder hat der Stick plötzlich seinen Geist aufgegeben?

      Das OS kennt das Teil aber anscheinend:

       ls -l /dev/serial/by-id
      insgesamt 0
      lrwxrwxrwx 1 root root 13 Jul 28 17:41 usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B000BE86CD0-if00 -> ../../ttyACM0
      
      arteck 1 Reply Last reply Reply Quote 0
      • arteck
        arteck Developer Most Active @mickym last edited by

        @mickym die Meldungs sagt das das serialport belegt ist.. wo hast du den Stecken (pi,nuc) und ist da nochwas im USB drin ?

        mickym 1 Reply Last reply Reply Quote 0
        • mickym
          mickym Most Active @arteck last edited by mickym

          @arteck Ich habe noch USB Sticks drin - aber nichts was serielle Kommunikation ist .

          Es kommt immer das - nach frischen Neustart

          zigbee.0	2020-07-29 12:25:46.445	info	(2119) Terminated (NO_ERROR): Without reason
          zigbee.0	2020-07-29 12:25:46.443	info	(2119) terminating
          zigbee.0	2020-07-29 12:25:46.390	error	(2119) TypeError: Cannot read property 'newID' of null at Function.create (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/group.js:85:54) at Controller.createGroup (/opt/iobr
          zigbee.0	2020-07-29 12:25:46.389	error	(2119) unhandled promise rejection: Cannot read property 'newID' of null
          zigbee.0	2020-07-29 12:25:46.389	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	2020-07-29 12:25:46.380	error	(2119) Failed to stop zigbee (TypeError: Cannot read property 'permitJoin' of undefined at Controller.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:161:39)
          zigbee.0	2020-07-29 12:25:46.377	info	(2119) Zigbee: disabling joining new devices.
          zigbee.0	2020-07-29 12:25:46.376	error	(2119) TypeError: Cannot read property 'mapped' of undefined at Zigbee.publishFromState (/opt/iobroker/node_modules/iobroker.zigbee/main.js:198:36) at processTicksAndRejections (internal/proce
          zigbee.0	2020-07-29 12:25:46.375	error	(2119) unhandled promise rejection: Cannot read property 'mapped' of undefined
          zigbee.0	2020-07-29 12:25:46.374	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	2020-07-29 12:25:46.374	error	(2119) TypeError: Cannot read property 'getEntries' of null at Function.loadFromDatabaseIfNecessary (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/group.js:64:55) at Functio
          zigbee.0	2020-07-29 12:25:46.373	error	(2119) unhandled promise rejection: Cannot read property 'getEntries' of null
          zigbee.0	2020-07-29 12:25:46.372	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	2020-07-29 12:25:46.370	info	(2119) cleaned everything up...
          zigbee.0	2020-07-29 12:25:46.368	error	(2119) TypeError: Cannot read property 'getEntries' of null at Function.loadFromDatabaseIfNecessary (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/device.js:200:55) at Funct
          zigbee.0	2020-07-29 12:25:46.367	error	(2119) unhandled promise rejection: Cannot read property 'getEntries' of null
          zigbee.0	2020-07-29 12:25:46.366	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().
          

          Wie gesagt - das ist nach komplettem Neustart und LED auf Stick ist grün.

          arteck 1 Reply Last reply Reply Quote 0
          • arteck
            arteck Developer Most Active @mickym last edited by arteck

            @mickym
            installiere mal die GIT version über die Katze

            dann steck mal alles ab reboote neu und steck nur den stick rein

            mickym 1 Reply Last reply Reply Quote 0
            • mickym
              mickym Most Active @arteck last edited by mickym

              @arteck

              Die Installation lief ohne Fehler durch

              $ ./iobroker url "https://github.com/ioBroker/ioBroker.zigbee/tarball/master" zigbee
              install https://github.com/ioBroker/ioBroker.zigbee/tarball/master
              NPM version: 6.14.6npm install https://github.com/ioBroker/ioBroker.zigbee/tarball/master --loglevel error --prefix "/opt/iobroker" (System call)
              In file included from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)                                                              ^
              ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:78:69: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);                                                                     ^~~~~~~~~~~~~
              ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:135:71: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);                                                                       ^~~~~~~~~~~~~~~
              ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:175:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);                                                                      ^~~~~~~~~~~~~~
              ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:215:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);                                                                      ^~~~~~~~~~~~~~
              ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:270:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);                                                                    ^~~~~~~~~~~~
              ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:314:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);                                                                    ^~~~~~~~~~~~
              ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:363:76: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);                                                                            ^~~~~~~~~~~~~~~~~~~~
              ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:409:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]   uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);                                                                      ^~~~~~~~~~~~~~
              ../src/serialport.cpp: At global scope:../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {                            ^
              ../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {                              ^
              In file included from ../../../nan/nan.h:56,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:608:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]       (node::addon_register_func) (regfunc),                          \                                           ^/home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:642:3: note: in expansion of macro ‘NODE_MODULE_X’   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)   ^~~~~~~~~~~~~../src/serialport.cpp:483:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~
              In file included from ../src/serialport.h:6,                 from ../src/serialport_unix.cpp:2:../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)                                                              ^
              ../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’:../src/serialport_unix.cpp:176:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=]     snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~../src/serialport_unix.cpp:176:13: note: ‘snprintf’ output 20 or more bytes (assuming 1043) into a destination of size 1024     snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              ../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’:../src/serialport_unix.cpp:86:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=]     snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~../src/serialport_unix.cpp:86:13: note: ‘snprintf’ output 22 or more bytes (assuming 1045) into a destination of size 1024     snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              In file included from ../src/poller.cpp:1:../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)                                                              ^
              upload [200] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/sensor_magnet_aq2.png img/sensor_magnet_aq2.png image/png
              upload [150] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/osram_a60_rgbw.png img/osram_a60_rgbw.png image/png
              upload [100] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/innr3.png img/innr3.png image/png
              upload [90] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/ikea_remote_control1.png img/ikea_remote_control1.png image/png
              upload [80] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/ikea_bulb_E27_clear.png img/ikea_bulb_E27_clear.png image/png
              upload [70] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/hive.png img/hive.png image/png
              upload [60] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/gira_4_buttons.png img/gira_4_buttons.png image/png
              upload [50] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/essentials_premium.png img/essentials_premium.png image/png
              upload [40] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/ctrl_ln2.png img/ctrl_ln2.png image/png
              upload [30] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/battery_p.png img/battery_p.png image/png
              upload [20] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/SGMHM-I1.png img/SGMHM-I1.png image/png
              upload [19] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/Ikea_fyrtur.png img/Ikea_fyrtur.png image/png
              upload [18] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/FLOALT.panel.WS.png img/FLOALT.panel.WS.png image/png
              upload [17] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/Eurotronic_Spirit_04.png img/Eurotronic_Spirit_04.png image/png
              upload [16] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/DIYRuZ.png img/DIYRuZ.png image/png
              upload [15] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/Bitron_AV201021A.png img/Bitron_AV201021A.png image/png
              upload [14] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/AV2010_32.png img/AV2010_32.png image/png
              upload [13] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/86sw2.png img/86sw2.png image/png
              upload [12] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/86sw1.png img/86sw1.png image/png
              upload [11] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/86plug.png img/86plug.png image/png
              upload [10] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
              upload [9] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
              upload [8] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
              upload [7] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
              upload [6] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
              upload [5] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/i18n/it/translations.json i18n/it/translations.json application/json
              upload [4] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
              upload [3] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/i18n/es/translations.json i18n/es/translations.json application/json
              upload [2] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/i18n/en/translations.json i18n/en/translations.json application/json
              upload [1] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/i18n/de/translations.json i18n/de/translations.json application/json
              upload [0] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/admin.js admin.js application/javascript
              Update "system.adapter.zigbee.0"
              process exited with code 0
              

              Aber jetzt startet der Adapter gar nicht mehr (rot) statt gelb vorher.

              
              host.MWHome	2020-07-29 12:43:12.051	info	Restart adapter system.adapter.zigbee.0 because enabled
              host.MWHome	2020-07-29 12:43:12.050	error	instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
              host.MWHome	2020-07-29 12:43:12.050	error	Caught by controller[0]: }
              host.MWHome	2020-07-29 12:43:12.050	error	Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.zigbee/main.js' ]
              host.MWHome	2020-07-29 12:43:12.050	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
              host.MWHome	2020-07-29 12:43:12.049	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) {
              host.MWHome	2020-07-29 12:43:12.049	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:878:14)
              host.MWHome	2020-07-29 12:43:12.049	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:985:32)
              host.MWHome	2020-07-29 12:43:12.049	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
              host.MWHome	2020-07-29 12:43:12.048	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1137:30)
              host.MWHome	2020-07-29 12:43:12.048	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.zigbee/main.js:8:15)
              host.MWHome	2020-07-29 12:43:12.048	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:72:18)
              host.MWHome	2020-07-29 12:43:12.047	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1025:19)
              host.MWHome	2020-07-29 12:43:12.047	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:841:27)
              host.MWHome	2020-07-29 12:43:12.047	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
              host.MWHome	2020-07-29 12:43:12.046	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/main.js
              host.MWHome	2020-07-29 12:43:12.046	error	Caught by controller[0]: Require stack:
              host.MWHome	2020-07-29 12:43:12.045	error	Caught by controller[0]: Error: Cannot find module 'zigbee-herdsman/node_modules/debug'
              host.MWHome	2020-07-29 12:43:12.045	error	Caught by controller[0]: ^
              host.MWHome	2020-07-29 12:43:12.044	error	Caught by controller[0]: throw err;
              host.MWHome	2020-07-29 12:43:12.044	error	Caught by controller[0]: internal/modules/cjs/loader.js:968
              host.MWHome	2020-07-29 12:43:11.826	info	instance system.adapter.zigbee.0 started with pid 2373
              host.MWHome	2020-07-29 12:43:05.884	info	Restart adapter system.adapter.zigbee.0 because enabled
              host.MWHome	2020-07-29 12:43:05.884	error	instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
              host.MWHome	2020-07-29 12:43:05.884	error	Caught by controller[0]: }
              host.MWHome	2020-07-29 12:43:05.883	error	Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.zigbee/main.js' ]
              host.MWHome	2020-07-29 12:43:05.883	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
              host.MWHome	2020-07-29 12:43:05.883	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) {
              host.MWHome	2020-07-29 12:43:05.882	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:878:14)
              host.MWHome	2020-07-29 12:43:05.882	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:985:32)
              host.MWHome	2020-07-29 12:43:05.881	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
              host.MWHome	2020-07-29 12:43:05.881	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1137:30)
              host.MWHome	2020-07-29 12:43:05.881	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.zigbee/main.js:8:15)
              host.MWHome	2020-07-29 12:43:05.881	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:72:18)
              host.MWHome	2020-07-29 12:43:05.880	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1025:19)
              host.MWHome	2020-07-29 12:43:05.880	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:841:27)
              host.MWHome	2020-07-29 12:43:05.880	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
              host.MWHome	2020-07-29 12:43:05.880	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/main.js
              host.MWHome	2020-07-29 12:43:05.879	error	Caught by controller[0]: Require stack:
              host.MWHome	2020-07-29 12:43:05.879	error	Caught by controller[0]: Error: Cannot find module 'zigbee-herdsman/node_modules/debug'
              host.MWHome	2020-07-29 12:43:05.878	error	Caught by controller[0]: ^
              host.MWHome	2020-07-29 12:43:05.878	error	Caught by controller[0]: throw err;
              host.MWHome	2020-07-29 12:43:05.877	error	Caught by controller[0]: internal/modules/cjs/loader.js:968
              host.MWHome	2020-07-29 12:43:05.648	info	instance system.adapter.zigbee.0 started with pid 2354
              sql.0	2020-07-29 12:42:47.277	error	(1833) Error: connect ECONNREFUSED 127.0.0.1:3306
              host.MWHome	2020-07-29 12:42:35.628	info	Restart adapter system.adapter.zigbee.0 because enabled
              host.MWHome	2020-07-29 12:42:35.627	error	instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
              host.MWHome	2020-07-29 12:42:35.627	error	Caught by controller[0]: }
              host.MWHome	2020-07-29 12:42:35.626	error	Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.zigbee/main.js' ]
              host.MWHome	2020-07-29 12:42:35.626	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
              host.MWHome	2020-07-29 12:42:35.625	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) {
              host.MWHome	2020-07-29 12:42:35.625	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:878:14)
              host.MWHome	2020-07-29 12:42:35.624	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:985:32)
              host.MWHome	2020-07-29 12:42:35.624	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
              host.MWHome	2020-07-29 12:42:35.623	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1137:30)
              host.MWHome	2020-07-29 12:42:35.623	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.zigbee/main.js:8:15)
              host.MWHome	2020-07-29 12:42:35.621	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:72:18)
              host.MWHome	2020-07-29 12:42:35.621	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1025:19)
              host.MWHome	2020-07-29 12:42:35.620	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:841:27)
              host.MWHome	2020-07-29 12:42:35.620	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
              host.MWHome	2020-07-29 12:42:35.619	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/main.js
              host.MWHome	2020-07-29 12:42:35.619	error	Caught by controller[0]: Require stack:
              host.MWHome	2020-07-29 12:42:35.618	error	Caught by controller[0]: Error: Cannot find module 'zigbee-herdsman/node_modules/debug'
              host.MWHome	2020-07-29 12:42:35.618	error	Caught by controller[0]: ^
              host.MWHome	2020-07-29 12:42:35.617	error	Caught by controller[0]: throw err;
              host.MWHome	2020-07-29 12:42:35.615	error	Caught by controller[0]: internal/modules/cjs/loader.js:968
              host.MWHome	2020-07-29 12:42:35.341	info	instance system.adapter.zigbee.0 started with pid 2214
              

              Der sql Fehler kommt - da nun der USB Stick fehlt.

              Ein Unterschied gibt es noch - dass nun auch die LED nach einer gewissen Zeit ausgeht auf dem Stick - das war vorher nicht. Wenn ich den Stick zwar dann wieder raus und reinstecke - geht sie wieder für eine gewisse Zeit an.

              1 Reply Last reply Reply Quote 0
              • mickym
                mickym Most Active last edited by

                Das System lief jetzt Monate stabil - bis dann gestern plötzlich um 13:28 diese unhandled promise rejection kam. Ich habe eigentlich nur noch den Verdacht, dass der Stick ab dieser Minute irgendwie Geist aufgegeben hat - weil ich nun wirklich schon viel versucht habe und auch Softwarestände von vor 4 Wochen - als alles noch stabil lief - und damit meine ich Images und nicht einzelne Softwarestände.

                1 Reply Last reply Reply Quote 0
                • mickym
                  mickym Most Active @mickym last edited by mickym

                  Ich habe jetzt alles wieder angesteckt und wieder ein Image vom 12.7. eingespielt.

                  Der Adapter startet nun wieder mit "gelb" - der Stick bleibt grün.

                  Für mich ist der Schlüssel oder Ursache wohl diese Unhandled promise rejection 😞

                  zigbee.0	2020-07-29 13:50:28.988	error	(2576) Error: Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port' at Znp.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/zn
                  zigbee.0	2020-07-29 13:50:28.987	error	(2576) Failed to start Zigbee
                  zigbee.0	2020-07-29 13:50:28.691	info	(2576) Starting Zigbee...
                  zigbee.0	2020-07-29 13:50:28.690	info	(2576) Try to reconnect. 1 attempts left
                  zigbee.0	2020-07-29 13:50:18.689	error	(2576) Error: AREQ - ZDO - activeEpRsp after 10000ms at Timeout._onTimeout (/opt/iobroker/node_modules/zigbee-herdsman/dist/utils/waitress.js:44:24) at listOnTimeout (internal/timers.js:549:17
                  zigbee.0	2020-07-29 13:50:18.687	error	(2576) Failed to start Zigbee
                  zigbee.0	2020-07-29 13:50:07.200	info	(2576) Starting Zigbee...
                  zigbee.0	2020-07-29 13:50:07.158	info	(2576) starting. Version 1.1.1 in /opt/iobroker/node_modules/iobroker.zigbee, node: v12.18.2, js-controller: 3.1.6
                  host.MWHome	2020-07-29 13:50:04.680	info	instance system.adapter.zigbee.0 started with pid 2576
                  ping.0	2020-07-29 13:49:41.241	info	(2451) starting. Version 1.4.7 in /opt/iobroker/node_modules/iobroker.ping, node: v12.18.2, js-controller: 3.1.6
                  mqtt.2	2020-07-29 13:49:41.047	info	(2421) All states published
                  backitup.0	2020-07-29 13:49:39.513	info	(2401) [iobroker] backup was activated at 02:00 every 1 day(s)
                  backitup.0	2020-07-29 13:49:39.313	info	(2401) starting. Version 1.5.8 in /opt/iobroker/node_modules/iobroker.backitup, node: v12.18.2, js-controller: 3.1.6
                  mqtt.2	2020-07-29 13:49:38.460	info	(2421) Subscribe on: "iobroker/#"
                  mqtt.2	2020-07-29 13:49:38.457	info	(2421) Connected to localhost
                  mqtt.2	2020-07-29 13:49:38.333	info	(2421) Try to connect to mqtt://mwmqtt:*******************@localhost:1883?clientId=mqttClientIobrokerPublishOnly
                  host.MWHome	2020-07-29 13:49:37.920	info	instance system.adapter.ping.0 started with pid 2451
                  mqtt.2	2020-07-29 13:49:36.741	info	(2421) starting. Version 2.1.2 in /opt/iobroker/node_modules/iobroker.mqtt, node: v12.18.2, js-controller: 3.1.6
                  host.MWHome	2020-07-29 13:49:35.379	info	Update repository "default" under "http://download.iobroker.net/sources-dist.json"
                  host.MWHome	2020-07-29 13:49:34.665	info	Restart adapter system.adapter.zigbee.0 because enabled
                  host.MWHome	2020-07-29 13:49:34.664	info	instance system.adapter.zigbee.0 terminated with code 0 (NO_ERROR)
                  zigbee.0	2020-07-29 13:49:34.082	info	(2351) Terminated (NO_ERROR): Without reason
                  zigbee.0	2020-07-29 13:49:34.076	info	(2351) terminating
                  zigbee.0	2020-07-29 13:49:33.970	error	at async Zigbee.publishFromState (/opt/iobroker/node_modules/iobroker.zigbee/main.js:196:24)
                  zigbee.0	2020-07-29 13:49:33.970	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                  zigbee.0	2020-07-29 13:49:33.970	error	at ZigbeeController.resolveEntity (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:263:53)
                  zigbee.0	2020-07-29 13:49:33.970	error	at Controller.createGroup (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:253:32)
                  zigbee.0	2020-07-29 13:49:33.970	error	at Function.create (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/group.js:85:54)
                  zigbee.0	2020-07-29 13:49:33.970	error	(2351) TypeError: Cannot read property 'newID' of null
                  zigbee.0	2020-07-29 13:49:33.969	error	(2351) unhandled promise rejection: Cannot read property 'newID' of null
                  Unhandled	2020-07-29 13:49:33.969	error	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	2020-07-29 13:49:33.965	error	at stop (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8270:22)
                  zigbee.0	2020-07-29 13:49:33.965	error	at Zigbee.emit (events.js:315:20)
                  zigbee.0	2020-07-29 13:49:33.965	error	at Zigbee.onUnload (/opt/iobroker/node_modules/iobroker.zigbee/main.js:320:41)
                  zigbee.0	2020-07-29 13:49:33.965	error	at ZigbeeController.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:303:20)
                  zigbee.0	2020-07-29 13:49:33.965	error	at ZigbeeController.callExtensionMethod (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:186:42)
                  zigbee.0	2020-07-29 13:49:33.965	error	at DeviceAvailability.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceAvailability.js:123:43)
                  zigbee.0	2020-07-29 13:49:33.965	error	at ZigbeeController.getClients (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:200:49)
                  zigbee.0	2020-07-29 13:49:33.965	error	at Controller.getDevices (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:223:31)
                  zigbee.0	2020-07-29 13:49:33.965	error	at Function.all (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/device.js:220:16)
                  zigbee.0	2020-07-29 13:49:33.965	error	at Function.loadFromDatabaseIfNecessary (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/device.js:200:55)
                  zigbee.0	2020-07-29 13:49:33.965	error	(2351) TypeError: Cannot read property 'getEntries' of null
                  zigbee.0	2020-07-29 13:49:33.962	error	(2351) unhandled promise rejection: Cannot read property 'getEntries' of null
                  Unhandled	2020-07-29 13:49:33.961	error	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	2020-07-29 13:49:33.959	error	at new Promise (<anonymous>))
                  zigbee.0	2020-07-29 13:49:33.959	error	at /opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:8:71
                  zigbee.0	2020-07-29 13:49:33.959	error	at Generator.next (<anonymous>)
                  zigbee.0	2020-07-29 13:49:33.959	error	at Controller.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:188:24)
                  zigbee.0	2020-07-29 13:49:33.959	error	at Controller.permitJoin (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:144:16)
                  zigbee.0	2020-07-29 13:49:33.959	error	at __awaiter (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:4:12)
                  zigbee.0	2020-07-29 13:49:33.959	error	at new Promise (<anonymous>)
                  zigbee.0	2020-07-29 13:49:33.959	error	at /opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:8:71
                  zigbee.0	2020-07-29 13:49:33.959	error	at Generator.next (<anonymous>)
                  zigbee.0	2020-07-29 13:49:33.959	error	at Controller.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:161:39)
                  zigbee.0	2020-07-29 13:49:33.959	error	(2351) Failed to stop zigbee (TypeError: Cannot read property 'permitJoin' of undefined
                  zigbee.0	2020-07-29 13:49:33.956	info	(2351) Zigbee: disabling joining new devices.
                  zigbee.0	2020-07-29 13:49:33.946	info	(2351) cleaned everything up...
                  zigbee.0	2020-07-29 13:49:33.945	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                  zigbee.0	2020-07-29 13:49:33.945	error	at StatesController.publishFromState (/opt/iobroker/node_modules/iobroker.zigbee/lib/statescontroller.js:142:14)
                  zigbee.0	2020-07-29 13:49:33.945	error	at StatesController.emit (events.js:315:20)
                  zigbee.0	2020-07-29 13:49:33.945	error	at Zigbee.publishFromState (/opt/iobroker/node_modules/iobroker.zigbee/main.js:196:48)
                  zigbee.0	2020-07-29 13:49:33.945	error	at ZigbeeController.resolveEntity (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:262:45)
                  zigbee.0	2020-07-29 13:49:33.945	error	at Controller.getGroupByID (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:241:32)
                  zigbee.0	2020-07-29 13:49:33.945	error	at Function.byGroupID (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/group.js:72:15)
                  zigbee.0	2020-07-29 13:49:33.945	error	at Function.loadFromDatabaseIfNecessary (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/group.js:64:55)
                  zigbee.0	2020-07-29 13:49:33.945	error	(2351) TypeError: Cannot read property 'getEntries' of null
                  zigbee.0	2020-07-29 13:49:33.943	error	(2351) unhandled promise rejection: Cannot read property 'getEntries' of null
                  Unhandled	2020-07-29 13:49:33.942	error	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().
                  
                  arteck 1 Reply Last reply Reply Quote 0
                  • mickym
                    mickym Most Active last edited by mickym

                    Ich habe jetzt mal den ConBee II Stick bestellt - der soll am Freitag kommen. Ich würde den Adapter gerne weiter benutzen - auch wenn ich dann wohl wieder alles neu pairen muss, um nicht die deConz Software installieren zu müssen - auch wenn die ConBee Unterstützung noch im experimentellen Stadium ist.
                    Wäre natürlich trotzdem interessant, ob man irgendwie prüfen könnte ob der C2531 nun wirklich Schrott ist oder nicht.

                    1 Reply Last reply Reply Quote 0
                    • arteck
                      arteck Developer Most Active @mickym last edited by

                      @mickym sagte in Zigbee Adapter mit C2531 startet PLÖTZLICH nicht mehr:

                      Für mich ist der Schlüssel oder Ursache wohl diese Unhandled promise rejection

                      nein die wird nur geschmissen weil der rest nicht da ist..

                      dann wirds wohl den Stick zerlegt haben.. wobei ein conbee.. musst du wissen..

                      https://forum.iobroker.net/topic/30609/cc2538-cc2592-pa-zigbee-stick-platine?page=1

                      mickym 1 Reply Last reply Reply Quote 0
                      • mickym
                        mickym Most Active @arteck last edited by mickym

                        @arteck So habe heute schon den Conbee II bekommen und muss sagen ich bin erst mal von dem Zigbee- Adapter begeistert.

                        Mal eine wirklich positive Rückmeldung. Das war wirklich fast Plug and Play. Habe nur den Typ des Sticks geändert und die Maschine neu gestartet und alle Objekte werden nun weiter beschrieben - ich muss keine Logik ändern und vor allen Dingen - ich musste noch nichts neu pairen - bis jetzt. Adapter auch sofort grün!!!! Also war wirklich der CC2531 einfach gestorben. 😞

                        Die Netzwerkkarte schaut zwar noch sehr komisch aus und auch Link Quality ist teilweise gering (wesentlich schlechter als beim CC2531)- aber funktionell - habe ich vorerst nur bemerkt, dass die Firmwareupdates wohl mit dem Conbee keine gute Idee sind, das bringt den Adapter zum Absturz. Aber das ist ja nicht täglicher Betrieb. Pairen habe ich auch noch nicht getestet - da noch nicht notwendig.

                        Also hier mal ein Danke an die Entwickler.

                        Ggf. kann ich ja noch auf den anderen Stick ausweichen - aber finde es ja erst mal gut dass ihr den ConBee II nun unterstützt

                        1 Reply Last reply Reply Quote 0
                        • mickym
                          mickym Most Active last edited by mickym

                          Es gibt einige Fehler im LOG - allerdings weiß ich noch nicht inwieweit sich das auswirkt.

                          1 Reply Last reply Reply Quote 0
                          • mickym
                            mickym Most Active @mickym last edited by

                            Ich habe nun wieder einen neuen CC2531 und alles schaut erst mal wieder perfekt aus. 🙂

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            475
                            Online

                            31.7k
                            Users

                            79.8k
                            Topics

                            1.3m
                            Posts

                            zigbee adapter cc2531
                            2
                            19
                            2425
                            Loading More Posts
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes
                            Reply
                            • Reply as topic
                            Log in to reply
                            Community
                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                            The ioBroker Community 2014-2023
                            logo