Page 1 of 1

Set up a trigger

PostPosted: Sat Dec 26, 2020 5:19 am
by yassi
I'm trying to set up two triggers wich should modify a variable ("imBuero") treue/false when the Indigo server is playing.
Airfoil & Airfoil Satellite are installed on the Indigo server and actually everything is working, but the the triggers aren't updating the variable.
Can someone point me in the right direction?
What do I have to select in the "device state"? Indigo (Indigo Speaker) or Indigo Airfoil?

Re: Set up a trigger

PostPosted: Sat Dec 26, 2020 2:33 pm
by matt (support)
What does the Event Log show when the state changes? And how is your Action defined (your screen shots just show the Triggers)?

Re: Set up a trigger

PostPosted: Mon Dec 28, 2020 9:56 am
by yassi
Wait a minute, Matt.
I though, a trigger should be enough. Don't have an action.
I'm actually connecting to Indigo via Airfoil from other Macs and then Airfoil Satellite activates the "speaker" Indigo.
Isn't this enough to fire the trigger and update the variable?

Re: Set up a trigger

PostPosted: Mon Dec 28, 2020 10:21 am
by jay (support)
yassi wrote:
Wait a minute, Matt.
I though, a trigger should be enough. Don't have an action.
I'm actually connecting to Indigo via Airfoil from other Macs and then Airfoil Satellite activates the "speaker" Indigo.
Isn't this enough to fire the trigger and update the variable?


So, on the Actions tab of your Trigger, there's nothing? That's where you'd update the variable right?

Re: Set up a trigger

PostPosted: Mon Dec 28, 2020 10:41 am
by yassi
jay (support) wrote:
yassi wrote:
Wait a minute, Matt.
I though, a trigger should be enough. Don't have an action.
I'm actually connecting to Indigo via Airfoil from other Macs and then Airfoil Satellite activates the "speaker" Indigo.
Isn't this enough to fire the trigger and update the variable?


So, on the Actions tab of your Trigger, there's nothing? That's where you'd update the variable right?


Oh, the action in the trigger setup. I though Matt was speaking about Action (Groups).
For sure. In both cases they are populated.

Nevertheless, only if I fire the trigger manually something appears in the logs (the message that the trigger was fired) . Otherwise (for instance when I select "Indigo" in Airfil on another Mac, nothing happens.

Re: Set up a trigger

PostPosted: Mon Dec 28, 2020 12:45 pm
by jay (support)
This works for me - just tried it with Airfoil on the same Mac. Why would you have Satellite and Airfoil installed? Shouldn't you only need Airfoil? I wonder if that's causing some kind of issue...

Re: Set up a trigger

PostPosted: Tue Dec 29, 2020 4:13 am
by yassi
jay (support) wrote:
This works for me - just tried it with Airfoil on the same Mac. Why would you have Satellite and Airfoil installed? Shouldn't you only need Airfoil? I wonder if that's causing some kind of issue...


Well, without Satellite how should I send from other Macs to the Indigo server (where the speakers are connected - actually a soundbar)?
If Satelitte is running, then I can select "Indigo" as a target for audio.
How are you doing it?

Re: Set up a trigger

PostPosted: Tue Dec 29, 2020 12:07 pm
by jay (support)
Ah, I see, you're doing a double indirection. I believe this is the configuration you want:

  1. On your remote Mac or whatever, select the Indigo speaker (which is the Airfoil Satellite running on your Indigo Server). This will cause the sound from that source to play on your Indigo Mac.
  2. On your Indigo Server, you would be using the "Computer" speaker (not the "Indigo" speaker) to turn toggle the sound on/off (I think).

I'm not entirely sure that Rogue Amoeba meant for Airfoil and Airfoil Satellite to be used in this configuration, but in any event Indigo is controlling Airfoil itself (not Satellite), and it's not reporting (via it's API) any changes when it connects/disconnects the "Indigo" speaker, probably because it's a Satellite speaker running on the same Mac.

Re: Set up a trigger

PostPosted: Tue Dec 29, 2020 12:11 pm
by jay (support)
yassi wrote:
How are you doing it?


I'm not - I have no reason to send sound from a different source to my Indigo Server... :wink:

Re: Set up a trigger

PostPosted: Thu Dec 31, 2020 4:19 am
by yassi
jay (support) wrote:
Ah, I see, you're doing a double indirection. I believe this is the configuration you want:

  1. On your remote Mac or whatever, select the Indigo speaker (which is the Airfoil Satellite running on your Indigo Server). This will cause the sound from that source to play on your Indigo Mac.
  2. On your Indigo Server, you would be using the "Computer" speaker (not the "Indigo" speaker) to turn toggle the sound on/off (I think).

I'm not entirely sure that Rogue Amoeba meant for Airfoil and Airfoil Satellite to be used in this configuration, but in any event Indigo is controlling Airfoil itself (not Satellite), and it's not reporting (via it's API) any changes when it connects/disconnects the "Indigo" speaker, probably because it's a Satellite speaker running on the same Mac.


Ok, thanks. I will try this.
Or probably I'll wait for the HomePod Mini to arrive, then I will send to it.