From ac301d8f5fb61a48553590d7a61801e787102b0c Mon Sep 17 00:00:00 2001 From: andig Date: Mon, 4 Apr 2022 22:04:46 +0200 Subject: [PATCH] Fix modbus docs (#3082) --- util/templates/documentation_modbus.tpl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/util/templates/documentation_modbus.tpl b/util/templates/documentation_modbus.tpl index 16cc1e20c..2186e8823 100644 --- a/util/templates/documentation_modbus.tpl +++ b/util/templates/documentation_modbus.tpl @@ -7,10 +7,12 @@ comset: "{{ .comset }}" # Kommunikationsparameter für den Adapter {{- end }} {{- if .rs485tcpip }} # Modbus: RS485 via TCPIP -uri: {{ .host }}:{{ .port }} # IP-Adresse oder Hostname: Port +host: {{ .host }} # Hostname +port: {{ .port }} # Port rtu: true {{- end }} {{- if .tcpip }} # Modbus: TCPIP -uri: {{ .host }}:{{ .port }} # IP-Adresse oder Hostname: Port +host: {{ .host }} # Hostname +port: {{ .port }} # Port {{- end }}