Tekweenie Posted July 8, 2023 Posted July 8, 2023 I'm trying to create a modified experience button that tracks whether a device is still selected in multiple rooms. For example, the system tracks whether a source is in use in multiple rooms and issues the OFF command when the last room turns off. I'd like to get access to that and provide feedback as to whether the device is IN USE or not. Client has multiple Squeezebox players and I've given him a two icon solution. I'm using a DVD IR drive with discreet on/off codes and an experience button with custom graphics. The DVD driver selects each Squeezebox and sets a variable with the on/off state. The experience button state change is set via the variable. I'd love to combine these into a single button. It would be especially nice if selecting the source didn't flip to a DVD control page that has no relation to the Squeezebox. Ideally it would be a modified UI button that selects the Squeezebox, does no page flip, and changes the icon to indicate IN USE or not. Any ideas? If I use a standard UI button, the system doesn't track the in use state and I'm forced to use an enormous conditional that tests whether the device is in use every time a room selects an audio source (see attached image). I'm also attaching a couple of drivers I've attempted to create. I can find my way around an XML file, but without any formal LUA training I'm not sure if there are better ways to approach this. Quote
Tekweenie Posted July 8, 2023 Author Posted July 8, 2023 Oh, the drivers, duh. cd_Logitech_Squeezebox.c4z experience-button-squeezebox.c4z Quote
RAV Posted July 8, 2023 Posted July 8, 2023 https://drivercentral.io/platforms/control4-drivers/audio-video/source-pooling/ Quote
Tekweenie Posted July 8, 2023 Author Posted July 8, 2023 I appreciate that and would recommend to my client, but he actually wants is to know which devices are in use. I know it seems dumb, but it's what he wants. Clients, waddaya gonna do? Quote
pbir Posted July 8, 2023 Posted July 8, 2023 Pressing the Sessions button on most interfaces will tell you what is being used and where. Using the Source Pooling driver takes care of selecting 'the next available device'. Quote
Tekweenie Posted July 8, 2023 Author Posted July 8, 2023 Again, I appreciate that. I've spoken with the client about several ways to see what is playing where, but with 14 rooms in the main house and 5 rooms in the ADU, he'd rather have a visual representation of things he can favorite to the main screen. I've managed to accomplish that using the two icon configuration, but I was hoping to find a more elegant solution if one is even possible. I don't know if it's possible to dynamically change the source icon to show in use or not, but that's what I'm trying to accomplish. Thanks :-). Quote
Tekweenie Posted July 8, 2023 Author Posted July 8, 2023 1 hour ago, RAV said: Hey Rav, it looks like whatever you posted didn't show up. It looks like you were suggesting a sourcechecker macro. That makes some sense, could you repost or reply directly? Thanks! Quote
Tekweenie Posted July 8, 2023 Author Posted July 8, 2023 OK, I'm an idiot. The UI Video Experience button will do what I want by modifying the graphics for On and Off. I've attached the driver here in case anyone is interested. Thanks all. uibutton_squeeze.c4z Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.