almostrobot/pico-plants ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple Pico W project for automatic plant care.
I want the Raspberry Pi Pico W to control 4 relays for things like a pump and grow lights, with a small web page that opens in the browser so I can turn each relay on and off manually. It should also support timed switching so the relays can run automatically at set times, and it should sync the clock over the internet with NTP so the schedules stay accurate.
Please make it work in MicroPython, with a clear boot.py and main.py, and include the Wi Fi setup in the code so I can enter my network name and password easily. Use the GPIO pins for the 4 relays as described in the project, and keep it simple enough that I can flash it onto the Pico W and use it right away. If you need current MicroPython details, look them up online.
Are you gonna build this?
make sure you review the code using coderabbit