Skip to content

Commit 747f805

Browse files
authored
Fix documentation for custom meter config: (#773)
1 parent b93a2ab commit 747f805

4 files changed

Lines changed: 66 additions & 26 deletions

File tree

docs/devices/meters.mdx

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12546,26 +12546,36 @@ Neuere Slimmelezer-Geräte verwenden eine andere Konfiguration. Probieren Sie di
1254612546
meters:
1254712547
- name: my_meter
1254812548
type: custom
12549-
power: # power (W)
12550-
source: # plugin type
12549+
power: # Leistung (W)
12550+
source: # Plugin Typ
1255112551
# ...
12552-
energy: # optional energy (kWh)
12553-
source: # plugin type
12552+
energy: # optional Energie (kWh)
12553+
source: # Plugin Typ
1255412554
# ...
12555-
soc: # optional battery soc (%)
12556-
source: # plugin type
12555+
soc: # optional Batterie SoC (%)
12556+
source: # Plugin Typ
1255712557
# ...
12558-
currents: # optional currents (A)
12559-
- source: # L1 plugin type
12558+
currents: # optional Ströme (A)
12559+
- source: # L1 Plugin Typ
1256012560
# ...
12561-
- source: # L2 plugin type
12561+
- source: # L2 Plugin Typ
1256212562
# ...
12563-
- source: # L3 plugin type
12563+
- source: # L3 Plugin Typ
1256412564
# ...
12565-
batterymode: # controllable (1: normal, 2: hold, 3: charge)
12566-
source: # plugin type
12565+
limitsoc: # optional SoC unteres Limit
12566+
source: # Plugin Typ
12567+
# ...
12568+
batterymode: # optional Batteriemodus (1: normal, 2: hold, 3: charge)
12569+
source: # Plugin Typ
12570+
# ...
1256712571
```
1256812572

12573+
:::note
12574+
`limitsoc` wird von evcc auf den aktuellen Wert von `soc` gesetzt um ein weiteres Entladen der Batterie z.B. beim Schnelladen zu verhindern.
12575+
Alternativ kann `batterymode` konfiguriert werden und eine externe Steuerung übernimmt die Kontrolle über die Entladung bzw. Ladung der Batterie basierend auf dem von evcc übermittelten Modus.
12576+
Wenn `soc` und `limitsoc` konfiguriert sind wird `batterymode` ignoriert.
12577+
:::
12578+
1256912579
### Demobatterie
1257012580

1257112581
<DeviceFeatures features="" />

docs/devices/meters/_generische_unterstützung.mdx

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,32 @@
44
meters:
55
- name: my_meter
66
type: custom
7-
power: # power (W)
8-
source: # plugin type
7+
power: # Leistung (W)
8+
source: # Plugin Typ
99
# ...
10-
energy: # optional energy (kWh)
11-
source: # plugin type
10+
energy: # optional Energie (kWh)
11+
source: # Plugin Typ
1212
# ...
13-
soc: # optional battery soc (%)
14-
source: # plugin type
13+
soc: # optional Batterie SoC (%)
14+
source: # Plugin Typ
1515
# ...
16-
currents: # optional currents (A)
17-
- source: # L1 plugin type
16+
currents: # optional Ströme (A)
17+
- source: # L1 Plugin Typ
1818
# ...
19-
- source: # L2 plugin type
19+
- source: # L2 Plugin Typ
2020
# ...
21-
- source: # L3 plugin type
21+
- source: # L3 Plugin Typ
2222
# ...
23-
batterymode: # controllable (1: normal, 2: hold, 3: charge)
24-
source: # plugin type
23+
limitsoc: # optional SoC unteres Limit
24+
source: # Plugin Typ
25+
# ...
26+
batterymode: # optional Batteriemodus (1: normal, 2: hold, 3: charge)
27+
source: # Plugin Typ
28+
# ...
2529
```
30+
31+
:::note
32+
`limitsoc` wird von evcc auf den aktuellen Wert von `soc` gesetzt um ein weiteres Entladen der Batterie z.B. beim Schnelladen zu verhindern.
33+
Alternativ kann `batterymode` konfiguriert werden und eine externe Steuerung übernimmt die Kontrolle über die Entladung bzw. Ladung der Batterie basierend auf dem von evcc übermittelten Modus.
34+
Wenn `soc` und `limitsoc` konfiguriert sind wird `batterymode` ignoriert.
35+
:::

i18n/en/docusaurus-plugin-content-docs/current/devices/meters.mdx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12563,10 +12563,20 @@ meters:
1256312563
# ...
1256412564
- source: # L3 plugin type
1256512565
# ...
12566-
batterymode: # controllable (1: normal, 2: hold, 3: charge)
12566+
limitsoc: # optional lower soc limit (%)
1256712567
source: # plugin type
12568+
# ...
12569+
batterymode: # optional battery mode (1: normal, 2: hold, 3: charge)
12570+
source: # plugin type
12571+
# ...
1256812572
```
1256912573

12574+
:::note
12575+
`limitsoc` is set to the current value of `soc` by evcc to block further discharge of a battery e.g. for quick charging.
12576+
Alternatively you can configure `batterymode` and have an external control take care of the charging or discharging of the battery based on the given mode.
12577+
When `soc` and `limitsoc` are configured `batterymode` will be ignored.
12578+
:::
12579+
1257012580
### Demo battery
1257112581

1257212582
<DeviceFeatures features="" />

i18n/en/docusaurus-plugin-content-docs/current/devices/meters/_generic_support.mdx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,16 @@ meters:
2020
# ...
2121
- source: # L3 plugin type
2222
# ...
23-
batterymode: # controllable (1: normal, 2: hold, 3: charge)
23+
limitsoc: # optional lower soc limit (%)
2424
source: # plugin type
25+
# ...
26+
batterymode: # optional battery mode (1: normal, 2: hold, 3: charge)
27+
source: # plugin type
28+
# ...
2529
```
30+
31+
:::note
32+
`limitsoc` is set to the current value of `soc` by evcc to block further discharge of a battery e.g. for quick charging.
33+
Alternatively you can configure `batterymode` and have an external control take care of the charging or discharging of the battery based on the given mode.
34+
When `soc` and `limitsoc` are configured `batterymode` will be ignored.
35+
:::

0 commit comments

Comments
 (0)