Page 1 of 1

feature request - action to run script

Posted: Fri Sep 11, 2015 2:57 pm
by eebender
It would be great if there was an automation action to run a script when an event is triggered. For example, if a motion detector gets triggered, a script is executed that starts up video recording software or activates some other non-zwave device. The path to the user supplied script ( most likely a bash script) could be specified using the zcommand interface.

Re: feature request - action to run script

Posted: Fri Sep 11, 2015 4:55 pm
by admin
We will be working implementing this in the next release of Z-Command.

Thanks

Re: feature request - action to run script

Posted: Fri Nov 20, 2015 8:41 am
by eebender
Thanks for adding this capability, I've just upgraded my unit and am looking forward to trying it out. If I want define an action to run a user written script, where should the script be placed on the pi's file system? Would it be /home/pi?

Re: feature request - action to run script

Posted: Tue Nov 24, 2015 6:16 pm
by admin
eebender wrote:Thanks for adding this capability, I've just upgraded my unit and am looking forward to trying it out. If I want define an action to run a user written script, where should the script be placed on the pi's file system? Would it be /home/pi?

/home/pi/customscripts is a good place.