-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add web based configuration at http://ip/preferences.html (WIP) (#117) (
#118) * Update CO2_GADGET_REV to "014-web-config-new" in platformio.ini * Add preferences page and handler for saving preferences * Add onload function to fetch CO2, temperature, and humidity data * Display Git HEAD in setup (Add .py and platformio_extra_configs.ini to .gitignore) * Modify preferences.html * Load preferences form (first version, non functional) * Add ArduinoJson library and implement API endpoint to get preferences as JSON * Preferences received on Save Preferences from configuration web page * Update CO2_GADGET_REV to "020-web-config-new" in platformio.ini * Update CO2_GADGET_REV to "024-web-config-new" * Enable mDNS support for WiFi * Increase size of DynamicJsonDocument in getPreferencesAsJson() function * First rude web-config working (WIP no tested. no error checking) * Enable utilityLoop() function in main loop * Update publish functions to use int64_t and fix MQTT publish calls * Add Restart ESP32 button to settings form. CSS styles * Fix altitude misspelling * Fix tempOffset assignment and update sensors * Update vRef and battery voltage calculation on change from web settings page * Add flash memory information to setup() function * Fix utilityLoop() --------- Co-authored-by: Mario Mariete <[email protected]>
- Loading branch information
Showing
11 changed files
with
1,247 additions
and
252 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,9 @@ | |
*.old | ||
*.bin | ||
*.ino.cpp | ||
*.py | ||
Bootlogo | ||
platformio_extra_configs.ini | ||
extra_envs.ini | ||
credentials.h | ||
|
||
|
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
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
Oops, something went wrong.