- 20190425, V0.9.13
- Updated to homeduino@0.0.68 which includes updated rfcontroljs@0.0.59 and
updated vhduino binary - Updated rfcontroljs version contains various fixes for shutter protocols and
new switch protocols for Masterplug UK.
- Updated to homeduino@0.0.68 which includes updated rfcontroljs@0.0.59 and
-
pimatic-homeduino@0.9.13
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
This throws a lot of errors/warnings?
Homeduino is not runing anymore.
During installation:07:43:02.522 [pimatic, ppm] info: > serialport@6.2.2 install /home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/serialport 07:43:02.527 [pimatic, ppm] info: > prebuild-install || node-gyp rebuild 07:43:05.691 [pimatic, ppm] info: prebuild-install WARN install No prebuilt binaries found (target=4.6.2 runtime=node arch=arm platform=linux) 07:43:11.802 [pimatic, ppm] info: make: Verzeichnis �/home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/serialport/build� wird betreten 07:43:11.822 [pimatic, ppm] info: CXX(target) Release/obj.target/serialport/src/serialport.o 07:43:16.956 [pimatic, ppm] info: ../src/serialport.cpp: In function 'void EIO_AfterOpen(uv_work_t*)': 07:43:16.962 [pimatic, ppm] info: ../src/serialport.cpp:95:30: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations] 07:43:16.967 [pimatic, ppm] info: data->callback.Call(2, argv); 07:43:16.971 [pimatic, ppm] info: ^ 07:43:16.978 [pimatic, ppm] info: In file included from ../src/./serialport.h:6:0, 07:43:16.983 [pimatic, ppm] info: from ../src/serialport.cpp:1: 07:43:16.987 [pimatic, ppm] info: ../node_modules/nan/nan.h:1674:3: note: declared here 07:43:16.991 [pimatic, ppm] info: Call(int argc, v8::Local<v8::Value> argv[]) const { 07:43:17.009 [pimatic, ppm] info: ^~~~ 07:43:17.051 [pimatic, ppm] info: ../src/serialport.cpp: In function 'void EIO_AfterUpdate(uv_work_t*)': 07:43:17.056 [pimatic, ppm] info: ../src/serialport.cpp:150:30: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations] 07:43:17.060 [pimatic, ppm] info: data->callback.Call(1, argv); 07:43:17.065 [pimatic, ppm] info: ^ 07:43:17.069 [pimatic, ppm] info: In file included from ../src/./serialport.h:6:0, 07:43:17.074 [pimatic, ppm] info: from ../src/serialport.cpp:1: 07:43:17.078 [pimatic, ppm] info: ../node_modules/nan/nan.h:1674:3: note: declared here 07:43:17.083 [pimatic, ppm] info: Call(int argc, v8::Local<v8::Value> argv[]) const { 07:43:17.087 [pimatic, ppm] info: ^~~~ 07:43:17.091 [pimatic, ppm] info: ../src/serialport.cpp: In function 'void EIO_AfterClose(uv_work_t*)': 07:43:17.096 [pimatic, ppm] info: ../src/serialport.cpp:188:30: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations] 07:43:17.100 [pimatic, ppm] info: data->callback.Call(1, argv); 07:43:17.105 [pimatic, ppm] info: ^ 07:43:17.109 [pimatic, ppm] info: In file included from ../src/./serialport.h:6:0, 07:43:17.114 [pimatic, ppm] info: from ../src/serialport.cpp:1: 07:43:17.118 [pimatic, ppm] info: ../node_modules/nan/nan.h:1674:3: note: declared here 07:43:17.123 [pimatic, ppm] info: Call(int argc, v8::Local<v8::Value> argv[]) const { 07:43:17.127 [pimatic, ppm] info: ^~~~ 07:43:17.132 [pimatic, ppm] info: ../src/serialport.cpp: In function 'void EIO_AfterFlush(uv_work_t*)': 07:43:17.137 [pimatic, ppm] info: ../src/serialport.cpp:231:30: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations] 07:43:17.141 [pimatic, ppm] info: data->callback.Call(1, argv); 07:43:17.145 [pimatic, ppm] info: ^ 07:43:17.150 [pimatic, ppm] info: In file included from ../src/./serialport.h:6:0, 07:43:17.154 [pimatic, ppm] info: from ../src/serialport.cpp:1: 07:43:17.159 [pimatic, ppm] info: ../node_modules/nan/nan.h:1674:3: note: declared here 07:43:17.163 [pimatic, ppm] info: Call(int argc, v8::Local<v8::Value> argv[]) const { 07:43:17.168 [pimatic, ppm] info: ^~~~ 07:43:17.172 [pimatic, ppm] info: ../src/serialport.cpp: In function 'void EIO_AfterSet(uv_work_t*)': 07:43:17.177 [pimatic, ppm] info: ../src/serialport.cpp:285:30: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations] 07:43:17.181 [pimatic, ppm] info: data->callback.Call(1, argv); 07:43:17.185 [pimatic, ppm] info: ^ 07:43:17.190 [pimatic, ppm] info: In file included from ../src/./serialport.h:6:0, 07:43:17.194 [pimatic, ppm] info: from ../src/serialport.cpp:1: 07:43:17.198 [pimatic, ppm] info: ../node_modules/nan/nan.h:1674:3: note: declared here 07:43:17.203 [pimatic, ppm] info: Call(int argc, v8::Local<v8::Value> argv[]) const { 07:43:17.207 [pimatic, ppm] info: ^~~~ 07:43:17.211 [pimatic, ppm] info: ../src/serialport.cpp: In function 'void EIO_AfterGet(uv_work_t*)': 07:43:17.216 [pimatic, ppm] info: ../src/serialport.cpp:336:30: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations] 07:43:17.220 [pimatic, ppm] info: data->callback.Call(2, argv); 07:43:17.225 [pimatic, ppm] info: ^ 07:43:17.229 [pimatic, ppm] info: In file included from ../src/./serialport.h:6:0, 07:43:17.234 [pimatic, ppm] info: from ../src/serialport.cpp:1: 07:43:17.238 [pimatic, ppm] info: ../node_modules/nan/nan.h:1674:3: note: declared here 07:43:17.242 [pimatic, ppm] info: Call(int argc, v8::Local<v8::Value> argv[]) const { 07:43:17.247 [pimatic, ppm] info: ^~~~ 07:43:17.436 [pimatic, ppm] info: ../src/serialport.cpp: In function 'void EIO_AfterGetBaudRate(uv_work_t*)': 07:43:17.441 [pimatic, ppm] info: ../src/serialport.cpp:383:30: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations] 07:43:17.446 [pimatic, ppm] info: data->callback.Call(2, argv); 07:43:17.450 [pimatic, ppm] info: ^ 07:43:17.455 [pimatic, ppm] info: In file included from ../src/./serialport.h:6:0, 07:43:17.459 [pimatic, ppm] info: from ../src/serialport.cpp:1: 07:43:17.463 [pimatic, ppm] info: ../node_modules/nan/nan.h:1674:3: note: declared here 07:43:17.468 [pimatic, ppm] info: Call(int argc, v8::Local<v8::Value> argv[]) const { 07:43:17.473 [pimatic, ppm] info: ^~~~ 07:43:17.477 [pimatic, ppm] info: ../src/serialport.cpp: In function 'void EIO_AfterDrain(uv_work_t*)': 07:43:17.481 [pimatic, ppm] info: ../src/serialport.cpp:424:30: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations] 07:43:17.485 [pimatic, ppm] info: data->callback.Call(1, argv); 07:43:17.490 [pimatic, ppm] info: ^ 07:43:17.494 [pimatic, ppm] info: In file included from ../src/./serialport.h:6:0, 07:43:17.498 [pimatic, ppm] info: from ../src/serialport.cpp:1: 07:43:17.503 [pimatic, ppm] info: ../node_modules/nan/nan.h:1674:3: note: declared here 07:43:17.507 [pimatic, ppm] info: Call(int argc, v8::Local<v8::Value> argv[]) const { 07:43:17.512 [pimatic, ppm] info: ^~~~ 07:43:24.088 [pimatic, ppm] info: CXX(target) Release/obj.target/serialport/src/serialport_unix.o 07:43:29.904 [pimatic, ppm] info: CXX(target) Release/obj.target/serialport/src/poller.o 07:43:33.993 [pimatic, ppm] info: ../src/poller.cpp: In static member function 'static void Poller::onData(uv_poll_t*, int, int)': 07:43:33.999 [pimatic, ppm] info: ../src/poller.cpp:69:29: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations] 07:43:34.004 [pimatic, ppm] info: obj->callback.Call(2, argv); 07:43:34.008 [pimatic, ppm] info: ^ 07:43:34.013 [pimatic, ppm] info: In file included from ../src/poller.cpp:1:0: 07:43:34.018 [pimatic, ppm] info: ../node_modules/nan/nan.h:1674:3: note: declared here 07:43:34.022 [pimatic, ppm] info: Call(int argc, v8::Local<v8::Value> argv[]) const { 07:43:34.040 [pimatic, ppm] info: ^~~~ 07:43:36.893 [pimatic, ppm] info: CXX(target) Release/obj.target/serialport/src/serialport_linux.o 07:43:37.409 [pimatic, ppm] info: SOLINK_MODULE(target) Release/obj.target/serialport.node 07:43:38.154 [pimatic, ppm] info: COPY Release/serialport.node 07:43:38.159 [pimatic, ppm] info: make: Verzeichnis �/home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/serialport/build� wird verlassen 07:43:38.239 [pimatic, ppm] info: > homeduino@0.0.68 postinstall /home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino 07:43:38.244 [pimatic, ppm] info: > node -e "require('fs').chmodSync('bin/vhduino', '755')" 07:44:32.647 [pimatic, ppm] info: pimatic-homeduino@0.9.13 node_modules/pimatic-homeduino 07:44:32.652 [pimatic, ppm] info: └── homeduino@0.0.68 (otaat-repl@1.0.2, bluebird@3.5.4, rfcontroljs@0.0.59, serialport@6.2.2)
At start:
[pimatic] error: Unexpected token ILLEGAL
Some errors like this:
[pimatic] warn: No plugin found for device "Steckdose1" of class "HomeduinoRFSwitch"!
and a lot of error that are rule related. -
I have the same problem. @Michael Rudek
raspbian-stretch-full
pimatic@0.9.48
pimatic-homeduino@0.9.13
node -4.6.2 npm 2.15.11
gcc (Raspbian 6.3.0-18+rpi1+deb9u1) 6.3.0 20170516 -
Have similar problems. Every rule which contains a Homeduino device is listed as error and pimatic doesn’t start anymore. For the while I will go back to 0.9.12.
-
@ortin said in pimatic-homeduino@0.9.13:
Have similar problems.
Can you please post a log file. The log file sent by @Michael-Rudek seems to be incomplete, i.e. does not contain all messages recorded during the installation. The compiler warnings are “normal”, btw
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Sure, I deleted all the device and other not informative stuff.
I haven’t updated via GUI, but I moved the 0.9.12 version to bkp it and simply start pimatic again.09:31:03.328 2019-04-25 Thursday 09:31:12.077 [pimatic] info: Starting pimatic version 0.9.48 09:31:12.086 [pimatic] info: Node.js version 4.8.3 09:31:12.088 [pimatic] info: OpenSSL version 1.0.2k 09:31:19.066 [pimatic, ppm] info: 2.15.12 . . . 09:31:21.891 [pimatic] info: Installing: "pimatic-homeduino@0.9.13" from npm-registry. 09:31:34.300 [pimatic, ppm] info: WARN engine prompt-radio@1.2.1: wanted: {"node":">=5.0"} (current: {"node":"4.8.3","npm":"2.15.12"}) 09:31:36.544 [pimatic, ppm] info: WARN engine prompt-checkbox@2.2.0: wanted: {"node":">=5.0"} (current: {"node":"4.8.3","npm":"2.15.12"}) 09:31:38.642 [pimatic, ppm] info: WARN engine prompt-base@4.1.0: wanted: {"node":">=5.0"} (current: {"node":"4.8.3","npm":"2.15.12"}) 09:31:51.602 [pimatic, ppm] info: WARN engine clone-deep@4.0.1: wanted: {"node":">=6"} (current: {"node":"4.8.3","npm":"2.15.12"}) 09:31:51.614 [pimatic, ppm] info: WARN engine set-value@3.0.0: wanted: {"node":">=6.0"} (current: {"node":"4.8.3","npm":"2.15.12"}) 09:31:57.406 [pimatic, ppm] info: WARN engine shallow-clone@3.0.1: wanted: {"node":">=8"} (current: {"node":"4.8.3","npm":"2.15.12"}) 09:32:05.343 [pimatic, ppm] info: > serialport@6.2.2 install /home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/serialport 09:32:05.346 [pimatic, ppm] info: > prebuild-install || node-gyp rebuild 09:32:07.065 [pimatic, ppm] info: prebuild-install WARN install No prebuilt binaries found (target=4.8.3 runtime=node arch=arm platform=linux) 09:32:11.097 [pimatic, ppm] info: make: Verzeichnis „/home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/serialport/build“ wird betreten 09:32:11.109 [pimatic, ppm] info: CXX(target) Release/obj.target/serialport/src/serialport.o 09:32:13.359 [pimatic, ppm] info: ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’: 09:32:13.361 [pimatic, ppm] info: ../src/serialport.cpp:95:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] 09:32:13.364 [pimatic, ppm] info: data->callback.Call(2, argv); 09:32:13.367 [pimatic, ppm] info: ^ 09:32:13.379 [pimatic, ppm] info: In file included from ../src/./serialport.h:6:0, 09:32:13.381 [pimatic, ppm] info: from ../src/serialport.cpp:1: 09:32:13.383 [pimatic, ppm] info: ../node_modules/nan/nan.h:1674:3: note: declared here 09:32:13.385 [pimatic, ppm] info: Call(int argc, v8::Local<v8::Value> argv[]) const { 09:32:13.388 [pimatic, ppm] info: ^~~~ 09:32:13.391 [pimatic, ppm] info: ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’: 09:32:13.394 [pimatic, ppm] info: ../src/serialport.cpp:150:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] 09:32:13.396 [pimatic, ppm] info: data->callback.Call(1, argv); 09:32:13.398 [pimatic, ppm] info: ^ 09:32:13.401 [pimatic, ppm] info: In file included from ../src/./serialport.h:6:0, 09:32:13.403 [pimatic, ppm] info: from ../src/serialport.cpp:1: 09:32:13.405 [pimatic, ppm] info: ../node_modules/nan/nan.h:1674:3: note: declared here 09:32:13.409 [pimatic, ppm] info: Call(int argc, v8::Local<v8::Value> argv[]) const { 09:32:13.411 [pimatic, ppm] info: ^~~~ 09:32:13.413 [pimatic, ppm] info: ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’: 09:32:13.416 [pimatic, ppm] info: ../src/serialport.cpp:188:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] 09:32:13.420 [pimatic, ppm] info: data->callback.Call(1, argv); 09:32:13.439 [pimatic, ppm] info: ^ 09:32:13.442 [pimatic, ppm] info: In file included from ../src/./serialport.h:6:0, 09:32:13.444 [pimatic, ppm] info: from ../src/serialport.cpp:1: 09:32:13.446 [pimatic, ppm] info: ../node_modules/nan/nan.h:1674:3: note: declared here 09:32:13.449 [pimatic, ppm] info: Call(int argc, v8::Local<v8::Value> argv[]) const { 09:32:13.451 [pimatic, ppm] info: ^~~~ 09:32:13.573 [pimatic, ppm] info: ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’: 09:32:13.577 [pimatic, ppm] info: ../src/serialport.cpp:231:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] 09:32:13.579 [pimatic, ppm] info: data->callback.Call(1, argv); 09:32:13.583 [pimatic, ppm] info: ^ 09:32:13.587 [pimatic, ppm] info: In file included from ../src/./serialport.h:6:0, 09:32:13.589 [pimatic, ppm] info: from ../src/serialport.cpp:1: 09:32:13.592 [pimatic, ppm] info: ../node_modules/nan/nan.h:1674:3: note: declared here 09:32:13.597 [pimatic, ppm] info: Call(int argc, v8::Local<v8::Value> argv[]) const { 09:32:13.599 [pimatic, ppm] info: ^~~~ 09:32:13.602 [pimatic, ppm] info: ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’: 09:32:13.614 [pimatic, ppm] info: ../src/serialport.cpp:285:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] 09:32:13.618 [pimatic, ppm] info: data->callback.Call(1, argv); 09:32:13.620 [pimatic, ppm] info: ^ 09:32:13.622 [pimatic, ppm] info: In file included from ../src/./serialport.h:6:0, 09:32:13.625 [pimatic, ppm] info: from ../src/serialport.cpp:1: 09:32:13.627 [pimatic, ppm] info: ../node_modules/nan/nan.h:1674:3: note: declared here 09:32:13.636 [pimatic, ppm] info: Call(int argc, v8::Local<v8::Value> argv[]) const { 09:32:13.640 [pimatic, ppm] info: ^~~~ 09:32:13.642 [pimatic, ppm] info: ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’: 09:32:13.644 [pimatic, ppm] info: ../src/serialport.cpp:336:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] 09:32:13.646 [pimatic, ppm] info: data->callback.Call(2, argv); 09:32:13.648 [pimatic, ppm] info: ^ 09:32:13.650 [pimatic, ppm] info: In file included from ../src/./serialport.h:6:0, 09:32:13.652 [pimatic, ppm] info: from ../src/serialport.cpp:1: 09:32:13.659 [pimatic, ppm] info: ../node_modules/nan/nan.h:1674:3: note: declared here 09:32:13.662 [pimatic, ppm] info: Call(int argc, v8::Local<v8::Value> argv[]) const { 09:32:13.664 [pimatic, ppm] info: ^~~~ 09:32:13.670 [pimatic, ppm] info: ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’: 09:32:13.679 [pimatic, ppm] info: ../src/serialport.cpp:383:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] 09:32:13.682 [pimatic, ppm] info: data->callback.Call(2, argv); 09:32:13.686 [pimatic, ppm] info: ^ 09:32:13.689 [pimatic, ppm] info: In file included from ../src/./serialport.h:6:0, 09:32:13.691 [pimatic, ppm] info: from ../src/serialport.cpp:1: 09:32:13.693 [pimatic, ppm] info: ../node_modules/nan/nan.h:1674:3: note: declared here 09:32:13.696 [pimatic, ppm] info: Call(int argc, v8::Local<v8::Value> argv[]) const { 09:32:13.698 [pimatic, ppm] info: ^~~~ 09:32:13.701 [pimatic, ppm] info: ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’: 09:32:13.704 [pimatic, ppm] info: ../src/serialport.cpp:424:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] 09:32:13.706 [pimatic, ppm] info: data->callback.Call(1, argv); 09:32:13.708 [pimatic, ppm] info: ^ 09:32:13.710 [pimatic, ppm] info: In file included from ../src/./serialport.h:6:0, 09:32:13.712 [pimatic, ppm] info: from ../src/serialport.cpp:1: 09:32:13.714 [pimatic, ppm] info: ../node_modules/nan/nan.h:1674:3: note: declared here 09:32:13.716 [pimatic, ppm] info: Call(int argc, v8::Local<v8::Value> argv[]) const { 09:32:13.718 [pimatic, ppm] info: ^~~~ 09:32:17.194 [pimatic, ppm] info: CXX(target) Release/obj.target/serialport/src/serialport_unix.o 09:32:20.372 [pimatic, ppm] info: CXX(target) Release/obj.target/serialport/src/poller.o 09:32:22.573 [pimatic, ppm] info: ../src/poller.cpp: In static member function ‘static void Poller::onData(uv_poll_t*, int, int)’: 09:32:22.576 [pimatic, ppm] info: ../src/poller.cpp:69:29: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] 09:32:22.578 [pimatic, ppm] info: obj->callback.Call(2, argv); 09:32:22.581 [pimatic, ppm] info: ^ 09:32:22.583 [pimatic, ppm] info: In file included from ../src/poller.cpp:1:0: 09:32:22.586 [pimatic, ppm] info: ../node_modules/nan/nan.h:1674:3: note: declared here 09:32:22.592 [pimatic, ppm] info: Call(int argc, v8::Local<v8::Value> argv[]) const { 09:32:22.598 [pimatic, ppm] info: ^~~~ 09:32:24.218 [pimatic, ppm] info: CXX(target) Release/obj.target/serialport/src/serialport_linux.o 09:32:24.448 [pimatic, ppm] info: SOLINK_MODULE(target) Release/obj.target/serialport.node 09:32:24.875 [pimatic, ppm] info: COPY Release/serialport.node 09:32:24.902 [pimatic, ppm] info: make: Verzeichnis „/home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/serialport/build“ wird verlassen 09:32:24.940 [pimatic, ppm] info: > homeduino@0.0.68 postinstall /home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino 09:32:24.942 [pimatic, ppm] info: > node -e "require('fs').chmodSync('bin/vhduino', '755')" 09:32:52.545 [pimatic, ppm] info: pimatic-homeduino@0.9.13 node_modules/pimatic-homeduino 09:32:52.547 [pimatic, ppm] info: └── homeduino@0.0.68 (otaat-repl@1.0.2, bluebird@3.5.4, rfcontroljs@0.0.59, serialport@6.2.2) 09:32:52.619 [pimatic] info: Loading plugin: "pimatic-homeduino" (0.9.13) [3mcoffee-cache: compiling coffee-script file "homeduino.coffee"...[23m[3mDone[23m [3m[23m09:32:58.831 [pimatic] error: Unexpected token ILLEGAL 09:32:58.847 [pimatic] debug: SyntaxError: Unexpected token ILLEGAL 09:32:58.847 [pimatic] debug:> at exports.runInThisContext (vm.js:53:16) 09:32:58.847 [pimatic] debug:> at Module._compile (module.js:373:25) 09:32:58.847 [pimatic] debug:> at Object.Module._extensions..js (module.js:416:10) 09:32:58.847 [pimatic] debug:> at Module.load (/home/pi/pimatic-app/node_modules/pimatic-mobile-frontend/node_modules/nap/node_modules/coffee-script/lib/coffee-script/register.js:45:36) 09:32:58.847 [pimatic] debug:> at Function.Module._load (module.js:300:12) 09:32:58.847 [pimatic] debug:> at Module.require (module.js:353:17) 09:32:58.847 [pimatic] debug:> at require (internal/module.js:12:17) 09:32:58.847 [pimatic] debug:> at /home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/rfcontroljs/lib/controller.js:10:12 09:32:58.847 [pimatic] debug:> at Array.map (native) 09:32:58.847 [pimatic] debug:> at Object.<anonymous> (/home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/rfcontroljs/lib/controller.js:8:23) 09:32:58.847 [pimatic] debug:> at Module._compile (module.js:409:26) 09:32:58.847 [pimatic] debug:> at Object.Module._extensions..js (module.js:416:10) 09:32:58.847 [pimatic] debug:> at Module.load (/home/pi/pimatic-app/node_modules/pimatic-mobile-frontend/node_modules/nap/node_modules/coffee-script/lib/coffee-script/register.js:45:36) 09:32:58.847 [pimatic] debug:> at Function.Module._load (module.js:300:12) 09:32:58.847 [pimatic] debug:> at Module.require (module.js:353:17) 09:32:58.847 [pimatic] debug:> at require (internal/module.js:12:17) 09:32:58.847 [pimatic] debug:> at Object.<anonymous> (/home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/rfcontroljs/index.js:1:18) 09:32:58.847 [pimatic] debug:> at Module._compile (module.js:409:26) 09:32:58.847 [pimatic] debug:> at Object.Module._extensions..js (module.js:416:10) 09:32:58.847 [pimatic] debug:> at Module.load (/home/pi/pimatic-app/node_modules/pimatic-mobile-frontend/node_modules/nap/node_modules/coffee-script/lib/coffee-script/register.js:45:36) 09:32:58.847 [pimatic] debug:> at Function.Module._load (module.js:300:12) 09:32:58.847 [pimatic] debug:> at Module.require (module.js:353:17) 09:32:58.847 [pimatic] debug:> at require (internal/module.js:12:17) 09:32:58.847 [pimatic] debug:> at Object.<anonymous> (/home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/lib/board.js:12:13) 09:32:58.847 [pimatic] debug:> at Module._compile (module.js:409:26) 09:32:58.847 [pimatic] debug:> at Object.Module._extensions..js (module.js:416:10) 09:32:58.847 [pimatic] debug:> at Module.load (/home/pi/pimatic-app/node_modules/pimatic-mobile-frontend/node_modules/nap/node_modules/coffee-script/lib/coffee-script/register.js:45:36) 09:32:58.847 [pimatic] debug:> at Function.Module._load (module.js:300:12) 09:32:58.847 [pimatic] debug:> at Module.require (module.js:353:17) 09:32:58.847 [pimatic] debug:> at require (internal/module.js:12:17) 09:32:58.847 [pimatic] debug:> at Object.<anonymous> (/home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/index.js:2:10) 09:32:58.847 [pimatic] debug:> at Module._compile (module.js:409:26) 09:32:58.847 [pimatic] debug:> at Object.Module._extensions..js (module.js:416:10) 09:32:58.847 [pimatic] debug:> at Module.load (/home/pi/pimatic-app/node_modules/pimatic-mobile-frontend/node_modules/nap/node_modules/coffee-script/lib/coffee-script/register.js:45:36) 09:32:58.847 [pimatic] debug:> at Function.Module._load (module.js:300:12) 09:32:58.847 [pimatic] debug:> at Module.require (module.js:353:17) 09:32:58.847 [pimatic] debug:> at require (internal/module.js:12:17) 09:32:58.847 [pimatic] debug:> at module.exports (/home/pi/pimatic-app/node_modules/pimatic-homeduino/homeduino.coffee:9:15) 09:32:58.847 [pimatic] debug:> at PluginManager.loadPlugin (/home/pi/pimatic-app/node_modules/pimatic/lib/plugins.coffee:83:16) 09:32:58.847 [pimatic] debug:> at /home/pi/pimatic-app/node_modules/pimatic/lib/plugins.coffee:488:25 09:32:58.847 [pimatic] debug:> at tryCatcher (/home/pi/pimatic-app/node_modules/pimatic/node_modules/request-promise/node_modules/bluebird/js/main/util.js:26:23) 09:32:58.847 [pimatic] debug:> at Promise._settlePromiseFromHandler (/home/pi/pimatic-app/node_modules/pimatic/node_modules/request-promise/node_modules/bluebird/js/main/promise.js:510:31) 09:32:58.847 [pimatic] debug:> at Promise._settlePromiseAt (/home/pi/pimatic-app/node_modules/pimatic/node_modules/request-promise/node_modules/bluebird/js/main/promise.js:584:18) 09:32:58.847 [pimatic] debug:> at Async._drainQueue (/home/pi/pimatic-app/node_modules/pimatic/node_modules/request-promise/node_modules/bluebird/js/main/async.js:128:12) 09:32:58.847 [pimatic] debug:> at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic/node_modules/request-promise/node_modules/bluebird/js/main/async.js:133:10) 09:32:58.847 [pimatic] debug:> at Immediate.Async.drainQueues [as _onImmediate] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/request-promise/node_modules/bluebird/js/main/async.js:15:14) 09:32:58.847 [pimatic] debug:> at processImmediate [as _immediateCallback] (timers.js:396:17) . . . 09:33:19.375 [pimatic] warn: No plugin found for device "jalousiemodule-alle" of class "HomeduinoRFShutter"! . . . 09:37:15.230 [pimatic] error: Could not parse rule "when position of jalousiemodule-alle is up then stop jalousiemodule-alle after 30000 ms": Could not find an provider that decides next predicate of "position of jalousiemodule-alle is up". . . . 09:37:16.442 [pimatic] error: Startup error: AssertionError: Array.isArray(tags) 09:37:16.442 [pimatic] error:> at Database.saveMessageEvent (/home/pi/pimatic-app/node_modules/pimatic/lib/database.coffee:485:7) 09:37:16.442 [pimatic] error:> at Framework._this.framework.on._this.messageLoggedListener (/home/pi/pimatic-app/node_modules/pimatic/lib/database.coffee:122:12) 09:37:16.442 [pimatic] error:> at emitOne (events.js:77:13) 09:37:16.442 [pimatic] error:> at Framework.emit (events.js:169:7) 09:37:16.442 [pimatic] error:> at Framework._emitMessageLoggedEvent (/home/pi/pimatic-app/node_modules/pimatic/lib/framework.coffee:684:8) 09:37:16.442 [pimatic] error:> at null.<anonymous> (/home/pi/pimatic-app/node_modules/pimatic/lib/framework.coffee:50:10) 09:37:16.442 [pimatic] error:> at emitThree (events.js:97:13) 09:37:16.442 [pimatic] error:> at null.emit (events.js:175:7) 09:37:16.442 [pimatic] error:> at finish (/home/pi/pimatic-app/node_modules/pimatic/node_modules/winston/lib/winston/logger.js:194:12) 09:37:16.442 [pimatic] error:> at done (/home/pi/pimatic-app/node_modules/pimatic/node_modules/winston/node_modules/async/lib/async.js:167:19) 09:37:16.442 [pimatic] error:> at /home/pi/pimatic-app/node_modules/pimatic/node_modules/winston/node_modules/async/lib/async.js:40:16 09:37:16.442 [pimatic] error:> at /home/pi/pimatic-app/node_modules/pimatic/node_modules/winston/lib/winston/logger.js:242:7 09:37:16.442 [pimatic] error:> at null.TaggedConsoleTarget.log (/home/pi/pimatic-app/node_modules/pimatic/lib/logger.coffee:63:3) 09:37:16.442 [pimatic] error:> at transportLog (/home/pi/pimatic-app/node_modules/pimatic/node_modules/winston/lib/winston/logger.js:234:15) 09:37:16.442 [pimatic] error:> at /home/pi/pimatic-app/node_modules/pimatic/node_modules/winston/node_modules/async/lib/async.js:157:13 09:37:16.442 [pimatic] error:> at _each (/home/pi/pimatic-app/node_modules/pimatic/node_modules/winston/node_modules/async/lib/async.js:57:9) 09:37:16.442 [pimatic] error:> at Object.async.each (/home/pi/pimatic-app/node_modules/pimatic/node_modules/winston/node_modules/async/lib/async.js:156:9) 09:37:16.442 [pimatic] error:> at null.Logger.log (/home/pi/pimatic-app/node_modules/pimatic/node_modules/winston/lib/winston/logger.js:246:9) 09:37:16.442 [pimatic] error:> at null.TaggedLogger.log (/home/pi/pimatic-app/node_modules/pimatic/lib/logger.coffee:73:11) 09:37:16.442 [pimatic] error:> at null.TaggedLogger.error (/home/pi/pimatic-app/node_modules/pimatic/lib/logger.coffee:85:36) 09:37:16.442 [pimatic] error:> at /home/pi/pimatic-app/node_modules/pimatic/lib/framework.coffee:889:26 09:37:16.442 [pimatic] error:> at tryCatcher (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/util.js:16:23) 09:37:16.442 [pimatic] error:> at Promise._settlePromiseFromHandler (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:512:31) 09:37:16.442 [pimatic] error:> at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:569:18) 09:37:16.442 [pimatic] error:> at Promise._settlePromise0 (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:614:10) 09:37:16.442 [pimatic] error:> at Promise._settlePromises (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:690:18) 09:37:16.442 [pimatic] error:> at _drainQueueStep (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:138:12) 09:37:16.442 [pimatic] error:> at _drainQueue (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:131:9) 09:37:16.442 [pimatic] error:> at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:147:5) 09:37:16.442 [pimatic] error:> at Immediate.Async.drainQueues [as _onImmediate] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:17:14) 09:37:16.442 [pimatic] error:> at processImmediate [as _immediateCallback] (timers.js:396:17) 09:37:16.445 [pimatic] info: exiting...
-
Same problem here:
-
@ortin said in pimatic-homeduino@0.9.13:
[3m[23m09:32:58.831 [pimatic] error: Unexpected token ILLEGAL
Looks similar to what we had earlier:
https://forum.pimatic.org/topic/3003/solved-pimatic-not-starting-after-recent-update"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
@miss-erfolg said in pimatic-homeduino@0.9.13:
Same problem here:
The screenshot you have sent does not shown any problem at all. As said earlier the warnings are normal. I have just re-tested the plugin update and it works fine for me! I basically get the same messages as shown in your screenshot and below, pimatic is reporting that the plugin has been successfully installed. After restarting pimatic the plugin works as expected.
The problem @OrTiN and @Michael Rudek reported is a different one, btw. It occurs when pimatic is restarted, namely
"[pimatic] error: Unexpected token ILLEGAL"
. I suspect this is due to a corrupted file (SD-Card problem?) - see also my earlier post with the link to the other thread.@OrTiN and @Michael Rudek What you please can try is to remove pimatic-homeduino from the node-modules directory and re-install it as follows:
cd /home/pi/pimatic-app/node_modules/ sudo rm -rf pimatic-homeduino sudo npm install pimatic-homeduino --unsafe-perm
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Hi,
the update don`t work:pi@PI3matic:~/pimatic-app/node_modules $ sudo node /home/pi/pimatic-app/node_modules/pimatic/pimatic.js 22:48:08.476 2019-04-25 Thursday 22:48:14.712 [pimatic] Starting pimatic version 0.9.48 22:48:14.723 [pimatic] Node.js version 4.6.2 22:48:14.725 [pimatic] OpenSSL version 1.0.2j 22:48:16.193 [pimatic] settings.debug is true, showing debug output for pimatic core. 22:48:18.554 [pimatic, ppm] 2.15.12 22:48:18.620 [pimatic] Loading plugin: "pimatic-cron" (0.8.8) 22:48:19.242 [pimatic] Loading plugin: "pimatic-mobile-frontend" (0.9.15) 22:48:20.055 [pimatic] Loading plugin: "pimatic-homeduino" (0.9.13) coffee-cache: compiling coffee-script file "homeduino.coffee"...Done 22:48:27.603 [pimatic] Unexpected token ILLEGAL 22:48:27.620 [pimatic] SyntaxError: Unexpected token ILLEGAL 22:48:27.620 [pimatic]> at exports.runInThisContext (vm.js:53:16) 22:48:27.620 [pimatic]> at Module._compile (module.js:373:25) 22:48:27.620 [pimatic]> at Object.Module._extensions..js (module.js:416:10) 22:48:27.620 [pimatic]> at Module.load (/home/pi/pimatic-app/node_modules/pimatic-mobile-frontend/node_modules/nap/node_modules/coffee-script/lib/coffee-script/register.js:45:36) 22:48:27.620 [pimatic]> at Function.Module._load (module.js:300:12) 22:48:27.620 [pimatic]> at Module.require (module.js:353:17) 22:48:27.620 [pimatic]> at require (internal/module.js:12:17) 22:48:27.620 [pimatic]> at /home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/rfcontroljs/lib/controller.js:10:12 22:48:27.620 [pimatic]> at Array.map (native) 22:48:27.620 [pimatic]> at Object.<anonymous> (/home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/rfcontroljs/lib/controller.js:8:23) 22:48:27.620 [pimatic]> at Module._compile (module.js:409:26) 22:48:27.620 [pimatic]> at Object.Module._extensions..js (module.js:416:10) 22:48:27.620 [pimatic]> at Module.load (/home/pi/pimatic-app/node_modules/pimatic-mobile-frontend/node_modules/nap/node_modules/coffee-script/lib/coffee-script/register.js:45:36) 22:48:27.620 [pimatic]> at Function.Module._load (module.js:300:12) 22:48:27.620 [pimatic]> at Module.require (module.js:353:17) 22:48:27.620 [pimatic]> at require (internal/module.js:12:17)
My pi work with USB-SSD
Pimatic, my hobby.
-
Hi, back to Homeduino 0.9.12 work.
pi@PI3matic:~/pimatic-app/node_modules $ sudo rm -rf pimatic-homeduino pi@PI3matic:~/pimatic-app/node_modules $ sudo npm install pimatic-homeduino@0.9.12 --unsafe-perm pimatic-homeduino@0.9.12 pimatic-homeduino pi@PI3matic:~/pimatic-app/node_modules $ dir pimatic pimatic-ds18b20 pimatic-hue-zll pimatic-luftdaten pimatic-ping pimatic-sysinfo pimatic-wakeonlan pimatic-charts pimatic-dwd-weather pimatic-iframe pimatic-mail pimatic-raspbee pimatic-tplink-smartplug pimatic-water-level pimatic-cron pimatic-filebrowser pimatic-links pimatic-mobile-frontend pimatic-shell-execute pimatic-upnp-root sqlite3 pimatic-dewpoint pimatic-homeduino pimatic-log-reader pimatic-mqtt pimatic-sunrise pimatic-vvo pi@PI3matic:~/pimatic-app/node_modules $ sudo node /home/pi/pimatic-app/node_modules/pimatic/pimatic.js 22:57:48.980 2019-04-25 Thursday 22:57:54.223 [pimatic] Starting pimatic version 0.9.48 22:57:54.235 [pimatic] Node.js version 4.6.2 22:57:54.236 [pimatic] OpenSSL version 1.0.2j 22:57:55.799 [pimatic] settings.debug is true, showing debug output for pimatic core. 22:57:57.765 [pimatic, ppm] 2.15.12 22:57:57.815 [pimatic] Loading plugin: "pimatic-cron" (0.8.8) 22:57:58.309 [pimatic] Loading plugin: "pimatic-mobile-frontend" (0.9.15) 22:57:59.085 [pimatic] Loading plugin: "pimatic-homeduino" (0.9.12) coffee-cache: compiling coffee-script file "homeduino.coffee"...Done coffee-cache: compiling coffee-script file "homeduino-config-schema.coffee"...Done 22:58:07.092 [pimatic] Loading plugin: "pimatic-ds18b20" (0.8.9) 22:58:07.122 [pimatic] Loading plugin: "pimatic-filebrowser" (0.9.1) 22:58:07.264 [pimatic] Loading plugin: "pimatic-iframe" (0.3.1) 22:58:07.294 [pimatic] Loading plugin: "pimatic-shell-execute" (0.9.11) 22:58:07.330 [pimatic] Loading plugin: "pimatic-sysinfo" (0.9.6) 22:58:07.536 [pimatic] Loading plugin: "pimatic-wakeonlan" (0.9.4) 22:58:07.572 [pimatic] Loading plugin: "pimatic-ping" (0.9.5) 22:58:07.637 [pimatic] Loading plugin: "pimatic-mail" (0.8.6) 22:58:08.254 [pimatic] Loading plugin: "pimatic-sunrise" (0.9.3) 22:58:08.445 [pimatic] Loading plugin: "pimatic-dwd-weather" (0.9.5) 22:58:10.693 [pimatic] Loading plugin: "pimatic-links" (0.8.6) 22:58:10.745 [pimatic] Loading plugin: "pimatic-log-reader" (0.9.3) 22:58:10.780 [pimatic] Loading plugin: "pimatic-upnp-root" (0.9.0) 22:58:10.963 [pimatic] Loading plugin: "pimatic-charts" (0.0.4) 22:58:10.989 [pimatic] Loading plugin: "pimatic-water-level" (0.0.5) 22:58:11.936 [pimatic] Loading plugin: "pimatic-tplink-smartplug" (0.0.8) 22:58:12.401 [pimatic] Loading plugin: "pimatic-mqtt" (0.9.7) 22:58:12.760 [pimatic] Loading plugin: "pimatic-vvo" (0.0.7) 22:58:13.765 [pimatic] Loading plugin: "pimatic-dewpoint" (0.9.2) 22:58:13.797 [pimatic] Loading plugin: "pimatic-raspbee" (0.0.10) 22:58:15.430 [pimatic] Loading plugin: "pimatic-hue-zll" (0.3.1) 22:58:15.979 [pimatic] Loading plugin: "pimatic-luftdaten" (0.2.7)```
Pimatic, my hobby.
-
My Pi is working with a SSD too…
Here the result of
sudo npm install pimatic-homeduino --unsafe-perm
npm WARN package.json node-red-project@0.0.1 No README data npm WARN package.json node-red-project@0.0.1 No license field. npm WARN engine prompt-radio@1.2.1: wanted: {"node":">=5.0"} (current: {"node":"4.6.2","npm":"2.15.11"}) npm WARN engine prompt-checkbox@2.2.0: wanted: {"node":">=5.0"} (current: {"node":"4.6.2","npm":"2.15.11"}) npm WARN engine prompt-base@4.1.0: wanted: {"node":">=5.0"} (current: {"node":"4.6.2","npm":"2.15.11"}) npm WARN engine clone-deep@4.0.1: wanted: {"node":">=6"} (current: {"node":"4.6.2","npm":"2.15.11"}) npm WARN engine set-value@3.0.0: wanted: {"node":">=6.0"} (current: {"node":"4.6.2","npm":"2.15.11"}) npm WARN engine shallow-clone@3.0.1: wanted: {"node":">=8"} (current: {"node":"4.6.2","npm":"2.15.11"}) \ > serialport@6.2.2 install /home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/serialport > prebuild-install || node-gyp rebuild prebuild-install WARN install No prebuilt binaries found (target=4.6.2 runtime=node arch=arm platform=linux) make: Verzeichnis ▒/home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/serialport/build▒ wird betreten CXX(target) Release/obj.target/serialport/src/serialport.o ../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 deprecated [-Wdeprecated-declarations] data->callback.Call(2, argv); ^ In file included from ../src/./serialport.h:6:0, from ../src/serialport.cpp:1: ../node_modules/nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../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 deprecated [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ In file included from ../src/./serialport.h:6:0, from ../src/serialport.cpp:1: ../node_modules/nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../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 deprecated [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ In file included from ../src/./serialport.h:6:0, from ../src/serialport.cpp:1: ../node_modules/nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/serialport.cpp: In function 'void EIO_AfterFlush(uv_work_t*)': ../src/serialport.cpp:231:30: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ In file included from ../src/./serialport.h:6:0, from ../src/serialport.cpp:1: ../node_modules/nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../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 deprecated [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ In file included from ../src/./serialport.h:6:0, from ../src/serialport.cpp:1: ../node_modules/nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../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 deprecated [-Wdeprecated-declarations] data->callback.Call(2, argv); ^ In file included from ../src/./serialport.h:6:0, from ../src/serialport.cpp:1: ../node_modules/nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../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' is deprecated [-Wdeprecated-declarations] data->callback.Call(2, argv); ^ In file included from ../src/./serialport.h:6:0, from ../src/serialport.cpp:1: ../node_modules/nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../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 deprecated [-Wdeprecated-declarations] data->callback.Call(1, argv); ^ In file included from ../src/./serialport.h:6:0, from ../src/serialport.cpp:1: ../node_modules/nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ CXX(target) Release/obj.target/serialport/src/serialport_unix.o CXX(target) Release/obj.target/serialport/src/poller.o ../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::Value>*) const' is deprecated [-Wdeprecated-declarations] obj->callback.Call(2, argv); ^ In file included from ../src/poller.cpp:1:0: ../node_modules/nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ CXX(target) Release/obj.target/serialport/src/serialport_linux.o SOLINK_MODULE(target) Release/obj.target/serialport.node COPY Release/serialport.node make: Verzeichnis ▒/home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/serialport/build▒ wird verlassen > homeduino@0.0.68 postinstall /home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino > node -e "require('fs').chmodSync('bin/vhduino', '755')" npm ERR! Linux 4.14.98-v7+ npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "pimatic-homeduino" "--unsafe-perm" npm ERR! node v4.6.2 npm ERR! npm v2.15.11 npm ERR! code EPEERINVALID npm ERR! peerinvalid The package pimatic@0.9.48 does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid Peer pimatic-ble-mi-flora@0.0.9 wants pimatic@>=0.8.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-charts@0.0.4 wants pimatic@>=0.9.0 npm ERR! peerinvalid Peer pimatic-chronotherm@0.9.8-10 wants pimatic@>=0.8.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-css-inject@0.1.1 wants pimatic@0.9.* npm ERR! peerinvalid Peer pimatic-dewpoint@0.9.2 wants pimatic@>=0.9.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-iframe@0.3.1 wants pimatic@>=0.8.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-ifttt@0.1.1 wants pimatic@0.8.* npm ERR! peerinvalid Peer pimatic-pio-remote@0.5.3 wants pimatic@0.9.* npm ERR! peerinvalid Peer pimatic-sispmctl@0.9.0 wants pimatic@0.9.* npm ERR! peerinvalid Peer pimatic-watchdog-unix@0.0.1 wants pimatic@>=0.8.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-filter@0.9.4 wants pimatic@>=0.8.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-log-reader@0.9.3 wants pimatic@>=0.9.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-shell-execute@0.9.11 wants pimatic@0.9.* npm ERR! peerinvalid Peer pimatic-sysinfo@0.9.6 wants pimatic@0.9.* npm ERR! peerinvalid Peer pimatic-datetime@0.3.1 wants pimatic@0.9.* npm ERR! peerinvalid Peer pimatic-sunrise@0.9.3 wants pimatic@>=0.8.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-filebrowser@0.9.1 wants pimatic@0.9.* npm ERR! peerinvalid Peer pimatic-cron@0.8.8 wants pimatic@>=0.8.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-ble@0.9.3 wants pimatic@>=0.8.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-gpio@0.9.0 wants pimatic@>=0.9.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-ping@0.9.5 wants pimatic@>=0.8.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-kodi@0.1.9 wants pimatic@>=0.8.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-holidays@0.0.3 wants pimatic@>=0.8.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-dwd@0.9.2 wants pimatic@0.9.* npm ERR! peerinvalid Peer pimatic-pushbullet@0.9.0 wants pimatic@>=0.8.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-wakeonlan@0.9.4 wants pimatic@>=0.8.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-mysensors@0.9.2 wants pimatic@>=0.8.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-johnny-five@0.9.12 wants pimatic@>=0.8.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-mqtt@0.9.7 wants pimatic@>=0.9.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-mobile-frontend@0.9.15 wants pimatic@0.9.* npm ERR! peerinvalid Peer pimatic-node-red@1.0.7 wants pimatic@0.9.* npm ERR! peerinvalid Peer pimatic-homeduino@0.9.13 wants pimatic@0.9.* npm ERR! Please include the following file with any support request: npm ERR! /home/pi/pimatic-app/node_modules/npm-debug.log```
-
@mwittig said in pimatic-homeduino@0.9.13:
I suspect this is due to a corrupted file (SD-Card problem?)
The SD Card is only to boot the system. The whole user home is on a HDD.
I tried your suggestion, but unfortunately it wasn’t successful.
23:10:24.449 [pimatic] info: Loading plugin: "pimatic-homeduino" (0.9.13) [3mcoffee-cache: compiling coffee-script file "homeduino.coffee"...[23m[3mDone[23m [3m[23m23:10:32.362 [pimatic] error: Unexpected token ILLEGAL 23:10:32.377 [pimatic] debug: SyntaxError: Unexpected token ILLEGAL 23:10:32.377 [pimatic] debug:> at exports.runInThisContext (vm.js:53:16) 23:10:32.377 [pimatic] debug:> at Module._compile (module.js:373:25) 23:10:32.377 [pimatic] debug:> at Object.Module._extensions..js (module.js:416:10) 23:10:32.377 [pimatic] debug:> at Module.load (/home/pi/pimatic-app/node_modules/pimatic-mobile-frontend/node_modules/nap/node_modules/coffee-script/lib/coffee-script/register.js:45:36) 23:10:32.377 [pimatic] debug:> at Function.Module._load (module.js:300:12) 23:10:32.377 [pimatic] debug:> at Module.require (module.js:353:17) 23:10:32.377 [pimatic] debug:> at require (internal/module.js:12:17) 23:10:32.377 [pimatic] debug:> at /home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/rfcontroljs/lib/controller.js:10:12 23:10:32.377 [pimatic] debug:> at Array.map (native) 23:10:32.377 [pimatic] debug:> at Object.<anonymous> (/home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/rfcontroljs/lib/controller.js:8:23) 23:10:32.377 [pimatic] debug:> at Module._compile (module.js:409:26) 23:10:32.377 [pimatic] debug:> at Object.Module._extensions..js (module.js:416:10) 23:10:32.377 [pimatic] debug:> at Module.load (/home/pi/pimatic-app/node_modules/pimatic-mobile-frontend/node_modules/nap/node_modules/coffee-script/lib/coffee-script/register.js:45:36) 23:10:32.377 [pimatic] debug:> at Function.Module._load (module.js:300:12) 23:10:32.377 [pimatic] debug:> at Module.require (module.js:353:17) 23:10:32.377 [pimatic] debug:> at require (internal/module.js:12:17) 23:10:32.377 [pimatic] debug:> at Object.<anonymous> (/home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/rfcontroljs/index.js:1:18) 23:10:32.377 [pimatic] debug:> at Module._compile (module.js:409:26) 23:10:32.377 [pimatic] debug:> at Object.Module._extensions..js (module.js:416:10) 23:10:32.377 [pimatic] debug:> at Module.load (/home/pi/pimatic-app/node_modules/pimatic-mobile-frontend/node_modules/nap/node_modules/coffee-script/lib/coffee-script/register.js:45:36) 23:10:32.377 [pimatic] debug:> at Function.Module._load (module.js:300:12) 23:10:32.377 [pimatic] debug:> at Module.require (module.js:353:17) 23:10:32.377 [pimatic] debug:> at require (internal/module.js:12:17) 23:10:32.377 [pimatic] debug:> at Object.<anonymous> (/home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/lib/board.js:12:13) 23:10:32.377 [pimatic] debug:> at Module._compile (module.js:409:26) 23:10:32.377 [pimatic] debug:> at Object.Module._extensions..js (module.js:416:10) 23:10:32.377 [pimatic] debug:> at Module.load (/home/pi/pimatic-app/node_modules/pimatic-mobile-frontend/node_modules/nap/node_modules/coffee-script/lib/coffee-script/register.js:45:36) 23:10:32.377 [pimatic] debug:> at Function.Module._load (module.js:300:12) 23:10:32.377 [pimatic] debug:> at Module.require (module.js:353:17) 23:10:32.377 [pimatic] debug:> at require (internal/module.js:12:17) 23:10:32.377 [pimatic] debug:> at Object.<anonymous> (/home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/index.js:2:10) 23:10:32.377 [pimatic] debug:> at Module._compile (module.js:409:26) 23:10:32.377 [pimatic] debug:> at Object.Module._extensions..js (module.js:416:10) 23:10:32.377 [pimatic] debug:> at Module.load (/home/pi/pimatic-app/node_modules/pimatic-mobile-frontend/node_modules/nap/node_modules/coffee-script/lib/coffee-script/register.js:45:36) 23:10:32.377 [pimatic] debug:> at Function.Module._load (module.js:300:12) 23:10:32.377 [pimatic] debug:> at Module.require (module.js:353:17) 23:10:32.377 [pimatic] debug:> at require (internal/module.js:12:17) 23:10:32.377 [pimatic] debug:> at module.exports (/home/pi/pimatic-app/node_modules/pimatic-homeduino/homeduino.coffee:9:15) 23:10:32.377 [pimatic] debug:> at PluginManager.loadPlugin (/home/pi/pimatic-app/node_modules/pimatic/lib/plugins.coffee:83:16) 23:10:32.377 [pimatic] debug:> at /home/pi/pimatic-app/node_modules/pimatic/lib/plugins.coffee:488:25 23:10:32.377 [pimatic] debug:> at tryCatcher (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/util.js:16:23) 23:10:32.377 [pimatic] debug:> at Promise._settlePromiseFromHandler (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:512:31) 23:10:32.377 [pimatic] debug:> at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:569:18) 23:10:32.377 [pimatic] debug:> at Promise._settlePromiseCtx (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:606:10) 23:10:32.377 [pimatic] debug:> at _drainQueueStep (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:142:12) 23:10:32.377 [pimatic] debug:> at _drainQueue (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:131:9) 23:10:32.377 [pimatic] debug:> at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:147:5) 23:10:32.377 [pimatic] debug:> at Immediate.Async.drainQueues [as _onImmediate] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:17:14) 23:10:32.377 [pimatic] debug:> at processImmediate [as _immediateCallback] (timers.js:396:17)
-
Same problem for me too. Went back to the previous homeduino without issues.
-
And how did you do it?
-
@michael-rudek sudo npm install pimatic-homeduino@0.9.12
-
Hi,
my way to install pimatic-homeduino 0.9.12cd /home/pi/pimatic-app/node_modules/ sudo rm -rf pimatic-homeduino sudo npm install pimatic-homeduino@0.9.12 --unsafe-perm
MfG.
Pimatic, my hobby.
-
After Downgrade:
pi@pimatic:~ $ cd /home/pi/pimatic-app/node_modules/ pi@pimatic:~/pimatic-app/node_modules $ sudo rm -rf pimatic-homeduino pi@pimatic:~/pimatic-app/node_modules $ sudo npm install pimatic-homeduino@0.9.12 --unsafe-perm npm ERR! Linux 4.9.35-v7+ npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "pimatic-homeduino@0.9.12" "--unsafe-perm" npm ERR! node v4.6.2 npm ERR! npm v2.15.11 npm ERR! code EPEERINVALID npm ERR! peerinvalid The package pimatic@0.9.48 does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid Peer pimatic-backup@0.2.0 wants pimatic@>=0.8.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-cron@0.8.8 wants pimatic@>=0.8.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-denon-avr@0.9.11 wants pimatic@>=0.8.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-dewpoint@0.9.2 wants pimatic@>=0.9.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-dht-sensors@0.9.3 wants pimatic@>=0.8.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-ds18b20@0.8.9 wants pimatic@=>0.8.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-dwd@0.9.2 wants pimatic@0.9.* npm ERR! peerinvalid Peer pimatic-dwd-weather@0.9.5 wants pimatic@>=0.9.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-fritz@0.6.7 wants pimatic@^0.9.40 npm ERR! peerinvalid Peer pimatic-homeduino@0.9.12 wants pimatic@0.9.* npm ERR! peerinvalid Peer pimatic-ipcamera@1.1.1 wants pimatic@0.8.* npm ERR! peerinvalid Peer pimatic-mail@0.8.6 wants pimatic@>=0.8.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-mobile-frontend@0.9.15 wants pimatic@0.9.* npm ERR! peerinvalid Peer pimatic-mqtt@0.9.7 wants pimatic@>=0.9.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-ping@0.9.5 wants pimatic@>=0.8.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-sunrise@0.9.3 wants pimatic@>=0.8.0 <1.0.0 npm ERR! peerinvalid Peer pimatic-sysinfo@0.9.6 wants pimatic@0.9.* npm ERR! Please include the following file with any support request: npm ERR! /home/pi/pimatic-app/node_modules/npm-debug.log
-
@miss-erfolg I didn’t use the --unsafe-perm options. Maybe that helps?
-
@miss-erfolg I had the same messages.
But homeduino is working.