ioBroker / ioBroker.zigbee

Zigbee communcation with Hue, Xiaomi, Lighttify... via TI CC2xxx USB stick
MIT License
309 stars 191 forks source link

Could not locate the bindings file. #514

Closed DeckardCain2014 closed 4 years ago

DeckardCain2014 commented 4 years ago

Hi,

when updating from 0.11 to 1.0.2; no devices are found any longer and the attached error log ist produced. Can someone help? 2020-02-05 21_19_07-logs - ioBroker

Apollon77 commented 4 years ago

Something seems to be wrong with your serialport installation. Can you show the install log from zigbee adapter?

arteck commented 4 years ago

reinstall serialport

DeckardCain2014 commented 4 years ago

reinstall serialport

How to?

DeckardCain2014 commented 4 years ago
host.ioBroker-RasPi4    2020-02-06 17:25:52.709 info    iobroker exit 0
host.ioBroker-RasPi4    2020-02-06 17:25:51.680 info    iobroker Adapter "zigbee" updated
host.ioBroker-RasPi4    2020-02-06 17:25:51.614 info    iobroker upload [0] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/admin.js admin.js application/javascript
host.ioBroker-RasPi4    2020-02-06 17:25:51.551 info    iobroker upload [1] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/86plug.png img/86plug.png image/png
host.ioBroker-RasPi4    2020-02-06 17:25:51.488 info    iobroker upload [2] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/86sw1.png img/86sw1.png image/png
host.ioBroker-RasPi4    2020-02-06 17:25:51.392 info    iobroker upload [3] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/86sw2.png img/86sw2.png image/png
host.ioBroker-RasPi4    2020-02-06 17:25:51.317 info    iobroker upload [4] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/Eurotronic_Spirit_04.png img/Eurotronic_Spirit_04.png image/png
host.ioBroker-RasPi4    2020-02-06 17:25:51.246 info    iobroker upload [5] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/FLOALT.panel.WS.png img/FLOALT.panel.WS.png image/png
host.ioBroker-RasPi4    2020-02-06 17:25:51.174 info    iobroker upload [6] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/TRADFRI.bulb.E27.png img/TRADFRI.bulb.E27.png image/png
host.ioBroker-RasPi4    2020-02-06 17:25:51.103 info    iobroker upload [7] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/TRADFRI.remote.control.png img/TRADFRI.remote.control.png image/png
host.ioBroker-RasPi4    2020-02-06 17:25:51.032 info    iobroker upload [8] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/aqara.switch.png img/aqara.switch.png image/png
host.ioBroker-RasPi4    2020-02-06 17:25:50.962 info    iobroker upload [9] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/aqara_bulb.png img/aqara_bulb.png image/png
host.ioBroker-RasPi4    2020-02-06 17:25:50.899 info    iobroker upload [10] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/aqara_numan_body_sensor.png img/aqara_numan_body_sensor.png image/png
host.ioBroker-RasPi4    2020-02-06 17:25:50.837 info    iobroker upload [11] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/aqara_temperature_sensor.png img/aqara_temperature_sensor.png image/png
host.ioBroker-RasPi4    2020-02-06 17:25:50.774 info    iobroker upload [12] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/battery_p.png img/battery_p.png image/png
host.ioBroker-RasPi4    2020-02-06 17:25:50.711 info    iobroker upload [13] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/battery_v.png img/battery_v.png image/png
host.ioBroker-RasPi4    2020-02-06 17:25:50.646 info    iobroker upload [14] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/bitron_plug.png img/bitron_plug.png image/png
host.ioBroker-RasPi4    2020-02-06 17:25:50.583 info    iobroker upload [15] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/contact.png img/contact.png image/png
host.ioBroker-RasPi4    2020-02-06 17:25:50.520 info    iobroker upload [16] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/ctrl_ln1.png img/ctrl_ln1.png image/png
host.ioBroker-RasPi4    2020-02-06 17:25:50.457 info    iobroker upload [17] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/ctrl_ln2.png img/ctrl_ln2.png image/png
host.ioBroker-RasPi4    2020-02-06 17:25:50.394 info    iobroker upload [18] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/ctrl_neutral1.png img/ctrl_neutral1.png image/png
host.ioBroker-RasPi4    2020-02-06 17:25:50.306 info    iobroker upload [19] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/ctrl_neutral2.png img/ctrl_neutral2.png image/png
host.ioBroker-RasPi4    2020-02-06 17:25:50.232 info    iobroker upload [20] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/cube.png img/cube.png image/png
host.ioBroker-RasPi4    2020-02-06 17:25:49.501 info    iobroker upload [30] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/gledopto_bulb.png img/gledopto_bulb.png image/png
host.ioBroker-RasPi4    2020-02-06 17:25:47.838 info    iobroker upload [40] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/innr.png img/innr.png image/png
host.ioBroker-RasPi4    2020-02-06 17:25:47.154 info    iobroker upload [50] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/lightify-plug.png img/lightify-plug.png image/png
host.ioBroker-RasPi4    2020-02-06 17:25:46.448 info    iobroker upload [60] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/osram_ceiling_tw.png img/osram_ceiling_tw.png image/png
host.ioBroker-RasPi4    2020-02-06 17:25:45.818 info    iobroker upload [70] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/philips_hue_lightbar.png img/philips_hue_lightbar.png image/png
host.ioBroker-RasPi4    2020-02-06 17:25:45.127 info    iobroker upload [80] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/sensor_ht.png img/sensor_ht.png image/png
host.ioBroker-RasPi4    2020-02-06 17:25:44.424 info    iobroker upload [90] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/sylvania_rt.png img/sylvania_rt.png image/png
host.ioBroker-RasPi4    2020-02-06 17:25:43.749 info    iobroker upload [100] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/index_m.html index_m.html text/html
host.ioBroker-RasPi4    2020-02-06 17:25:43.478 info    iobroker Update "system.adapter.zigbee.0"
host.ioBroker-RasPi4    2020-02-06 17:25:36.983 info    iobroker /home/iobroker/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = N
host.ioBroker-RasPi4    2020-02-06 17:25:36.941 info    iobroker In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63, from ../../nan/nan.h:54, from ../src/poller.cpp:1:/home/iobroker/.node-gyp/10.1
host.ioBroker-RasPi4    2020-02-06 17:25:36.817 info    iobroker ../src/poller.cpp: In static member function ‘static void Poller::onData(uv_poll_t*, int, int)’:../src/poller.cpp:69:29: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8:
host.ioBroker-RasPi4    2020-02-06 17:25:36.723 info    iobroker In file included from ../src/poller.cpp:1:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../nan/nan.h:2298:62: warning: cast between incompatible function ty
host.ioBroker-RasPi4    2020-02-06 17:25:34.078 info    iobroker ../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 o
host.ioBroker-RasPi4    2020-02-06 17:25:33.996 info    iobroker ../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
host.ioBroker-RasPi4    2020-02-06 17:25:33.601 info    iobroker /home/iobroker/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = N
host.ioBroker-RasPi4    2020-02-06 17:25:33.558 info    iobroker In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63, from ../../nan/nan.h:54, from ../src/serialport.h:6, from ../sr
host.ioBroker-RasPi4    2020-02-06 17:25:33.341 info    iobroker 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:22
host.ioBroker-RasPi4    2020-02-06 17:25:26.540 info    iobroker /home/iobroker/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = N
host.ioBroker-RasPi4    2020-02-06 17:25:26.492 info    iobroker In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63, from ../../nan/nan.h:54, from ../src/./serialport.h:6, from ../
host.ioBroker-RasPi4    2020-02-06 17:25:26.372 info    iobroker In file included from ../../nan/nan.h:54, from ../src/./serialport.h:6, from ../src/serialport.cpp:1:/home/iobroker/.node-gyp/10.16.0/include/node/node.h:573:
host.ioBroker-RasPi4    2020-02-06 17:25:26.361 info    iobroker ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:../src/serialport.cpp:424:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is de
host.ioBroker-RasPi4    2020-02-06 17:25:26.357 info    iobroker ../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 (
host.ioBroker-RasPi4    2020-02-06 17:25:26.350 info    iobroker ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:../src/serialport.cpp:383:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’
host.ioBroker-RasPi4    2020-02-06 17:25:26.343 info    iobroker ../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 ‘
host.ioBroker-RasPi4    2020-02-06 17:25:26.338 info    iobroker ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:../src/serialport.cpp:336:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is depr
host.ioBroker-RasPi4    2020-02-06 17:25:26.331 info    iobroker ../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 (*)
host.ioBroker-RasPi4    2020-02-06 17:25:26.327 info    iobroker ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:../src/serialport.cpp:285:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is depr
host.ioBroker-RasPi4    2020-02-06 17:25:26.323 info    iobroker ../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)
host.ioBroker-RasPi4    2020-02-06 17:25:26.317 info    iobroker ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:250:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is
host.ioBroker-RasPi4    2020-02-06 17:25:26.311 info    iobroker ../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 (
host.ioBroker-RasPi4    2020-02-06 17:25:26.308 info    iobroker ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:../src/serialport.cpp:188:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is de
host.ioBroker-RasPi4    2020-02-06 17:25:26.304 info    iobroker ../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 (
host.ioBroker-RasPi4    2020-02-06 17:25:26.300 info    iobroker ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:../src/serialport.cpp:150:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is d
host.ioBroker-RasPi4    2020-02-06 17:25:26.296 info    iobroker ../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)
host.ioBroker-RasPi4    2020-02-06 17:25:26.292 info    iobroker ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:113:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’
host.ioBroker-RasPi4    2020-02-06 17:25:26.288 info    iobroker ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:../src/serialport.cpp:95:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is depr
host.ioBroker-RasPi4    2020-02-06 17:25:26.281 info    iobroker ../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)’
host.ioBroker-RasPi4    2020-02-06 17:25:26.276 info    iobroker In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63, from ../../nan/nan.h:54, from ../src/./serialport.h:6, from ../
host.ioBroker-RasPi4    2020-02-06 17:25:26.272 info    iobroker In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26, from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63, from ../../nan/nan.
host.ioBroker-RasPi4    2020-02-06 17:25:26.268 info    iobroker ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:41:49: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)
host.ioBroker-RasPi4    2020-02-06 17:25:26.168 info    iobroker 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:2298:
Gwoony commented 4 years ago

