183 Commits

Author SHA1 Message Date
efea4a1384 fix: Enhance Discord message sending with aggressive GC and low-memory guard 2025-11-14 21:28:10 -05:00
73b5a5aefe fix: Improve HTTP response handling and clarify default values in schedule configuration 2025-11-14 21:18:20 -05:00
03766d6b09 fix: Improve HTTP response handling and add schedule JavaScript support 2025-11-14 21:13:44 -05:00
e5f9331d30 fix: Clarify logic for matching AC and heater adjustments in synchronization 2025-11-14 20:49:51 -05:00
6128e585b8 fix: Improve error handling in web server request processing 2025-11-14 20:47:42 -05:00
81174b78e4 fix: Enhance live synchronization logic for heater and AC inputs with last changed tracking 2025-11-14 20:38:48 -05:00
70cc2cad81 fix: Refactor live synchronization logic for heater and AC inputs in schedule form 2025-11-14 20:37:06 -05:00
6bc7b1da93 fix: Implement live synchronization for heater and AC inputs in schedule form 2025-11-14 20:29:12 -05:00
eceee9c88d syncs while typing and guarantees posted values follow the rule 2025-11-14 20:19:13 -05:00
72eb3c2acf fix: Enhance schedule synchronization logic for heater and AC targets 2025-11-14 19:42:21 -05:00
eff69cfe52 fix: Implement auto-sync for heater and AC targets in scheduling and settings
Fixes #17
2025-11-14 18:17:17 -05:00
63588ee3f1 Merge branch 'main' of https://gitea.rcs1.top/sickprodigy/Auto-Garden 2025-11-14 17:19:52 -05:00
8363406647 fix: Move discord_webhook import to after config loading and update WiFi connection comment. Save on ram usage 2025-11-14 17:19:44 -05:00
df08692726 fix: Add type ignore comments for import errors 2025-11-14 17:19:44 -05:00
0030e0a932 fix: Add type ignore comments for imports in multiple scripts to improve compatibility 2025-11-14 17:19:43 -05:00
d95f212d2e Add example configuration file, moved everything from secrets.py to here.
Feat: Also refactored some of the logic in discord_webhook.py and networking.py to be more friendly towards the pico with ram usage.

Fixes #26
2025-11-14 17:18:17 -05:00
0f7c4cc4d7 fix: Move discord_webhook import to after config loading and update WiFi connection comment. Save on ram usage 2025-11-14 17:04:47 -05:00
a9641947ba fix: Add type ignore comments for import errors 2025-11-14 17:02:19 -05:00
63ff2cec77 fix: Add type ignore comments for imports in multiple scripts to improve compatibility 2025-11-14 16:53:51 -05:00
6890d0570e Add example configuration file, moved everything from secrets.py to here.
Feat: Also refactored some of the logic in discord_webhook.py and networking.py to be more friendly towards the pico with ram usage.
2025-11-14 16:50:53 -05:00
a20bbd7cdf Ignore config.json 2025-11-14 15:57:53 -05:00
7edd209abe start of moving secrets.py to config.json 2025-11-14 15:55:36 -05:00
2c39ebd985 feat: Update TemperatureMonitor to send alerts via Discord with improved messaging function 2025-11-11 17:13:34 -05:00
1016e96b58 feat: Add static IP configuration options to config and main files. Also remove creation of config from web_server.py because I was already doing it in main.py like it should be done, somewhere first.
Fixes #25
2025-11-11 16:55:27 -05:00
b3c56864ac update: clean up code formatting 2025-11-10 18:59:18 -05:00
95e159ee5d feat: Update README with recent enhancements including immediate schedule application, aggressive memory management, and improved config persistence 2025-11-09 12:43:37 -05:00
5da44e1397 feat: Enhance schedule application by saving updated config to file and ensuring target persistence 2025-11-09 12:43:32 -05:00
b346be9431 feat: Implement immediate application of active schedule on startup and enhance schedule resume handling
Fixes #24
2025-11-09 12:25:16 -05:00
229bde85e9 feat: Add temperature validation in TemperatureMonitor and implement aggressive garbage collection in main loop 2025-11-09 11:54:12 -05:00
dae6971112 feat: Implement NTP sync function with garbage collection and improve schedule handling in web server
reduce ram usage bascically.
Fixes #22 (more garbage collection all it needed, but went further to try and cut more memory usage)
Fixes #21 (Just forgot to already marke this one as completed. Possibly in this commit too)
2025-11-09 11:29:18 -05:00
3c2e936d56 feat: Add advanced settings page and update handling for temperature hold configurations
Fixes #20

didn't rename it that way but have done quite a bit already want to save working point
2025-11-09 10:48:49 -05:00
9da21f7c89 feat: Implement temporary hold management with config integration and improved notifications
fixes #19
2025-11-09 10:11:00 -05:00
b6aae121bb feat: Add dynamic config reload and timezone offset handling in web server
Fixes #18
Already Fixed #13
after long hours of tedious back and forth coding to figure out wtf was happening jesus
2025-11-09 09:24:21 -05:00
24b53b9446 Removed stuff from the try block so it doesn't loop. just initialize in the beginning 2025-11-09 01:18:16 -05:00
749eb956a5 feat: Enhance request handling with improved header parsing and error management
Fixes #16
Fixes #15
Fixes #14
Fixes #6
2025-11-09 00:54:07 -05:00
5ce7cd43a4 feat: Improve HTTP response handling in web server with proper headers 2025-11-08 19:28:11 -05:00
bb46a69eba feat: Update Discord message function with improved comments and error handling 2025-11-08 19:28:06 -05:00
b018b427f6 feat: Enhance NTP synchronization with timeout and error handling 2025-11-08 19:28:00 -05:00
99d92a6e90 feat: Add type ignore comments for imports in multiple scripts 2025-11-08 18:38:11 -05:00
b712c19740 feat: Refactor request handling to include config parameter and improve error logging 2025-11-08 18:38:01 -05:00
9c7ca86d86 feat: Improve schedule parsing and validation in web server
Fixes #12
2025-11-08 17:51:19 -05:00
6ac3407cc2 feat: Revise README for clarity and detail on features, setup, and configuration 2025-11-08 17:35:48 -05:00
68b0351e9d feat: Update button labels for temporary and permanent hold actions in the web interface
Fixes #11
2025-11-08 17:24:26 -05:00
74b0d80717 feat: Enhance status page with temporary hold countdown timer and update method signatures 2025-11-08 17:11:46 -05:00
baa6382fba feat: Implement temporary hold expiration logic with notifications 2025-11-08 17:11:38 -05:00
b9b67f685a feat: Add temp_hold_duration to configuration for better control 2025-11-08 17:11:24 -05:00
64a5d0ae7e feat: Reset hold modes to automatic on boot and save configuration 2025-11-08 16:39:49 -05:00
3e926f997b feat: Update scheduling logic to disable only on manual temperature changes and send notifications accordingly 2025-11-08 16:36:05 -05:00
299a0abbc9 feat: Enhance main loop with error handling and graceful shutdown 2025-11-08 16:15:22 -05:00
988bec521f fix: Update watchdog timer configuration and enable garbage collection 2025-11-08 16:12:59 -05:00