Commit Graph

37 Commits

Author SHA1 Message Date
sickprodigy 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
sickprodigy adc7049492 Refactor connect_wifi: comment out debug print statements and remove unused monitor_connection function 2025-11-04 19:32:15 -05:00
sickprodigy 6fe498a3fd Refactor TemperatureSensor: comment out debug print statement and remove example usage code 2025-11-04 19:31:53 -05:00
sickprodigy 5cdc1c51d6 removing debug information showing in console. 2025-11-04 19:31:44 -05:00
sickprodigy 6f99df50ea Refactor TemperatureSensor: enhance sensor scanning logic by converting bytearray to bytes for dict compatibility 2025-11-04 19:09:07 -05:00
sickprodigy c4593caf9f Refactor TemperatureMonitor: clean up comments and improve readability in temperature reporting logic 2025-11-04 19:07:57 -05:00
sickprodigy 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
sickprodigy 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
sickprodigy 3d32c61008 rename: add temperature sensor script for reading and converting temperature 2025-11-04 17:32:42 -05:00
sickprodigy 58d6538344 rename: add RGB LED random color control script 2025-11-04 17:32:33 -05:00
sickprodigy b5a2e216f2 renamed
feat: add script to generate and print a random number between 1 and 100
2025-11-04 17:32:26 -05:00
sickprodigy eca03e0e11 rename: add initial onboard LED control script to turn LED on and off 2025-11-04 17:32:14 -05:00
sickprodigy a6c9429fda renamed
add: implement network scanning functionality for WLAN
2025-11-04 17:32:05 -05:00
sickprodigy 18e6e4b406 rename: add lights on/off intervals script for LED and contactor control 2025-11-04 17:31:48 -05:00
sickprodigy d7a8a00636 renamed: add initial LED control script to turn LED on and off 2025-11-04 17:31:36 -05:00
sickprodigy f1e89e1262 renamed: add LED blinking functionality with periodic timer 2025-11-04 17:31:21 -05:00
sickprodigy 14b761647d refactor: streamline Discord message sending by removing JSON library dependency and enhancing debug output 2025-11-04 17:30:57 -05:00
sickprodigy b6bd30ac5c renamed; add flowing lights script for PWM control 2025-11-04 17:30:44 -05:00
sickprodigy 4cd60205c3 renamed 2025-11-04 17:30:24 -05:00
sickprodigy 4de23d6fa5 renamed 2025-11-04 17:30:15 -05:00
sickprodigy 32dbd43079 didn't quite fix, but added some debug things 2025-11-03 20:39:29 -05:00
sickprodigy 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
sickprodigy 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
sickprodigy cf4e7fdddb rename file and also cleanup and try again 2025-11-03 20:15:21 -05:00
sickprodigy 4ecf457c0a comment out celsius temperature 2024-01-24 20:09:00 -05:00
sickprodigy efba181492 initialize file, test wifi connection out with led to show if connected 2024-01-24 15:23:11 -05:00
sickprodigy d1e99d1f8f adding comments 2024-01-23 22:44:31 -05:00
sickprodigy 86653c16a8 trying out webhooks with python, seems urequests is preferred, but may be available as regular requests 2024-01-23 22:44:20 -05:00
sickprodigy 7e40910c2d change pin 2024-01-23 21:30:27 -05:00
sickprodigy c617b06bd4 insert new file testing with ds18b20 temperature sensor 2024-01-23 21:27:55 -05:00
sickprodigy c21de176ca testing 2024-01-16 11:21:43 -05:00
sickprodigy 1716c8dcbc testing 2024-01-16 11:14:17 -05:00
sickprodigy 9723de2b8c Add a few scripts to the list I had thrown on the pi pico already.
Working on Lights on and off at intervals. Not sure how I want
to format it. I'll probably have different scripts and a text file
with variables that can be loaded remotely or something.
Maybe call each script into the main.py so main.py doesn't get god awfully
long.

On branch main
Your branch is up to date with 'origin/main'.

Changes to be committed:
	new file:   Scripts/Flash-on-board-and-led.py
	modified:   Scripts/Lights-on-off-intervals.py
	new file:   Scripts/blink-onboard-led.py
	new file:   Scripts/flashing-led.py
	new file:   Scripts/flowing-lights.py
	new file:   Scripts/led-blink.py
	new file:   Scripts/lightOn.py
	new file:   Scripts/main.py
	new file:   Scripts/pwm.py
	new file:   Scripts/random-number.py
	new file:   Scripts/rgb-led-randomcolor.py
2023-12-17 13:29:10 -05:00
sickprodigy bd31ef06dd Define more changes to scripts/Readme.md 2023-12-10 17:52:57 -05:00
sickprodigy 27a6bef84d Script to log data and time accurately, may be a problem, but we do have the W, so maybe we can update wirelessly. 2023-12-10 17:45:36 -05:00
sickprodigy 47cf86a4a4 Add readme to scripts folder and identify 1 scripts within the readme, testing tab out thing, why does vscode auto append closing bracket, and not allow you to tab out!>? 2023-12-10 17:15:50 -05:00
sickprodigy 8c17d1d2cb On branch main
Changes to be committed:
	modified:   README.md
	new file:   Scripts/Lights-on-off-intervals.py
	new file:   Scripts/Onboard-LED-On.py

Modified readme with additional notes.
Started on a few scripts I'd like to take note of.
At least showing on gitea.
2023-12-10 17:00:19 -05:00