]> git.basschouten.com Git - openhab-addons.git/commitdiff
Update README.md (#15008)
authorDavid Martin <david@itbeyond.com.au>
Sat, 20 May 2023 10:27:16 +0000 (18:27 +0800)
committerGitHub <noreply@github.com>
Sat, 20 May 2023 10:27:16 +0000 (12:27 +0200)
The field name for the speed of the serial interface is baudrate and not baud. At least this is what I had to implement in OH3.4.4.

Signed-off-by: David Martin <david@itbeyond.com.au>
bundles/org.openhab.binding.caddx/README.md

index 0d7d1db1558fcc2bf3cef000bf23351e7f368273..4deda2fb8e55da28d976ebeedaebeab33c7a172f 100644 (file)
@@ -66,7 +66,7 @@ The following table shows the available configuration parameters for each thing.
 |-----------|-----------------------------------------------------------------------------------------------------|
 | bridge    | `serialPort` - Serial port for the bridge - Required                                                |
 |           | `protocol` - Protocol used for the communication (Binary, Ascii) - Required - Default = Binary      |
-|           | `baud` - Baud rate of the bridge - Required - Default = 9600                                        |
+|           | `baudrate` - Baud rate of the bridge - Required - Default = 9600                                        |
 |           | `maxZoneNumber` - Maximum zone number to be added during discovery - Required - Default = 16        |
 | partition | `partitionNumber` - Partition number (1-8) - Required                                               |
 | zone      | `zoneNumber` - Zone number (1-192) - Required                                                       |
@@ -282,7 +282,7 @@ The binding supports the following actions on the respective things.
 The following is an example of a things file (caddx.things):
 
 ```java
-Bridge caddx:bridge:thebridge  "Bridge"                   [ protocol="Binary", serialPort="/dev/ttyUSB0", baud=38400, maxZoneNumber=18 ] {
+Bridge caddx:bridge:thebridge  "Bridge"                   [ protocol="Binary", serialPort="/dev/ttyUSB0", baudrate=38400, maxZoneNumber=18 ] {
     Thing partition partition1 "Groundfloor alarm"        [ partitionNumber=1 ]
     Thing zone      zone1      "Livingroom motion sensor" [ zoneNumber=1 ]
     Thing zone      zone2      "Bedroom motion sensor"    [ zoneNumber=2 ]