Skip to content

Commit

Permalink
20240928
Browse files Browse the repository at this point in the history
### BETA RELEASE, USE ON YOUR OWN RISK

#### Don't support ESP32-­SOLO-­1 boards. (ESP32-S0WD)

Because of switching to original Espressif Arduino framework

#### Updates and Improvements

- Updated PlatformIO to 6.1.15
- Switched to espressif32@6.8.1
- Switched to mathieucarbou/AsyncTCP@3.2.5
- Switched to robtillaart/DS18B20@^0.2.3
- Removed sstaub/Ticker, now using built-in from arduino-esp32
- Reworked code to run on Arduino ESP32 3.0.5 based on the ESP-IDF v5.1.4

#### New Features

- Added update notification to HA for ESP and Radio firmwares
- Support for WPA3
- Support for local IPv6 (only on ETH)
- Added firewall mask (now supports more than one allowed IP)
- Added DNS resolving check before trying to update Zigbee or ESP32

#### Optimizations

- Reworked FS size calculation
- Optimized memory usage by MQTT
- Shortened booting time
- Reworked OTA updating files structure and xzg.json file
- Moved hardware config to NV storage (auto import from file and remove after)
- Moved all web files to FS

#### Fixes

- Fixed very long load if no Zigbee firmware answer
- Removed loading of old config files (used before XZG firmware)
- Removed check and restore DNS, showing real current DNS on the main page

#### Scripts and Build

- Reworked gulp and build scripts to build XZG_*.fs.bin file
- Reworked build_html.py - gulp to data folder, build fs file
- Reworked build.py - creates 3 release files (full, ota, fs)

#### Miscellaneous

- Automatic WiFi and MQTT disabling while RCP (Zigbee) is flashing, but sometimes you still need to totally disable MQTT in settings.
  • Loading branch information
xyzroe committed Sep 28, 2024
1 parent 3647c6a commit 7324f55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
*debug*
XZG.fs.bin
XZG*bin
3 changes: 2 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,7 @@ void setupCoordinatorMode()
void getEspUpdateTask(void *pvParameters)
{
TaskParams *params = static_cast<TaskParams *>(pvParameters);
LOGI("getEspUpdateTask %s", params->url);
getEspUpdate(params->url);
vTaskDelete(NULL);
}
Expand Down Expand Up @@ -680,7 +681,7 @@ void checkFileSys()
commitFile.close();
}

if (vars.needFsDownload && 1 > 2)
if (vars.needFsDownload)
{
LOGI("Downloading FS");

Expand Down

0 comments on commit 7324f55

Please sign in to comment.