Tried this with 3b/3b+ (python 2.7/3.6), when installing module I get the following error:
pi@raspberrypi:~/MagicMirror/modules/MMM-SensorGateway $ npm install
npm WARN deprecated exec@0.2.1: deprecated in favor of builtin child_process.exe cFile
> websocket@1.0.31 install /home/pi/MagicMirror/modules/MMM-SensorGateway/node_m odules/websocket
> (node-gyp rebuild 2> builderror.log) || (exit 0)
make: Entering directory '/home/pi/MagicMirror/modules/MMM-SensorGateway/node_mo dules/websocket/build'
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/obj.target/bufferutil.node
COPY Release/bufferutil.node
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/obj.target/validation.node
COPY Release/validation.node
make: Leaving directory '/home/pi/MagicMirror/modules/MMM-SensorGateway/node_mod ules/websocket/build'
MMM-SensorGateway@1.0.0 /home/pi/MagicMirror/modules/MMM-SensorGateway
├── exec@0.2.1
└─┬ websocket@1.0.31
├─┬ debug@2.6.9
│ └── ms@2.0.0
├─┬ es5-ext@0.10.53
│ ├─┬ es6-iterator@2.0.3
│ │ └─┬ d@1.0.1
│ │ └── type@1.2.0
│ ├─┬ es6-symbol@3.1.3
│ │ └─┬ ext@1.4.0
│ │ └── type@2.0.0
│ └── next-tick@1.0.0
├── nan@2.14.0
├─┬ typedarray-to-buffer@3.1.5
│ └── is-typedarray@1.0.0
└── yaeti@0.0.6
npm WARN MMM-SensorGateway@1.0.0 No repository field.
I can see the temperature with “ruuvitag -f” in console. If I try to see the status with “sudo service local_blegateway status” I get:
pi@raspberrypi:~ $ sudo service local_blegateway status
● local_blegateway.service - local_blegateway, Movesense and RuuviTag BLE advertisement message gateway to websocket interface
Loaded: loaded (/lib/systemd/system/local_blegateway.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Fri 2019-12-20 17:04:04 EET; 1s ago
Process: 1972 ExecStart=/usr/share/local_blegateway/local_blegatewaykickstart.sh (code=exited, status=1/FAILURE)
Main PID: 1972 (code=exited, status=1/FAILURE)
joulu 20 17:04:04 raspberrypi systemd[1]: local_blegateway.service: Unit entered failed state.
joulu 20 17:04:04 raspberrypi systemd[1]: local_blegateway.service: Failed with result 'exit-code'.
Any hints?