From 2fe9d832f342a8c781334bcdfb4b5ba869bfd130 Mon Sep 17 00:00:00 2001 From: Mikko Drocan Date: Fri, 8 Sep 2023 09:18:07 +0300 Subject: [PATCH 1/3] minor changes --- README.md | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 7e91289..b2d2e7a 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,24 @@ # Fronius-stats -Simple Python script that fetches data from a predefined Fronius inverter. -Displays: timestamp, current production and how much has been produced during the (day, year) so far. +- Simple Python script that fetches data from a predefined Fronius inverter. +- Displays: timestamp, current production and how much has been produced during the (day, year) so far. ## Script execution -Install the required package with 'pip install -r requirements.txt' -Execute in the terminal with the following command: 'python3 fronius.py' -After script execution the data is fetched from the inverter and trimmed. + +- Install the required package with 'pip install -r requirements.txt' +- Execute in the terminal with the following command: 'python3 fronius.py' +- After script execution the data is fetched from the inverter and trimmed. ## Architecture -By default it fetches the URL being used froma file called 'api.txt'. -There's also a possibility to use a example response message in a Docker environment. -In order to use the Docker web service you must edit the python source and comment/uncomment the necessary lines. -The Docker setup can be found from web_server-directory. +By default it fetches the URL being used froma file called 'api.txt'. +There's also a possibility to use a example response message in a Docker environment: +- You must edit the Python source and comment/uncomment the necessary lines in the script. +- The Docker setup can be found from [here](web_server). +- Example message message [here](web_server/GetPowerFlowRealtimeData.fcgi). ## Next steps Save data to a database. -Visualize the data. \ No newline at end of file +Visualize the data. From 07028bc7535dd3f6a629f7a6a570594e60b64e37 Mon Sep 17 00:00:00 2001 From: Mikko Drocan Date: Fri, 8 Sep 2023 09:23:25 +0300 Subject: [PATCH 2/3] more readable --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b2d2e7a..47c6893 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ ## Script execution - Install the required package with 'pip install -r requirements.txt' -- Execute in the terminal with the following command: 'python3 fronius.py' +- Execute in the terminal with the following command: 'python fronius.py' - After script execution the data is fetched from the inverter and trimmed. ## Architecture @@ -20,5 +20,5 @@ There's also a possibility to use a example response message in a Docker environ ## Next steps -Save data to a database. -Visualize the data. +- Save the data to a database. +- Visualize the data. From 24a28164288b1c3d728c8e0fb45db7fd5405715a Mon Sep 17 00:00:00 2001 From: Mikko Drocan Date: Fri, 8 Sep 2023 09:25:01 +0300 Subject: [PATCH 3/3] better description --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 47c6893..ee4c46b 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ ## Architecture -By default it fetches the URL being used froma file called 'api.txt'. +By default the script uses the URL defined in a file called 'api.txt'. There's also a possibility to use a example response message in a Docker environment: - You must edit the Python source and comment/uncomment the necessary lines in the script.