You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+17-1
Original file line number
Diff line number
Diff line change
@@ -130,7 +130,7 @@ A template can be found under
130
130
| InfluxBucket | Bucket to be used for storage of EMS data |
131
131
| csvOutput | Specifies whether EMS data shall be written to a csv file (Default: false) |
132
132
| csvDir | Path to the directory where csv files shall be located |
133
-
|**emsData**| List of configuration sets for Influx measurements to be created.<br>For explanation of the different elements, see [Mapping of OpenEMS to InfluxDB Data Points](#mapping-of-openems-to-influxdb-data-points), below.<br>For an example, see [monitorEMS_tpl.json](./config/monitorEMS_tpl.json).|
133
+
|**emsData**| List of configuration sets for Influx measurements to be created.<br>For explanation of the different elements, see [Mapping of OpenEMS to InfluxDB Data Points](#mapping-of-openems-to-influxdb-data-points), below.<br>For an example, see [monitorEMS_tpl.json](./config/monitorEMS_tpl.json).<br>See also [How to find Configurations for Data Points Of Interest](#finding-configurations-for-data-points-of-interest).|
134
134
|- measurement | Influx **Measurement** to be used for data points of this configuration |
135
135
|- component | Pattern to be applied to the OpenEMS **Component-ID** to identify Influx **Tag Key** and **Tag Value**<br>e.g. pattern<br>```battery?```, applied to the Component-ID<br>```battery0```,<br>identifies "battery" as Tag Key and "0" as Tag Value.|
136
136
|- channel_root | Pattern to be applied to the OpenEMS **Channel-ID** to identify Influx **Tag Keys**, **Tag Values** and **Field Keys**<br> e.g. pattern<br>```/Tower?Module?Cell???```, applied to<br>```/Tower0Module3Cell012Voltage```<br> identifues the Influx **Tags** {"Tower": "0", "Module": "3", "Cell": "012" } and "Voltage" as Influx **Field Key**. |
## Finding Configurations for Data Points Of Interest
288
+
289
+
This package includes a small [tryEmsApi.py](./tryEmsApi/tryEmsApi.py) Python program which can be used to evaluate the different OpenEMS REST-API endpoints and the data they disclose.
290
+
291
+
Before usage, copy this file to $PARENTDIR/tests and name it according to your needs.
292
+
($PARENTDIR/tests is ignored by git)
293
+
294
+
1. Set 'emsURL' to the URL of your system
295
+
2. Set 'component' to one of the components shown in your OpenEMS configuration
296
+
3. Adjust the name of the 'csvFile' to be produced
297
+
4. Run the program in the [virtual environment for monitorEMS](#running-monitorems-as-python-program).
298
+
It will create the CSV file under an 'emsOutput' subdirectory.
299
+
5. From the CSV file, select the data points to be monitored
300
+
6. Adjust the regular expression in 'channel' to a more restrictive variant
301
+
7. Use the resulting output to set up an 'emsData' entry in the 'monitorEMS.json' [configuration file](#configuration)
0 commit comments