ABB: add rs485 (#4922)
This commit is contained in:
parent
2c4d17557a
commit
9b20ce3a18
2 changed files with 14 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ requirements:
|
|||
evcc: ["sponsorship"]
|
||||
params:
|
||||
- name: modbus
|
||||
choice: ["tcpip"]
|
||||
choice: ["rs485", "tcpip"]
|
||||
render: |
|
||||
type: abb
|
||||
{{- include "modbus" . }}
|
||||
|
|
|
|||
|
|
@ -8,6 +8,19 @@ render:
|
|||
type: template
|
||||
template: abb
|
||||
|
||||
# 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
|
||||
|
||||
# Modbus TCP
|
||||
modbus: tcpip
|
||||
id: 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue