Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
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 or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
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
Please Log in or Create an account to join the conversation.