sellorm / enviropi_dashboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EnviroPi Dashboard

An R and shiny based dashboard for data logged from the Pimoroni EnviroPi.

There are 2 components:

  • logger.py - prints the current state of all the sensors
  • enviropi_app.R - The dashboard application

logger.py

Add logger.py to your crontab using the template provided in crontab.txt. This will write data from all sensors to a daily log file once per minute.

You will need to install and configure Pimoroni's enviroplus Python package.

enviropi_app.R

This is the shiny dashboard that displays the data to the end user.

You can launch the app from the command line:

R -e 'shiny::runApp("enviropi_app.R", host="0.0.0.0", port=8000)'

About

License:MIT License


Languages

Language:R 75.3%Language:Python 13.2%Language:Shell 11.5%