Global Cache Flex

I’m setting up HA for the first time. I’ve got the bulk of my Integrations & devices working correctly. One I cannot get to work is my Global Cache Flex w/Relay&Sensor cable.

I see 2 GC Integrations, GC100 and iTach/IR. Neither of these are for Flex. I do know that on other systems both the GC and the iTach drivers can typically be used with Flex. I think the GC protocols are pretty compatible accross the whole lineup.

Both of these Integrations are set up in configuration.yaml which I took my first stab at editing this file.

Following the guide for the GC100 (the GC100 has the relay capability), the Integration does not show up in the gui and HA loads with an error:
socket.gaierror: [Errno -2] Name does not resolve

This is my config.yaml lines:
.# GC Flex [replacing: # Example configuration.yaml entry]
gc100:
host: 198.168.0.201:4998

Adding these lines for the device, and also trying the values ‘1:1’ & ‘1:2’.
switch:

  • platform: gc100
    ports:
    • ‘4:1’: Siren
    • ‘4:2’: Sprinkler

Resultant additional error:
Unable to prepare setup for platform ‘gc100.switch’: Unable to set up component.

Do my strings look correct?

Is this the correct way to control this device?

If not this way, how?

Is there a source for drivers not available here?

Thanks!

https://community.home-assistant.io/t/how-to-help-us-help-you-or-how-to-ask-a-good-question/114371#oneone-format-it-properly-16

Don’t add the port to the ip address there is a separate option to define it

https://www.home-assistant.io/integrations/gc100/#port
image

So like this:

gc100:
  host: 198.168.0.201
  port: 4998

You don’t actually need to add it at all. 4998 is the default (see document screenshot above).

Thank you very much. This worked and I can now control the 4 relays of the Flex.

This is the code that works for me:

# GC Flex Relay
gc100:
  host: 172.25.25.185
  port: 4998
# GC Flex Relay Switch
switch:
  - platform: gc100
    ports:
      - '1:1': CC1
      - '1:2': CC2
      - '1:3': CC3
      - '1:4': CC4
1 Like

Thank you for this. Lots of great info and answers here.

I added the 4 Sensors from the GC Flex Relay/Sensor Cable.

This is the code block that is working for me, both the relays and the sensors. I did not attempt DPDT or SPDT, only SPST. I suspect the correct settings could be discovered, likely a subset of the 4 CC commands.

# GC Flex Relay
gc100:
  host: 172.25.25.185
  port: 4998
# GC Flex Relay Switch
switch:
  - platform: gc100
    ports:
      - '1:1': CC1
      - '1:2': CC2
      - '1:3': CC3
      - '1:4': CC4
# GC Flex Relay Sensor
binary_sensor:
  - platform: gc100
    ports:
      - '2:1': Sensor 1
      - '2:2': Sensor 2
      - '2:3': Sensor 3
      - '2:4': Sensor 4