77 Commits

Author SHA1 Message Date
c0e8fb97e2 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
79f5e866c8 Update .gitignore to include pymakr-test and .vscode directories 2025-11-04 22:05:19 -05:00
e739a76f4f Refactor WiFiMonitor: add notification for restored connection and improve error handling in run_monitors function 2025-11-04 22:01:27 -05:00
3da509dcef Refactor TemperatureMonitor: enhance run method for improved alert handling and reporting logic 2025-11-04 21:39:56 -05:00
5577cce470 Refactor TemperatureMonitor: remove run and _log_temp methods to streamline monitoring logic 2025-11-04 20:29:35 -05:00
18a7c36093 Refactor TemperatureMonitor: enhance initialization parameters and improve alert handling logic for better reporting and state management 2025-11-04 20:14:55 -05:00
bf892404fd Refactor main.py: update TemperatureMonitor initialization to use check_interval and report_interval for improved monitoring 2025-11-04 20:13:23 -05:00
3121695ef7 Refactor temperature_sensor.py: add SENSOR_CONFIG for sensor initialization and improve get_configured_sensors function 2025-11-04 19:58:56 -05:00
99510dd97c Refactor TemperatureMonitor: add send_alerts_to_separate_channel parameter and improve alert messaging logic 2025-11-04 19:58:40 -05:00
1261629656 Refactor discord_webhook.py: add is_alert parameter to send_discord_message for flexible webhook usage 2025-11-04 19:58:12 -05:00
4a3e52d846 Refactor secrets.py: add discord_alert_webhook_url for alerts and clarify existing webhook usage 2025-11-04 19:57:52 -05:00
e52e1a4f6b Refactor main.py: replace manual temperature sensor initialization with dynamic configuration from SENSOR_CONFIG 2025-11-04 19:57:40 -05:00
39297d7c67 Refactor TemperatureSensor: enhance initialization with label parameter and improve sensor detection logging 2025-11-04 19:34:36 -05:00
a7e6c65c87 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
ceee03c3a4 Refactor main.py: initialize temperature sensors and update TemperatureMonitor setup for clarity 2025-11-04 19:34:18 -05:00
a2ea2684a5 Refactor connect_wifi: comment out debug print statements and remove unused monitor_connection function 2025-11-04 19:32:15 -05:00
c788dcc8f5 Refactor TemperatureSensor: comment out debug print statement and remove example usage code 2025-11-04 19:31:53 -05:00
f07fcd6af1 removing debug information showing in console. 2025-11-04 19:31:44 -05:00
277cc27d03 Refactor TemperatureSensor: enhance sensor scanning logic by converting bytearray to bytes for dict compatibility 2025-11-04 19:09:07 -05:00
eb084de177 Refactor TemperatureMonitor: clean up comments and improve readability in temperature reporting logic 2025-11-04 19:07:57 -05:00
e4d525283c Refactor main.py: remove connection monitoring callback and streamline monitor setup for WiFi and temperature 2025-11-04 19:06:51 -05:00
eae4dc3a52 Add discord webhook URL to secrets for notification integration 2025-11-04 19:06:43 -05:00
ce8b03d561 Add WiFiMonitor class: implement WiFi connection monitoring and reconnection logic with LED indicators and Discord notifications 2025-11-04 18:57:19 -05:00
2545eb4701 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
28a4f8d09b remove file 2025-11-04 18:54:49 -05:00
259d3f2001 update README.md: change link for 'Items Needed' to point to the wiki 2025-11-04 17:36:29 -05:00
8200a1f46c moved to wiki: https://gitea.rcs1.top/sickprodigy/Auto-Garden/wiki/Items-Needed-for-the-Project 2025-11-04 17:36:21 -05:00
610ec4788a add secrets.py to .gitignore 2025-11-04 17:32:55 -05:00
ddb5fda5e8 rename: add temperature sensor script for reading and converting temperature 2025-11-04 17:32:42 -05:00
eac939e94e rename: add RGB LED random color control script 2025-11-04 17:32:33 -05:00
06e9585829 renamed
feat: add script to generate and print a random number between 1 and 100
2025-11-04 17:32:26 -05:00
6637c941ea rename: add initial onboard LED control script to turn LED on and off 2025-11-04 17:32:14 -05:00
f98df6e73c renamed
add: implement network scanning functionality for WLAN
2025-11-04 17:32:05 -05:00
e6917247a0 rename: add lights on/off intervals script for LED and contactor control 2025-11-04 17:31:48 -05:00
55d9fd14b0 renamed: add initial LED control script to turn LED on and off 2025-11-04 17:31:36 -05:00
51336c2751 renamed: add LED blinking functionality with periodic timer 2025-11-04 17:31:21 -05:00
78c22d6f3e refactor: streamline Discord message sending by removing JSON library dependency and enhancing debug output 2025-11-04 17:30:57 -05:00
92d49daee5 renamed; add flowing lights script for PWM control 2025-11-04 17:30:44 -05:00
d49d8f3d83 renamed 2025-11-04 17:30:24 -05:00
19493c210c renamed 2025-11-04 17:30:15 -05:00
5d2301b300 didn't quite fix, but added some debug things 2025-11-03 20:39:29 -05:00
e7ac7457c1 now this error:
Discord webhook HTTP 400 body: <html>
<head><title>400 Bad Request</title></head>
<body>
<center><h1>400 Bad Request</h1></center>
<hr><center>cloudflare</center>
</body>
</html>
2025-11-03 20:36:56 -05:00
c680ed17f1 try and fix
Failed to send Discord message: 'Response' object has no attribute 'raise_for_status'
2025-11-03 20:35:26 -05:00
2d96b56a55 rename file and also cleanup and try again 2025-11-03 20:15:21 -05:00
9d12db931b throttle connects a simpler way than claude suggested. and also sending discord message if connected and reconnects. 2025-11-03 20:09:39 -05:00
328302d8ee fix wifi issue, also want flashing light while wifi is connected. Fixed it. 2025-11-03 19:52:23 -05:00
889ddee324 Refactor WiFi connection logic and clean up commented code 2025-11-03 19:37:08 -05:00
51a88a40f7 where I was before I deleted everything 2024-05-04 18:58:30 -04:00
bec0dbc74e editing variable with proper key 2024-03-29 17:11:12 -04:00
f430cc6801 comment out celsius temperature 2024-01-24 20:09:00 -05:00