I am building an automated piece of lab equipment. Overall the system works as follows:
Python -> Rpi GPIO -> relays -> Actuators (on delay-> off delay, repeat)
This loop runs for about 48 hours.
I would like a web interface to control and monitor the process. It would be helpful to check in on the script w/o interrupting it (how many cycles left etc). I would also like this script to run independently of the web page being open.
I looked around and the last similar post I found was from 2012 so I'm checking in to see if anyone is aware of any newer developments.
I've looked at the examples to control LEDs but mine seems to be a different approach (LED state change per form button click, vs monitoring and running a program in the background).
Is there an overall approach to this that would be simplest? Can anyone recommend any solutions / frameworks etc that are applicable for this task?
Thanks for reviewing this post, but perhaps I need to clarify. It is NOT a simple control the LED for which I agree that there are tons of examples out there. This is more complex. I am also not asking for code but a general approach to solve the problem. The wikipedia link does not provide much info, but it does provide a broad overview. I did look quite extensively,but I am new to this and without knowing where to focus, the search may not be as effective. I not am asking for much, just for someone to just point me in the right direction. For example - "try Flask. It is a good approach to explore." I also asked since I expect technology has advanced from 2012 and newer more elegant solutions likely exist. I am asking to see if there is a preferred solution from the one provided in this post. Execute Python Scripts Via Web interface Thanks again for your patience and understanding.