Commit Graph

  • c8102e62ee fix: Refactor main loop for graceful shutdown and improved error handling main sickprodigy 2025-11-15 14:11:20 -05:00
  • d76b11430c fix: Remove redundant garbage collection calls in send_discord_message function sickprodigy 2025-11-15 13:54:08 -05:00
  • cb274545a3 fix: Remove unused variable 'schedules' and optimize garbage collection in schedule handling sickprodigy 2025-11-15 13:53:09 -05:00
  • 6cd1349633 fix: Remove unused variables and trigger garbage collection in schedule handling sickprodigy 2025-11-15 13:49:20 -05:00
  • bcecf2a81a fix: Add garbage collection calls to optimize memory usage in web server operations sickprodigy 2025-11-15 13:40:41 -05:00
  • 621a48f011 fix: Adjust memory threshold for Discord message sending to enhance reliability sickprodigy 2025-11-15 13:15:45 -05:00
  • ce816af9e7 fix: Adjust memory threshold for Discord message sending and improve error logging sickprodigy 2025-11-15 13:10:48 -05:00
  • 519cb25038 refactor: Optimize import statements and restructure monitoring logic for improved performance sickprodigy 2025-11-15 13:10:41 -05:00
  • f81d89980b refactor: Remove debug print statements from POST request handling in TempWebServer sickprodigy 2025-11-15 13:10:32 -05:00
  • 7fc7661dad fix: Adjust memory threshold for Discord message sending and add debug logging for RAM usage sickprodigy 2025-11-15 12:02:50 -05:00
  • 3b7982a3a3 fix: Adjust memory threshold for Discord message sending to improve reliability sickprodigy 2025-11-15 11:58:32 -05:00
  • 697f0bf31e fix: Improve Discord message sending logic and memory management sickprodigy 2025-11-15 11:52:54 -05:00
  • b632a76d5a refactor: Remove debug_force_send function to streamline message sending process sickprodigy 2025-11-15 11:22:36 -05:00
  • d670067b89 fix: Optimize memory management in debug_force_send and send_discord_message functions sickprodigy 2025-11-15 10:32:04 -05:00
  • ac860207d9 fix: Increase memory thresholds for Discord message sending and adjust garbage collection logging sickprodigy 2025-11-15 10:27:26 -05:00
  • 03b26b5339 feat: Add debug_force_send function for memory tracking and testing sickprodigy 2025-11-15 10:19:49 -05:00
  • 5a8d14eb4d fix: Enable debug logging in send_discord_message for better memory tracking sickprodigy 2025-11-15 10:03:15 -05:00
  • 79445bf879 fix: Add debug logging to send_discord_message for memory checks and import impact sickprodigy 2025-11-15 09:58:09 -05:00
  • 4400fb5a74 fix: Adjust memory thresholds for Discord message sending to match device capabilities sickprodigy 2025-11-15 09:46:22 -05:00
  • c6f46e097b fix: Increase memory thresholds and backoff duration for Discord message sending sickprodigy 2025-11-15 09:42:16 -05:00
  • d2c0f68488 fix: Enhance Discord message sending with memory checks and scheduling sickprodigy 2025-11-15 09:36:44 -05:00
  • 13e3a56fa6 fix: Add low-memory guard and cooldown for Discord message sending sickprodigy 2025-11-14 21:48:19 -05:00
  • efea4a1384 fix: Enhance Discord message sending with aggressive GC and low-memory guard sickprodigy 2025-11-14 21:28:10 -05:00
  • 73b5a5aefe fix: Improve HTTP response handling and clarify default values in schedule configuration sickprodigy 2025-11-14 21:18:20 -05:00
  • 03766d6b09 fix: Improve HTTP response handling and add schedule JavaScript support sickprodigy 2025-11-14 21:13:44 -05:00
  • e5f9331d30 fix: Clarify logic for matching AC and heater adjustments in synchronization sickprodigy 2025-11-14 20:49:51 -05:00
  • 6128e585b8 fix: Improve error handling in web server request processing sickprodigy 2025-11-14 20:47:42 -05:00
  • 81174b78e4 fix: Enhance live synchronization logic for heater and AC inputs with last changed tracking sickprodigy 2025-11-14 20:38:48 -05:00
  • 70cc2cad81 fix: Refactor live synchronization logic for heater and AC inputs in schedule form sickprodigy 2025-11-14 20:37:06 -05:00
  • 6bc7b1da93 fix: Implement live synchronization for heater and AC inputs in schedule form sickprodigy 2025-11-14 20:29:12 -05:00
  • eceee9c88d syncs while typing and guarantees posted values follow the rule sickprodigy 2025-11-14 20:19:13 -05:00
  • 72eb3c2acf fix: Enhance schedule synchronization logic for heater and AC targets sickprodigy 2025-11-14 19:42:21 -05:00
  • eff69cfe52 fix: Implement auto-sync for heater and AC targets in scheduling and settings Fixes #17 sickprodigy 2025-11-14 18:17:17 -05:00
  • 63588ee3f1 Merge branch 'main' of https://gitea.rcs1.top/sickprodigy/Auto-Garden sickprodigy 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 sickprodigy 2025-11-14 17:04:47 -05:00
  • df08692726 fix: Add type ignore comments for import errors sickprodigy 2025-11-14 17:02:19 -05:00
  • 0030e0a932 fix: Add type ignore comments for imports in multiple scripts to improve compatibility sickprodigy 2025-11-14 16:53:51 -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. sickprodigy 2025-11-14 16:50:53 -05:00
  • 0f7c4cc4d7 fix: Move discord_webhook import to after config loading and update WiFi connection comment. Save on ram usage sickprodigy 2025-11-14 17:04:47 -05:00
  • a9641947ba fix: Add type ignore comments for import errors sickprodigy 2025-11-14 17:02:19 -05:00
  • 63ff2cec77 fix: Add type ignore comments for imports in multiple scripts to improve compatibility sickprodigy 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. sickprodigy 2025-11-14 16:50:53 -05:00
  • a20bbd7cdf Ignore config.json sickprodigy 2025-11-14 15:57:53 -05:00
  • 7edd209abe start of moving secrets.py to config.json sickprodigy 2025-11-14 15:55:36 -05:00
  • 2c39ebd985 feat: Update TemperatureMonitor to send alerts via Discord with improved messaging function sickprodigy 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. sickprodigy 2025-11-11 16:55:27 -05:00
  • b3c56864ac update: clean up code formatting sickprodigy 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 sickprodigy 2025-11-09 12:43:37 -05:00
  • 5da44e1397 feat: Enhance schedule application by saving updated config to file and ensuring target persistence sickprodigy 2025-11-09 12:43:32 -05:00
  • b346be9431 feat: Implement immediate application of active schedule on startup and enhance schedule resume handling sickprodigy 2025-11-09 12:25:16 -05:00
  • 229bde85e9 feat: Add temperature validation in TemperatureMonitor and implement aggressive garbage collection in main loop sickprodigy 2025-11-09 11:54:12 -05:00
  • dae6971112 feat: Implement NTP sync function with garbage collection and improve schedule handling in web server sickprodigy 2025-11-09 11:29:18 -05:00
  • 3c2e936d56 feat: Add advanced settings page and update handling for temperature hold configurations sickprodigy 2025-11-09 10:48:49 -05:00
  • 9da21f7c89 feat: Implement temporary hold management with config integration and improved notifications sickprodigy 2025-11-09 10:11:00 -05:00
  • b6aae121bb feat: Add dynamic config reload and timezone offset handling in web server sickprodigy 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 sickprodigy 2025-11-09 01:18:16 -05:00
  • 749eb956a5 feat: Enhance request handling with improved header parsing and error management sickprodigy 2025-11-09 00:51:07 -05:00
  • 5ce7cd43a4 feat: Improve HTTP response handling in web server with proper headers sickprodigy 2025-11-08 19:28:11 -05:00
  • bb46a69eba feat: Update Discord message function with improved comments and error handling sickprodigy 2025-11-08 19:28:06 -05:00
  • b018b427f6 feat: Enhance NTP synchronization with timeout and error handling sickprodigy 2025-11-08 19:28:00 -05:00
  • 99d92a6e90 feat: Add type ignore comments for imports in multiple scripts sickprodigy 2025-11-08 18:38:11 -05:00
  • b712c19740 feat: Refactor request handling to include config parameter and improve error logging sickprodigy 2025-11-08 18:38:01 -05:00
  • 9c7ca86d86 feat: Improve schedule parsing and validation in web server Fixes #12 sickprodigy 2025-11-08 17:51:19 -05:00
  • 6ac3407cc2 feat: Revise README for clarity and detail on features, setup, and configuration sickprodigy 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 sickprodigy 2025-11-08 17:24:26 -05:00
  • 74b0d80717 feat: Enhance status page with temporary hold countdown timer and update method signatures sickprodigy 2025-11-08 17:11:46 -05:00
  • baa6382fba feat: Implement temporary hold expiration logic with notifications sickprodigy 2025-11-08 17:11:38 -05:00
  • b9b67f685a feat: Add temp_hold_duration to configuration for better control sickprodigy 2025-11-08 17:11:24 -05:00
  • 64a5d0ae7e feat: Reset hold modes to automatic on boot and save configuration sickprodigy 2025-11-08 16:39:49 -05:00
  • 3e926f997b feat: Update scheduling logic to disable only on manual temperature changes and send notifications accordingly sickprodigy 2025-11-08 16:36:05 -05:00
  • 299a0abbc9 feat: Enhance main loop with error handling and graceful shutdown sickprodigy 2025-11-08 16:15:22 -05:00
  • 988bec521f fix: Update watchdog timer configuration and enable garbage collection sickprodigy 2025-11-08 16:12:59 -05:00
  • b93809946a feat: Add caching for last temperature reading in TemperatureMonitor sickprodigy 2025-11-08 15:48:00 -05:00
  • f4c9e20836 feat: Implement watchdog timer and enhance NTP time synchronization with retry logic sickprodigy 2025-11-08 15:47:55 -05:00
  • 9fda192f0b Bug: Enhance schedule handling with improved request processing and validation sickprodigy 2025-11-08 15:47:39 -05:00
  • b8336f82c8 fix: Update response handling to redirect to homepage after mode actions sickprodigy 2025-11-06 18:29:57 -05:00
  • a0fe76abc4 fix: Correct order of temperature display and adjust HTML structure for schedule form sickprodigy 2025-11-06 18:26:15 -05:00
  • 050841dd78 refactor: Remove MemoryMonitor class and related methods from memory_check.py sickprodigy 2025-11-06 18:12:44 -05:00
  • 39a4952426 refactor: Remove MemoryMonitor import and instance from scheduler setup sickprodigy 2025-11-06 18:12:37 -05:00
  • 81137a4c5e feat: Add validation for heater and AC target temperatures in schedule configuration sickprodigy 2025-11-06 18:01:52 -05:00
  • 954cd144b9 feat: Add MemoryMonitor class for Pico W memory usage tracking and reporting sickprodigy 2025-11-06 18:01:46 -05:00
  • 1c9f1d731e feat: Enhance configuration loading with default schedules and add memory check on startup sickprodigy 2025-11-06 18:01:36 -05:00
  • 37be801270 fix: Update heater target temperatures in configuration for consistency sickprodigy 2025-11-06 18:01:26 -05:00
  • 52562bd8e6 feat: Implement HOLD mode functionality with temporary and permanent options sickprodigy 2025-11-06 17:26:53 -05:00
  • f8269f8f9d feat: Add debug logging and fix schedule display encoding sickprodigy 2025-11-06 16:34:35 -05:00
  • 9e2674187c Add HOLD mode banner to status page when schedules are disabled sickprodigy 2025-11-05 23:36:42 -05:00
  • 6482965edc Add garbage collection to main loop for memory management sickprodigy 2025-11-05 23:36:16 -05:00
  • 5d162f3971 Enhance configuration loading and WiFi setup with detailed comments; implement NTP time synchronization for accurate scheduling sickprodigy 2025-11-05 22:55:05 -05:00
  • 20910d5fda Refactor schedule resume button in TempWebServer to simplify form structure sickprodigy 2025-11-05 22:54:25 -05:00
  • db34c25bb4 Add NTP time synchronization after WiFi connection sickprodigy 2025-11-05 22:54:17 -05:00
  • 2c10fdff62 Refactor TemperatureMonitor logging to remove sensor ID and simplify log format; update ScheduleMonitor to indicate HOLD mode when scheduling is disabled. sickprodigy 2025-11-05 22:31:49 -05:00
  • 33e2944fd8 Add functionality to resume schedule in TempWebServer with Discord notification sickprodigy 2025-11-05 22:31:27 -05:00
  • 2c375eef72 Implement HOLD mode functionality in TempWebServer to disable scheduling and update status display sickprodigy 2025-11-05 22:22:38 -05:00
  • 101e577035 Refactor TemperatureMonitor to improve alert handling and logging functionality sickprodigy 2025-11-05 22:00:33 -05:00
  • 2817273ba4 Enhance web server to handle schedule updates and configuration loading sickprodigy 2025-11-05 21:42:27 -05:00
  • f4be1a7f7d Add schedule management to web server and configuration loading sickprodigy 2025-11-05 21:33:19 -05:00
  • 94fb7d3081 Implement should_run method to check monitor execution timing sickprodigy 2025-11-05 21:33:00 -05:00
  • f50f4baff0 Add ScheduleMonitor class to manage temperature schedules and apply settings sickprodigy 2025-11-05 21:32:15 -05:00
  • 1fb3511ed5 Add initial configuration for AC and heater settings in config.json sickprodigy 2025-11-05 21:11:06 -05:00
  • 5f8223fbe1 Implement configuration saving for AC and heater settings to config.json sickprodigy 2025-11-05 21:10:58 -05:00