NodeJS server for receiving data payloads from RuuviTags via gateways, RuuviStation etc and publishing data to InfluxDB. This repository is for internal use, and no support is offered.
Git clone this repository
npm install
Install InfluxDB
Install Grafana http://docs.grafana.org/installation/debian/
Grafana will not start on installation automatically,
please execute the following statements to configure grafana to start automatically using systemd
sudo /bin/systemctl daemon-reload
sudo /bin/systemctl enable grafana-server
You can start grafana-server by executing
sudo /bin/systemctl start grafana-server
node index.js
Run server locally and CURL test data to your server.
curl -X POST -H "Content-Type: application/json" --data "@./ruuvigw_sample.json" localhost:3001/gateway