- build a schedule composed of CSVs: "day of week", "start time", and "stop time" as the only values
- build a script to start/stop a zone by turning relays on/off
- drive the whole thing via cron after parsing the CSV
The piece that kept me back was the schedule builder. Simple schedules would be easy, but I kept finding other projects that would be rather complex. What I really wanted was a week long calendar view with UI elements I could drag around and resize.
I've done enough programming to know this was a simple, but intricate job. I could likely built it with some existing libraries, and a very small amount of logic. Heck, it's been innumerable times in the past by lots of people. I could likely find a implementation somewhere if I dedicated some time to it.
Since the existing system performed adequately, the time required to research, build, and test any such system simply wasn't worth it.
I've done enough programming to know this was a simple, but intricate job. I could likely built it with some existing libraries, and a very small amount of logic. Heck, it's been innumerable times in the past by lots of people. I could likely find a implementation somewhere if I dedicated some time to it.
Since the existing system performed adequately, the time required to research, build, and test any such system simply wasn't worth it.
Today the idea hit me again, and I decided that I'd let some AI engines help me. I gave three different readily available LLMs the following:
I want an app that runs completely within a web browser as a single HTML file. The goal is to use a graphic interface to produce a schedule for turning a sprinkler system on/off.It should allow the graphical construction of a schedule, much like any calendaring program. Mimic google calendaring for UI ideas.The display should show a week of days horizontally, and a gird of hours midight to midnight from top to bottom.Blocks should be moveable -- both horizontally and vertically with a drag mouse movementThere should be a button that converts the current week into CSV with each line showing: day of week, time, action (start/stop)The ability to import an existing CSV should exist too
Every one of them gave me a usable GUI within 3 minutes. Click, drag, edit times, it all works.
We are in a very different world.