Skip to content

Commit

Permalink
[sunspec modbus] fix thing example (#11380)
Browse files Browse the repository at this point in the history
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 <markus.storm@gmx.net>
  • Loading branch information
mstormi authored Oct 15, 2021
1 parent 23b4a62 commit c6a89be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bundles/org.openhab.binding.modbus.sunspec/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit c6a89be

Please sign in to comment.