@michbeck100 I have tried it with the procedure described by you in the following variations:
sudo npm pimatic/pimatic-homeduino
sudo npm pimatic-homeduino
sudo su
npm pimatic-homeduino
Unfortunately always with error message
root@raspberrypi:/home/pi/pimatic-test# npm install pimatic-homeduino
> serialport@2.0.6 install /home/pi/pimatic-test/node_modules/serialport
> node-pre-gyp install --fallback-to-build
node-pre-gyp info it worked if it ends with ok
node-pre-gyp verb cli [ '/usr/local/bin/node',
node-pre-gyp verb cli '/home/pi/pimatic-test/node_modules/serialport/node_modules/.bin/node-pre-gyp',
node-pre-gyp verb cli 'install',
node-pre-gyp verb cli '--fallback-to-build' ]
node-pre-gyp info using node-pre-gyp@0.6.18
node-pre-gyp info using node@8.15.0 | linux | arm
node-pre-gyp verb command install []
node-pre-gyp info check checked for "/home/pi/pimatic-test/node_modules/serialport/build/Release/node-v57-linux-arm/serialport.node" (not found)
node-pre-gyp http GET https://github.com/voodootikigod/node-serialport/releases/download/2.0.6/node-v57-linux-arm.tar.gz
node-pre-gyp http EACCES: permission denied, mkdir '/home/pi/pimatic-test/node_modules/serialport/build' (falling back to source compile with node-gyp)
node-pre-gyp verb command build [ 'rebuild' ]
node-pre-gyp http 404 https://github.com/voodootikigod/node-serialport/releases/download/2.0.6/node-v57-linux-arm.tar.gz
node-pre-gyp http Pre-built binary not available for your system, looked for https://github.com/voodootikigod/node-serialport/releases/download/2.0.6/node-v57-linux-arm.tar.gz (falling back to source compile with node-gyp)
node-pre-gyp verb command build [ 'rebuild' ]
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.15.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/home/pi/pimatic-test/node_modules/serialport/.node-gyp"
gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/home/pi/pimatic-test/node_modules/serialport/.node-gyp'
gyp ERR! System Linux 4.14.79+
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/home/pi/pimatic-test/node_modules/serialport/build/Release/node-v57-linux-arm/serialport.node" "--module_name=serialport" "--module_path=/home/pi/pimatic-test/node_modules/serialport/build/Release/node-v57-linux-arm"
gyp ERR! cwd /home/pi/pimatic-test/node_modules/serialport
gyp ERR! node -v v8.15.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/pi/pimatic-test/node_modules/serialport/build/Release/node-v57-linux-arm/serialport.node --module_name=serialport --module_path=/home/pi/pimatic-test/node_modules/serialport/build/Release/node-v57-linux-arm' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/pi/pimatic-test/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at emitTwo (events.js:126:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:214:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:915:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
node-pre-gyp ERR! System Linux 4.14.79+
node-pre-gyp ERR! command "/usr/local/bin/node" "/home/pi/pimatic-test/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
…
I startet pimatic with -
sudo node_modules/pimatic/pimatic.js
I still get the error from pimatic-ping and pimatic-amazing-dash-button
Any idea?