Skip to content

Commit ce088dc

Browse files
committed
Updates from MallocArray's review
1 parent cdfe116 commit ce088dc

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

airgradient-pro.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ dashboard_import:
2121

2222
packages:
2323
board: github://MallocArray/airgradient_esphome/packages/airgradient_d1_mini_board.yaml
24-
# board: github://MallocArray/airgradient_esphome/packages/airgradient_lolin-c3-mini_board.yaml
2524
captive_portal: github://MallocArray/airgradient_esphome/packages/captive_portal.yaml
2625
pm_2.5: github://MallocArray/airgradient_esphome/packages/sensor_pms5003.yaml
2726
co2: github://MallocArray/airgradient_esphome/packages/sensor_s8.yaml
@@ -34,13 +33,7 @@ packages:
3433
wifi: github://MallocArray/airgradient_esphome/packages/sensor_wifi.yaml
3534
uptime: github://MallocArray/airgradient_esphome/packages/sensor_uptime.yaml
3635

37-
# For use with the D1 Board
3836
binary_sensor:
3937
- id: !extend config_button
4038
pin:
4139
number: D7
42-
43-
# For use with the Lolin C3 Mini Board
44-
# binary_sensor:
45-
# - id: !extend config_button
46-
# pin: 4

configuration.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,9 @@ Enabling the "Blank Page" switch will disable output on the display. It is not
8686
3. Click the Save button and give it a name, such as "AirGradient Night Mode"
8787
3. Repeat with a new Automation, with the actions reversed (Turn off Display Blank Page and turn on LED Strip), at the desired time with a name such as "AirGradient Night Mode Off"
8888
![automation](image/configuration/2025-03-20-205242.png)
89+
90+
## Using a lolin-d3-mini in an AG Pro board
91+
92+
1. Start with the airgradient-pro.yaml file
93+
2. Under packages, replace 'airgradient_d1_mini_board.yaml' with 'airgradient_lolin-c3-mini_board.yaml'
94+
3. change the `!extend config_button` section to use pin number `4` instead of `D7`

packages.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ Board configuration for devices based on the D1 Mini chip (AG Basic and AG Pro),
3232

3333
Board configuration for devices based on the ESP32-C3 chip (AG ONE and OpenAir) using the original Arduino framework
3434

35+
## airgradient_lolin-c3-mini_board.yaml
36+
37+
Board configuration for the AG Pro that has been user upgraded to use a lolin-c3-mini
38+
39+
You should be able to drop this in as a direct replacement in the airgradient-pro.yaml for the `airgradient_d1_mini_board.yaml` package.
40+
3541
## button_factory_reset.yaml
3642

3743
Enables a button to reset device to factory resets, which erases all nvram and erases all stored preferences.
@@ -53,6 +59,8 @@ binary_sensor:
5359
number: D7
5460
```
5561
62+
If using an AG Pro v4.2 with a user lolin-d3-mini upgrade use pin 4 instead of D7
63+
5664
* Short press - Toggle temperature display between C and F
5765
* Press and hold up to 5 seconds - Initiate Senseair S8 CO2 manual calibration. Ensure device is already outdoors or near an open window for 5+ minutes before initiating
5866

0 commit comments

Comments
 (0)