So, here is what I am looking to accomplish. I have a Pi with an Apache webserver running with a home automation page. I also have a relay board and multiple lights hooked up, (using the GPIO pins on the Pi).
I would like the end user to be able to log into the website and be able to set up timers to turn the relays on and off. I can set up scripts to accomplish the on/off part for the relays but I need to know how the user can set specific times to run those scrips via the website.
I can use Cron on the backend. But that is too complicated for an average user of the page, (my family). Is there a simple Cron web-based GUI to schedule with from the web interface?
An example would be to log into the page and set the lights to turn on at 4pm and off at 9pm. But this also has to be secure so nobody outside the network can get at it without a username and password. I use DDNS to access the Pi from outside the home. I'm a novice when it comes to programming so I would like something already developed that I can implement.