Serial Binding and RFC2217

  • Platform information:
    • Hardware: Docker Image
    • OS: Debian Buster
    • Java Runtime Environment: From docker image Zulu JDK 8
    • openHAB version: 2.5.9 Release Build

Is RFC2217 supposed to work with the Serial Binding?

For example:

Rollershutter SerialRollo "Entrance Rollo" (Entrance) { serial="rfc2217://myhost:3333,REGEX(Position:([0-9.]*)),UP(Rollo_UP\n),DOWN(Rollo_Down\n),STOP(Rollo_Stop\n)" }

What about defining the ports:

Colon is separator too, so this is likely not parsing correctly.

If not supported, are there any other ways to achieve the same?

OH serial libraries have been used with RFC2217 with other bindings, example

I suspect the generic serial binding may be a problem, being version 1.x still. No idea about OH3 replacement availability.

You could try just escaping the colons, but I guess it won’t help.