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
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# AirGradient ESPHome Configurations
2
2
3
-
ESPHome yaml files for AirGradient devices to maintain the research and accuracy of AirGradient sensors, while also gaining the benefits of ESPHome/HomeAssistant for easy to use switches, buttons, configurations, and dashboards. Maintains the ability to also send data to the AirGradient Dashboard, which can also be disabled/removed to keep all data local.
3
+
ESPHome yaml files for AirGradient devices to maintain the research and accuracy of AirGradient sensors, while also gaining the benefits of ESPHome/HomeAssistant for easy to use switches, buttons, configurations, and dashboards, all controlled locally. Maintains the ability to also send data to the AirGradient Dashboard, which can also be disabled/removed to keep all data local.
@@ -26,9 +26,12 @@ List of available packages to customize your device and gain additional features
26
26
* Added optional substitutions to implement batch-specific PM2.5 corrections using values provided by AirGradient
27
27
[See details in the packages.md file under the PMS5003 section.](packages.md#sensor_pms5003yaml)
28
28
* Restored logging to default values as it no longer repeats messages about components taking too long to complete
29
+
* New package for upgrading DIY and Pro models to Lolin C3 Mini
29
30
30
31
## Features
31
32
33
+
Replacing the line that starts with `led_co2` with ` led_combo: !include packages/led_combo.yaml` enables combo LED bar. For more information, look at the Packages file.
34
+
32
35
Many added features can be found in HomeAssistant by going to Settings>Devices and selecting the AirGradient device. Alternatively, add `web_server:` to the config file to enable a built-in web server on the AirGradient device (Not recommended for devices based on the D1 Mini ESP8266)
33
36
34
37
- Compact single page display by default with all relevant sensor readings
@@ -59,7 +62,7 @@ Many added features can be found in HomeAssistant by going to Settings>Devices a
59
62
60
63
- Short press (Less than 1 second) - Toggle between F and C on display
61
64
- Long press (More than 1 second, less than 5) - Trigger manual CO2 calibration
62
-
- 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
65
+
- Leverage automation in HomeAssistant to turn on the "Blank" page 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
Copy file name to clipboardExpand all lines: configuration.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,15 +64,15 @@ MQTT support has been mentioned in the AirGradient forums several times. ESPHom
64
64
65
65
After extensive discussion on the [AirGradient forum](https://forum.airgradient.com/t/concern-about-hijackable-wifi-connection/3845), it may be a good idea to remove the Captive Portal package after initial configuration, as leaving it in will default to enabling the Access Point Mode if WiFi is not available, potentially allowing an external source to reconfigure the device to a new network or upload another firmware file. Can also add a password to the ap if this functionality is desired, but want to secure it.
66
66
67
-
### Using a lolin-d3-mini in an AG Pro board
67
+
### Upgrade AirGradient DIY/Pro board to ESP32-C3
68
68
69
-
The lolin-d3-mini has a similar enough pin configuration that we're able to replace the stock D1 mini
70
-
and make some minor config changes and get the benefits of an ESP32-c3 based device without buying a
71
-
whole new motherboard.
69
+
The early DIY and Pro models were limited by ESP8266 chip that has minimal performance. The Lolin C3 Mini has the same form factor and based on the much improved ESP32-C3 chip.
72
70
73
-
1. Start with the airgradient-pro.yaml file
74
-
2. Under packages, replace 'airgradient_d1_mini_board.yaml' with 'airgradient_lolin-c3-mini_board.yaml'
75
-
3. change the `!extend config_button` section to use pin number `4` instead of `D7`
71
+
1. Purchase a Lolin C3 Mini, such as https://www.aliexpress.us/item/3256804553736450.html
72
+
1. Replace the device in your AirGradient
73
+
1. Under `packages:`, replace 'airgradient_d1_mini_board.yaml' with 'airgradient_lolin-c3-mini_board.yaml'
74
+
1. If upgrading a Pro, change the `!extend config_button` section to use pin number `4` instead of `D7`
Copy file name to clipboardExpand all lines: packages.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,9 +34,9 @@ Board configuration for devices based on the ESP32-C3 chip (AG ONE and OpenAir)
34
34
35
35
## airgradient_lolin-c3-mini_board.yaml
36
36
37
-
Board configuration for the AG Pro that has been user upgraded to use a lolin-c3-mini
37
+
Board configuration for the AG DIY/Pro that has been user upgraded to use a Lolin C3 mini, such as https://www.aliexpress.us/item/3256804553736450.html
38
38
39
-
The board is close enough pin configuration that you can directly replace the d1 mini and replace the `board` package in airgradient-pro.yaml, and replace the `D7` under the `!extend config_button` with `4`.
39
+
If upgrading a Pro, change the `!extend config_button` section to use pin number `4` instead of `D7`
0 commit comments