Skip to content

Commit 1c13891

Browse files
authored
Add package to calculate Nowcast and AQI values on the device (#59)
* Add nowcast and aqi package from ex-nerd * Add adjustable update interval and move to template calculation
1 parent 1acee37 commit 1c13891

File tree

5 files changed

+427
-14
lines changed

5 files changed

+427
-14
lines changed

packages.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,12 @@ Configures the 11 segment LED bar in AG ONE models.
132132
133133
Also enables On/Off toggle, brightness, and LED fade out
134134
135+
## sensor_nowcast_aqi.yaml
136+
137+
Configures sensors for AQI and NowCast values and Category directly on the device.
138+
139+
Submitted by GitHub user @Ex-Nerd
140+
135141
## sensor_bme680.yaml
136142
137143
Configures sensors from BME 680 chip to supply temperature, humidity, pressure, IAQ, CO2 equivalent, and Breath VOC.
@@ -144,7 +150,8 @@ Configures the Plantower PMS5003 sensor.
144150
145151
By default collects readings every second. Since this device has a limited lifespan, it is possible to extend the life by collecting readings less frequently. Could introduce a new failure mode as the fan shuts down, allowing insects to get inside past the fan that is no longer spinning after 30 seconds.
146152
147-
Collects readings every 2 minutes
153+
Collects readings every 2 minutes by default, but can be modifed by adding an entry under substitutions, ensuring the value is surrounded by double quotes
154+
`pm_update_interval: "2min"`
148155

149156
## sensor_pms5003t_2_extended_life.yaml
150157

@@ -156,7 +163,8 @@ In addition to enabling sensors from the second device, also creates sensors tha
156163

157164
By default collects readings every second. Since this device has a limited lifespan, it is possible to extend the life by collecting readings less frequently. Could introduce a new failure mode as the fan shuts down, allowing insects to get inside past the fan that is no longer spinning after 30 seconds.
158165

159-
Collects readings every 2 minutes
166+
Collects readings every 2 minutes by default, but can be modifed by adding an entry under substitutions, ensuring the value is surrounded by double quotes
167+
`pm_update_interval: "2min"`
160168
161169
## sensor_pms5003t_2.yaml
162170
@@ -174,7 +182,8 @@ Also applies a compensation algorithm from AirGradient to correct temperature an
174182
175183
By default collects readings every second. Since this device has a limited lifespan, it is possible to extend the life by collecting readings less frequently. Could introduce a new failure mode as the fan shuts down, allowing insects to get inside past the fan that is no longer spinning after 30 seconds.
176184
177-
Collects readings every 2 minutes
185+
Collects readings every 2 minutes by default, but can be modifed by adding an entry under substitutions, ensuring the value is surrounded by double quotes
186+
`pm_update_interval: "2min"`
178187

179188
## sensor_pms5003t_uncorrected.yaml
180189

0 commit comments

Comments
 (0)