Skip to content

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

License

Notifications You must be signed in to change notification settings

ruuvi/ruuvi.influxproxy.js

Repository files navigation

ruuvi.influxproxy.js

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.

Installing

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

Usage

node index.js

Testing

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published