This app is ment to be run on a Raspberry Pi 3. Tested with the full version of Raspbian Stretch.
Nodejs & NPM =>
$ update-nodejs-and-nodered
Bluetooth enabled and allowed =>
$ sudo apt-get install libbluetooth-dev
$ sudo setcap cap_net_raw+eip $(eval readlink -f `which node`
)
Influx and grafana installed and running =>
http://blog.centurio.net/2018/10/28/howto-install-influxdb-and-grafana-on-a-raspberry-pi-3/
Reboot Pi!
npm install
node index.js