From 4e5b8def554f6d2aaea9ed0c250a628139ad82ea Mon Sep 17 00:00:00 2001 From: alesf Date: Mon, 18 Jan 2021 09:57:16 +0100 Subject: [PATCH] add voc limits --- index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 6beef43..0ef448d 100755 --- a/index.js +++ b/index.js @@ -27,12 +27,16 @@ function HttpAirQuality(log, config) { this.dataUpdated = null; // excelent, good, fair, inferior, poor + // https://www.aircheckr.com/help-and-guides/air-quality-index + // https://www.tecamgroup.com/acceptable-voc-levels/ + // https://www.airnow.gov/sites/default/files/2020-05/aqi-technical-assistance-document-sept2018.pdf this.limits = { pm10: [0, 20, 40, 75, 100], pm25: [0, 15, 30, 50, 70], o3: [0, 40, 100, 140, 180], no2: [0, 10, 30, 100, 150], - so2: [0, 2, 35, 75, 185] + so2: [0, 2, 35, 75, 185], + voc: [0, 0.3, 0.5, 0.8, 1] } this.levels = {