Giter VIP home page Giter VIP logo

influxdb-dashboard's Introduction

InfluxDB Dashboard

A simple dashboard to display a graph of temperature and humidity.

Use case

I have a DHT22 sensor connected to my Rasberry Pi and and I send the data to InfluxDB every minute. I wanted to display the temperature graph on an old tablet running Android 4 and couldn't use Grafana because the Chrome version on my tablet didn't support it.

Setup

You need an InfluxDB bucket with the humidity and temperature data in two separate measurements.

Copy the .env.example file to .env and edit the variables with your InfluxDB server URL and credentials.

cp .env.example .env

Developing

Once you've created a project and installed dependencies with npm install, start a development server:

npm run dev

Building

To create a production version of the app:

npm run build

Or with docker:

docker build -t influxdb-dashboard .

You can preview the production build with npm run preview.

Running

After the app is built, run it with Docker:

docker run -d -p 3000:3000 influxdb-dashboard

The dashboard will be accessible on http://localhost:3000.

influxdb-dashboard's People

Contributors

ozon2 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.