I have 2 devices that I am trying to make work with OH. I have a Global Cache iTachFlex that is set to operate in Serial mode. It is connected to a Lutron GrafikEye RS232 bridge.
This works fairly well with Simple Control today, but I am trying to migrate all my home automation over to OH. This is the last straw that is keeping me on Simple Control since my lighting is Grafik Eye driven and all I have is a RS232 bridge (no IP bridge).
Reading through the code, it doesn’t appear that I can do this with scripts, since the RS232 code in the Lutron binding seems to want to open up a serial port.
I was planning to add some code to both the Global Cache and Lutron modules to expose the connected serial port, but I was wondering if there are easier or cleaner ways to achieve the same outcome. Thank you.
Thanks Mark. This is currently setup as GrafikEye -> GrafikEye RS232 -> iTachFlex -> SimpleControl and you are right that I could just get a USB <> serial adaptor on the OH machine and connect it directly to the GrafikEye RS232 box. The OH machine and GrafikEye aren’t in the same room, but even if I move the OH closer to the GrafikEye, it would involve pulling some new wires and drywall patching.
My first preference would be to just get rid of Simple Control and leave the remaining infrastructure in place as is. I was hoping that one could expose the iTach serial port through org.eclipse.smarthome.io.transport.serial.internal.SerialPortRegistry, etc.
Yeah, I haven’t been following that PR. I guess the idea is that a binding (globalcache in this case) could expose a serial port through the SerialPortProvider. That serial port then could be configured in the Lutron binding?