From 3db1a9d42549a74d71961ce144465265f15311f6 Mon Sep 17 00:00:00 2001 From: erikbeans Date: Thu, 30 Apr 2026 14:32:05 -0700 Subject: [PATCH 1/8] Updating Raspberry Pi Image Instructions --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 410088b..030a81c 100644 --- a/README.md +++ b/README.md @@ -56,10 +56,10 @@ may start the program at 1.35am to reach that goal (based on your schedules). # installation -## Install Raspbian Buster Lite +## Install Raspberry Pi OS Lite -- Go to [raspberrypi.org](https://www.raspberrypi.org/) and download their [latest image](https://downloads.raspberrypi.org/raspbian_lite_latest) -- Write the image onto your SD card using [Etcher](https://www.balena.io/etcher/) +- Go to [raspberrypi.com](https://www.raspberrypi.com/software/) and use the Raspberry Pi Imager, or download their [latest image](https://downloads.raspberrypi.org/raspios_lite_armhf_latest) +- Write the image onto your SD card using the Raspberry Pi Imager or [Etcher](https://www.balena.io/etcher/) ## Setup your environment From d566b04bfd1c3875f747826ff5041b09f7c35d23 Mon Sep 17 00:00:00 2001 From: erikbeans Date: Thu, 30 Apr 2026 15:25:57 -0700 Subject: [PATCH 2/8] Adding requirements file --- requirements.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..fe951e6 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +Flask +Flask-HTTPAuth +gpiozero From bb78e712db38085be84954f0044dac0672680a04 Mon Sep 17 00:00:00 2001 From: erikbeans Date: Thu, 30 Apr 2026 16:30:46 -0700 Subject: [PATCH 3/8] Adding launcher for vscode with virtual launch --- .vscode/launch.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..837254f --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,16 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Python Debugger: Run Server (Virtual)", + "type": "debugpy", + "request": "launch", + "program": "${workspaceFolder}/server.py", + "console": "integratedTerminal", + "args": ["--virtual"] + } + ] +} \ No newline at end of file From f08630aa8eeac78c4673b8125fb69dc664790f6c Mon Sep 17 00:00:00 2001 From: erikbeans Date: Thu, 30 Apr 2026 16:41:10 -0700 Subject: [PATCH 4/8] Fixing typos --- API.md | 2 +- html/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/API.md b/API.md index 607a8c2..e275bb7 100755 --- a/API.md +++ b/API.md @@ -15,7 +15,7 @@ Returns a JSON with all sprinklers as an array of a map 'group' : , 'schedule' : { 'duration' : , - 'cycles' : , + 'cycles' : , 'days' : , 'shift' : } diff --git a/html/index.html b/html/index.html index f2a05d8..4ecf3e1 100755 --- a/html/index.html +++ b/html/index.html @@ -67,7 +67,7 @@

Rainfall

From 52965466ea3eb443ccbfd53fc9fc22cb4b24a8fa Mon Sep 17 00:00:00 2001 From: erikbeans Date: Thu, 30 Apr 2026 17:18:03 -0700 Subject: [PATCH 5/8] Making the UI cleaner --- html/index.html | 46 ++++++++++++++++++++++----------------------- html/js/main.js | 6 ++++++ modules/schedule.py | 8 ++++++++ 3 files changed, 37 insertions(+), 23 deletions(-) diff --git a/html/index.html b/html/index.html index 4ecf3e1..b0a17ef 100755 --- a/html/index.html +++ b/html/index.html @@ -51,28 +51,26 @@

Rainfall

123
- -
- + +
+
- -
- + +
+ minutes +
+
+
- -
- +
+
- @@ -88,10 +86,10 @@

Rainfall

-
- +
+
- @@ -108,21 +106,21 @@

Rainfall

-
- - - - +