Skip to content

Latest commit

 

History

History
59 lines (37 loc) · 1.53 KB

README.md

File metadata and controls

59 lines (37 loc) · 1.53 KB

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

  • bc for float operations
  • sh that has integer indexed arrays

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

  • Chart.js
  • jquery