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
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.
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)'