Run a shell script instead of notification

General Discussion

Run a shell script instead of notification

Postby jeffwu » Mon Oct 16, 2017 4:23 pm

Is it possible to config ad2pi so it runs a small shell script when a zone is faulted or system armed/disarmed etc. out of box, it supports email and various 3rd parity notifications. it will be great if it can run native shell script.
jeffwu
Senior Nut
Senior Nut
 
Posts: 40
Joined: Fri Mar 17, 2017 6:24 pm

Re: Run a shell script instead of notification

Postby kevin » Mon Oct 16, 2017 4:54 pm

You can write a python script to do whatever you want with the provided library... you don't have to run the webapp. Examples are provided on github.
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am


Return to General

Who is online

Users browsing this forum: No registered users and 3 guests

cron