Page 1 of 1

IndigoPluginHost3 stopped working

PostPosted: Sat Dec 16, 2023 5:50 am
by rijdat
From the terminal

indigo-host -e 'indigo.device.turnOn("Bedroom radio")'

does what is should but from a Xojo app neither of these work in 2023.1

IndigoShell.Execute("/Library/Application\ Support/Perceptive\ Automation/Indigo\ 2023.2/IndigoPluginHost3.app/Contents/MacOS/IndigoPluginHost3 -e 'indigo.device.turnOn(""Bedroom radio"")'")
IndigoShell.Execute("indigo-host -e 'indigo.device.turnOn(""Bedroom radio"")'")

The first one worked fine in 2022.1 and earlier. (I did not try the second one until now. Note the "" tells Xojo to pass one double quote in the string).

This means I cannot now use my Xojo app to tell the Indigo server to turn things on and off. Any suggestions please ?

Re: IndigoPluginHost3 stopped working

PostPosted: Sat Dec 16, 2023 6:06 am
by DaveL17
I don't know Xojo, but Indigo 2023.2 hasn't been released yet. Perhaps the command should be:

Code: Select all
IndigoShell.Execute("/Library/Application\ Support/Perceptive\ Automation/Indigo\ 2023.1/IndigoPluginHost3.app/Contents/MacOS/IndigoPluginHost3 -e 'indigo.device.turnOn(""Bedroom radio"")'")
IndigoShell.Execute("indigo-host -e 'indigo.device.turnOn(""Bedroom radio"")'")

Re: IndigoPluginHost3 stopped working

PostPosted: Sat Dec 16, 2023 6:11 am
by rijdat
Thank you for spotting that, how stupid of me. All working again now, thank you.

Re: IndigoPluginHost3 stopped working

PostPosted: Sat Dec 16, 2023 6:16 am
by DaveL17
We've all been there! Glad you were able to get it working.