From 693041d7404f4e1bb124193f18483c8ab20675e6 Mon Sep 17 00:00:00 2001 From: andig Date: Fri, 23 Jun 2023 21:05:59 +0200 Subject: [PATCH] Obo: add ModbusTCP --- templates/definition/charger/obo.yaml | 2 +- templates/docs/charger/obo_0.yaml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/templates/definition/charger/obo.yaml b/templates/definition/charger/obo.yaml index ebbda7912..0f8863ce3 100644 --- a/templates/definition/charger/obo.yaml +++ b/templates/definition/charger/obo.yaml @@ -5,7 +5,7 @@ products: generic: Ion params: - name: modbus - choice: ["rs485"] + choice: ["rs485", "tcpip"] baudrate: 19200 comset: 8E1 id: 101 diff --git a/templates/docs/charger/obo_0.yaml b/templates/docs/charger/obo_0.yaml index f7ac33186..b47bf8b17 100644 --- a/templates/docs/charger/obo_0.yaml +++ b/templates/docs/charger/obo_0.yaml @@ -18,3 +18,9 @@ render: id: 101 host: 192.0.2.2 # Hostname port: 502 # Port + + # Modbus TCP + modbus: tcpip + id: 101 + host: 192.0.2.2 # Hostname + port: 502 # Port