diff --git a/assets/js/components/Config/Modbus.vue b/assets/js/components/Config/Modbus.vue index 684f0a3e9..3d8ac0df4 100644 --- a/assets/js/components/Config/Modbus.vue +++ b/assets/js/components/Config/Modbus.vue @@ -2,11 +2,11 @@ @@ -20,7 +20,9 @@ tabindex="0" autocomplete="off" /> - Network + + {{ $t("config.modbus.connectionValueTcpip") }} + - Serial / USB + + {{ $t("config.modbus.connectionValueSerial") }} + - + - + - + @@ -89,7 +97,9 @@ tabindex="0" autocomplete="off" /> - TCP + + {{ $t("config.modbus.protocolValueTcp") }} + - RTU + + {{ $t("config.modbus.protocolValueRtu") }} + - + - + - + { + return ["8N1", "8E1", "8N2"].map((v) => { return { key: v, name: v }; }); }, diff --git a/i18n/de.toml b/i18n/de.toml index b267619e5..8326964e3 100644 --- a/i18n/de.toml +++ b/i18n/de.toml @@ -279,6 +279,26 @@ battery = "Hausbatterie hinzufügen" ext = "Zusätzlichen Zähler hinzufügen" pv = "PV-Anlage hinzufügen" +[config.modbus] +baudrate = "Baudrate" +comset = "ComSet" +connection = "Modbus Verbindung" +connectionHintSerial = "Das Gerät ist direkt an evcc über eine RS485 Schnittstelle angeschlossen." +connectionHintTcpip = "Das Gerät ist von evcc aus über LAN/Wifi erreichbar." +connectionValueSerial = "Seriell / USB" +connectionValueTcpip = "Netzwerk" +device = "Gerätename" +deviceHint = "Beispiel: /dev/ttyUSB0" +host = "IP Adresse oder Hostname" +hostHint = "Beispiel: 192.0.2.2" +id = "Modbus ID" +port = "Port" +protocol = "Modbus Protokoll" +protocolHintRtu = "Verbindung über eine RS485 Schnittstelle an einem Ethernet Adapter ohne Protokollübersetzung." +protocolHintTcp = "Gerät hat native LAN/Wifi Unterstützung oder ist über eine RS485 Schnittstelle an einen Ethernet Adapter mit Protokollübersetzung angeschlossen." +protocolValueRtu = "RTU" +protocolValueTcp = "TCP" + [config.modbusproxy] description = "Erlaubt mehreren Clients den Zugriff auf ein einzelnes Modbus-Gerät." title = "Modbus-Proxy" diff --git a/i18n/en.toml b/i18n/en.toml index 036574e4c..420f906e0 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -279,6 +279,26 @@ battery = "Add battery meter" ext = "Add external meter" pv = "Add solar meter" +[config.modbus] +baudrate = "Baud rate" +comset = "ComSet" +connection = "Modbus connection" +connectionHintSerial = "The device is directly connected to evcc via a RS485 interface." +connectionHintTcpip = "The device is addressable from evcc via LAN/Wifi." +connectionValueSerial = "Serial / USB" +connectionValueTcpip = "Network" +device = "Device name" +deviceHint = "Example: /dev/ttyUSB0" +host = "IP address or hostname" +hostHint = "Example: 192.0.2.2" +id = "Modbus ID" +port = "Port" +protocol = "Modbus protocol" +protocolHintRtu = "Connection through a RS485 to Ethernet adapter without protocol translation." +protocolHintTcp = "Device has native LAN/Wifi support or is connected through a RS485 to Ethernet adapter with protocol translation." +protocolValueRtu = "RTU" +protocolValueTcp = "TCP" + [config.modbusproxy] description = "Allow multiple clients to access a single Modbus device." title = "Modbus Proxy"