Help with a Macro

More
2 years 3 months ago - 2 years 3 months ago #2341 by PhoenixF15E
Replied by PhoenixF15E on topic Help with a Macro

Thanks for the reply. I'm finding it really hard to get my head round macros, variables and how things fit together. I've started small with 5 devices and 4 months after taking delivery I still haven't got it working how I want.
Can I just ask you where in the activate macro would you put the 2 commands?
The device that you noticed uses Remote rather than source is a HDFury VRRoom. I had to set it up using the IR database and then GenericIR. After that there is no specific HDFury driver so I followed the documentation at the bottom of the page

allonis.com/support/documentation?view=category&id=408

Is there a better way to do that?

You were spot on about the Load Scene. I turned it off as it was getting in the way

Thanks again for your help

Neil

 
From what I can tell the Diva, Vertex2, and VRRoom use the same IR codes, and HD Fury sells a remote that controls all three.  There are codes in the database for the Diva, Maestro, and Vertex 2.  I would try the Diva and Vertex 2 codes and see if they work.  Note that the order in the IR database is a little weird, and HD Fury is the fourth H entry in the list.  

Are you using the Smartremote to send the IR command?  I built a command for the Diva to select an input to be sent from my Smartremote.  Here is what the command looks like:  Control|6~SendIR~HD Fury-4K Diva~INPUTSEL1.  The "6" is the number for the IR device on one of my Smartremotes; yours will be different.  I don't have an HDFury device, so you will have to see what works for you.  

EDIT:  It looks like you changed the friendly name to just 4K Diva, so it should be good.  Does it switch inputs?

Kyle
Last edit: 2 years 3 months ago by PhoenixF15E.

Please Log in to join the conversation.

More
2 years 3 months ago #2342 by PhoenixF15E
Replied by PhoenixF15E on topic Help with a Macro
Do you have a Panasonic TV?  I thought you mentioned that in another post.  If so, are you using IR to control it?  I don't have a Panasonic TV, but it looks like the command would look like Control|6~SendIR~Panasonic-Most Models~INPUT HDMI 2.  As before, "6" is the ID for one of my Smartremotes, so yours will be different.

Kyle

Please Log in to join the conversation.

More
2 years 3 months ago - 2 years 3 months ago #2343 by PhoenixF15E
Replied by PhoenixF15E on topic Help with a Macro
You mentioned having some difficulty with variables and the macros.  Hopefully this will help.

When looking at a command the curly brackets can be confusing at first.  What the brackets signify is that they are replaced with the value of the variable inside.  Looking at your activation macro, we can see how this works:  
  • SetVariable|{{activeroom_{{clientname}}}}_source~{{activesource_sourcename_{{clientname}}}}
The innermost brackets are "{{clientname}}"  This is the name of your SmartRemote that generated the activation command.  I'm not sure what yours is, but in my case, my Smartremote is names "sr1."  So after substitution the command now looks like:
  • SetVariable|{{activeroom_sr1}}_source~{{activesource_sourcename_sr1}}!
We now have to do the substitution for what's left.  I assume the name of your room is Bedroom, so the substitution with your source will now look like:
  • SetVariable|Bedroom_source~BedRoomSkyQ!
And this is the command that will be executed.  Once you do the substitutions, you can look at the values for the variables under Server Variables in the Management tab of the dashboard.

Kyle
Last edit: 2 years 3 months ago by PhoenixF15E.

Please Log in to join the conversation.

More
2 years 3 months ago #2345 by David Li
Replied by David Li on topic Help with a Macro

Thanks for the reply. I'm finding it really hard to get my head round macros, variables and how things fit together. I've started small with 5 devices and 4 months after taking delivery I still haven't got it working how I want.
Can I just ask you where in the activate macro would you put the 2 commands?
The device that you noticed uses Remote rather than source is a HDFury VRRoom. I had to set it up using the IR database and then GenericIR. After that there is no specific HDFury driver so I followed the documentation at the bottom of the page

allonis.com/support/documentation?view=category&id=408

Is there a better way to do that?

You were spot on about the Load Scene. I turned it off as it was getting in the way

Thanks again for your help

Neil
We offer Programming Services where Allonis can be commissioned to configure your custom system.  Feel free to call for a quote.
248 918 0123
What you are learning is what a professional Integrator can take years to learn.  Just depends on your technical background and interest.
Your whole system can very likely be programmed by Allonis (experienced) in a few hours.

Thanx
David

Please Log in to join the conversation.

More
2 years 3 months ago #2347 by bitzerjd
Replied by bitzerjd on topic Help with a Macro
The Vertex2 IR codes in the GlobalCache DB will not work with the Vrroom. You need to modify the ones you want to use with the codes provided on the HDfury site (they include them in the Firmware update packages).

Most likely you only need a few of them, Change input for example. Cutting and pasting the codes are pretty simple.

Please Log in to join the conversation.

More
2 years 3 months ago #2348 by CurlyOscar
Replied by CurlyOscar on topic Help with a Macro
Sorry for the confusion. Your assumption was correct - 1 was to set the input on my TV

Please Log in to join the conversation.

Time to create page: 0.173 seconds