Restarting Indigo server using "action"

Posted on
Mon Nov 27, 2017 9:45 pm
Vig offline
Posts: 111
Joined: Oct 06, 2015

Restarting Indigo server using "action"

Is there a way to restart the Indigo server via an action? Occasionally I find my USB connections unresponsive until I restart the server and using an action button would make that more convenient.

Posted on
Tue Nov 28, 2017 5:07 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Restarting Indigo server using "action"

I don't think so,

BUT you could record an "automator script" (key stokes)
Screen Shot 2017-11-28 at 16.50.35.png
Screen Shot 2017-11-28 at 16.50.35.png (244.88 KiB) Viewed 2969 times
duplicate, save as app
the run it from an indigo action .. some more steps needed

As for the USB not responsiveness
After I put a new usb3 card into my old MAC-pro 2008 I have no issues anymore with USB. Before I had to restart the Mac once every 3 days or manually plug the usb cables into different outlets.

Karl

Posted on
Tue Nov 28, 2017 7:42 pm
Vig offline
Posts: 111
Joined: Oct 06, 2015

Re: Restarting Indigo server using "action"

kw123 wrote:
I don't think so,

BUT you could record an "automator script" (key stokes)
Screen Shot 2017-11-28 at 16.50.35.png
duplicate, save as app
the run it from an indigo action .. some more steps needed

As for the USB not responsiveness
After I put a new usb3 card into my old MAC-pro 2008 I have no issues anymore with USB. Before I had to restart the Mac once every 3 days or manually plug the usb cables into different outlets.

Karl


thanks for the feedback Karl.
I actually run it all on a MacMini headless and was never able to get visual automator scripts that rely on mouse clicks to start unless the monitor is actively displaying the desktop.

As to the USB, since I don't have sufficient ports on MacMini I had to expand it and purchased Keyspan USA-49WG which is very reliable based on the reviews but for some reason once in a while I find the ports are not responsive unless I restart Indigo server.

Posted on
Tue Nov 28, 2017 9:04 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Restarting Indigo server using "action"

I use the dongle to simulate the monitor, that script works on my headless mac-pro

Posted on
Tue Nov 28, 2017 10:52 pm
Vig offline
Posts: 111
Joined: Oct 06, 2015

Re: Restarting Indigo server using "action"

kw123 wrote:
I use the dongle to simulate the monitor, that script works on my headless mac-pro


That's interesting, what type of dongle do you use? That will be really useful for running scripts.
Thanks.

Posted on
Tue Nov 28, 2017 11:44 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Restarting Indigo server using "action"

Bought some years ago on amazon. I believe any hdmi works.


Sent from my iPhone using Tapatalk

Posted on
Wed Nov 29, 2017 12:17 am
berkinet offline
User avatar
Posts: 3290
Joined: Nov 18, 2008
Location: Berkeley, CA, USA & Mougins, France

Re: Restarting Indigo server using "action"

Vig wrote:
... for some reason once in a while I find the ports are not responsive unless I restart Indigo server.

You might take a look at this page. Scroll down to the Answer.

If the USB Prober.app works for you (you should just need to open it and then quit it) you could run a shell script in an action to do something like...
Code: Select all
open "/path/to/executable/USB Prober.app"
killall "USB Prober.app"
You could also dig into the USB Prober.app bundle and execute the binary directly.

Good luck. If you do try this, please post back with your results. If you don't have an Apple Developer account, PM me and I can send the app to you.

Posted on
Wed Nov 29, 2017 10:17 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Restarting Indigo server using "action"

Vig wrote:
That's interesting, what type of dongle do you use? That will be really useful for running scripts.
Thanks.


This is the one I use: https://www.amazon.com/CompuLab-fit-Hea ... 00FLZXGJ6/

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Wed Nov 29, 2017 10:36 am
Vig offline
Posts: 111
Joined: Oct 06, 2015

Re: Restarting Indigo server using "action"

berkinet wrote:
....You could also dig into the USB Prober.app bundle and execute the binary directly.


Thanks Berkinet! The latest USB log on Apple site is for 10.9 version of OS (I am running 10.12). I will try it to see if that works.

Posted on
Wed Nov 29, 2017 10:37 am
Vig offline
Posts: 111
Joined: Oct 06, 2015

Re: Restarting Indigo server using "action"

FlyingDiver wrote:
Vig wrote:
That's interesting, what type of dongle do you use? That will be really useful for running scripts.
Thanks.


This is the one I use: https://www.amazon.com/CompuLab-fit-Hea ... 00FLZXGJ6/


that looks great, thanks FlyingDiver!

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests

cron