Hello, my next problem is my BH1750 light sensor. I installed the system drivers for i2c 😉.
Unfortunately the plugin (pimatic-bh1750) cannot be installed. Maybe it is a problem with the i2c@0.2.3 part in the plugin and node 10.x.
I have Node.js version 10.16.3 and npm version 6.9.0.
The installation of the pimatic GUI did not work. I tried it again in the terminal.

pi@raspberrypi:~/pimatic-app $ npm install pimatic-bh1750
npm WARN deprecated coffee-script@1.9.1: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)

> i2c@0.2.3 install /home/pi/pimatic-app/node_modules/i2c
> node-gyp rebuild

make: Entering directory '/home/pi/pimatic-app/node_modules/i2c/build'
  CXX(target) Release/obj.target/i2c/src/i2c.o
In file included from ../../nan/nan.h:190:0,
                 from ../src/i2c.cc:3:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
../../nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
   return obj->ForceSet(GetCurrentContext(), key, value, attribs);
               ^~~~~~~~
In file included from ../src/i2c.cc:3:0:
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
../../nan/nan.h:817:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
         v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                            ^
In file included from ../src/i2c.cc:1:0:
/home/pi/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                  ^
/home/pi/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
     __attribute__((deprecated(message))) declarator
                                          ^~~~~~~~~~
In file included from ../src/i2c.cc:3:0:
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
../../nan/nan.h:831:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
         v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                              ^
In file included from ../src/i2c.cc:1:0:
/home/pi/.node-gyp/10.16.3/include/node/node.h:170:50: note: declared here
                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                  ^
/home/pi/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
     __attribute__((deprecated(message))) declarator
                                          ^~~~~~~~~~
In file included from ../src/i2c.cc:3:0:
../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
../../nan/nan.h:845:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
         v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                              ^
In file included from ../src/i2c.cc:1:0:
/home/pi/.node-gyp/10.16.3/include/node/node.h:163:50: note: declared here
                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                  ^
/home/pi/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
     __attribute__((deprecated(message))) declarator
                                          ^~~~~~~~~~
In file included from ../src/i2c.cc:3:0:
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
../../nan/nan.h:1463:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
     ));
     ^
In file included from ../src/i2c.cc:1:0:
/home/pi/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                  ^
/home/pi/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
     __attribute__((deprecated(message))) declarator
                                          ^~~~~~~~~~
../src/i2c.cc: In function ‘void SetAddress(const Nan::FunctionCallbackInfo<v8::Value>&)’:
../src/i2c.cc:38:30: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   addr = info[0]->Int32Value();
                              ^
In file included from /home/pi/.node-gyp/10.16.3/include/node/v8.h:26:0,
                 from /home/pi/.node-gyp/10.16.3/include/node/node.h:63,
                 from ../src/i2c.cc:1:
/home/pi/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                              ^
/home/pi/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/i2c.cc: In function ‘void Open(const Nan::FunctionCallbackInfo<v8::Value>&)’:
../src/i2c.cc:84:35: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
   String::Utf8Value device(info[0]);
                                   ^
In file included from /home/pi/.node-gyp/10.16.3/include/node/v8.h:26:0,
                 from /home/pi/.node-gyp/10.16.3/include/node/node.h:63,
                 from ../src/i2c.cc:1:
/home/pi/.node-gyp/10.16.3/include/node/v8.h:2892:28: note: declared here
                   explicit Utf8Value(Local<v8::Value> obj));
                            ^
/home/pi/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/i2c.cc: In function ‘void Read(const Nan::FunctionCallbackInfo<v8::Value>&)’:
../src/i2c.cc:103:33: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   int len = info[0]->Int32Value();
                                 ^
In file included from /home/pi/.node-gyp/10.16.3/include/node/v8.h:26:0,
                 from /home/pi/.node-gyp/10.16.3/include/node/node.h:63,
                 from ../src/i2c.cc:1:
/home/pi/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                              ^
/home/pi/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/i2c.cc: In function ‘void ReadBlock(const Nan::FunctionCallbackInfo<v8::Value>&)’:
../src/i2c.cc:154:36: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   int8_t cmd = info[0]->Int32Value();
                                    ^
In file included from /home/pi/.node-gyp/10.16.3/include/node/v8.h:26:0,
                 from /home/pi/.node-gyp/10.16.3/include/node/node.h:63,
                 from ../src/i2c.cc:1:
