124 Commits

Author SHA1 Message Date
1c9f1d731e feat: Enhance configuration loading with default schedules and add memory check on startup 2025-11-06 18:01:36 -05:00
37be801270 fix: Update heater target temperatures in configuration for consistency 2025-11-06 18:01:26 -05:00
52562bd8e6 feat: Implement HOLD mode functionality with temporary and permanent options 2025-11-06 17:26:53 -05:00
f8269f8f9d feat: Add debug logging and fix schedule display encoding
- Log monitor values after settings update for debugging
- Decode URL-encoded time values in schedule display (%3A → :)
- Add detailed comments explaining settings flow
2025-11-06 16:34:35 -05:00
9e2674187c Add HOLD mode banner to status page when schedules are disabled 2025-11-05 23:36:42 -05:00
6482965edc Add garbage collection to main loop for memory management 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 2025-11-05 22:55:05 -05:00
20910d5fda Refactor schedule resume button in TempWebServer to simplify form structure 2025-11-05 22:54:25 -05:00
db34c25bb4 Add NTP time synchronization after WiFi connection 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. 2025-11-05 22:31:49 -05:00
33e2944fd8 Add functionality to resume schedule in TempWebServer with Discord notification 2025-11-05 22:31:27 -05:00
2c375eef72 Implement HOLD mode functionality in TempWebServer to disable scheduling and update status display 2025-11-05 22:22:38 -05:00
101e577035 Refactor TemperatureMonitor to improve alert handling and logging functionality 2025-11-05 22:00:33 -05:00
2817273ba4 Enhance web server to handle schedule updates and configuration loading 2025-11-05 21:42:27 -05:00
f4be1a7f7d Add schedule management to web server and configuration loading 2025-11-05 21:33:19 -05:00
94fb7d3081 Implement should_run method to check monitor execution timing 2025-11-05 21:33:00 -05:00
f50f4baff0 Add ScheduleMonitor class to manage temperature schedules and apply settings 2025-11-05 21:32:15 -05:00
1fb3511ed5 Add initial configuration for AC and heater settings in config.json 2025-11-05 21:11:06 -05:00
5f8223fbe1 Implement configuration saving for AC and heater settings to config.json 2025-11-05 21:10:58 -05:00
02db62725d Add form handling for AC and heater settings with Discord notification 2025-11-05 20:34:18 -05:00
a4329da607 Enhance web interface layout by increasing max-width and implementing a responsive grid for temperature cards 2025-11-05 16:52:04 -05:00
25e48407c2 Remove connection details printout from connect_wifi function 2025-11-05 16:51:39 -05:00
8889831615 trying to fix up web page 2025-11-05 16:45:49 -05:00
121bb31f6e assign the static IP so it don't change and we can access web page for it. 2025-11-05 16:35:23 -05:00
3dd565537f Change connect_wifi function to include max_retries and timeout parameters for improved connection handling and feedback 2025-11-05 16:27:05 -05:00
eb34922da6 Add TempWebServer class for serving temperature data via a web interface 2025-11-05 16:25:16 -05:00
6156f87b05 Improve connect_wifi function for better error handling and connection logic 2025-11-05 16:25:06 -05:00
e82fcf46aa was having issues trying to pull wifi data, but I think it was stupid vs code issue 2025-11-05 16:23:32 -05:00
f53ae05842 Add HeaterMonitor class for automatic temperature control and notifications 2025-11-05 16:07:11 -05:00
8c92f86842 Add HeaterController class for managing heater operations with safety timers 2025-11-05 16:07:04 -05:00
93b68098ea Add HeaterController and HeaterMonitor for improved climate control 2025-11-05 16:06:55 -05:00
99afba25c4 Update README.md for improved clarity on AC control and sensor configuration 2025-11-05 15:37:29 -05:00
5618f07113 Remove sensor configuration registry and associated function for cleaner code 2025-11-05 15:24:08 -05:00
5694ed18c9 Refactor sensor configuration and initialization for improved clarity and maintainability 2025-11-05 15:24:02 -05:00
41760411a9 Update ACMonitor target temperature to 77.0 for improved climate control 2025-11-05 15:03:11 -05:00
8f33a4ec8d Fix formatting in README.md for improved clarity. better .md support to have trailing space 2025-11-05 14:24:18 -05:00
6f99f76394 Update README.md for improved formatting and clarity 2025-11-05 14:22:43 -05:00
4f4d28720f Fix ACMonitor temp_swing value to 1.0 for accurate temperature control 2025-11-05 14:19:28 -05:00
07e84819cb Refactor ACController initialization to improve readability and maintainability 2025-11-05 13:56:15 -05:00
acaf9b4d38 Change ACMonitor class docstring and remove redundant comments 2025-11-05 13:51:48 -05:00
0cd2bb1d64 Add ACMonitor initialization to main.py for temperature control 2025-11-05 13:50:42 -05:00
09295d25ab Modify ACMonitor to use 'temp_swing' instead of 'hysteresis' for temperature control logic 2025-11-05 13:29:34 -05:00
8ec47a0f66 Update .gitignore to include temp_logs.csv and ensure proper formatting 2025-11-05 13:13:52 -05:00
007a8027c7 Add ACController class for managing AC unit operation with safety timers 2025-11-05 13:13:27 -05:00
a73ca156b4 Add ACMonitor class to control AC based on temperature readings with notifications 2025-11-05 13:13:20 -05:00
ee30607ccd Revise README.md for clarity and detail, enhancing project overview, features, setup instructions, and future expansion plans. 2025-11-05 12:41:34 -05:00
12c3fd59fe Update .gitignore to ignore secrets.py file everywhere 2025-11-05 12:28:59 -05:00
2fba3367ab rename 2025-11-05 12:23:45 -05:00
93b67a9142 Add example secrets configuration file with placeholder values 2025-11-04 22:22:53 -05:00
cdbb527743 remove unused files. Kind of moved to a new repor for now for all micro-python scripts and testing. and have regular python scripts and testing in another repo 2025-11-04 22:13:33 -05:00