18 Commits

Author SHA1 Message Date
03b26b5339 feat: Add debug_force_send function for memory tracking and testing 2025-11-15 10:19:49 -05:00
5a8d14eb4d fix: Enable debug logging in send_discord_message for better memory tracking 2025-11-15 10:03:15 -05:00
79445bf879 fix: Add debug logging to send_discord_message for memory checks and import impact 2025-11-15 09:58:09 -05:00
4400fb5a74 fix: Adjust memory thresholds for Discord message sending to match device capabilities 2025-11-15 09:46:22 -05:00
c6f46e097b fix: Increase memory thresholds and backoff duration for Discord message sending 2025-11-15 09:42:16 -05:00
d2c0f68488 fix: Enhance Discord message sending with memory checks and scheduling 2025-11-15 09:36:44 -05:00
13e3a56fa6 fix: Add low-memory guard and cooldown for Discord message sending
This isn't quite the fix though just want to save my position till tomorrow and see what changes come up before and after
2025-11-14 21:48:19 -05:00
efea4a1384 fix: Enhance Discord message sending with aggressive GC and low-memory guard 2025-11-14 21:28:10 -05:00
0030e0a932 fix: Add type ignore comments for imports in multiple scripts to improve compatibility 2025-11-14 17:19:43 -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.

Fixes #26
2025-11-14 17:18:17 -05:00
bb46a69eba feat: Update Discord message function with improved comments and error handling 2025-11-08 19:28:06 -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
5cdc1c51d6 removing debug information showing in console. 2025-11-04 19:31:44 -05:00
14b761647d refactor: streamline Discord message sending by removing JSON library dependency and enhancing debug output 2025-11-04 17:30:57 -05:00
32dbd43079 didn't quite fix, but added some debug things 2025-11-03 20:39:29 -05:00
7dcfe66855 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
b0f411a5b8 try and fix
Failed to send Discord message: 'Response' object has no attribute 'raise_for_status'
2025-11-03 20:35:26 -05:00
cf4e7fdddb rename file and also cleanup and try again 2025-11-03 20:15:21 -05:00