From f2dc790a35c9e29c5b0efc0734a67e5727f0d6ff Mon Sep 17 00:00:00 2001 From: andig <184815+andig@users.noreply.github.com> Date: Sat, 1 Mar 2025 11:31:57 +0000 Subject: [PATCH] Generate docs from templates --- docs/devices/meters.mdx | 112 +++++++++++++++++- .../current/devices/meters.mdx | 112 +++++++++++++++++- 2 files changed, 216 insertions(+), 8 deletions(-) diff --git a/docs/devices/meters.mdx b/docs/devices/meters.mdx index 59b9de1c6..e4b570dd4 100644 --- a/docs/devices/meters.mdx +++ b/docs/devices/meters.mdx @@ -7556,7 +7556,31 @@ Die Verbindung über einen LSE-3 Logger Stick mittels LAN Anschluss und ModBus T modbus: tcpip id: 1 host: 192.0.2.2 # Hostname - port: 8899 # Port`} /> + port: 8899 # Port`} advanced={`meters: + - name: my_grid + type: template + template: sofarsolar-g3 + usage: grid + + # 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: 8899 # Port + + # Modbus TCP + modbus: tcpip + id: 1 + host: 192.0.2.2 # Hostname + port: 8899 # Port + storageunit: 1 # Nummer des Batteriespeichers. Im Fall eines BTS Speichers nicht die Adresse eines BTS 5K Batteriemodules, sondern der Speicherturm (BTS 5K-BDU Steuerungseinheit mit 1-4 BTS 5K Modulen). (optional)`} /> @@ -7610,6 +7634,7 @@ Die Verbindung über einen LSE-3 Logger Stick mittels LAN Anschluss und ModBus T id: 1 host: 192.0.2.2 # Hostname port: 8899 # Port + storageunit: 1 # Nummer des Batteriespeichers. Im Fall eines BTS Speichers nicht die Adresse eines BTS 5K Batteriemodules, sondern der Speicherturm (BTS 5K-BDU Steuerungseinheit mit 1-4 BTS 5K Modulen). (optional) maxacpower: 0 # Maximale AC Leistung des Hybrid-Wechselrichters (optional)`} /> @@ -7664,6 +7689,7 @@ Die Verbindung über einen LSE-3 Logger Stick mittels LAN Anschluss und ModBus T id: 1 host: 192.0.2.2 # Hostname port: 8899 # Port + storageunit: 1 # Nummer des Batteriespeichers. Im Fall eines BTS Speichers nicht die Adresse eines BTS 5K Batteriemodules, sondern der Speicherturm (BTS 5K-BDU Steuerungseinheit mit 1-4 BTS 5K Modulen). (optional) capacity: 50 # Akkukapazität in kWh (optional) defaultmode: 0 # Standardmodus für die aktive Batteriesteuerung. Gültige Werte sind 0 (Eigenbedarfsmodus), 1 (Nutzungszeitmodus), 2 (Zeitmodus), 4 (Peak-shaving Modus) (optional)`} /> @@ -7706,7 +7732,31 @@ Die Verbindung über einen LSE-3 Logger Stick mittels LAN Anschluss und ModBus T modbus: tcpip id: 1 host: 192.0.2.2 # Hostname - port: 8899 # Port`} /> + port: 8899 # Port`} advanced={`meters: + - name: my_grid + type: template + template: sofarsolar-g3 + usage: grid + + # 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: 8899 # Port + + # Modbus TCP + modbus: tcpip + id: 1 + host: 192.0.2.2 # Hostname + port: 8899 # Port + storageunit: 1 # Nummer des Batteriespeichers. Im Fall eines BTS Speichers nicht die Adresse eines BTS 5K Batteriemodules, sondern der Speicherturm (BTS 5K-BDU Steuerungseinheit mit 1-4 BTS 5K Modulen). (optional)`} /> @@ -7760,6 +7810,7 @@ Die Verbindung über einen LSE-3 Logger Stick mittels LAN Anschluss und ModBus T id: 1 host: 192.0.2.2 # Hostname port: 8899 # Port + storageunit: 1 # Nummer des Batteriespeichers. Im Fall eines BTS Speichers nicht die Adresse eines BTS 5K Batteriemodules, sondern der Speicherturm (BTS 5K-BDU Steuerungseinheit mit 1-4 BTS 5K Modulen). (optional) maxacpower: 0 # Maximale AC Leistung des Hybrid-Wechselrichters (optional)`} /> @@ -7814,6 +7865,7 @@ Die Verbindung über einen LSE-3 Logger Stick mittels LAN Anschluss und ModBus T id: 1 host: 192.0.2.2 # Hostname port: 8899 # Port + storageunit: 1 # Nummer des Batteriespeichers. Im Fall eines BTS Speichers nicht die Adresse eines BTS 5K Batteriemodules, sondern der Speicherturm (BTS 5K-BDU Steuerungseinheit mit 1-4 BTS 5K Modulen). (optional) capacity: 50 # Akkukapazität in kWh (optional) defaultmode: 0 # Standardmodus für die aktive Batteriesteuerung. Gültige Werte sind 0 (Eigenbedarfsmodus), 1 (Nutzungszeitmodus), 2 (Zeitmodus), 4 (Peak-shaving Modus) (optional)`} /> @@ -7979,7 +8031,31 @@ Die Verbindung über einen LSE-3 Logger Stick mittels LAN Anschluss und ModBus T modbus: tcpip id: 1 host: 192.0.2.2 # Hostname - port: 8899 # Port`} /> + port: 8899 # Port`} advanced={`meters: + - name: my_grid + type: template + template: sofarsolar-g3 + usage: grid + + # 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: 8899 # Port + + # Modbus TCP + modbus: tcpip + id: 1 + host: 192.0.2.2 # Hostname + port: 8899 # Port + storageunit: 1 # Nummer des Batteriespeichers. Im Fall eines BTS Speichers nicht die Adresse eines BTS 5K Batteriemodules, sondern der Speicherturm (BTS 5K-BDU Steuerungseinheit mit 1-4 BTS 5K Modulen). (optional)`} /> @@ -8033,6 +8109,7 @@ Die Verbindung über einen LSE-3 Logger Stick mittels LAN Anschluss und ModBus T id: 1 host: 192.0.2.2 # Hostname port: 8899 # Port + storageunit: 1 # Nummer des Batteriespeichers. Im Fall eines BTS Speichers nicht die Adresse eines BTS 5K Batteriemodules, sondern der Speicherturm (BTS 5K-BDU Steuerungseinheit mit 1-4 BTS 5K Modulen). (optional) maxacpower: 0 # Maximale AC Leistung des Hybrid-Wechselrichters (optional)`} /> @@ -8087,6 +8164,7 @@ Die Verbindung über einen LSE-3 Logger Stick mittels LAN Anschluss und ModBus T id: 1 host: 192.0.2.2 # Hostname port: 8899 # Port + storageunit: 1 # Nummer des Batteriespeichers. Im Fall eines BTS Speichers nicht die Adresse eines BTS 5K Batteriemodules, sondern der Speicherturm (BTS 5K-BDU Steuerungseinheit mit 1-4 BTS 5K Modulen). (optional) capacity: 50 # Akkukapazität in kWh (optional) defaultmode: 0 # Standardmodus für die aktive Batteriesteuerung. Gültige Werte sind 0 (Eigenbedarfsmodus), 1 (Nutzungszeitmodus), 2 (Zeitmodus), 4 (Peak-shaving Modus) (optional)`} /> @@ -8129,7 +8207,31 @@ Die Verbindung über einen LSE-3 Logger Stick mittels LAN Anschluss und ModBus T modbus: tcpip id: 1 host: 192.0.2.2 # Hostname - port: 8899 # Port`} /> + port: 8899 # Port`} advanced={`meters: + - name: my_grid + type: template + template: sofarsolar-g3 + usage: grid + + # 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: 8899 # Port + + # Modbus TCP + modbus: tcpip + id: 1 + host: 192.0.2.2 # Hostname + port: 8899 # Port + storageunit: 1 # Nummer des Batteriespeichers. Im Fall eines BTS Speichers nicht die Adresse eines BTS 5K Batteriemodules, sondern der Speicherturm (BTS 5K-BDU Steuerungseinheit mit 1-4 BTS 5K Modulen). (optional)`} /> @@ -8183,6 +8285,7 @@ Die Verbindung über einen LSE-3 Logger Stick mittels LAN Anschluss und ModBus T id: 1 host: 192.0.2.2 # Hostname port: 8899 # Port + storageunit: 1 # Nummer des Batteriespeichers. Im Fall eines BTS Speichers nicht die Adresse eines BTS 5K Batteriemodules, sondern der Speicherturm (BTS 5K-BDU Steuerungseinheit mit 1-4 BTS 5K Modulen). (optional) maxacpower: 0 # Maximale AC Leistung des Hybrid-Wechselrichters (optional)`} /> @@ -8237,6 +8340,7 @@ Die Verbindung über einen LSE-3 Logger Stick mittels LAN Anschluss und ModBus T id: 1 host: 192.0.2.2 # Hostname port: 8899 # Port + storageunit: 1 # Nummer des Batteriespeichers. Im Fall eines BTS Speichers nicht die Adresse eines BTS 5K Batteriemodules, sondern der Speicherturm (BTS 5K-BDU Steuerungseinheit mit 1-4 BTS 5K Modulen). (optional) capacity: 50 # Akkukapazität in kWh (optional) defaultmode: 0 # Standardmodus für die aktive Batteriesteuerung. Gültige Werte sind 0 (Eigenbedarfsmodus), 1 (Nutzungszeitmodus), 2 (Zeitmodus), 4 (Peak-shaving Modus) (optional)`} /> diff --git a/i18n/en/docusaurus-plugin-content-docs/current/devices/meters.mdx b/i18n/en/docusaurus-plugin-content-docs/current/devices/meters.mdx index d5abf7fc6..95d086958 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/devices/meters.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/devices/meters.mdx @@ -7557,7 +7557,31 @@ LSE-3 logger stick using a LAN connection and ModBus TCP via the port 8899 is th modbus: tcpip id: 1 host: 192.0.2.2 # Hostname - port: 8899 # Port`} /> + port: 8899 # Port`} advanced={`meters: + - name: my_grid + type: template + template: sofarsolar-g3 + usage: grid + + # 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: 8899 # Port + + # Modbus TCP + modbus: tcpip + id: 1 + host: 192.0.2.2 # Hostname + port: 8899 # Port + storageunit: 1 # Number of the battery storage. In case of a BTS storage not the address of a BTS 5K battery module, but the storage tower (BTS 5K-BDU control unit with 1-4 BTS 5K modules). (optional)`} /> @@ -7611,6 +7635,7 @@ LSE-3 logger stick using a LAN connection and ModBus TCP via the port 8899 is th id: 1 host: 192.0.2.2 # Hostname port: 8899 # Port + storageunit: 1 # Number of the battery storage. In case of a BTS storage not the address of a BTS 5K battery module, but the storage tower (BTS 5K-BDU control unit with 1-4 BTS 5K modules). (optional) maxacpower: 0 # Maximum AC power of the hybrid inverter (optional)`} /> @@ -7665,6 +7690,7 @@ LSE-3 logger stick using a LAN connection and ModBus TCP via the port 8899 is th id: 1 host: 192.0.2.2 # Hostname port: 8899 # Port + storageunit: 1 # Number of the battery storage. In case of a BTS storage not the address of a BTS 5K battery module, but the storage tower (BTS 5K-BDU control unit with 1-4 BTS 5K modules). (optional) capacity: 50 # Battery capacity in kWh (optional) defaultmode: 0 # Default mode for battery control. Valid values are 0 (self use), 1 (time of use), 2 (timing mode), 4 (peak-shaving mode) (optional)`} /> @@ -7707,7 +7733,31 @@ LSE-3 logger stick using a LAN connection and ModBus TCP via the port 8899 is th modbus: tcpip id: 1 host: 192.0.2.2 # Hostname - port: 8899 # Port`} /> + port: 8899 # Port`} advanced={`meters: + - name: my_grid + type: template + template: sofarsolar-g3 + usage: grid + + # 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: 8899 # Port + + # Modbus TCP + modbus: tcpip + id: 1 + host: 192.0.2.2 # Hostname + port: 8899 # Port + storageunit: 1 # Number of the battery storage. In case of a BTS storage not the address of a BTS 5K battery module, but the storage tower (BTS 5K-BDU control unit with 1-4 BTS 5K modules). (optional)`} /> @@ -7761,6 +7811,7 @@ LSE-3 logger stick using a LAN connection and ModBus TCP via the port 8899 is th id: 1 host: 192.0.2.2 # Hostname port: 8899 # Port + storageunit: 1 # Number of the battery storage. In case of a BTS storage not the address of a BTS 5K battery module, but the storage tower (BTS 5K-BDU control unit with 1-4 BTS 5K modules). (optional) maxacpower: 0 # Maximum AC power of the hybrid inverter (optional)`} /> @@ -7815,6 +7866,7 @@ LSE-3 logger stick using a LAN connection and ModBus TCP via the port 8899 is th id: 1 host: 192.0.2.2 # Hostname port: 8899 # Port + storageunit: 1 # Number of the battery storage. In case of a BTS storage not the address of a BTS 5K battery module, but the storage tower (BTS 5K-BDU control unit with 1-4 BTS 5K modules). (optional) capacity: 50 # Battery capacity in kWh (optional) defaultmode: 0 # Default mode for battery control. Valid values are 0 (self use), 1 (time of use), 2 (timing mode), 4 (peak-shaving mode) (optional)`} /> @@ -7980,7 +8032,31 @@ LSE-3 logger stick using a LAN connection and ModBus TCP via the port 8899 is th modbus: tcpip id: 1 host: 192.0.2.2 # Hostname - port: 8899 # Port`} /> + port: 8899 # Port`} advanced={`meters: + - name: my_grid + type: template + template: sofarsolar-g3 + usage: grid + + # 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: 8899 # Port + + # Modbus TCP + modbus: tcpip + id: 1 + host: 192.0.2.2 # Hostname + port: 8899 # Port + storageunit: 1 # Number of the battery storage. In case of a BTS storage not the address of a BTS 5K battery module, but the storage tower (BTS 5K-BDU control unit with 1-4 BTS 5K modules). (optional)`} /> @@ -8034,6 +8110,7 @@ LSE-3 logger stick using a LAN connection and ModBus TCP via the port 8899 is th id: 1 host: 192.0.2.2 # Hostname port: 8899 # Port + storageunit: 1 # Number of the battery storage. In case of a BTS storage not the address of a BTS 5K battery module, but the storage tower (BTS 5K-BDU control unit with 1-4 BTS 5K modules). (optional) maxacpower: 0 # Maximum AC power of the hybrid inverter (optional)`} /> @@ -8088,6 +8165,7 @@ LSE-3 logger stick using a LAN connection and ModBus TCP via the port 8899 is th id: 1 host: 192.0.2.2 # Hostname port: 8899 # Port + storageunit: 1 # Number of the battery storage. In case of a BTS storage not the address of a BTS 5K battery module, but the storage tower (BTS 5K-BDU control unit with 1-4 BTS 5K modules). (optional) capacity: 50 # Battery capacity in kWh (optional) defaultmode: 0 # Default mode for battery control. Valid values are 0 (self use), 1 (time of use), 2 (timing mode), 4 (peak-shaving mode) (optional)`} /> @@ -8130,7 +8208,31 @@ LSE-3 logger stick using a LAN connection and ModBus TCP via the port 8899 is th modbus: tcpip id: 1 host: 192.0.2.2 # Hostname - port: 8899 # Port`} /> + port: 8899 # Port`} advanced={`meters: + - name: my_grid + type: template + template: sofarsolar-g3 + usage: grid + + # 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: 8899 # Port + + # Modbus TCP + modbus: tcpip + id: 1 + host: 192.0.2.2 # Hostname + port: 8899 # Port + storageunit: 1 # Number of the battery storage. In case of a BTS storage not the address of a BTS 5K battery module, but the storage tower (BTS 5K-BDU control unit with 1-4 BTS 5K modules). (optional)`} /> @@ -8184,6 +8286,7 @@ LSE-3 logger stick using a LAN connection and ModBus TCP via the port 8899 is th id: 1 host: 192.0.2.2 # Hostname port: 8899 # Port + storageunit: 1 # Number of the battery storage. In case of a BTS storage not the address of a BTS 5K battery module, but the storage tower (BTS 5K-BDU control unit with 1-4 BTS 5K modules). (optional) maxacpower: 0 # Maximum AC power of the hybrid inverter (optional)`} /> @@ -8238,6 +8341,7 @@ LSE-3 logger stick using a LAN connection and ModBus TCP via the port 8899 is th id: 1 host: 192.0.2.2 # Hostname port: 8899 # Port + storageunit: 1 # Number of the battery storage. In case of a BTS storage not the address of a BTS 5K battery module, but the storage tower (BTS 5K-BDU control unit with 1-4 BTS 5K modules). (optional) capacity: 50 # Battery capacity in kWh (optional) defaultmode: 0 # Default mode for battery control. Valid values are 0 (self use), 1 (time of use), 2 (timing mode), 4 (peak-shaving mode) (optional)`} />