gc100

Following this thread in the google group

https://groups.google.com/forum/#!topic/openhab/yCd7eTb6jjg

I am trying to use the binding built by @Nicholas_Waterton that is posted in that thread

my configs:

gc100ir:mediaroom.host=192.168.60.225

String TV_POWER_MODE_ON { gc100ir="[#mediaroom|2|1|0000,0071,0000,0032,0080,003f,0010,0010,0010,0030,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0030,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0030,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0010,0030,0010,0030,0010,0030,0010,0030,0010,0030,0010,0030,0010,0010,0010,0010,0010,0030,0010,0030,0010,0030,0010,0030,0010,0030,0010,0030,0010,0010,0010,0030,0010,0a98]" }

Switch item=TV_POWER_MODE_ON label=“Power ON” mappings=[POWERON=“POWER ON”]

It doesn’t work when I hit the button, here is some of the relevant log output

2015-11-16 02:04:29.100 [ERROR] [o.o.b.g.i.GC100IRActiveBinding] - Connection failed with #mediaroom
2015-11-16 02:04:29.115 [INFO ] [.o.b.g.lib.GC100IRControlPoint] - Connected Successfully to /192.168.60.225:4998
2015-11-16 02:04:29.116 [INFO ] [.service.AbstractActiveService] - GC100IR Refresh Service has been started

2015-11-16 02:06:45.201 [INFO ] [runtime.busevents ] - TV_POWER_MODE_ON received command POWERON
2015-11-16 02:06:45.302 [WARN ] [.b.g.internal.GC100IRConnector] - Failed to execute command over GC100: 192.168.60.225 with Module: 2 of Connector: 1 to Item: TV_POWER_MODE_ON

2015-11-16 02:09:51.456 [INFO ] [runtime.busevents ] - TV_POWER_MODE_ON received command POWERON
2015-11-16 02:09:51.456 [WARN ] [o.o.b.g.i.GC100IRActiveBinding] - Received command (POWERON) for item TV_POWER_MODE_ON but the connection to the GC100 instance mediaroom is down, ignoring

Did you ever get this working?

As I mentioned it works for me, but I have an iTach Flex, not a GC100.

It does sometimes error out (with I/O errors), but for the most part works.

figured it out, I needed to convert the hex codes to globalcache format. Using the iConvert tool I actually had to remove some leading 1’s

working item:

String TV_POWER_MODE_ON { gc100ir=“[#mediaroom|2|1|37000,1,1,128,63,16,16,16,48,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,48,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,48,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,48,16,48,16,48,16,48,16,48,16,48,16,16,16,16,16,48,16,48,16,48,16,48,16,48,16,48,16,16,16,48,16,2712]” }

iConvert gave me the following:

sendir,1:1,1,37000,1,1,128,63,16,16,16,48,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,48,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,48,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,48,16,48,16,48,16,48,16,48,16,48,16,16,16,16,16,48,16,48,16,48,16,48,16,48,16,48,16,16,16,48,16,2712

log output:

2015-11-17 18:54:06.821 [INFO ] [.b.g.internal.GC100IRConnector] - Successfully executed command over GC100: 192.168.60.225 with Module: 2 of Connector: 1 to Item: TV_POWER_MODE_ON

However, I am going to stop using. It takes about a second for each command sent to the gc100 to complete. This is rather annoying when trying to turn the volume up one click at a time.

I just got a harmony hub. That is working better. I’d go back to the gc100 if there was any way to improve this lag.