This page is part of archived documentation for openHAB 2.5. Go to the current stable version
# PLCBus Binding v1
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"}
Caught a mistake or want to contribute to the documentation? Edit this page on GitHub (opens new window)