/home/pi/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                              ^
/home/pi/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/i2c.cc:155:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   int32_t len = info[1]->Int32Value();
                                     ^
In file included from /home/pi/.node-gyp/10.16.3/include/node/v8.h:26:0,
                 from /home/pi/.node-gyp/10.16.3/include/node/node.h:63,
                 from ../src/i2c.cc:1:
/home/pi/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                              ^
/home/pi/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/i2c.cc:178:43: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
       int32_t delay = info[2]->Int32Value();
                                           ^
In file included from /home/pi/.node-gyp/10.16.3/include/node/v8.h:26:0,
                 from /home/pi/.node-gyp/10.16.3/include/node/node.h:63,
                 from ../src/i2c.cc:1:
/home/pi/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                              ^
/home/pi/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/i2c.cc: In function ‘void Write(const Nan::FunctionCallbackInfo<v8::Value>&)’:
../src/i2c.cc:193:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   int   len = node::Buffer::Length(buffer->ToObject());
                                                     ^
In file included from /home/pi/.node-gyp/10.16.3/include/node/node.h:63:0,
                 from ../src/i2c.cc:1:
/home/pi/.node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
 Local<Object> Value::ToObject() const {
               ^~~~~
../src/i2c.cc:194:52: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   char* data = node::Buffer::Data(buffer->ToObject());
                                                    ^
In file included from /home/pi/.node-gyp/10.16.3/include/node/node.h:63:0,
                 from ../src/i2c.cc:1:
/home/pi/.node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
 Local<Object> Value::ToObject() const {
               ^~~~~
../src/i2c.cc: In function ‘void WriteByte(const Nan::FunctionCallbackInfo<v8::Value>&)’:
../src/i2c.cc:213:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   int8_t byte = info[0]->Int32Value();
                                     ^
In file included from /home/pi/.node-gyp/10.16.3/include/node/v8.h:26:0,
                 from /home/pi/.node-gyp/10.16.3/include/node/node.h:63,
                 from ../src/i2c.cc:1:
/home/pi/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                              ^
/home/pi/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/i2c.cc: In function ‘void WriteBlock(const Nan::FunctionCallbackInfo<v8::Value>&)’:
../src/i2c.cc:232:36: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   int8_t cmd = info[0]->Int32Value();
                                    ^
In file included from /home/pi/.node-gyp/10.16.3/include/node/v8.h:26:0,
                 from /home/pi/.node-gyp/10.16.3/include/node/node.h:63,
                 from ../src/i2c.cc:1:
/home/pi/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                              ^
/home/pi/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/i2c.cc:233:53: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   int   len = node::Buffer::Length(buffer->ToObject());
                                                     ^
In file included from /home/pi/.node-gyp/10.16.3/include/node/node.h:63:0,
                 from ../src/i2c.cc:1:
/home/pi/.node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
 Local<Object> Value::ToObject() const {
               ^~~~~
../src/i2c.cc:234:52: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   char* data = node::Buffer::Data(buffer->ToObject());
                                                    ^
In file included from /home/pi/.node-gyp/10.16.3/include/node/node.h:63:0,
                 from ../src/i2c.cc:1:
/home/pi/.node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
 Local<Object> Value::ToObject() const {
               ^~~~~
../src/i2c.cc: In function ‘void WriteWord(const Nan::FunctionCallbackInfo<v8::Value>&)’:
../src/i2c.cc:253:36: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   int8_t cmd = info[0]->Int32Value();
                                    ^
In file included from /home/pi/.node-gyp/10.16.3/include/node/v8.h:26:0,
                 from /home/pi/.node-gyp/10.16.3/include/node/node.h:63,
                 from ../src/i2c.cc:1:
/home/pi/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                              ^
/home/pi/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/i2c.cc:254:38: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   int16_t word = info[1]->Int32Value();
                                      ^
In file included from /home/pi/.node-gyp/10.16.3/include/node/v8.h:26:0,
                 from /home/pi/.node-gyp/10.16.3/include/node/node.h:63,
                 from ../src/i2c.cc:1:
/home/pi/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                              ^
/home/pi/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
i2c.target.mk:99: recipe for target 'Release/obj.target/i2c/src/i2c.o' failed
make: *** [Release/obj.target/i2c/src/i2c.o] Error 1
make: Leaving directory '/home/pi/pimatic-app/node_modules/i2c/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 4.19.66-v7+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/pimatic-app/node_modules/i2c
gyp ERR! node -v v10.16.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN node-red-project@0.0.1 No repository field.
npm WARN node-red-project@0.0.1 No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! i2c@0.2.3 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the i2c@0.2.3 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pi/.npm/_logs/2019-08-26T13_58_51_039Z-debug.log
pi@raspberrypi:~/pimatic-app $

When starting pimatic, pimatic also tries to install the plugins, even without success.

....
....
....
13:36:35.318 [pimatic] Installing: "pimatic-bh1750@0.2.0" from npm-registry.
....
....
....

13:36:49.420 [pimatic, ppm] make: *** [Release/obj.target/i2c/src/i2c.o] Error 1
13:36:49.422 [pimatic, ppm] gyp ERR! build error
13:36:49.425 [pimatic, ppm] gyp ERR! stack Error: `make` failed with exit code: 2
13:36:49.427 [pimatic, ppm] gyp ERR! stack     at ChildProcess.onExit (/home/pi/pimatic-app/node_modules/pimatic/node_modules/npm/node_modules/node-gyp/lib/build.js:285:23)
13:36:49.429 [pimatic, ppm] gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
13:36:49.431 [pimatic, ppm] gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
13:36:49.433 [pimatic, ppm] gyp ERR! System Linux 4.19.66-v7+
13:36:49.436 [pimatic, ppm] gyp ERR! command "/usr/bin/node" "/home/pi/pimatic-app/node_modules/pimatic/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
13:36:49.439 [pimatic, ppm] gyp ERR! cwd /home/pi/pimatic-app/node_modules/pimatic-bh1750/node_modules/bh1750/node_modules/i2c
13:36:49.442 [pimatic, ppm] gyp ERR! node -v v10.16.3
13:36:49.445 [pimatic, ppm] gyp ERR! node-gyp -v v3.6.0
13:36:49.447 [pimatic, ppm] gyp ERR! not ok
13:36:49.450 [pimatic, ppm] ERR! Linux 4.19.66-v7+
13:36:49.452 [pimatic, ppm] ERR! argv "/usr/bin/node" "/home/pi/pimatic-app/node_modules/pimatic/ppm.js" "install" "pimatic-bh1750@0.2.0" "--unsafe-perm"
13:36:49.454 [pimatic, ppm] ERR! node v10.16.3
13:36:49.456 [pimatic, ppm] ERR! npm  v2.15.12
13:36:49.459 [pimatic, ppm] ERR! code ELIFECYCLE
13:36:49.462 [pimatic, ppm] ERR! i2c@0.2.3 install: `node-gyp rebuild`
13:36:49.464 [pimatic, ppm] ERR! Exit status 1
13:36:49.467 [pimatic, ppm] ERR!
13:36:49.469 [pimatic, ppm] ERR! Failed at the i2c@0.2.3 install script 'node-gyp rebuild'.
13:36:49.471 [pimatic, ppm] ERR! This is most likely a problem with the i2c package,
13:36:49.475 [pimatic, ppm] ERR! not with npm itself.
13:36:49.477 [pimatic, ppm] ERR! Tell the author that this fails on your system:
13:36:49.480 [pimatic, ppm] ERR!     node-gyp rebuild
13:36:49.482 [pimatic, ppm] ERR! You can get information on how to open an issue for this project with:
13:36:49.484 [pimatic, ppm] ERR!     npm bugs i2c
13:36:49.486 [pimatic, ppm] ERR! Or if that isn't available, you can get their info via:
13:36:49.488 [pimatic, ppm] ERR!
13:36:49.490 [pimatic, ppm] ERR!     npm owner ls i2c
13:36:49.492 [pimatic, ppm] ERR! There is likely additional logging output above.
13:36:49.500 [pimatic, ppm] i2c.target.mk:93: recipe for target 'Release/obj.target/i2c/src/i2c.o' failed
13:36:49.503 [pimatic, ppm] make: Leaving directory '/home/pi/pimatic-app/node_modules/pimatic-bh1750/node_modules/bh1750/node_modules/i2c/build'
13:36:49.676 [pimatic, ppm] ERR! Please include the following file with any support request:
13:36:49.681 [pimatic, ppm] ERR!     /home/pi/pimatic-app/npm-debug.log
13:36:49.712 [pimatic] Error running "./node_modules/pimatic/ppm.js install pimatic-bh1750@0.2.0 --unsafe-perm"