diff --git a/doc/source/V2_00.rst b/doc/source/V2_00.rst index 4260e817a103dc015115d6fa7ca39e3331944b94..01a226ad1c1a476efa99e86cdac40d9dd3217ea3 100644 --- a/doc/source/V2_00.rst +++ b/doc/source/V2_00.rst @@ -86,7 +86,7 @@ Different interfaces can be used to communicated with the OhmPi. Usable interfaces to control an OhmPi. Available interfaces: -- Web interface (=HTTP interface): run in bash: `./run_http_interface.sh` +- Web interface (=HTTP interface): run in bash: `bash run_http_interface.sh` - Python API: import the OhmPi class from Python script: `from ohmpi import OhmPi` - MQTT broker (see interface below) diff --git a/run_http_interface.sh b/run_http_interface.sh index 8aef368b2e5f7d441dafa5ff5876d6412d8c8cfa..956067d067460056cf3d8ac18b6d519bc7413dfe 100755 --- a/run_http_interface.sh +++ b/run_http_interface.sh @@ -3,5 +3,5 @@ USER="pi" # change if other username cd /home/$USER/OhmPi source /home/$USER/OhmPi/ohmpy/bin/activate python ohmpi.py & # run ohmpi.py to capture the commands -python http_inteface.py # run http_interface to serve the web GUI +python http_interface.py # run http_interface to serve the web GUI diff --git a/run_http_interface_on_start.txt b/run_http_interface_on_start.txt index 3b2586e0da91bd6ab9aabf52f661c0932f02b423..14c17db8a343d64d26c12d5eb4e84f4b8bb3e5dc 100755 --- a/run_http_interface_on_start.txt +++ b/run_http_interface_on_start.txt @@ -1,6 +1,6 @@ # to automatically start the webserver on start, you need to place the # following line just before the line with 'exit 0' in the /etc/rc.local. -(cd /home/pi/OhmPi; bash run.sh > startup.log) & +(cd /home/pi/OhmPi; bash run_http_interface.sh > startup.log) &