In the Announcement thread, matt (support) wrote:6.0.8 is now available for download.
In addition to the major 6.0 improvements this update includes:
... ...
Added parameter passing to the Run Shell Script action including device state and variable value substitution.
YES!
Matt (or Jay): could you provide a little detail on how the arguments are specified and accessed. I would assume they are specified using the same syntax as variable/state substitution in log messages. I.e.
- /usr/bin/foo %%v:12345%% %%d:987654:onOffState%%
- #!/bin/sh
VARVAL=$1
DEVSTATE=$2
But, It would be good to verify that. Also, is the device name or device ID number available? And, if so, how is it referenced?
And, THANKS for a great new tool. This will open up all kinds of possibilities.