From c6a89bebddc5f5b21de6f476d749a3012bcde386 Mon Sep 17 00:00:00 2001 From: Markus Storm Date: Fri, 15 Oct 2021 18:00:40 +0200 Subject: [PATCH] [sunspec modbus] fix thing example (#11380) The Thing definition in () in l193 references the *name* that was assigned in l192, correct? So they should match. Or do I misunderstand the mapping here ? Signed-off-by: Markus Storm --- bundles/org.openhab.binding.modbus.sunspec/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bundles/org.openhab.binding.modbus.sunspec/README.md b/bundles/org.openhab.binding.modbus.sunspec/README.md index 18f44668f..df9c9e5d0 100644 --- a/bundles/org.openhab.binding.modbus.sunspec/README.md +++ b/bundles/org.openhab.binding.modbus.sunspec/README.md @@ -35,7 +35,7 @@ You can set the `enableDiscovery=true` parameter in your bridge. A typical bridge configuration would look like this: ``` -Bridge modbus:tcp:bridge [ host="10.0.0.2", port=502, id=1, enableDiscovery=true ] +Bridge modbus:tcp:modbusBridgeName [ host="10.0.0.2", port=502, id=1, enableDiscovery=true ] ``` ## Thing Configuration @@ -189,8 +189,8 @@ Supported by: all inverter things ### Thing Configuration ``` -Bridge modbus:tcp:bridge [ host="hostname|ip", port=502, id=1, enableDiscovery=true ] -Thing modbus:inverter-single-phase:bridge:se4000h "SE4000h" (modbus:tcp:modbusbridge) [ address=40069, length=52, refresh=15 ] +Bridge modbus:tcp:modbusBridgeName [ host="hostname|ip", port=502, id=1, enableDiscovery=true ] +Thing modbus:inverter-single-phase:bridge:myInverter "SE4000h" (modbus:tcp:modbusBridgeName) [ address=40069, length=52, refresh=15 ] ``` Note: Make sure that refresh, port and id values are numerical, without quotes.