diff --git a/current.html.tmpl b/current.html.tmpl
index adbac8f..5790e4c 100644
--- a/current.html.tmpl
+++ b/current.html.tmpl
@@ -51,8 +51,11 @@
+ #if $period2.pm2_5.has_data
+
+ #end if
#if $Extras.has_key('optionalAccessories') and $period2.radiation.has_data
-
+
#end if
#if $Extras.has_key('optionalAccessories') and $period2.UV.has_data
diff --git a/include/chart.inc b/include/chart.inc
index 1c83be5..d1796c2 100644
--- a/include/chart.inc
+++ b/include/chart.inc
@@ -187,39 +187,57 @@
#end if
+ #if $period2.pm2_5.has_data
+
+
+ AQI Range
+ |
+
+ $period1.pm2_5_aqi.max at $period1.pm2_5.maxtime
+ $period1.pm2_5_aqi.min at $period1.pm2_5.mintime
+ |
+
+ $period2.pm2_5_aqi.max at $period2.pm2_5.maxtime
+ $period2.pm2_5_aqi.min at $period2.pm2_5.mintime
+ |
+
+ #end if
#if $Extras.has_key('optionalAccessories') and $period2.UV.has_data
- High UV
- Low UV
- | |
+ High UV
+
+
+ $period1.UV.max at $period1.UV.maxtime
+ |
- $period2.UV.max at $period2.UV.maxtime
- $period2.UV.min at $period2.UV.mintime
+ $period2.UV.max at $period2.UV.maxtime
|
#end if
#if $Extras.has_key('optionalAccessories') and $period2.ET.has_data and $period2.ET.sum.raw >0.0
- High ET
- Low ET
- | |
+ High ET
+
- $period2.ET.max at $period2.ET.maxtime
- $period2.ET.min at $period2.ET.mintime
+ $period1.ET.max at $period1.ET.maxtime
+ |
+
+ $period2.ET.max at $period2.ET.maxtime
|
#end if
#if $Extras.has_key('optionalAccessories') and $period2.radiation.has_data
- High Radiation
- Low Radiation
- | |
+ High Radiation
+
+
+ $period1.radiation.max at $period1.radiation.maxtime
+ |
- $period2.radiation.max at $period2.radiation.maxtime
- $period2.radiation.min at $period2.radiation.mintime
+ $period2.radiation.max at $period2.radiation.maxtime
|
#end if
diff --git a/include/current.inc b/include/current.inc
index 18842d8..3b265d8 100644
--- a/include/current.inc
+++ b/include/current.inc
@@ -36,16 +36,22 @@
Rain Rate |
$current.rainRate |
-
- Inside Temperature |
- $current.inTemp |
-
#if $day.extraTemp1.has_data
Pond Temperature |
$current.extraTemp1 |
#end if
+ #if $day.pm2_5.has_data
+
+ PM2.5 Concentration |
+ $current.pm2_5 |
+
+
+ AQI |
+ $current.pm2_5_aqi |
+
+ #end if
#if $Extras.has_key('optionalAccessories') and $day.UV.has_data
UV |
@@ -64,6 +70,10 @@
$current.radiation |
#end if
+
+ Inside Temperature |
+ $current.inTemp |
+
diff --git a/month.html.tmpl b/month.html.tmpl
index e9ec61d..055d1e4 100644
--- a/month.html.tmpl
+++ b/month.html.tmpl
@@ -31,6 +31,9 @@
+ #if $period2.pm2_5_aqi.has_data
+
+ #end if
#if $Extras.has_key('optionalAccessories') and $period2.UV.has_data
#end if
diff --git a/skin.conf b/skin.conf
index 584c651..d582421 100644
--- a/skin.conf
+++ b/skin.conf
@@ -211,7 +211,8 @@
inTemp = Inside Temperature
outHumidity = Outside Humidity
outTemp = Outside Temperature
- radiation = Radiation
+ pm2_5_aqi = Air Quality Index
+ radiation = Solar Radiation
rain = Rain
rainRate = Rain Rate
rxCheckPercent = ISS Signal Quality
@@ -486,6 +487,10 @@
[[[[windvec]]]]
plot_type = vector
+ [[[dayaqi]]]
+ yscale = 0, None, 20
+ [[[[pm2_5_aqi]]]]
+
[[[dayradiation]]]
[[[[radiation]]]]
@@ -542,6 +547,10 @@
[[[[windvec]]]]
plot_type = vector
+ [[[weekaqi]]]
+ yscale = 0, None, 20
+ [[[[pm2_5_aqi]]]]
+
[[[weekradiation]]]
[[[[radiation]]]]
@@ -599,6 +608,10 @@
[[[[windvec]]]]
plot_type = vector
+ [[[monthaqi]]]
+ yscale = 0, None, 20
+ [[[[pm2_5_aqi]]]]
+
[[[monthradiation]]]
[[[[radiation]]]]
@@ -669,6 +682,10 @@
[[[[windvec]]]]
plot_type = vector
+ [[[monthaqi]]]
+ yscale = 0, None, 20
+ [[[[pm2_5_aqi]]]]
+
[[[yearradiation]]]
[[[[radiation]]]]
diff --git a/week.html.tmpl b/week.html.tmpl
index c22b660..33c0685 100644
--- a/week.html.tmpl
+++ b/week.html.tmpl
@@ -31,6 +31,9 @@
+ #if $period2.pm2_5_aqi.has_data
+
+ #end if
#if $Extras.has_key('optionalAccessories') and $period2.UV.has_data
#end if
diff --git a/year.html.tmpl b/year.html.tmpl
index 5f50805..d656df4 100644
--- a/year.html.tmpl
+++ b/year.html.tmpl
@@ -145,6 +145,18 @@
#end if
+ #if $year.pm2_5.has_data
+
+
+ High AQI
+ Low AQI
+ |
+
+ $year.pm2_5_aqi.max at $year.pm2_5_aqi.maxtime
+ $year.pm2_5_aqi.min at $year.pm2_5_aqi.mintime
+ |
+
+ #end if
#if $Extras.has_key('optionalAccessories') and $year.UV.has_data
@@ -230,6 +242,9 @@
+ #if $year.pm2_5_aqi.has_data
+
+ #end if
#if $Extras.has_key('optionalAccessories') and $year.UV.has_data
#end if
|