Can someone advise what are the correct port settings for the serial ports in Openhab v5 on Raspberry Pi. I have tried tcp://ipaddress:4999 or 5000, and socket://ipaddress:4999 or 5000, as suggested in some search results, but these do not appear to work.
I’m a little confused… Are you using the GlobalCache binding? Because it knows what port numbers to open to talk to the serial ports (4999 for serial port 1 and 5000 for port 2, as you already stated). All you do is configure the parameters of the serial ports using the GC-100-12, and then send your serial commands to the appropriate thing channel.
I have the GlobalCache setup with correct parameters, and the GlobalCache binding setup. I am connecting a Sony projector to serial 1 and in that binding it requires the configuration for the serial port to use, and that is where I have tried the tcp://ipaddress:4999 where ipaddress is the ip of the GlobalCache.