Mar-16-2018, 08:58 AM
(This post was last modified: Mar-16-2018, 08:58 AM by BennyBubble.)
Hi,
I wrote a py script (on a raspberry pi) to control some hardware using GPIO pins.
The script will eventually run as a service but is currently running through the commandline (>python3 myscript.py) because of testing purposes.
It has some 'realtime' functionality and therefore running 24/7.
I would like to have a webpage (served by apache or lightppd) that can read (get) or write (post) some variables that are being used in mypscript.
What would be the best way to accomplish this?
Any thoughts/hints are greatly appreciated!
-ben
I wrote a py script (on a raspberry pi) to control some hardware using GPIO pins.
The script will eventually run as a service but is currently running through the commandline (>python3 myscript.py) because of testing purposes.
It has some 'realtime' functionality and therefore running 24/7.
I would like to have a webpage (served by apache or lightppd) that can read (get) or write (post) some variables that are being used in mypscript.
What would be the best way to accomplish this?
Any thoughts/hints are greatly appreciated!
-ben