how could update the serialport?

kirovilya commented 4 years ago

@DeckardCain2014 It is working after reinstall adapter?

DeckardCain2014 commented 4 years ago

@DeckardCain2014 It is working after reinstall adapter?

It is working after reinstalling the old 0.10 version. No 1.x version works for me. I still don't know a way to reinstall the "serialport"

kirovilya commented 4 years ago

@DeckardCain2014 remove adapter (not only instance) and reinstall again

DeckardCain2014 commented 4 years ago
$ ./iobroker add zigbee  --host ioBroker-RasPi4
NPM version: 6.9.0
npm install iobroker.zigbee@1.0.2 --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:2298: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:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.node-gyp/10.16.0/include/node/node.h:573: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/.node-gyp/10.16.0/include/node/node.h:607: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 /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,                 from ../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:/home/iobroker/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78:   required from here/home/iobroker/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]                reinterpret_cast<Callback>(callback), type);                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/iobroker/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:../../../nan/nan_object_wrap.h:65:61:   required from here/home/iobroker/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
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:2298: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)                                                              ^
In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,                 from ../../../nan/nan.h:54,                 from ../src/serialport.h:6,                 from ../src/serialport_unix.cpp:2:/home/iobroker/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:/home/iobroker/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78:   required from here/home/iobroker/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]                reinterpret_cast<Callback>(callback), type);                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/iobroker/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:../../../nan/nan_object_wrap.h:65:61:   required from here/home/iobroker/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
../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:2298: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)                                                              ^
In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63,                 from ../../../nan/nan.h:54,                 from ../src/poller.cpp:1:/home/iobroker/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:/home/iobroker/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78:   required from here/home/iobroker/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]                reinterpret_cast<Callback>(callback), type);                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/iobroker/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:../../../nan/nan_object_wrap.h:65:61:   required from here/home/iobroker/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
host.ioBroker-RasPi4 install adapter zigbee
ERROR: Some packets could not be installed. Please install them manually
upload [150] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/unknown.png img/unknown.png image/png
upload [100] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/osram_g_spot.png img/osram_g_spot.png image/png
upload [90] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/lumi_vibration.png img/lumi_vibration.png image/png
upload [80] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/livolo.png img/livolo.png image/png
upload [70] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/konke_kpft.png img/konke_kpft.png image/png
upload [60] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/innr.png img/innr.png image/png
upload [50] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/ikea_led1837r5.PNG img/ikea_led1837r5.PNG image/png
upload [40] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/hs1sa.png img/hs1sa.png image/png
upload [30] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/fnb56zsw01.png img/fnb56zsw01.png image/png
upload [20] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/ctrl_neutral1.png img/ctrl_neutral1.png image/png
upload [19] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/ctrl_ln2.png img/ctrl_ln2.png image/png
upload [18] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/ctrl_ln1.png img/ctrl_ln1.png image/png
upload [17] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/contact.png img/contact.png image/png
upload [16] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/bitron_plug.png img/bitron_plug.png image/png
upload [15] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/battery_v.png img/battery_v.png image/png
upload [14] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/battery_p.png img/battery_p.png image/png
upload [13] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/basiczbr3.png img/basiczbr3.png image/png
upload [12] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/aqara_temperature_sensor.png img/aqara_temperature_sensor.png image/png
upload [11] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/aqara_switch.png img/aqara_switch.png image/png
upload [10] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/aqara_numan_body_sensor.png img/aqara_numan_body_sensor.png image/png
upload [9] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/aqara_curtain.png img/aqara_curtain.png image/png
upload [8] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/aqara_bulb.png img/aqara_bulb.png image/png
upload [7] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/Ikea_fyrtur.png img/Ikea_fyrtur.png image/png
upload [6] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/FLOALT.panel.WS.png img/FLOALT.panel.WS.png image/png
upload [5] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/Eurotronic_Spirit_04.png img/Eurotronic_Spirit_04.png image/png
upload [4] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/DIYRuZ.png img/DIYRuZ.png image/png
upload [3] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/86sw2.png img/86sw2.png image/png
upload [2] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/86sw1.png img/86sw1.png image/png
upload [1] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/img/86plug.png img/86plug.png image/png
upload [0] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/admin.js admin.js application/javascript
host.ioBroker-RasPi4 object system.adapter.zigbee created/updated
host.ioBroker-RasPi4 create instance zigbee
host.ioBroker-RasPi4 object zigbee.0.info.groups created
host.ioBroker-RasPi4 object zigbee.0.info.pairingMessage created
host.ioBroker-RasPi4 object zigbee.0.info.pairingCountdown created
host.ioBroker-RasPi4 object zigbee.0.info.pairingMode created
host.ioBroker-RasPi4 object zigbee.0.info.connection created
host.ioBroker-RasPi4 object zigbee.0.info created
host.ioBroker-RasPi4 object system.adapter.zigbee.0.sigKill created
host.ioBroker-RasPi4 object system.adapter.zigbee.0.eventLoopLag created
host.ioBroker-RasPi4 object system.adapter.zigbee.0.outputCount created
host.ioBroker-RasPi4 object system.adapter.zigbee.0.inputCount created
host.ioBroker-RasPi4 object system.adapter.zigbee.0.uptime created
host.ioBroker-RasPi4 object system.adapter.zigbee.0.memRss created
host.ioBroker-RasPi4 object system.adapter.zigbee.0.memHeapTotal created
host.ioBroker-RasPi4 object system.adapter.zigbee.0.memHeapUsed created
host.ioBroker-RasPi4 object system.adapter.zigbee.0.cputime created
host.ioBroker-RasPi4 object system.adapter.zigbee.0.cpu created
host.ioBroker-RasPi4 object system.adapter.zigbee.0.compactMode created
host.ioBroker-RasPi4 object system.adapter.zigbee.0.connected created
host.ioBroker-RasPi4 object system.adapter.zigbee.0.alive created
host.ioBroker-RasPi4 object system.adapter.zigbee.0 created
process exited with code 0
DeckardCain2014 commented 4 years ago

Now it doesn't work at all ... neither 0.11 nor 1.0 does read my devices via ZigBee

kirovilya commented 4 years ago

Try to completely remove the zigbee adapter and reinstall. You can also try installing the serialport inside the zigbee adapter. npm install serialport@8.0.6 Also look here https://github.com/ioBroker/ioBroker.zigbee/issues/516#issuecomment-583858577

DeckardCain2014 commented 4 years ago

516 helped, thanks! Now running the latest 1.0.2 version