Thanks Jay.
I suppose I should be more verbose in actually what I'm doing and seeing. I had cut out a bunch of the script to try to boil it down to the issue but I may have confused things. This is actually the broadlink cli script. I'm trying to run the (full) script with parameters. This is what I'm putting in the Configure Run Shell Script:
- Code: Select all
/Users/tornado/Dropbox/dev/active/python-broadlink/cli/broadlink_cli --host 10.0.1.30 --mac a043b0b8f751 --type 0x6539 --send 2600c800290d2a0d0d2a0d2a0e290e290f282a0d2a0d290e2a0d29eb290e2a0d0e290e290e290e290e292a0d2a0d290e2a0d2a00010d2a0e280f0d2a0e290e290e290e292a0d2a0d2a0d2a0d2ae92a0d2a0d0f280e290f280f280f292a0d2a0d290e280f2900010e2a0d290e0e290f280f280f280f282a0d2a0d2a0d2a0d2aea2a0d2a0d0e290e290e290e290e292a0d290e2a0d2a0d2a00010e2a0d2a0d0e290e290e290e290e292a0d2a0d2a0e280e2ae92a0e280f0d2a0d2a0d2a0e290d2a2a0d2a0d2a0d2a0d29000d05
When I run that command on the command line it works just fine and produces no output:
- Code: Select all
tornado@macmini:~/Dropbox/dev/active/python-broadlink/cli% ./broadlink_cli --host 10.0.1.30 --mac a043b0b8f751 --type 0x6539 --send 26000201290e0d2a0d2a0e290e290f280f280f280f282a0e0e0001052a0d290e0e290e290f280e290f280e290e290f292a0d0e0001292a0d2a0d0e290f280f280e290f280f280f290e29290e0e000105290e290e0e290e290e290f280f280f280f280f282a0d0e00012a2a0d2a0d0e290e290e290d2a0e290e290e290f282a0d0f0001042a0e290e0d2a0e290e290e290d2a0e290e290e29290e0d00012a290e2a0d0f280e290f280e290f280f280f290e292a0d0e0001052a0d2a0d0e290e290d2a0e290e290f280f280f282a0d0f0001292a0d2a0d0e290d2a0e290e290e290e290e290e292a0d0f0001042a0d2a0d0f280f280f290e290e290e290e290e292a0d0d000d05
tornado@macmini
But when I put it in the Run Shell Script it doesn't work and I get:
- Code: Select all
Action Collection Error Run Shell Script action: script /Users/tornado/Dropbox/dev/active/python-broadlink/cli/broadlink_cli exited abnormally with a return code of: 1
Any suggestions on what I'm doing wrong or how to debug?
Thanks.