1.3 KiB
1.3 KiB
id | label | title | type | description | source | since | install |
---|---|---|---|---|---|---|---|
plcbus | PLCBus | PLCBus - Bindings | binding | Currently only 'One phase mode' of the PLCBus protocol is supported. | https://github.com/openhab/openhab1-addons/blob/master/bundles/binding/org.openhab.binding.plcbus/README.md | 1x | manual |
{% include base.html %}
PLCBus Binding
Currently only "One phase mode" of the PLCBus protocol is supported.
Binding Configuration
This binding can be configured in the file services/plcbus.cfg
.
Property | Default | Required | Description |
---|---|---|---|
port | Yes | the name of the serial port you are using to connect, for example /dev/ttyUSB0 or COM1 |
Item Configuration
The format of the binding configuration is simple and looks like this:
plcbus="<usercode> <unit> [seconds]"
Examples
Here are some examples of valid binding configuration strings, as defined in the items configuration file:
Switch Switch1 "Switch1" <plcbus> { plcbus="D1 A1"}
Dimmer Dimmer1 "Dimmer1" <plcbus> { plcbus="D1 A2 5"}
Rollershutter Rollershutter1 "Rollershutter 1" <plcbus> { plcbus="D1 A3"}