Skip to content

Commit

Permalink
Generate docs from templates
Browse files Browse the repository at this point in the history
  • Loading branch information
andig authored and github-actions[bot] committed Jan 28, 2024
1 parent bed0094 commit 2def060
Show file tree
Hide file tree
Showing 2 changed files with 82 additions and 2 deletions.
42 changes: 41 additions & 1 deletion docs/devices/meters.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1061,6 +1061,30 @@ meters:
port: 502 # Port
```
</TabItem>
<TabItem value="pv" label="PV">
```yaml
meters:
- name: my_pv
type: template
template: eastron-sdm120
usage: pv

# RS485 via adapter (Modbus RTU)
modbus: rs485serial
id: 1
device: /dev/ttyUSB0 # USB-RS485 Adapter Adresse
baudrate: 9600 # Prüfe die Geräteeinstellungen, typische Werte sind 9600, 19200, 38400, 57600, 115200
comset: "8N1" # Kommunikationsparameter für den Adapter

# RS485 via TCP/IP (Modbus RTU)
modbus: rs485tcpip
id: 1
host: 192.0.2.2 # Hostname
port: 502 # Port
```
</TabItem>
</Tabs>
Expand Down Expand Up @@ -3156,7 +3180,23 @@ meters:
<!-- AUTO-GENERATED FROM TEMPLATE - PLEASE EDIT HERE https://github.com/evcc-io/evcc/tree/master/templates/definition/meter -->
## my-PV WiFi Meter
## my-PV
### AC•THOR
<DeviceFeatures features="" />
```yaml
undefined
type: template
template: thor
usage: aux
host: 192.0.2.2 # IP-Adresse oder Hostname
```
<!-- AUTO-GENERATED FROM TEMPLATE - PLEASE EDIT HERE https://github.com/evcc-io/evcc/tree/master/templates/definition/meter -->
### WiFi Meter
<DeviceFeatures features="" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1063,6 +1063,30 @@ meters:
port: 502 # Port
```
</TabItem>
<TabItem value="pv" label="PV">
```yaml
meters:
- name: my_pv
type: template
template: eastron-sdm120
usage: pv

# RS485 via adapter (Modbus RTU)
modbus: rs485serial
id: 1
device: /dev/ttyUSB0 # USB-RS485 Adapter Adresse
baudrate: 9600 # Prüfe die Geräteeinstellungen, typische Werte sind 9600, 19200, 38400, 57600, 115200
comset: "8N1" # Kommunikationsparameter für den Adapter

# RS485 via TCP/IP (Modbus RTU)
modbus: rs485tcpip
id: 1
host: 192.0.2.2 # Hostname
port: 502 # Port
```
</TabItem>
</Tabs>
Expand Down Expand Up @@ -3158,7 +3182,23 @@ meters:
<!-- AUTO-GENERATED FROM TEMPLATE - PLEASE EDIT HERE https://github.com/evcc-io/evcc/tree/master/templates/definition/meter -->
## my-PV WiFi Meter
## my-PV
### AC•THOR
<DeviceFeatures features="" />
```yaml
undefined
type: template
template: thor
usage: aux
host: 192.0.2.2 # IP address or hostname
```
<!-- AUTO-GENERATED FROM TEMPLATE - PLEASE EDIT HERE https://github.com/evcc-io/evcc/tree/master/templates/definition/meter -->
### WiFi Meter
<DeviceFeatures features="" />
Expand Down

0 comments on commit 2def060

Please sign in to comment.