For one room, I would like to control both music playback and movie playback. My idea was the following:
- radio button that selects what is playing (music: switches on SB, amplifier and set input / movie: lowers projection screen, switches on pc, amplifier and set input)
The radio button also sets variables in Loxone Config to store which mode is active (currently, 1 boolean variable per mode).
Then, I would add a virtual input with a button (e.g. left/right) which has a functionality that changes based on the variable: either send things to the SB, or send things to the pc.
In the interface, the radio button will show what is currently the mode. Is there a short way to achieve this?
I'm currently thinking that I need quite a big construction, connecting the virtual input and the variables to an AND port just to make it give the correct output. It seems quite lengthy, for one button I would have as much AND ports as I have modes. So it made me wonder if there is a better way...(perhaps using something else than 1 variable per mode)?
Jörg
Kommentar