Skip to content

[MainUI] Offer assistance for parameters wtih context serial-port #3432

@dilyanpalauzov

Description

@dilyanpalauzov

Some config parameters for things have <context>serial-port</context>. The Serial Bridge of the Alarm Decoder binding under “Serial Or USB Port“ has such context.

  • Main UI should offer assistance, e.g. in form of auto-completion, drop down, of all possible values of serial ports. This will make it for the user easier to select the right endpoint. In addition, if a device is not reported here, this is an indication that the problem is in OH-core (-Dgnu.io.rxtx.SerialPorts=/dev/abc is not passed; bad permissions for /dev/xyz), and not in the binding.

The list of available devices is reported by org.openhab.core.io.transport.serial.SerialPortManager.getIdentifiers().

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions