From 647013f3ff5a19d429d95a42fc060c5d294aa2ee Mon Sep 17 00:00:00 2001 From: Jokob-sk Date: Sun, 19 Feb 2023 13:12:08 +1100 Subject: [PATCH] Plugins 0.2 - Readme --- front/plugins/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/front/plugins/README.md b/front/plugins/README.md index b6025bda..f0853e04 100755 --- a/front/plugins/README.md +++ b/front/plugins/README.md @@ -121,6 +121,10 @@ Example: - `API_SQL` - (optional) Generates a `table_` + code_name + `.json` file as per [API docs](https://github.com/jokob-sk/Pi.Alert/blob/main/docs/API.md). - `RUN_TIMEOUT` - (optional) Max execution time of the script. If not specified a default value of 10 seconds is used to prevent hanging. - `WATCH` - (optional) Which database columns are watched for changes for this particular plugin. If not specified no notifications are sent. +- `REPORT_ON` - (optional) Send a notification only on these statuses. Supprted options are: + - `new` means a new unique (unique combination of PrimaryId and SecondaryId) object was discovered. + - `watched-changed` - means that selected `Watched_ValueN` columns changed + - `watched-not-changed` - reports even on events where selected `Watched_ValueN` did not change Example: