-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Web UI: - Introduced login page, replacing the basic authentication window. - Added a button to toggle password visibility. - Segregated all LED-related options into a separate card. - Implemented night mode configuration options for LEDs on the General page. - Incorporated emoji as identifying buttons for LEDs. - Updated status bar icons to reflect the current state. - Enabled version selection for ESP32 updates via the web interface. - Rectified issues with the color modal and tables. - Reorganized buttons on the Tools page for improved usability. - Introduced a factory reset button on the Tools page. - Added language selection in the side navigation menu. - Integrated i18next for translation support. - Adapted static HTML pages and all JavaScript for compatibility with i18next. - Conditionally hid LEDs and UART mode options based on pin availability in the configuration. - Refined input placeholders, patterns, and title attributes, specifically on the MQTT page. - Implemented toasts for ESP update notifications and beta feedback submissions. - ESP32 updating modal window with confirmation before start - All devices stats sends to web client in clean values, formatting goes in the browser. - Add clock in header navbar - Add tooltips to navbar icons and clock - Add progress bars to visualize ESP temp, used heap and RSSI - Add NVS and FS stats on root page (with progress bars) Code: - Set default values for mqttTopic and Husarnet hostname. - Configured MQTT server by FQDN (see issue #33 @ UZG-01). - Relocated configHw.json to the root folder for easier access. - Purged debug logs for cleaner codebase. - Addressed temperature offset configuration issues during board configuration search. - Consolidated all LED actions into a single function for efficiency. - Corrected minor errors encountered during configuration migration. - Overhauled the factory reset process for reliability. - Added an API route for factory resets to streamline the process. - Established webserver routes for locating JSON files and facilitating i18next. - Refined the ESP32 update process indication through the /events route. - Moved constants to separate files (keys.cpp and keys.h) for code maintainability and memory optimization. - Fix #15 @ ZigStarGW-FW - Fix #30 @ UZG-01 - WiFi and Ethernet works at the same time with auto AP starting if any error occurs - Rework LED logic using background tasks (indicates modes, connection state, zigbee errors, support disabling) - Rework BTN logic - short click disable/enable LEDs for current session (only if NOT fully disabled) - Long click over 3sec - toggle working mode NETWORK/USB, flashing 1Hz when ready to release - Long click over 5sec - enable Zigbee BSL mode, flashing 3Hz when ready to release Build and Development: - Applied minification to JavaScript and JSON files for optimized performance. - Reorganized folders within websrc and webh dirs for better project structure. - Add i18n Ally config for VSCode showing translations - Script for generate keys.h Docs: Hardware:
- Loading branch information
Showing
69 changed files
with
9,214 additions
and
2,750 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# .vscode/i18n-ally-custom-framework.yml | ||
|
||
languageIds: | ||
- javascript | ||
- html | ||
|
||
usageMatchRegex: | ||
- "[^\\w\\d]t\\(['\"`]({key})['\"`]" | ||
- "data-i18n=['\"]({key})['\"]" | ||
- "([^;'\"]*?)\\[placeholder\\]" | ||
- "([^;'\"]*?)\\[title\\]" | ||
|
||
|
||
|
||
|
||
|
||
scopeRangeRegex: "useTranslation\\(\\s*\\[?\\s*['\"`](.*?)['\"`]" | ||
|
||
# An array of strings containing refactor templates. | ||
# The "$1" will be replaced by the keypath specified. | ||
# Optional: uncomment the following two lines to use | ||
|
||
# refactorTemplates: | ||
# - i18n.get("$1") | ||
|
||
monopoly: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"folders": [ | ||
{ | ||
"path": "." | ||
} | ||
], | ||
"settings": { | ||
"i18n-ally.keystyle": "nested", | ||
"i18n-ally.localesPaths": [ | ||
"src/websrc/json" | ||
], | ||
"cSpell.useGitignore": false, | ||
}, | ||
"extensions": { | ||
"recommendations": [ | ||
"jock.svg", | ||
"DevEscalus.svg-sprites-viewer", | ||
"streetsidesoftware.code-spell-checker", | ||
"Perkovec.emoji", | ||
"lokalise.i18n-ally", | ||
"platformio.platformio-ide", | ||
"marcochan.get-svg-icons", | ||
"yzhang.markdown-all-in-one", | ||
"ms-vscode.cpptools" | ||
] | ||
} | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,14 +31,18 @@ lib_deps = | |
sstaub/Ticker@>=4.4.0 | ||
knolleary/PubSubClient@^2.8 | ||
Martin-Laclaustra/CronAlarms | ||
husarnet/Husarnet ESP32 @ 1.2.0-5 ;husarnet example | ||
;plerup/[email protected] | ||
;marian-craciunescu/ESP32Ping@>=1.7 | ||
;me-no-dev/[email protected] | ||
monitor_filters = esp32_exception_decoder, default ;, log2file | ||
monitor_speed = 115200 | ||
upload_speed = 460800 | ||
;platform_packages = | ||
; framework-arduinoespressif32 @ https://github.com/husarnet/arduino-esp32/releases/download/1.0.4-1/arduino-husarnet-esp32.zip ;husarnet example | ||
extra_scripts = | ||
;pre:tools/build/version_increment_pre.py | ||
pre:tools/build/pre_build.py | ||
pre:tools/build/version_update.py | ||
pre:tools/webfilesbuilder/build_html.py | ||
post:tools/build/build.py | ||
|
@@ -79,10 +83,13 @@ extra_scripts = | |
|
||
[env:debug] | ||
platform = espressif32 @ 6.4.0 | ||
;platform = [email protected] ;husarnet example | ||
board = esp32dev | ||
build_flags = | ||
-DDEBUG | ||
${env.build_flags} | ||
extra_scripts = | ||
${env.extra_scripts} | ||
lib_deps = | ||
${env.lib_deps} | ||
|
Oops, something went wrong.