Skip to content

Commit 8c9dde3

Browse files
authored
Merge pull request #116 from MallocArray/5.0.0
5.0.0
2 parents dffe6a0 + 9554f5c commit 8c9dde3

10 files changed

+17
-11
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,21 @@ ESPHome yaml files for AirGradient devices to maintain the research and accuracy
44

55
## Breaking Changes
66

7+
* 5.0.0 is a major version upgrade as switching to esp-idf is not fully supported via OTA. Highly recommend doing one USB flash of 4.1.0 and later to the AirGradient ONE and OpenAir devices to reformat the storage to support esp-idf. Future updates can be done Over-The-Air without issue.
8+
* It not done, the device is likely to reboot at some point and switch to the standby partition, returning to a version prior to 4.1.0
9+
* [Seeing an Old Firmware Version After Update? Here's Why & How to Fix It · Issue #1821 · Blackymas/NSPanel_HA_Blueprint](https://github.com/Blackymas/NSPanel_HA_Blueprint/issues/1821)
10+
* [Read/Write bootloader, partition table and any partition via OTA by angelnu · Pull Request #5535 · esphome/esphome](https://github.com/esphome/esphome/pull/5535)
11+
* Aware of errors in the logs stating `esp_task_wdt_reconfigure(615): Invalid arguments`
12+
* Tracking [Watchdog config hardcoded core mask · Issue #6767 · esphome/issues](https://github.com/esphome/issues/issues/6767)
713
* 4.1.0 switches ONE and OpenAir models (based on ESP32) to the esp-idf framework, freeing up some memory and allowing other advanced features such as bluetooth_proxy and esp32_improv. If the previous Arduino framework is desired, change the board to `airgradient_esp32-c3_board-arduino.yaml`
14+
* If attempting to add BT and BLE support, may need to remove the captive_portal package to free up enough space [Issue #115](https://github.com/MallocArray/airgradient_esphome/issues/115)
815
* Remove substitution line such as `config_version: 2.0.5` from the main file, as this has been moved into the board package file
916
* Updated to 4.0.0 versions, skipping 3.x to avoid confusion with current AirGradient official firmware
1017
* Now defaulting to https for AirGradient API communication. If older devices (DIY and Pro models) go into constant reboots, switch to the api package `airgradient_api_d1_mini_insecure.yaml` to revert to the original communication method
1118

1219
## Changes
1320

14-
* Support for ESPHome 2024.6 and later
21+
* Support for ESPHome 2025.2 and later due to changes to esp32_rmt_led_strip
1522
* Added extended timeout for API upload on ONE and OpenAir models to reduce reboots
1623
* Applied correction algorithms for PM2.5 provided by AirGradient
1724
* https://www.airgradient.com/documentation/correction-algorithms/

packages/airgradient_api_d1_mini.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ http_request:
5858
timeout: 1s # Setting short to try to prevent watchdog reboots https://github.com/esphome/issues/issues/2853
5959
# Used to support POST request to send data to AirGradient
6060
# https://esphome.io/components/http_request.html
61-
verify_ssl: false # Must be explicityly set to false when using Arduino framework
61+
verify_ssl: false # Must be explicitly set to false when using Arduino framework

packages/airgradient_api_d1_mini_insecure.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ http_request:
5858
timeout: 1s # Setting short to try to prevent watchdog reboots http://github.com/esphome/issues/issues/2853
5959
# Used to support POST request to send data to AirGradient
6060
# http://esphome.io/components/http_request.html
61-
verify_ssl: false # Must be explicityly set to false when using Arduino framework
61+
verify_ssl: false # Must be explicitly set to false when using Arduino framework

packages/airgradient_api_d1_mini_no_sgp41.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ http_request:
5656
timeout: 1s # Setting short to try to prevent watchdog reboots https://github.com/esphome/issues/issues/2853
5757
# Used to support POST request to send data to AirGradient
5858
# https://esphome.io/components/http_request.html
59-
verify_ssl: false # Must be explicityly set to false when using Arduino framework
59+
verify_ssl: false # Must be explicitly set to false when using Arduino framework

packages/airgradient_api_esp32-c3.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,5 @@ esphome:
5959
http_request:
6060
# Used to support POST request to send data to AirGradient
6161
# https://esphome.io/components/http_request.html
62-
verify_ssl: false # Must be explicityly set to false when using Arduino framework
62+
verify_ssl: false # Must be explicitly set to false when using Arduino framework
6363
watchdog_timeout: 30s # Slow response from API server can cause watchdog to reboot device

packages/airgradient_api_esp32-c3_dual_pms5003t.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,5 +91,5 @@ esphome:
9191
http_request:
9292
# Used to support POST request to send data to AirGradient
9393
# https://esphome.io/components/http_request.html
94-
verify_ssl: false # Must be explicityly set to false when using Arduino framework
94+
verify_ssl: false # Must be explicitly set to false when using Arduino framework
9595
watchdog_timeout: 30s # Slow response from API server can cause watchdog to reboot device

packages/airgradient_d1_mini_board.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
substitutions:
2-
config_version: 4.1.0
2+
config_version: 5.0.0
33

44
esphome:
55
name: "${name}"

packages/airgradient_esp32-c3_board-arduino.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
substitutions:
2-
config_version: 4.1.0
2+
config_version: 5.0.0
33

44
esphome:
55
name: "${name}"

packages/airgradient_esp32-c3_board.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
substitutions:
2-
config_version: 4.1.0
2+
config_version: 5.0.0
33

44
esphome:
55
name: "${name}"
@@ -9,7 +9,7 @@ esphome:
99
project:
1010
name: mallocarray.airgradient
1111
version: "$config_version"
12-
min_version: 2024.6.0
12+
min_version: 2025.2.0
1313

1414
esp32:
1515
board: esp32-c3-devkitm-1

packages/led.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ light:
44
rgb_order: GRB
55
pin: GPIO10 # Pin 16
66
num_leds: 11
7-
rmt_channel: 0
87
chipset: ws2812
98
name: "LED Strip"
109
id: led_strip

0 commit comments

Comments
 (0)