Pass a variable to control page that defines device

Posted on
Fri Oct 07, 2011 5:36 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Pass a variable to control page that defines device

I am working on control pages that control audio zones in my house. A sample of a work in progress is below.

Screen Shot 2011-10-07 at 7.24.47 PM.png


My issue is that I do not want to have to create many of these - Ideally I could pass a variable from a master page that would allow me to determine what zone to operate on. Not sure if this is making sense, but if so, are there any ways to accomplish this or will I be stuck creating one page per zone?

Thanks.

Posted on
Sat Oct 08, 2011 9:25 am
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Pass a variable to control page that defines device

You'll need to create individual pages. But having some type of templating mechanism is a good idea, so we'll add it to our feature consideration list.

Image

Posted on
Sat Oct 08, 2011 11:02 am
jay (support) offline
Site Admin
User avatar
Posts: 18220
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Pass a variable to control page that defines device

Couldn't you add a zone selector control(s) which would store the zone in a variable, then have your actions use the zone that's in the variable? It would require scripting but it should work.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Sat Oct 08, 2011 12:16 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Pass a variable to control page that defines device

I could use variables and have done that before. The only issue I ran in to was that it limits usage to one user. If a second iPod/iPad was running the control page, they would conflict. For now, I'll create one control page per zone.

Thanks for the input.

Posted on
Mon Oct 10, 2011 11:20 am
dmeeker@mac.com offline
Posts: 85
Joined: Aug 26, 2011

Re: Pass a variable to control page that defines device

nlagaros -

Curious to know what you have hardware-wise. Are you using IR to control these devices? If so, which IR controller?
Or are you using Serial?

dave

Posted on
Mon Oct 10, 2011 3:40 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Pass a variable to control page that defines device

It is serial access to a Russound system so no IR (thank goodness).

Posted on
Mon Oct 10, 2011 9:54 pm
hamw offline
Posts: 1212
Joined: Mar 31, 2008

Re: Pass a variable to control page that defines device

I set up my WHA control pages with combined zones (sort of like audio scenes) on one page with a few specific zones as well, with the most common sources right there. For instance, KitchenStudy operates the Family Room, Kitchen and Study with a single volume control and source selection. Whole House does all the indoor zones. The name button for each of these scenes, when pressed, sets the relative volumes of the zones so that they are all corrected to a measured dB level. While they are independent zones they are controlled as a scene.

The tone controls, radio controls and Pandora/iTunes are all on separate pages. Makes for a little back and forth but generally works well as one is not usually fiddling with the tone controls much once set. Since the volume controls and source selections are variable based, all devices are always in sync.

Here are some screen shots of my WHA page design. Plenty of room for improvement but works pretty easily.
Attachments
WHA basic controls.tiff
WHA basic controls.tiff (174.6 KiB) Viewed 1653 times
Tone Controls.tiff
Tone Controls.tiff (151.5 KiB) Viewed 1653 times
Radio.tiff
Radio.tiff (50.13 KiB) Viewed 1653 times
iTunes Pandora.tiff
iTunes Pandora.tiff (125.79 KiB) Viewed 1653 times

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 20 guests

cron