alexh-name / bme680_outputs

This script checks a CSV of BSEC data from the BME680 sensor periodically for some significant change and gives feedback in form of a sentence, which can be useful for automatic notifications.
MIT License
12 stars 0 forks source link
air air-quality iaq led linux raspberry-pi sensor twitter unicorn-hat-hd

bme680_outputs

pretty_BSEC.sh

This script checks a CSV of BSEC data from the BME680 sensor periodically for some significant change and gives feedback in form of a sentence, which can be useful for automatic notifications.

Example

Average air 🙂 [92 IAQ], but it's cold ❄ [19.0 °C].

Twitter notification

Dependencies

CSV format

Expected CSV format: date,IAQ accuracy,IAQ index,temperature,humidity,pressure,gas,BSEC status

e.g: 2018-01-04 20:21:10,3,70.92,21.05,46.53,988.64,749721,0

You can find an example for fitting output code for bsec_bme680_linux in the header of the file.

LED_bars_daemon.py

A python script that can be triggered by pretty_BSEC.sh to draw bars for IAQ, temperature and humidity to a LED matrix. I used a Unicorn HAT HD.

Example

LED bars

Dependencies

Web Chart

Simple live web chart using Chart.js.
Example pulls readings from CSV file via cgi-bin script.

Dependencies