The drop down is super easy to setup the only issue is the font can't be adjusted so it's a little small.
That setup was done with a overlay loading on volume change or mute with a transparent button the entire size of the screen, So touching the screen would cause it to load into a scene that used visible on load with the volume overlay
Mute Macro
Code:
Macro|
// The macro is responsible for controlling volume muting in a room!
AV|{{livingroom_avamp_id}}~Mute~<p1>!
// gui settings!
Math|Add~ui_{{livingroom_smartremote_id}}_controltime~{{current_uptimesecs}}~0!
if|IsEQ##{{ui_{{livingroom_smartremote_id}}_controlon}}##false##SetVariable|ui_{{livingroom_smartremote_id}}_activescene~{{activescene_smartremote}}!
if|IsEQ##{{av_{{livingroom_avamp_id}}_mute}}##1##SetVariable|ui_{{livingroom_smartremote_id}}_controlon~in-use!
if|IsEQ##{{av_{{livingroom_avamp_id}}_mute}}##1##WebCmd|{{clientname}}~Show|control-overlay!
if|IsEQ##{{av_{{livingroom_avamp_id}}_mute}}##0##WebCmd|{{clientname}}~refreshpage!
if|IsEQ##{{av_{{livingroom_avamp_id}}_mute}}##0##SetVariable|ui_{{livingroom_smartremote_id}}_controlon~true!
Volume
Code:
Macro|
if|IsEQ##{{av_{{livingroom_avamp_id}}_mute}}##1##SetVariable|ui_{{livingroom_smartremote_id}}_controlon~false!
// The macro is responsible for controlling volume in a room!
AV|{{livingroom_avamp_id}}~Volume~<p1>~3!
// Commands for volume gui!
Math|Add~ui_{{livingroom_smartremote_id}}_controltime~{{current_uptimesecs}}~3!
if|IsEQ##{{ui_{{livingroom_smartremote_id}}_controlon}}##false##SetVariable|ui_{{livingroom_smartremote_id}}_activescene~{{activescene_smartremote}}!
if|IsEQ##{{ui_{{livingroom_smartremote_id}}_controlon}}##false##WebCmd|{{clientname}}~Show|control-overlay!
if|IsNE##{{ui_{{livingroom_smartremote_id}}_controlon}}##in-use##SetVariable|ui_{{livingroom_smartremote_id}}_controlon~true!
Exiting the scene with
Code:
Macro|LoadScene|{{ui_{{livingroom_smartremote_id}}_activescene}}!
That was saved with volume or mute returning to whatever scene you started at.
I keep changing the gui finding new ways to do stuff right now the gui in the second video is what I think I'm going to stick with.
If you see something and want to know how don't hesitate to ask
Thanks