openhab/openhab — pull request #1027 by berndpfrommer (2014-04-30 15:53:37+00:00)
Title: added feature to urtsi binding to address multiple daisy-chained devices

Added ability to address more than one Somfy URTSI device.

Background: when using RS 485, multiple URTSI devices can be daisy chained. The original URTSI binding implementation allowed only one device to be addressed, since the device address was hard coded to device "01". The present pull request fixes this by allowing both the address and channel to be specified in the binding config:

before: urtsi="dev:"
now: urtsi="dev:

:"

Note that if there is only one parameter specified it is interpreted as a channel, i.e. the proposed feature is backwards compatible such that existing item configurations will not need to be changed.