Global Cache IR and Mapping buttons

More
2 years 3 months ago #2385 by Matt22
Global Cache IR and Mapping buttons was created by Matt22
I'm trying to map cabletv.html buttons to a Global Cache IR box. I've tested connectivity in the dashboard and it's sending
commands thru to the Global Cache and the room etc is all setup.

I'm not sure how I properly map the buttons in mydesigner. For instance for button 1
in cabletv.html it shows:

server command:
SetVariable|av_{{active_cabletv_{{clientname}}}}_buffer~{{av_{{active_cabletv_{{clientname}}}}_buffer}}1

In the dashboard I can successfully send this command:
Control|2~SendIR~Xfinity-MX011ANM Cable Box~DIGIT 1

I'm not sure how to integrate "Control|2~SendIR~Xfinity-MX011ANM Cable Box~DIGIT 1" into the server command field.

 

Please Log in to join the conversation.

More
2 years 3 months ago #2386 by Nillaz
Replied by Nillaz on topic Global Cache IR and Mapping buttons
You can replace the existing SetVariable command with your Control command. Click Save to save the command and close the Button Properties window, then click save on the CableTV scene window.

On the remote itself you then need to reload the CableTV page for the changes to take effect. At that point when you press the number 1 button it should tell the server to issue your IR command to the cable box.

Please Log in to join the conversation.

More
2 years 3 months ago #2393 by Matt22
Replied by Matt22 on topic Global Cache IR and Mapping buttons
Thanks.. The saving steps were the issue.. The only other problem is when I remove:

SetVariable|av_{{active_cabletv_{{clientname}}}}_buffer~{{av_{{active_cabletv_{{clientname}}}}_buffer}}1

And replace with:
Control|2~SendIR~Xfinity-MX011ANM Cable Box~DIGIT 1

It no longer displays what key is pressed in the display box above the keypad. Any Ideas? 

Please Log in to join the conversation.

More
2 years 3 months ago #2396 by Nillaz
Replied by Nillaz on topic Global Cache IR and Mapping buttons
I'm not at home to take a look at how this works under the hood. Maybe they have some sort of buffer built in to punch in multiple numbers and send them all at once? If so I'm not sure exactly how to handle that.

Please Log in to join the conversation.

More
2 years 3 months ago #2397 by davep
Replied by davep on topic Global Cache IR and Mapping buttons
You're trying to use the cabletv html page using the genericir driver. It is meant to be used with the cabletv driver.

You could edit all the buttons and labels on the cabletv html page and change them from AV commands to Control commands but there is an easier solution.

In the GenericIR driver edit the control #2 device and give it a unique name - e.g. cable2

Install the CableTV driver.
Create a new cable box using the command builder.

The basic command would look like
CableTV|AddCableBox~Name~IRDeviceID~IRDevice~Room~Lineup

In your case your command would look like. (Assuming a living room. Use your real room name)

CableTV|AddCableBox~Living Room Cable~Cable2~MX011ANM Cable Box~Living Room~

You can leave the last lineup parameter blank unless you want to use a XMLTVListings channel guide.

This will create a new cable box with the name Living Room Cable. It will send its commands through the GenericIR device named Cable2 using the MX011ANM Cable Box IR codes.

It will also automatically create the source activation macro and it will show up as a CableTV source when you select the Living Room.

From that point on all the default cabletv.html pages should just work.

Change Living Room to your actual room name and use whatever device naming convention you'd like. Remember to keep device names unique within families.

The numeric keypad on the cabletv pages will buffer the numbers as you press them and then send the final group of numbers to the CableTV driver as a tune command. AV|<nn>~Tune~123 to tune to channel 123.

The CableTV, BlurayIr, AvrIr and TvIr drivers all work in the same fashion. They are used to make GenericIR devices mimic real AV devices using standard AV commands.
 

Please Log in to join the conversation.

More
2 years 3 months ago #2398 by Matt22
Replied by Matt22 on topic Global Cache IR and Mapping buttons
Thanks for your Detailed reply Dave..

1. GenericIR driver edit the control #2 device
Named: Xfinity IR

2. Added CableTV Driver
CableTV|AddCableBox~Theater Cable~Xfinity IR~Xfinity-MX011ANM Cable Box~Theater

When I select "Theater Cable" on the remote and press a key it's not automatically passing that over to the Global Cache.

Tested the Generic IR Driver. It will pass it using:
Control|2~SendIR~Xfinity-MX011ANM Cable Box~CHANNEL DOWN

I'm not sure why cabletv.html isn't mapping automatically.

Please Log in to join the conversation.

Time to create page: 0.187 seconds