I am using Weewx with the Belchertwon skin and I have an Ecowitt PM2_5 sensor to read air particulates. Does anyone know of a graph we can add to the charts.conf to convert the PM2_5 reading to an actual Air Quality reading?
I have found a lot of sites that allow me to convert the reading on their site. But I was hoping someone had made a high chart graph for the Belchertown skin I could add that would give me an Air Quality reading people could see.
A chart that does this with the data in the weewx database.
https://www.airnow.gov/aqi/aqi-calculator/
Thanks!
--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/041d01d76e70%24cc9924e0%2465cb6ea0%24%40maladomini.com.
[Engine]xtypes_services = ..., user.aqixtypes.US_EPA
[AQIXTypes][[map]]aqi_pm2_51_24h_avg = pm2_51_24h_avgaqi_pm2_52_24h_avg = pm2_52_24h_avgaqi_pm2_51_instant = pm2_5aqi_pm2_52_instant = pm2_52
[StdWXCalculate][[Calculations]]aqi_pm2_51_24h_avg = software, archiveaqi_pm2_52_24h_avg = software, archiveaqi_pm2_51_instant = software, archiveaqi_pm2_52_instant = software, archive
On 4 Jul 2021, at 2:29 am, Mitchell Tuckness <purc...@maladomini.com> wrote:Ah, thanks!I don't suppose you have settings or a guide to get it to work with the Ecowitt PM2.5 sensor instead of the Purple Air one? I am doing some searches, so far not much luck and coding isn't my thing.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/b2376966-bfb4-4a7d-b071-e0130923b375n%40googlegroups.com.
On this install, do I use the wee_extension –install command, or uncompress it into a folder somewhere?
Thanks!
--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/Pq9ZwFkyDvs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/8BC5E64F-EB5D-49F2-8D6C-75766BF7D725%40gmail.com.
Hi Gary, It did put one in, at the bottom of the weewx.conf
I commented out the three for the purple and the pm10.
# Options for extension 'aqi'
[AqiService]
[[standard]]
data_binding = aqi_binding
standard = user.aqi.us.NowCast
[[air_sensor]]
data_binding = wx_binding
usUnits = usUnits
dateTime = dateTime
pm2_5 = pm2_5
# temp = purple_temperature
# pressure = purple_pressure
# pm10_0 = pm10_0_atm
From: weewx...@googlegroups.com <weewx...@googlegroups.com> On Behalf Of gjr80
Sent: Saturday, July 10, 2021 8:02 PM
To: weewx-user <weewx...@googlegroups.com>
Subject: Re: [weewx-user] Highchart Air Quality
You have a service that WeeWX is trying to load and the service expects to find a [AqiService] top level stanza in weewx.conf but the stanza does not exist. This could be due a number of reasons; it could be differing case (case matters here), a typo, incorrect hierarchy (it may be present as [[AqiService]]) etc. You need to look carefully at weewx.conf. If you used an extension installer it may have been installed/configured correctly to start with but subsequent edits/changes to weewx.conf may have broken it. This is easily done if installing/uninstalling/configuring a number of services, particularly if manually editing weewx.conf.
--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/Pq9ZwFkyDvs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/10a131d2-15e0-4078-9570-53988c0d5d79n%40googlegroups.com.
I attached the debug and the boot capture, and removed everything that looked sensitive. I left the data in the index_hook_after_forecast.inc
that I got from Tim (which is not working).
Thanks,
Mitchell
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/1f579c89-7314-4f9a-ae1d-61ad338acb08n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/b00d433d-66f2-fee0-1e21-37cbc10ad31f%40skybase.net.
hi there,
Do you have any tips for adding this?
Hi Ron,
That part is rendered by /etc/weewx/skins/Belchertown/index_hook_after_station_info.inc
The code for that is...
<head> <meta http-equiv="refresh" content="540"> </head> <table> <tr> #if $current.UV.raw <= 2.4 <td class="stats_data" style="background-color: limegreen;text-align:center"><H4>The current UV index $current.UV, is Low</td> #else if $current.UV.raw >= 2.5 and $current.UV.raw <= 5.4 <td class="stats_data" style="background-color: yellow;text-align:center"><H4>The current UV index $current.UV, is Moderate</td> #else if $current.UV.raw >= 5.5 and $current.UV.raw <= 7.4 <td class="stats_data" style="background-color: orange;text-align:center"><H4>The current UV index $current.UV, is High</td> #else if $current.UV.raw >= 7.5 and $current.UV.raw <= 10.4 <td class="stats_data" style="background-color: red;text-align:center"><H4>The current UV index $current.UV, is Very High</td> #else if $current.UV.raw > 10.5 <td class="stats_data" style="background-color: violet;text-align:center"><H4>The current UV index $current.UV, is Extreme</td> #end if #if $current.pm2_5.raw <= 20 <td class="stats_data" style="background-color: #31add3;text-align:center"><H4> The real time AQI of, $current.pm2_5.raw is Very Good</td> #else if $current.pm2_5.raw >= 21 and $current.pm2_5.raw <= 41 <td class="stats_data" style="background-color: #99b964;text-align:center"><H4>The real time AQI of, $current.pm2_5.raw is Good</td> #else if $current.pm2_5.raw >= 42 and $current.pm2_5.raw <= 61 <td class="stats_data" style="background-color: #fed337;text-align:center"><H4>The real time AQI of, $current.pm2_5.raw is Fair</td> #else if $current.pm2_5.raw >= 62 and $current.pm2_5.raw <= 92 <td class="stats_data" style="background-color: #ec793a;text-align:center"><H4>The real time AQI of, $current.pm2_5.raw is Poor</td> #else if $current.pm2_5.raw > 93 and $current.pm2_5.raw <= 123 <td class="stats_data" style="background-color: #782e49;text-align:center;color:yellow"><H4>The real time AQI, $current.pm2_5.raw is Very Poor</td> #else if $current.pm2_5.raw >= 124 <td class="stats_data" style="background-color: #d1472d;text-align:center;color:yellow"><H4>The real time AQI of, $current.pm2_5.raw is Hazardous</td > #end if <td style="text-align: center; background-color: #$aqi($current($data_binding='aqi_binding').aqi_pm2_5_category).color;" > <H4> The 24hr AQI is $current($data_binding='aqi_binding').aqi_pm2_5 which is $aqi($current($data_binding='aqi_binding').aqi_pm2_5_category).categor y. </td> </tr> </table>
regards
Tim