- Posts: 19
- Thank you received: 0
Activity Macros Help
- Matt22
- Topic Author
- Offline
- User
-
Less
More
2 years 2 weeks ago #2950
by Matt22
Activity Macros Help was created by Matt22
I’m trying to get a DVD player to power on when entering an activity. I’m not sure where in the macro I need to put it and what format.
The command for the DVD power on : AV|13~Power~On!
Also what would trigger the DVD player to turn off? If I hit the power button while
In the activity will it automatically turn that device back off or when I hit the back arrow going back to the
Main activity selector screen? or I need to specify the command somewhere?
Any help would be great.. I’m impressed that some of you are able to pickup
the macro lingo so quickly. I’m completely lost.
I wish Allonis would make a wizard that would generate the macro based on questions. I haven’t
been this frustrated with a device ever.
Macro|
// Source activation macro for Sony Blu-Ray 1!
// 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|Sony Blu-Ray 1!
//!
SetVariable|{{activeroom_{smartremote}}_source~{{activesource_sourcename_smartremote}}!
// Tell the driver what device is active!
AV|{{{{activeroom_{{clientname}}}}_bluray_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!
AV|10~Source~BD/DVD!
//!
// Always Turn the display on if defined!
If|isGT##{{{{activeroom_{{clientname}}}}_display_id}}##0##AV|{{{{activeroom_{{clientname}}}}_display_id}}~AV|13~Power~On!
//!
// Set display to specific source!
If|isGT##{{{{activeroom_{{clientname}}}}_display_id}}##0##AV|{{{{activeroom_{{clientname}}}}_display_id}}~power~on!
//!
// If you are running an app on an AppleTV, FireTV, Shield or similar device it may be necessary to launch it first!
// Uncomment and edit the next command if this is required!
// AV|<DEVICEID>~Launch~BluRay!
//!
// Finally everything is ready. Send the client to the appropriate page!
//!
LoadScene|bluray!
// fini
The command for the DVD power on : AV|13~Power~On!
Also what would trigger the DVD player to turn off? If I hit the power button while
In the activity will it automatically turn that device back off or when I hit the back arrow going back to the
Main activity selector screen? or I need to specify the command somewhere?
Any help would be great.. I’m impressed that some of you are able to pickup
the macro lingo so quickly. I’m completely lost.
I wish Allonis would make a wizard that would generate the macro based on questions. I haven’t
been this frustrated with a device ever.
Macro|
// Source activation macro for Sony Blu-Ray 1!
// 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|Sony Blu-Ray 1!
//!
SetVariable|{{activeroom_{smartremote}}_source~{{activesource_sourcename_smartremote}}!
// Tell the driver what device is active!
AV|{{{{activeroom_{{clientname}}}}_bluray_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!
AV|10~Source~BD/DVD!
//!
// Always Turn the display on if defined!
If|isGT##{{{{activeroom_{{clientname}}}}_display_id}}##0##AV|{{{{activeroom_{{clientname}}}}_display_id}}~AV|13~Power~On!
//!
// Set display to specific source!
If|isGT##{{{{activeroom_{{clientname}}}}_display_id}}##0##AV|{{{{activeroom_{{clientname}}}}_display_id}}~power~on!
//!
// If you are running an app on an AppleTV, FireTV, Shield or similar device it may be necessary to launch it first!
// Uncomment and edit the next command if this is required!
// AV|<DEVICEID>~Launch~BluRay!
//!
// Finally everything is ready. Send the client to the appropriate page!
//!
LoadScene|bluray!
// fini
Please Log in to join the conversation.
- Matt22
- Topic Author
- Offline
- User
-
Less
More
- Posts: 19
- Thank you received: 0
2 years 1 week ago #2982
by Matt22
Replied by Matt22 on topic Activity Macros Help
Has Allonis made any videos on how to setup and structure power up macros?
Is their any documentation that shows examples of devices and the correct format needed?
Is their any documentation that shows examples of devices and the correct format needed?
Please Log in to join the conversation.
- David Li
- Offline
- Admin
-
Less
More
- Posts: 1019
- Thank you received: 99
2 years 1 week ago #2983
by David Li
Replied by David Li on topic Activity Macros Help
Some rough documentation is here
allonis.com/support/documentation?view=category&id=247
This will be a lot easier in the next couple of weeks.
We are building a UI to make this stuff easier.
allonis.com/support/documentation?view=category&id=247
This will be a lot easier in the next couple of weeks.
We are building a UI to make this stuff easier.
The following user(s) said Thank You: graydon@gdsamps.com, Fattykidd, thrakattak
Please Log in to join the conversation.
- Matt22
- Topic Author
- Offline
- User
-
Less
More
- Posts: 19
- Thank you received: 0
1 year 11 months ago #3080
by Matt22
Replied by Matt22 on topic Activity Macros Help
Do you have any update on when the new UI will be available?
Thanks..
Thanks..
Please Log in to join the conversation.
- David Li
- Offline
- Admin
-
Less
More
- Posts: 1019
- Thank you received: 99
1 year 11 months ago - 1 year 11 months ago #3081
by David Li
Replied by David Li on topic Activity Macros Help
No update. It's get ready for football sports bar season. So that has the priority right now as the NFL won't wait. Sports Bar and Man Caves.
Last edit: 1 year 11 months ago by David Li.
Please Log in to join the conversation.
- davep
- Offline
- Admin
-
Less
More
- Posts: 367
- Thank you received: 96
1 year 11 months ago #3099
by davep
Replied by davep on topic Activity Macros Help
I am working on a new UI metaphor for macros but it is not ready yet.
In the meantime edit your Bluray activation macro and find these lines
// Tell the driver what device is active!
AV|{{{{activeroom_{{clientname}}}}_bluray_id}}~SelectDevice!
and insert the power on command before the SelectDevice command like
// Tell the driver what device is active!
AV|{{{{activeroom_{{clientname}}}}_bluray_id}}~Power~On!
AV|{{{{activeroom_{{clientname}}}}_bluray_id}}~SelectDevice!
Similarly, in the room power macro inject the following command to turn off the Bluray
AV|{{{{activeroom_{{clientname}}}}_bluray_id}}~Power~Off!
In the meantime edit your Bluray activation macro and find these lines
// Tell the driver what device is active!
AV|{{{{activeroom_{{clientname}}}}_bluray_id}}~SelectDevice!
and insert the power on command before the SelectDevice command like
// Tell the driver what device is active!
AV|{{{{activeroom_{{clientname}}}}_bluray_id}}~Power~On!
AV|{{{{activeroom_{{clientname}}}}_bluray_id}}~SelectDevice!
Similarly, in the room power macro inject the following command to turn off the Bluray
AV|{{{{activeroom_{{clientname}}}}_bluray_id}}~Power~Off!
Please Log in to join the conversation.
Time to create page: 0.272 seconds