Thats the point. Anything but node works, so in my opinion it’s a problem with node, Pimatic or the plugin or something else. Yesterday I started a new try with fresh installed node 10.16, after completely removing node and Pimatic. When installing the plugin I got this errors/warnings (see below):
After that I went to bed and left a starting Pimatic and a running FHEM (too late, too tired) and today I found this
…
03:21:29.420 [pimatic-maxcul] incoming raw data from CUL: V 1.66_nocredits nanoCUL868
03:21:29.422 [pimatic-maxcul] Got Version String
03:21:29.424 [pimatic-maxcul] CUL FW Version: V 1.66_nocredits nanoCUL868
…
in my terminal.
Warnings at installation:
21:07:41.721 [pimatic] Installing: “pimatic-maxcul@1.1.0” from npm-registry.
21:08:41.301 [pimatic, ppm] > serialport@6.2.2 install /home/pi/pimatic-app/node_modules/pimatic-maxcul/node_modules/serialport
21:08:41.304 [pimatic, ppm] > prebuild-install || node-gyp rebuild
21:08:42.981 [pimatic, ppm] prebuild-install WARN install No prebuilt binaries found (target=10.16.0 runtime=node arch=arm platform=linux)
21:08:45.646 [pimatic, ppm] make: Verzeichnis „/home/pi/pimatic-app/node_modules/pimatic-maxcul/node_modules/serialport/build“ wird betreten
21:08:45.651 [pimatic, ppm] CXX(target) Release/obj.target/serialport/src/serialport.o
21:08:48.724 [pimatic, ppm] …/src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
21:08:48.727 [pimatic, ppm] …/src/serialport.cpp:41:49: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
21:08:48.729 [pimatic, ppm] v8::String::Utf8Value path(info[0]->ToString());
21:08:48.732 [pimatic, ppm] ^
21:08:48.743 [pimatic, ppm] In file included from /home/pi/pimatic-app/.node-gyp/10.16.0/include/node/v8.h:26:0,
21:08:48.746 [pimatic, ppm] from /home/pi/pimatic-app/.node-gyp/10.16.0/include/node/node.h:63,
21:08:48.748 [pimatic, ppm] from …/node_modules/nan/nan.h:54,
21:08:48.750 [pimatic, ppm] from …/src/./serialport.h:6,
21:08:48.753 [pimatic, ppm] from …/src/serialport.cpp:1:
21:08:48.756 [pimatic, ppm] /home/pi/pimatic-app/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
21:08:48.758 [pimatic, ppm] explicit Utf8Value(Localv8::Value obj));
21:08:48.761 [pimatic, ppm] ^
21:08:48.763 [pimatic, ppm] /home/pi/pimatic-app/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
21:08:48.766 [pimatic, ppm] declarator attribute((deprecated(message)))
21:08:48.769 [pimatic, ppm] ^~~~~~~~~~
21:08:48.771 [pimatic, ppm] …/src/serialport.cpp:48:53: warning: ‘v8::Localv8::Object v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
21:08:48.773 [pimatic, ppm] v8::Localv8::Object options = info[1]->ToObject();
21:08:48.776 [pimatic, ppm] ^
21:08:48.779 [pimatic, ppm] In file included from /home/pi/pimatic-app/.node-gyp/10.16.0/include/node/node.h:63:0,
21:08:48.781 [pimatic, ppm] from …/node_modules/nan/nan.h:54,
21:08:48.784 [pimatic, ppm] from …/src/./serialport.h:6,
21:08:48.786 [pimatic, ppm] from …/src/serialport.cpp:1:
21:08:48.789 [pimatic, ppm] /home/pi/pimatic-app/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
21:08:48.792 [pimatic, ppm] Local<Object> Value::ToObject() const {
21:08:48.795 [pimatic, ppm] ^~~~~
21:08:48.843 [pimatic, ppm] …/src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
21:08:48.846 [pimatic, ppm] …/src/serialport.cpp:95:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
21:08:48.849 [pimatic, ppm] data->callback.Call(2, argv);
21:08:48.851 [pimatic, ppm] ^
21:08:48.854 [pimatic, ppm] In file included from …/src/./serialport.h:6:0,
21:08:48.856 [pimatic, ppm] from …/src/serialport.cpp:1:
21:08:48.868 [pimatic, ppm] …/node_modules/nan/nan.h:1740:3: note: declared here
21:08:48.870 [pimatic, ppm] Call(int argc, v8::Localv8::Value argv[]) const {
21:08:48.873 [pimatic, ppm] ^~~~
21:08:48.875 [pimatic, ppm] …/src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
21:08:48.878 [pimatic, ppm] …/src/serialport.cpp:113:53: warning: ‘v8::Localv8::Object v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
21:08:48.881 [pimatic, ppm] v8::Localv8::Object options = info[1]->ToObject();
21:08:48.884 [pimatic, ppm] ^
21:08:48.886 [pimatic, ppm] In file included from /home/pi/pimatic-app/.node-gyp/10.16.0/include/node/node.h:63:0,
21:08:48.890 [pimatic, ppm] from …/node_modules/nan/nan.h:54,
21:08:48.892 [pimatic, ppm] from …/src/./serialport.h:6,
21:08:48.895 [pimatic, ppm] from …/src/serialport.cpp:1:
21:08:48.897 [pimatic, ppm] /home/pi/pimatic-app/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
21:08:48.899 [pimatic, ppm] Local<Object> Value::ToObject() const {
21:08:48.901 [pimatic, ppm] ^~~~~
21:08:48.903 [pimatic, ppm] …/src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t)’:
21:08:48.906 [pimatic, ppm] …/src/serialport.cpp:150:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
21:08:48.908 [pimatic, ppm] data->callback.Call(1, argv);
21:08:48.910 [pimatic, ppm] ^
21:08:48.912 [pimatic, ppm] In file included from …/src/./serialport.h:6:0,
21:08:48.918 [pimatic, ppm] from …/src/serialport.cpp:1:
21:08:48.920 [pimatic, ppm] …/node_modules/nan/nan.h:1740:3: note: declared here
21:08:48.922 [pimatic, ppm] Call(int argc, v8::Localv8::Value argv[]) const {
21:08:48.925 [pimatic, ppm] ^~~~
21:08:48.927 [pimatic, ppm] …/src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t)’:
21:08:48.929 [pimatic, ppm] …/src/serialport.cpp:188:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
21:08:48.931 [pimatic, ppm] data->callback.Call(1, argv);
21:08:48.933 [pimatic, ppm] ^
21:08:48.935 [pimatic, ppm] In file included from …/src/./serialport.h:6:0,
21:08:48.938 [pimatic, ppm] from …/src/serialport.cpp:1:
21:08:48.940 [pimatic, ppm] …/node_modules/nan/nan.h:1740:3: note: declared here
21:08:48.942 [pimatic, ppm] Call(int argc, v8::Localv8::Value argv[]) const {
21:08:48.944 [pimatic, ppm] ^~~~
21:08:48.946 [pimatic, ppm] …/src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t)’:
21:08:48.948 [pimatic, ppm] …/src/serialport.cpp:231:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
21:08:48.950 [pimatic, ppm] data->callback.Call(1, argv);
21:08:48.953 [pimatic, ppm] ^
21:08:48.955 [pimatic, ppm] In file included from …/src/./serialport.h:6:0,
21:08:48.957 [pimatic, ppm] from …/src/serialport.cpp:1:
21:08:48.959 [pimatic, ppm] …/node_modules/nan/nan.h:1740:3: note: declared here
21:08:48.961 [pimatic, ppm] Call(int argc, v8::Localv8::Value argv[]) const {
21:08:48.963 [pimatic, ppm] ^~~~
21:08:48.965 [pimatic, ppm] …/src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
21:08:48.968 [pimatic, ppm] …/src/serialport.cpp:250:53: warning: ‘v8::Localv8::Object v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
21:08:48.970 [pimatic, ppm] v8::Localv8::Object options = info[1]->ToObject();
21:08:48.972 [pimatic, ppm] ^
21:08:48.974 [pimatic, ppm] In file included from /home/pi/pimatic-app/.node-gyp/10.16.0/include/node/node.h:63:0,
21:08:48.976 [pimatic, ppm] from …/node_modules/nan/nan.h:54,
21:08:48.978 [pimatic, ppm] from …/src/./serialport.h:6,
21:08:48.980 [pimatic, ppm] from …/src/serialport.cpp:1:
21:08:48.982 [pimatic, ppm] /home/pi/pimatic-app/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
21:08:48.984 [pimatic, ppm] Local<Object> Value::ToObject() const {
21:08:48.987 [pimatic, ppm] ^~~~~
21:08:48.989 [pimatic, ppm] …/src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t)’:
21:08:48.991 [pimatic, ppm] …/src/serialport.cpp:285:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
21:08:48.993 [pimatic, ppm] data->callback.Call(1, argv);
21:08:48.995 [pimatic, ppm] ^
21:08:48.997 [pimatic, ppm] In file included from …/src/./serialport.h:6:0,
21:08:48.999 [pimatic, ppm] from …/src/serialport.cpp:1:
21:08:49.001 [pimatic, ppm] …/node_modules/nan/nan.h:1740:3: note: declared here
21:08:49.004 [pimatic, ppm] Call(int argc, v8::Localv8::Value argv[]) const {
21:08:49.006 [pimatic, ppm] ^~~~
21:08:49.008 [pimatic, ppm] …/src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t)’:
21:08:49.010 [pimatic, ppm] …/src/serialport.cpp:336:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
21:08:49.012 [pimatic, ppm] data->callback.Call(2, argv);
21:08:49.015 [pimatic, ppm] ^
21:08:49.017 [pimatic, ppm] In file included from …/src/./serialport.h:6:0,
21:08:49.019 [pimatic, ppm] from …/src/serialport.cpp:1:
21:08:49.021 [pimatic, ppm] …/node_modules/nan/nan.h:1740:3: note: declared here
21:08:49.023 [pimatic, ppm] Call(int argc, v8::Localv8::Value argv[]) const {
21:08:49.025 [pimatic, ppm] ^~~~
21:08:49.027 [pimatic, ppm] …/src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t)’:
21:08:49.030 [pimatic, ppm] …/src/serialport.cpp:383:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
21:08:49.032 [pimatic, ppm] data->callback.Call(2, argv);
21:08:49.034 [pimatic, ppm] ^
21:08:49.036 [pimatic, ppm] In file included from …/src/./serialport.h:6:0,
21:08:49.038 [pimatic, ppm] from …/src/serialport.cpp:1:
21:08:49.042 [pimatic, ppm] …/node_modules/nan/nan.h:1740:3: note: declared here
21:08:49.052 [pimatic, ppm] Call(int argc, v8::Localv8::Value argv[]) const {
21:08:49.054 [pimatic, ppm] ^~~~
21:08:49.056 [pimatic, ppm] …/src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t)’:
21:08:49.059 [pimatic, ppm] …/src/serialport.cpp:424:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
21:08:49.061 [pimatic, ppm] data->callback.Call(1, argv);
21:08:49.063 [pimatic, ppm] ^
21:08:49.065 [pimatic, ppm] In file included from …/src/./serialport.h:6:0,
21:08:49.067 [pimatic, ppm] from …/src/serialport.cpp:1:
21:08:49.070 [pimatic, ppm] …/node_modules/nan/nan.h:1740:3: note: declared here
21:08:49.072 [pimatic, ppm] Call(int argc, v8::Localv8::Value argv[]) const {
21:08:49.074 [pimatic, ppm] ^~~~
21:09:06.367 [pimatic, ppm] CXX(target) Release/obj.target/serialport/src/serialport_unix.o
21:09:14.459 [pimatic, ppm] CXX(target) Release/obj.target/serialport/src/poller.o
21:09:17.387 [pimatic, ppm] …/src/poller.cpp: In static member function ‘static void Poller::onData(uv_poll_t, int, int)’:
21:09:17.389 [pimatic, ppm] …/src/poller.cpp:69:29: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value const’ is deprecated [-Wdeprecated-declarations]
21:09:17.391 [pimatic, ppm] obj->callback.Call(2, argv);
21:09:17.393 [pimatic, ppm] ^
21:09:17.403 [pimatic, ppm] In file included from …/src/poller.cpp:1:0:
21:09:17.405 [pimatic, ppm] …/node_modules/nan/nan.h:1740:3: note: declared here
21:09:17.407 [pimatic, ppm] Call(int argc, v8::Localv8::Value argv[]) const {
21:09:17.409 [pimatic, ppm] ^~~~
21:09:22.015 [pimatic, ppm] CXX(target) Release/obj.target/serialport/src/serialport_linux.o
21:09:22.298 [pimatic, ppm] SOLINK_MODULE(target) Release/obj.target/serialport.node
21:09:22.715 [pimatic, ppm] COPY Release/serialport.node
21:09:22.739 [pimatic, ppm] make: Verzeichnis „/home/pi/pimatic-app/node_modules/pimatic-maxcul/node_modules/serialport/build“ wird verlassen
21:09:29.897 [pimatic, ppm] pimatic-maxcul@1.1.0 node_modules/pimatic-maxcul
21:09:29.899 [pimatic, ppm] ├── binary-parser@1.4.0
21:09:29.901 [pimatic, ppm] ├── bitset@5.0.5
21:09:29.903 [pimatic, ppm] ├── sprintf-js@1.1.2
21:09:29.905 [pimatic, ppm] └── serialport@6.2.2 (@serialport/parser-delimiter@1.0.5, @serialport/parser-regex@1.0.5, @serialport/parser-byte-length@1.0.5, @serialport/parser-cctalk@1.0.5, @serialport/parser-ready@1.0.5, bindings@1.3.0, @serialport/parser-readline@1.0.5, promirepl@1.0.1, debug@3.2.6, nan@2.14.0, prebuild-install@4.0.0, prompt-list@3.2.0)
21:09:29.955 [pimatic] Loading plugin: “pimatic-maxcul” (1.1.0)