2c39ebd985feat: Update TemperatureMonitor to send alerts via Discord with improved messaging function
main
sickprodigy2025-11-11 17:13:34 -05:00
1016e96b58feat: 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.sickprodigy2025-11-11 16:55:27 -05:00
95e159ee5dfeat: Update README with recent enhancements including immediate schedule application, aggressive memory management, and improved config persistencesickprodigy2025-11-09 12:43:37 -05:00
5da44e1397feat: Enhance schedule application by saving updated config to file and ensuring target persistencesickprodigy2025-11-09 12:43:32 -05:00
b346be9431feat: Implement immediate application of active schedule on startup and enhance schedule resume handlingsickprodigy2025-11-09 12:25:16 -05:00
229bde85e9feat: Add temperature validation in TemperatureMonitor and implement aggressive garbage collection in main loopsickprodigy2025-11-09 11:54:12 -05:00
dae6971112feat: Implement NTP sync function with garbage collection and improve schedule handling in web serversickprodigy2025-11-09 11:29:18 -05:00
3c2e936d56feat: Add advanced settings page and update handling for temperature hold configurationssickprodigy2025-11-09 10:48:49 -05:00
9da21f7c89feat: Implement temporary hold management with config integration and improved notificationssickprodigy2025-11-09 10:11:00 -05:00
b6aae121bbfeat: Add dynamic config reload and timezone offset handling in web serversickprodigy2025-11-09 09:24:21 -05:00
24b53b9446Removed stuff from the try block so it doesn't loop. just initialize in the beginningsickprodigy2025-11-09 01:18:16 -05:00
749eb956a5feat: Enhance request handling with improved header parsing and error managementsickprodigy2025-11-09 00:51:07 -05:00
5ce7cd43a4feat: Improve HTTP response handling in web server with proper headerssickprodigy2025-11-08 19:28:11 -05:00
bb46a69ebafeat: Update Discord message function with improved comments and error handlingsickprodigy2025-11-08 19:28:06 -05:00
b018b427f6feat: Enhance NTP synchronization with timeout and error handlingsickprodigy2025-11-08 19:28:00 -05:00
99d92a6e90feat: Add type ignore comments for imports in multiple scriptssickprodigy2025-11-08 18:38:11 -05:00
b712c19740feat: Refactor request handling to include config parameter and improve error loggingsickprodigy2025-11-08 18:38:01 -05:00
9c7ca86d86feat: Improve schedule parsing and validation in web server Fixes#12sickprodigy2025-11-08 17:51:19 -05:00
6ac3407cc2feat: Revise README for clarity and detail on features, setup, and configurationsickprodigy2025-11-08 17:35:48 -05:00
68b0351e9dfeat: Update button labels for temporary and permanent hold actions in the web interface Fixes#11sickprodigy2025-11-08 17:24:26 -05:00
74b0d80717feat: Enhance status page with temporary hold countdown timer and update method signaturessickprodigy2025-11-08 17:11:46 -05:00
baa6382fbafeat: Implement temporary hold expiration logic with notificationssickprodigy2025-11-08 17:11:38 -05:00
b9b67f685afeat: Add temp_hold_duration to configuration for better controlsickprodigy2025-11-08 17:11:24 -05:00
64a5d0ae7efeat: Reset hold modes to automatic on boot and save configurationsickprodigy2025-11-08 16:39:49 -05:00
3e926f997bfeat: Update scheduling logic to disable only on manual temperature changes and send notifications accordinglysickprodigy2025-11-08 16:36:05 -05:00
299a0abbc9feat: Enhance main loop with error handling and graceful shutdownsickprodigy2025-11-08 16:15:22 -05:00
9e2674187cAdd HOLD mode banner to status page when schedules are disabledsickprodigy2025-11-05 23:36:42 -05:00
6482965edcAdd garbage collection to main loop for memory managementsickprodigy2025-11-05 23:36:16 -05:00
5d162f3971Enhance configuration loading and WiFi setup with detailed comments; implement NTP time synchronization for accurate schedulingsickprodigy2025-11-05 22:55:05 -05:00
20910d5fdaRefactor schedule resume button in TempWebServer to simplify form structuresickprodigy2025-11-05 22:54:25 -05:00
db34c25bb4Add NTP time synchronization after WiFi connectionsickprodigy2025-11-05 22:54:17 -05:00
2c10fdff62Refactor TemperatureMonitor logging to remove sensor ID and simplify log format; update ScheduleMonitor to indicate HOLD mode when scheduling is disabled.sickprodigy2025-11-05 22:31:49 -05:00
33e2944fd8Add functionality to resume schedule in TempWebServer with Discord notificationsickprodigy2025-11-05 22:31:27 -05:00
2c375eef72Implement HOLD mode functionality in TempWebServer to disable scheduling and update status displaysickprodigy2025-11-05 22:22:38 -05:00
101e577035Refactor TemperatureMonitor to improve alert handling and logging functionalitysickprodigy2025-11-05 22:00:33 -05:00
2817273ba4Enhance web server to handle schedule updates and configuration loadingsickprodigy2025-11-05 21:42:27 -05:00
f4be1a7f7dAdd schedule management to web server and configuration loadingsickprodigy2025-11-05 21:33:19 -05:00
94fb7d3081Implement should_run method to check monitor execution timingsickprodigy2025-11-05 21:33:00 -05:00
f50f4baff0Add ScheduleMonitor class to manage temperature schedules and apply settingssickprodigy2025-11-05 21:32:15 -05:00
1fb3511ed5Add initial configuration for AC and heater settings in config.jsonsickprodigy2025-11-05 21:11:06 -05:00
5f8223fbe1Implement configuration saving for AC and heater settings to config.jsonsickprodigy2025-11-05 21:10:58 -05:00
02db62725dAdd form handling for AC and heater settings with Discord notificationsickprodigy2025-11-05 20:34:18 -05:00
a4329da607Enhance web interface layout by increasing max-width and implementing a responsive grid for temperature cardssickprodigy2025-11-05 16:52:04 -05:00
25e48407c2Remove connection details printout from connect_wifi functionsickprodigy2025-11-05 16:51:39 -05:00
121bb31f6eassign the static IP so it don't change and we can access web page for it.sickprodigy2025-11-05 16:35:23 -05:00
3dd565537fChange connect_wifi function to include max_retries and timeout parameters for improved connection handling and feedbacksickprodigy2025-11-05 16:27:05 -05:00
eb34922da6Add TempWebServer class for serving temperature data via a web interfacesickprodigy2025-11-05 16:25:16 -05:00
6156f87b05Improve connect_wifi function for better error handling and connection logicsickprodigy2025-11-05 16:25:06 -05:00
e82fcf46aawas having issues trying to pull wifi data, but I think it was stupid vs code issuesickprodigy2025-11-05 16:23:32 -05:00
f53ae05842Add HeaterMonitor class for automatic temperature control and notificationssickprodigy2025-11-05 16:07:11 -05:00
8c92f86842Add HeaterController class for managing heater operations with safety timerssickprodigy2025-11-05 16:07:04 -05:00
93b68098eaAdd HeaterController and HeaterMonitor for improved climate controlsickprodigy2025-11-05 16:06:55 -05:00
99afba25c4Update README.md for improved clarity on AC control and sensor configurationsickprodigy2025-11-05 15:37:29 -05:00
5618f07113Remove sensor configuration registry and associated function for cleaner codesickprodigy2025-11-05 15:24:08 -05:00
5694ed18c9Refactor sensor configuration and initialization for improved clarity and maintainabilitysickprodigy2025-11-05 15:24:02 -05:00
41760411a9Update ACMonitor target temperature to 77.0 for improved climate controlsickprodigy2025-11-05 15:03:11 -05:00
8f33a4ec8dFix formatting in README.md for improved clarity. better .md support to have trailing spacesickprodigy2025-11-05 14:24:18 -05:00
6f99f76394Update README.md for improved formatting and claritysickprodigy2025-11-05 14:22:43 -05:00
4f4d28720fFix ACMonitor temp_swing value to 1.0 for accurate temperature controlsickprodigy2025-11-05 14:19:28 -05:00
07e84819cbRefactor ACController initialization to improve readability and maintainabilitysickprodigy2025-11-05 13:56:15 -05:00
acaf9b4d38Change ACMonitor class docstring and remove redundant commentssickprodigy2025-11-05 13:51:48 -05:00
0cd2bb1d64Add ACMonitor initialization to main.py for temperature controlsickprodigy2025-11-05 13:50:42 -05:00
09295d25abModify ACMonitor to use 'temp_swing' instead of 'hysteresis' for temperature control logicsickprodigy2025-11-05 13:29:34 -05:00
8ec47a0f66Update .gitignore to include temp_logs.csv and ensure proper formattingsickprodigy2025-11-05 13:13:52 -05:00
007a8027c7Add ACController class for managing AC unit operation with safety timerssickprodigy2025-11-05 13:13:27 -05:00
a73ca156b4Add ACMonitor class to control AC based on temperature readings with notificationssickprodigy2025-11-05 13:13:20 -05:00
ee30607ccdRevise README.md for clarity and detail, enhancing project overview, features, setup instructions, and future expansion plans.sickprodigy2025-11-05 12:41:34 -05:00
12c3fd59feUpdate .gitignore to ignore secrets.py file everywheresickprodigy2025-11-05 12:28:59 -05:00
93b67a9142Add example secrets configuration file with placeholder valuessickprodigy2025-11-04 22:22:53 -05:00
cdbb527743remove 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 reposickprodigy2025-11-04 22:13:33 -05:00
7428a6b5a6Update .gitignore to include pymakr-test and .vscode directoriessickprodigy2025-11-04 22:05:19 -05:00
c1e2460758Refactor WiFiMonitor: add notification for restored connection and improve error handling in run_monitors functionsickprodigy2025-11-04 22:01:27 -05:00
d5149cf237Refactor TemperatureMonitor: enhance run method for improved alert handling and reporting logicsickprodigy2025-11-04 21:39:56 -05:00
f8e2a6e749Refactor TemperatureMonitor: remove run and _log_temp methods to streamline monitoring logicsickprodigy2025-11-04 20:29:35 -05:00
424d906760Refactor TemperatureMonitor: enhance initialization parameters and improve alert handling logic for better reporting and state managementsickprodigy2025-11-04 20:14:55 -05:00
1753966cf7Refactor main.py: update TemperatureMonitor initialization to use check_interval and report_interval for improved monitoringsickprodigy2025-11-04 20:13:23 -05:00
07d04a6084Refactor temperature_sensor.py: add SENSOR_CONFIG for sensor initialization and improve get_configured_sensors functionsickprodigy2025-11-04 19:58:56 -05:00
fc318bb74dRefactor discord_webhook.py: add is_alert parameter to send_discord_message for flexible webhook usagesickprodigy2025-11-04 19:58:12 -05:00
4ef7b00b74Refactor main.py: replace manual temperature sensor initialization with dynamic configuration from SENSOR_CONFIGsickprodigy2025-11-04 19:57:40 -05:00
35558805b2Refactor TemperatureSensor: enhance initialization with label parameter and improve sensor detection loggingsickprodigy2025-11-04 19:34:36 -05:00
49f5cd5596Refactor TemperatureMonitor: enhance initialization with sensor and label parameters, improve logging, and update alert messages for claritysickprodigy2025-11-04 19:34:26 -05:00
295576857fRefactor main.py: initialize temperature sensors and update TemperatureMonitor setup for claritysickprodigy2025-11-04 19:34:18 -05:00