You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-20Lines changed: 17 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,17 +4,23 @@ ESPHome yaml files for AirGradient devices to maintain the research and accuracy
4
4
5
5
## Breaking Changes
6
6
7
-
Due to renaming of the Automatic Background Calibration switch to the proper name of Automatic Baseline Correction, this switch will default to being enabled, even if previously you had disabled it. After installing, disable again if desired
7
+
* Remove substitution line such as `config_version: 2.0.5` from the main file, as this has been moved into the board package file
8
+
* Updated to 4.0.0 versions, skipping 3.x to avoid confusion with current AirGradient official firmware
8
9
9
10
## Changes
10
11
11
-
* Added Display Contrast slider to dim the display
12
-
* Added device_class to the PMSx005 sensors to have them properly reflect in the HomeKit integration if supported ([Forum Link](https://forum.airgradient.com/t/airgradient-one-customized-mallocarray-esphome-display/1328/7?u=mallocarray))
13
-
* Added optional Factory Reset switch that is disabled by default. Can be enabled in HomeAssistant and used if desired
14
-
* LED combo package. Left 5 LEDs reflect CO2 levels, middle 5 LEDs reflect PM2.5 levels, far right indicates VOC. (Same as display)
15
-
* LED bar configs feature a "LED Fade" parameter that controls the percentage that the LED bar dims out from the center
16
-

17
-
* CO2 package supports optional substitution `co2_offset` to offset reported readings by a set amount. Useful if sensor is known to be off by a certain amount, or if wanting to override default calibration of 400 ppm
12
+
* Support for ESPHome 2024.6 and later
13
+
* Added extended timeout for API upload on ONE and OpenAir models to reduce reboots
14
+
* Applied correction algorithms for PM2.5 provided by AirGradient
* Updated API upload to follow current structure including both raw and corrected values
17
+
* Moved config_version substitution into the board package so it can be updated without manual change to main config file. Please remove the line starting with `config_version:` from your personal files
18
+
* Split captive portal config to a separate package. Can be removed if not using the portal or if defining wifi networks in your config file, which results in a small memory savings
19
+
* Removed safe_mode package by default. Very few use cases for it
20
+
* Added commented out packages for extended_life configs to make it easier to enable if desired
21
+
* Added commented out package for SHT30 temp sensor in AG Pro file to make it easier to switch to if desired
22
+
* Added new sensor options for raw values for PM2.5, temp, and humidity in some device configurations, and added AirGradient provided correction algorithms to the standard sensors
23
+
* AG DIY Basic display config changed to same font as other models, downloading from gfonts instead of using local file
18
24
19
25
## Features
20
26
@@ -48,7 +54,7 @@ Many added features can be found in HomeAssistant by going to Settings>Devices a
48
54
49
55
- Short press (Less than 1 second) - Toggle between F and C on display
50
56
- Long press (More than 1 second, less than 5) - Trigger manual CO2 calibration
51
-
- Leverage automations in HomeAssistant to turn on the "Blank" page and turn off all other pages to effectively disable the display output. Could also turn off the LED strip or set Brightness to 0 to eliminate output while still collecting sensor data
57
+
- Leverage automation in HomeAssistant to turn on the "Blank" page and turn off all other pages to effectively disable the display output. Could also turn off the LED strip or set Brightness to 0 to eliminate output while still collecting sensor data
52
58
53
59
## Installation
54
60
@@ -162,14 +168,5 @@ MQTT support has been mentioned in the AirGradient forums several times. ESPHom
162
168
163
169
Several more features are planned to be added to this repo
164
170
165
-
- [X] Support for Open Air without CO2 sensor (Model: O-1PPT)
166
-
- [ ] Explore options for disabling display/LED during certain times (May be differed to HomeAssistant Automations)
167
-
- [ ] Standardize font on AirGradient Basic display to match Pro
168
-
- [X] Reduce number of fonts used in the multi_page package
169
-
- [X] Open Sans displays a consistent height, but some characters, such as F and 0 are mismatched, the left side is double line thick while right is single line
170
-
- [X] Poppins Light is consistent thickness, but numbers are taller than letters, giving a mismatched height
171
-
- [ ] Add GitHub actions to automatically build updated .bin files as needed
172
-
- [X] Add support for esp32_improv and improv_serial (improv_serial not supported with this board and used pins. esp32_improv uses 30% of available flash memory and is nearly full)
Copy file name to clipboardExpand all lines: packages.md
+29Lines changed: 29 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,16 @@ Board configuration for devices based on the D1 Mini chip (AG Basic and AG Pro)
26
26
27
27
Board configuration for devices based on the ESP32-C3 chip (AG ONE and OpenAir)
28
28
29
+
## button_factory_reset.yaml
30
+
31
+
Enables a button to reset device to factory resets, which erases all nvram and erases all stored preferences.
32
+
33
+
Useful if warning messages about being unable to save preferences appear
34
+
35
+
## captive_portal.yaml
36
+
37
+
Configures the device to provide a captive portal to create a hotspot if wifi is not connected, so it can be connected to a new wifi network without reconfiguring the config file
38
+
29
39
## config_button.yaml
30
40
31
41
Enables the configuration button on the AirGradient device. Default configuration is for devices based on ESP32-C3 chip, but additional configuration can be added to change the pin to support D1 Mini if the device has a physical button installed (Already part of the config file for AG Pro v4.2)
@@ -197,10 +207,20 @@ Configures a Plantower PMS5003T sensor. Reports PM 2.5, Temperature, and Humidi
197
207
198
208
Also applies a compensation algorithm from AirGradient to correct temperature and humidity readings when used inside of the Open Air enclosure
199
209
210
+
## sensor_pms5003_uncorrected.yaml
211
+
212
+
Configures a Plantower PMS5003 sensor using raw values from the sensor
213
+
214
+
Reports PM 2.5, PM 10, PM 1.0, PM 0.3, and Air Quality Index based on the current readings.
215
+
200
216
## sensor_pms5003.yaml
201
217
202
218
Configures a Plantower PMS5003 sensor.
203
219
220
+
Applies correction algorithms provided by AirGradient
0 commit comments