On 01/02/2018 14:16, A. Dumas wrote:
> On 01/02/2018 12:38, Bengt Törnqvist wrote:
>> One goal is to, via buttons in a browser html form), switch on and of
>> equipment connected to a Rasberrypi in a remote room.
> Simply have the server side script (cgi, python, php, whatever works on
> your web server) call the "gpio" program. See "man gpio".
If you are familiar with twiddling gpio from Python, you use that for
both the I/O and generating HTML. To be able to run python scripts in
cgi-bin you need to install uwsgi.
---druck
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|