- Posts: 79
- Thank you received: 1
Help with a Macro
- CurlyOscar
- Topic Author
- Offline
- User
-
Less
More
2 years 3 months ago #2350
by CurlyOscar
Replied by CurlyOscar on topic Help with a Macro
Yes I have a Panasonic TV. And I am using my smartremote to select the input of the HDFury which seems to work fine
Please Log in to join the conversation.
- CurlyOscar
- Topic Author
- Offline
- User
-
Less
More
- Posts: 79
- Thank you received: 1
2 years 3 months ago #2351
by CurlyOscar
Replied by CurlyOscar on topic Help with a Macro
The 2nd set of codes were the ones that worked for me and like you said there were just a handfull to copy
Please Log in to join the conversation.
- CurlyOscar
- Topic Author
- Offline
- User
-
Less
More
- Posts: 79
- Thank you received: 1
2 years 3 months ago #2352
by CurlyOscar
Replied by CurlyOscar on topic Help with a Macro
To everyone who reached out thank you - you guys are awesome. I had a bad day today but with your help I will go again and again until I nail it.
Neil
Neil
Please Log in to join the conversation.
- David Li
- Offline
- Admin
-
Less
More
- Posts: 1019
- Thank you received: 99
2 years 3 months ago #2359
by David Li
Replied by David Li on topic Help with a Macro
You'll get it!!!To everyone who reached out thank you - you guys are awesome. I had a bad day today but with your help I will go again and again until I nail it.
Neil
Please Log in to join the conversation.
- CurlyOscar
- Topic Author
- Offline
- User
-
Less
More
- Posts: 79
- Thank you received: 1
2 years 3 months ago #2369
by CurlyOscar
Replied by CurlyOscar on topic Help with a Macro
I hope you don't mind me asking a really basic question about your post from yesterday. It makes a lot of sense and I have stripped everything back and started to build things slowly.
After following through and arriving at:
Thanks again
Neil
After following through and arriving at:
- SetVariable|Bedroom_source~BedRoomSkyQ!
Thanks again
Neil
Please Log in to join the conversation.
- PhoenixF15E
- Away
- User
-
Less
More
- Posts: 91
- Thank you received: 3
2 years 3 months ago - 2 years 3 months ago #2370
by PhoenixF15E
Here's how I would proceed. First I would fix the misspelling in your activation macro line and put in the correct source:
Next I would do as bowlingbeeg suggests and take commands from the macro on the function key that set the input on your TV and VRRoom and move them to your activation macro. Before you do this, I would make sure your TV command works. Since you have a Panasonic TV, I assume you're using IR to control it. If so, the command to change the input will need to change, as I mentioned earlier. It will look something like:
Macro|
// Source activation macro for BedroomSkyQ!
// SetActiveSource creates the following server variables!
// activesource_sourceid_<clientname>, activesource_source_<clientname>, activesource_sourcename_<clientname>!
// activesource_image_<clientname>, activesource_macro_<clientname>, activesource_type_<clientname>!
// activeroom_<clientname>!
//!
SetActiveSource|BedroomSkyQ!
//!
SetVariable|{{activeroom_{{clientname}}}}_source~{{activesource_sourcename_{{clientname}}}}!
// Tell the driver what device is active!
AV|{{{{activeroom_{{clientname}}}}_cabletv_id}}~SelectDevice!
//!
// This next section is for systems that utilize audio and video distribution via AV switchers!
// If your system does not use this technology then you can ignore all of the following section!
// The Audio and/or Video switcher inputs this source is on!
// Uncomment and set if needed!
// SetVariable|{{activeroom_{{clientname}}}}_audio_switcher_input~0!
// SetVariable|{{activeroom_{{clientname}}}}_sonos_switcher_input~0!
// SetVariable|{{activeroom_{{clientname}}}}_video_switcher_input~0!
//!
// Now do the switching if necessary!
//!
// If|isGT##{{{{activeroom_{{clientname}}}}_video_switcher_input}}##0##AV|{{{{activeroom_{{clientname}}}}_video_switcher_id}}~Source~{{{{activeroom_{{clientname}}}}_video_switcher_input}}!
// If|isGT##{{{{activeroom_{{clientname}}}}_audio_switcher_input}}##0##AV|{{{{activeroom_{{clientname}}}}_audio_switcher_id}}~Source~{{{{activeroom_{{clientname}}}}_audio_switcher_input}}!
// If|IsGT##{{{{activeroom_{{clientname}}}}_sonos_switcher_input}}##0##Sonos|{{{{activeroom_{{clientname}}}}_sonos_switcher_id}}~LineIn~{{{{activeroom_{{clientname}}}}_sonos_switcher_input}}!
//!
// Uncomment if you need to make sure the display is always looking at the correct source!
SetVariable|{{activeroom_{{clientname}}}}_display_input~INPUT HDMI2//!
// Always Turn the display on if defined!
If|isGT##{{{{activeroom_{{clientname}}}}_display_id}}##0##AV|{{{{activeroom_{{clientname}}}}_display_id}}~power~on!
//!
// Set display to specific source!
If|isNE##{{{{activeroom_{{clientname}}}}_display_input}}####Control|1~SendIR~Panasonic-Most Models~{{activeroom_{{clientname}}}}_display_input!
Control|1~SendIR~4K Diva~INPUTSEL0!
//!
// Finally everything is ready. Send the client to the appropriate page!
//!
// LoadScene|cabletv!
// fini
Replied by PhoenixF15E on topic Help with a Macro
I assume your referring to my description of how to read a macro with an explanation of the curly brackets. You don't need to do anything. This statement is already a part of your activation macro. I was just pointing out an example from your activation macro to show how to see what the commands actually do. I wouldn't strip away the curly brackets. They allow the code to be used in multiple rooms and remotes.Just wondered if one of you kind souls could cast your eye over my macro and tell me where I'm going wrong. I have tried loading it at the project level, I have tried it on html files but it just doesn't work. When I look at the logs there is nothing being recorded
macro|AV|{{active_tv_{{clientname}}}}~Remote~INPUT HDMI 2!Control|1~SendIR~4K Diva~INPUTSEL0!activate-source.cabletv-bedroomskyq
Thanks
Full Macro below
Macro|
// Source activation macro for BedroomSkyQ!
// SetActiveSource creates the following server variables!
// activesource_sourceid_<clientname>, activesource_source_<clientname>, activesource_sourcename_<clientname>!
// activesource_image_<clientname>, activesource_macro_<clientname>, activesource_type_<clientname>!
// activeroom_<clientname>!
//!
SetActiveSource|BedroomSkyQ!
//!
SetVariable|{{activeroom_{{clientname}}}}_source~{{activesource_sourcename_{{clientname}}}}!
// Tell the driver what device is active!
AV|{{{{activeroom_{{clientname}}}}_cabletv_id}}~SelectDevice!
//!
// This next section is for systems that utilize audio and video distribution via AV switchers!
// If your system does not use this technology then you can ignore all of the following section!
// The Audio and/or Video switcher inputs this source is on!
// Uncomment and set if needed!
// SetVariable|{{activeroom_{{clientname}}}}_audio_switcher_input~0!
// SetVariable|{{activeroom_{{clientname}}}}_sonos_switcher_input~0!
// SetVariable|{{activeroom_{{clientname}}}}_video_switcher_input~0!
//!
// Now do the switching if necessary!
//!
// If|isGT##{{{{activeroom_{{clientname}}}}_video_switcher_input}}##0##AV|{{{{activeroom_{{clientname}}}}_video_switcher_id}}~Source~{{{{activeroom_{{clientname}}}}_video_switcher_input}}!
// If|isGT##{{{{activeroom_{{clientname}}}}_audio_switcher_input}}##0##AV|{{{{activeroom_{{clientname}}}}_audio_switcher_id}}~Source~{{{{activeroom_{{clientname}}}}_audio_switcher_input}}!
// If|IsGT##{{{{activeroom_{{clientname}}}}_sonos_switcher_input}}##0##Sonos|{{{{activeroom_{{clientname}}}}_sonos_switcher_id}}~LineIn~{{{{activeroom_{{clientname}}}}_sonos_switcher_input}}!
//!
// Uncomment if you need to make sure the display is always looking at the correct source!
SetVariable|{{actom_{{clientname}}}}_display_input~HDMI2//!
// Always Turn the display on if defined!
If|isGT##{{{{activeroom_{{clientname}}}}_display_id}}##0##AV|{{{{activeroom_{{clientname}}}}_display_id}}~power~on!
//!
// Set display to specific source!
If|isNE##{{{{activeroom_{{clientname}}}}_display_input}}####AV|{{{{activeroom_{{clientname}}}}_display_id}}~source~{{{{activeroom_{{clientname}}}}_display_input}}!
//!
// Finally everything is ready. Send the client to the appropriate page!
//!
// LoadScene|cabletv!
// fini
Here's how I would proceed. First I would fix the misspelling in your activation macro line and put in the correct source:
- SetVariable|{{actom_{{clientname}}}}_display_input~HDMI2!"
- should be: "SetVariable|{{activeroom_{{clientname}}}}_display_input~INPUT HDMI 2!
- Note the space between "HDMI" and "2"
Next I would do as bowlingbeeg suggests and take commands from the macro on the function key that set the input on your TV and VRRoom and move them to your activation macro. Before you do this, I would make sure your TV command works. Since you have a Panasonic TV, I assume you're using IR to control it. If so, the command to change the input will need to change, as I mentioned earlier. It will look something like:
- Control|1~SendIR~Panasonic-Most Models~INPUT HDMI 2!
- Control|1~SendIR~Panasonic-Most Models~{{activeroom_{{clientname}}}}_display_input!
Macro|
// Source activation macro for BedroomSkyQ!
// SetActiveSource creates the following server variables!
// activesource_sourceid_<clientname>, activesource_source_<clientname>, activesource_sourcename_<clientname>!
// activesource_image_<clientname>, activesource_macro_<clientname>, activesource_type_<clientname>!
// activeroom_<clientname>!
//!
SetActiveSource|BedroomSkyQ!
//!
SetVariable|{{activeroom_{{clientname}}}}_source~{{activesource_sourcename_{{clientname}}}}!
// Tell the driver what device is active!
AV|{{{{activeroom_{{clientname}}}}_cabletv_id}}~SelectDevice!
//!
// This next section is for systems that utilize audio and video distribution via AV switchers!
// If your system does not use this technology then you can ignore all of the following section!
// The Audio and/or Video switcher inputs this source is on!
// Uncomment and set if needed!
// SetVariable|{{activeroom_{{clientname}}}}_audio_switcher_input~0!
// SetVariable|{{activeroom_{{clientname}}}}_sonos_switcher_input~0!
// SetVariable|{{activeroom_{{clientname}}}}_video_switcher_input~0!
//!
// Now do the switching if necessary!
//!
// If|isGT##{{{{activeroom_{{clientname}}}}_video_switcher_input}}##0##AV|{{{{activeroom_{{clientname}}}}_video_switcher_id}}~Source~{{{{activeroom_{{clientname}}}}_video_switcher_input}}!
// If|isGT##{{{{activeroom_{{clientname}}}}_audio_switcher_input}}##0##AV|{{{{activeroom_{{clientname}}}}_audio_switcher_id}}~Source~{{{{activeroom_{{clientname}}}}_audio_switcher_input}}!
// If|IsGT##{{{{activeroom_{{clientname}}}}_sonos_switcher_input}}##0##Sonos|{{{{activeroom_{{clientname}}}}_sonos_switcher_id}}~LineIn~{{{{activeroom_{{clientname}}}}_sonos_switcher_input}}!
//!
// Uncomment if you need to make sure the display is always looking at the correct source!
SetVariable|{{activeroom_{{clientname}}}}_display_input~INPUT HDMI2//!
// Always Turn the display on if defined!
If|isGT##{{{{activeroom_{{clientname}}}}_display_id}}##0##AV|{{{{activeroom_{{clientname}}}}_display_id}}~power~on!
//!
// Set display to specific source!
If|isNE##{{{{activeroom_{{clientname}}}}_display_input}}####Control|1~SendIR~Panasonic-Most Models~{{activeroom_{{clientname}}}}_display_input!
Control|1~SendIR~4K Diva~INPUTSEL0!
//!
// Finally everything is ready. Send the client to the appropriate page!
//!
// LoadScene|cabletv!
// fini
Last edit: 2 years 3 months ago by PhoenixF15E.
The following user(s) said Thank You: CurlyOscar
Please Log in to join the conversation.
Time to create page: 0.197 seconds