feature request - action to run script

Post Reply
eebender
Posts: 2
Joined: Fri Sep 11, 2015 2:44 pm

feature request - action to run script

Post by eebender » Fri Sep 11, 2015 2:57 pm

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.

admin
Site Admin
Posts: 50
Joined: Sun Dec 14, 2014 2:05 pm
Location: Washington
Contact:

Re: feature request - action to run script

Post by admin » Fri Sep 11, 2015 4:55 pm

We will be working implementing this in the next release of Z-Command.

Thanks

eebender
Posts: 2
Joined: Fri Sep 11, 2015 2:44 pm

Re: feature request - action to run script

Post by eebender » Fri Nov 20, 2015 8:41 am

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?

admin
Site Admin
Posts: 50
Joined: Sun Dec 14, 2014 2:05 pm
Location: Washington
Contact:

Re: feature request - action to run script

Post by admin » Tue Nov 24, 2015 6:16 pm

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.

Post Reply