@@ -47,49 +47,31 @@ docker exec -it solectrus-redis-1 redis-cli FLUSHALL
4747
4848Check the ` .env ` variable ` INSTALLATION_DATE ` . This must be set to the day your PV system was installed.
4949
50- ### SENEC: Dealing with missing wallbox measurements
51-
52- The CSV data from mein-senec.de is not complete, there are no measurements for the wallbox. To get around this, wallbox charges are ** estimated** using the following formula:
53-
54- ```
55- wallbox_charge_power = inverter_power (Stromerzeugung)
56- + grid_power_plus (Netzbezug)
57- + bat_power_minus (Akkuentnahme)
58- - grid_power_minus (Netzeinspeisung)
59- - house_power (Stromverbrauch)
60- - bat_power_plus (Akkubeladung)
61- ```
62-
63- Please note that this method appears to be ineffective for processing CSV files that were created from July 2022 onwards. This is because wallbox charges are now being included in the overall house consumption since that time. Therefore, it seems that there is currently no way to import wallbox measurements.
64-
65- The [ senec-collector] ( https://github.com/solectrus/senec-collector ) does not have this problem, as it obtains the wallbox measurements directly.
66-
6750### Configuration
6851
6952The following environment variables can be used to configure the importer:
7053
71- | Variable | Description | Default |
72- | --------------------------------------- | ----------------------------------------------- | ---------------------------- |
73- | ` INFLUX_HOST ` | Hostname of InfluxDB | |
74- | ` INFLUX_SCHEMA ` | Schema (http/https) of InfluxDB | ` http ` |
75- | ` INFLUX_PORT ` | Port of InfluxDB | ` 8086 ` |
76- | ` INFLUX_TOKEN_WRITE ` or ` INFLUX_TOKEN ` | Token for InfluxDB (requires write permissions) | |
77- | ` INFLUX_ORG ` | Organization for InfluxDB | |
78- | ` INFLUX_BUCKET ` | Bucket for InfluxDB | |
79- | ` INFLUX_OPEN_TIMEOUT ` | Timeout for InfluxDB connection (in seconds) | ` 30 ` |
80- | ` INFLUX_READ_TIMEOUT ` | Timeout for InfluxDB read (in seconds) | ` 30 ` |
81- | ` INFLUX_WRITE_TIMEOUT ` | Timeout for InfluxDB write (in seconds) | ` 30 ` |
82- | ` INFLUX_SENSOR_INVERTER_POWER ` | Measurement/field for inverter power | ` SENEC:inverter_power ` |
83- | ` INFLUX_SENSOR_HOUSE_POWER ` | Measurement/field for house power | ` SENEC:house_power ` |
84- | ` INFLUX_SENSOR_GRID_IMPORT_POWER ` | Measurement/field for grid import power | ` SENEC:grid_power_plus ` |
85- | ` INFLUX_SENSOR_GRID_EXPORT_POWER ` | Measurement/field for grid export power | ` SENEC:grid_power_minus ` |
86- | ` INFLUX_SENSOR_BATTERY_CHARGE_POWER ` | Measurement/field for battery charge power | ` SENEC:bat_power_plus ` |
87- | ` INFLUX_SENSOR_BATTERY_DISCHARGE_POWER ` | Measurement/field for battery discharge power | ` SENEC:bat_power_minus ` |
88- | ` INFLUX_SENSOR_WALLBOX_POWER ` | Measurement/field for wallbox power | ` SENEC:wallbox_charge_power ` |
89- | ` SENEC_IGNORE ` | Optionally ignore some fields (comma-separated) | |
90- | ` IMPORT_FOLDER ` | Folder where CSV files are located | ` /data ` |
91- | ` IMPORT_PAUSE ` | Pause after each imported file (in seconds) | ` 0 ` |
92- | ` TZ ` | Time zone to use when parsing times | ` Europe/Berlin ` |
54+ | Variable | Description | Default |
55+ | --------------------------------------- | ----------------------------------------------- | ------------------------ |
56+ | ` INFLUX_HOST ` | Hostname of InfluxDB | |
57+ | ` INFLUX_SCHEMA ` | Schema (http/https) of InfluxDB | ` http ` |
58+ | ` INFLUX_PORT ` | Port of InfluxDB | ` 8086 ` |
59+ | ` INFLUX_TOKEN_WRITE ` or ` INFLUX_TOKEN ` | Token for InfluxDB (requires write permissions) | |
60+ | ` INFLUX_ORG ` | Organization for InfluxDB | |
61+ | ` INFLUX_BUCKET ` | Bucket for InfluxDB | |
62+ | ` INFLUX_OPEN_TIMEOUT ` | Timeout for InfluxDB connection (in seconds) | ` 30 ` |
63+ | ` INFLUX_READ_TIMEOUT ` | Timeout for InfluxDB read (in seconds) | ` 30 ` |
64+ | ` INFLUX_WRITE_TIMEOUT ` | Timeout for InfluxDB write (in seconds) | ` 30 ` |
65+ | ` INFLUX_SENSOR_INVERTER_POWER ` | Measurement/field for inverter power | ` SENEC:inverter_power ` |
66+ | ` INFLUX_SENSOR_HOUSE_POWER ` | Measurement/field for house power | ` SENEC:house_power ` |
67+ | ` INFLUX_SENSOR_GRID_IMPORT_POWER ` | Measurement/field for grid import power | ` SENEC:grid_power_plus ` |
68+ | ` INFLUX_SENSOR_GRID_EXPORT_POWER ` | Measurement/field for grid export power | ` SENEC:grid_power_minus ` |
69+ | ` INFLUX_SENSOR_BATTERY_CHARGE_POWER ` | Measurement/field for battery charge power | ` SENEC:bat_power_plus ` |
70+ | ` INFLUX_SENSOR_BATTERY_DISCHARGE_POWER ` | Measurement/field for battery discharge power | ` SENEC:bat_power_minus ` |
71+ | ` SENEC_IGNORE ` | Optionally ignore some fields (comma-separated) | |
72+ | ` IMPORT_FOLDER ` | Folder where CSV files are located | ` /data ` |
73+ | ` IMPORT_PAUSE ` | Pause after each imported file (in seconds) | ` 0 ` |
74+ | ` TZ ` | Time zone to use when parsing times | ` Europe/Berlin ` |
9375
9476## License
9577
0 commit comments