72 Commits

Author SHA1 Message Date
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
20910d5fda Refactor schedule resume button in TempWebServer to simplify form structure 2025-11-05 22:54:25 -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
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
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
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
5618f07113 Remove sensor configuration registry and associated function for cleaner code 2025-11-05 15:24:08 -05:00
acaf9b4d38 Change ACMonitor class docstring and remove redundant comments 2025-11-05 13:51:48 -05:00
09295d25ab Modify ACMonitor to use 'temp_swing' instead of 'hysteresis' for temperature control logic 2025-11-05 13:29:34 -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
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
c1e2460758 Refactor WiFiMonitor: add notification for restored connection and improve error handling in run_monitors function 2025-11-04 22:01:27 -05:00
d5149cf237 Refactor TemperatureMonitor: enhance run method for improved alert handling and reporting logic 2025-11-04 21:39:56 -05:00
f8e2a6e749 Refactor TemperatureMonitor: remove run and _log_temp methods to streamline monitoring logic 2025-11-04 20:29:35 -05:00
424d906760 Refactor TemperatureMonitor: enhance initialization parameters and improve alert handling logic for better reporting and state management 2025-11-04 20:14:55 -05:00
07d04a6084 Refactor temperature_sensor.py: add SENSOR_CONFIG for sensor initialization and improve get_configured_sensors function 2025-11-04 19:58:56 -05:00
473467e73f Refactor TemperatureMonitor: add send_alerts_to_separate_channel parameter and improve alert messaging logic 2025-11-04 19:58:40 -05:00
fc318bb74d Refactor discord_webhook.py: add is_alert parameter to send_discord_message for flexible webhook usage 2025-11-04 19:58:12 -05:00
35558805b2 Refactor TemperatureSensor: enhance initialization with label parameter and improve sensor detection logging 2025-11-04 19:34:36 -05:00
49f5cd5596 Refactor TemperatureMonitor: enhance initialization with sensor and label parameters, improve logging, and update alert messages for clarity 2025-11-04 19:34:26 -05:00
adc7049492 Refactor connect_wifi: comment out debug print statements and remove unused monitor_connection function 2025-11-04 19:32:15 -05:00
6fe498a3fd Refactor TemperatureSensor: comment out debug print statement and remove example usage code 2025-11-04 19:31:53 -05:00
5cdc1c51d6 removing debug information showing in console. 2025-11-04 19:31:44 -05:00
6f99df50ea Refactor TemperatureSensor: enhance sensor scanning logic by converting bytearray to bytes for dict compatibility 2025-11-04 19:09:07 -05:00
c4593caf9f Refactor TemperatureMonitor: clean up comments and improve readability in temperature reporting logic 2025-11-04 19:07:57 -05:00
eec170056e Add WiFiMonitor class: implement WiFi connection monitoring and reconnection logic with LED indicators and Discord notifications 2025-11-04 18:57:19 -05:00
f2e610e62e Refactor network and temperature monitoring scripts: implement structured classes for network scanning and temperature monitoring, enhance error handling, and integrate Discord notifications for temperature alerts. 2025-11-04 18:55:10 -05:00
3d32c61008 rename: add temperature sensor script for reading and converting temperature 2025-11-04 17:32:42 -05:00
58d6538344 rename: add RGB LED random color control script 2025-11-04 17:32:33 -05:00
b5a2e216f2 renamed
feat: add script to generate and print a random number between 1 and 100
2025-11-04 17:32:26 -05:00
eca03e0e11 rename: add initial onboard LED control script to turn LED on and off 2025-11-04 17:32:14 -05:00
a6c9429fda renamed
add: implement network scanning functionality for WLAN
2025-11-04 17:32:05 -05:00
18e6e4b406 rename: add lights on/off intervals script for LED and contactor control 2025-11-04 17:31:48 -05:00
d7a8a00636 renamed: add initial LED control script to turn LED on and off 2025-11-04 17:31:36 -05:00