Correct port settings for GlobalCache GC-100-12

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.

Thanks

Tim

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.

Sorry for the late reply.

I’m so confused. This is what I have for my GC-100-06 thing.

version: 1
things:
  globalcache:gc100_06:mediaRoomGc100:
    label: GlobalCache MediaRoom GC-100-06
    config:
      ipAddress: 192.168.40.81
      mapFilename: globalcache-codes.map
      enableTwoWay1: false
      eomDelimiter1: '%0A'
      macAddress: 000C1E00F0E9
    channels:
      sl-m1#c1:
        type: channel-type-sl
        label: Connector 1 (mapped)
        description: Mapped commands to serial port
      sl-m1#c1-direct:
        type: channel-type-sl-direct
        label: Connector 1 (direct)
        description: Direct commands to serial port
      sl-m1#c1-receive:
        type: channel-type-sl-receive
        label: Connector 1 (receive)
        description: Data received on serial port
      ir-m2#c1:
        type: channel-type-ir
        label: Connector 1
        description: Infrared emitter on connector 1. Connector 1 is the connector closest to the power plug.
      ir-m2#c2:
        type: channel-type-ir
        label: Connector 2
        description: Infrared emitter on connector 2.
      ir-m2#c3:
        type: channel-type-ir
        label: Connector 3
        description: Infrared emitter/blaster on connector 3.

And then I just have an item mapped to the serial 1 channel (sl-m1#c1) and I use the map file to convert the command I send to the serial codes. You also could use the “direct” channel if you want to send the codes in the command.