From 54de7a153fc31a9ab29b17092007bead915173b5 Mon Sep 17 00:00:00 2001 From: Michael Clemens Date: Fri, 12 Nov 2021 09:58:02 +0100 Subject: [PATCH] =?UTF-8?q?=E2=80=9EREADME.md=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9303aef..c8e0bda 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ You need a computer connected to the Hardrock-50 via USB, e.g. a Raspberry Pi. T Download all files and copy them into a directory on your raspberry pi. alternatively, you can clone the git repository as follows: ''' -# git clone https://git.qrz.is/clemens/hr50-api.git +micha@rpi:~ git clone https://git.qrz.is/clemens/hr50-api.git ''' # Configuration @@ -31,8 +31,8 @@ Executing this script will spawn a web server running on port 5000. This is not Run it as follows: ''' -# cd hr50-api -# ./bootstrap.sh +micha@rpi:~ cd hr50-api +micha@rpi:~/hr50-api$ ./bootstrap.sh ''' # Examples @@ -45,16 +45,16 @@ For testing or other purposes, you can access the api with trhe help of curl or Set the keying method to 'PTT': ''' -micha@heater:~/hr50-api$ curl http://:5000?cmd=hrmd1 +micha@rpi:~/hr50-api$ curl http://:5000?cmd=hrmd1 ''' Set the keying method to 'COR': ''' -micha@heater:~/hr50-api$ curl http://:5000?cmd=hrmd2 +micha@rpi:~/hr50-api$ curl http://:5000?cmd=hrmd2 ''' Query the status: ''' -micha@heater:~/hr50-api$ curl http://:5000/status +micha@rpi:~/hr50-api$ curl http://:5000/status {"AVG":"43","BND":"15M","PEP":"60","PTT":"COR","STA":"RX","SWR":"1.9","TMP":"12C","VLT":"13.7V"} ''' \ No newline at end of file