@apocaliss92/scrypted-advanced-notifier 1.4.2 → 1.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -1
- package/dist/plugin.zip +0 -0
- package/package.json +2 -1
package/README.md
CHANGED
@@ -42,6 +42,25 @@ The same detection rules can be defined on each camera level with some additiona
|
|
42
42
|
- `Whitelisted zones`: Only detections on these zones will trigger a notification
|
43
43
|
- `Blacklisted zones`: Detections on these zones will be ignored
|
44
44
|
|
45
|
+
## Occupancy rules
|
46
|
+
Similar concept applied to occupancy, a combination of observe zone + detection class can be set to check if the zone is occupied or not
|
47
|
+
### General configurations
|
48
|
+
- `Object detector`: Plugin to use to execute the object detection (Overrides the setting specified in the plugin section)
|
49
|
+
- `Score threshold`: minimum score to trigger the occupancy in bulk (not used for now)
|
50
|
+
|
51
|
+
### Rule configurations
|
52
|
+
- `Enabled`: Enable or disable the rule (On homeassistant will be available a switch to enable/disable each rule)
|
53
|
+
- `Detection class`: Detection class to match in the zone
|
54
|
+
- `Observe zone`: Zone of type 'Observe' that will be matched
|
55
|
+
- `Zone type`: Intersect if the match can happen on any intersection, Contain if the detection must happen completely inside the zone
|
56
|
+
- `Score threshold`: minimum score to trigger the occupancy
|
57
|
+
- `Occupancy confirmation`: minimum amount of seconds to wait if the state should be updated. This should avoid some false positives
|
58
|
+
- `Zone occupied text`: Text that will be notified when the zone gets occupied
|
59
|
+
- `Zone not occupied text`: Text that will be notified when the zone becomes free
|
60
|
+
- `Notifiers`: notifiers to notify
|
61
|
+
- `Priority`: Priority of the notification, will have effect only for pushover
|
62
|
+
- `Actions`: actions that will be shown on the notification. Rendering will vary depending on the notifier. For HA will be an actionable notification, for pushover will be additional links in the text. Both of them require homeassistant to work, the same event will be triggered with the specified action type
|
63
|
+
|
45
64
|
## Test
|
46
65
|
A test notification can be send with the specified settings
|
47
66
|
|
@@ -65,7 +84,6 @@ Simple webooks to retrieve information, only the last snapshot is for now availa
|
|
65
84
|
|
66
85
|
## What's next
|
67
86
|
* Add boundary box on detected object (really struggling :D)
|
68
|
-
* Notification snoozing
|
69
87
|
* Add more test suits to emulate a detection on specific conditions
|
70
88
|
* Setup a timeframe where all the notifications are kept and release as a GIF at the end (I saw a comment from an user on discord and I found it a great idea!)
|
71
89
|
* ...
|
package/dist/plugin.zip
CHANGED
Binary file
|
package/package.json
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
"type": "git",
|
6
6
|
"url": "https://github.com/apocaliss92/scrypted-advanced-notifier"
|
7
7
|
},
|
8
|
-
"version": "1.4.
|
8
|
+
"version": "1.4.4",
|
9
9
|
"scripts": {
|
10
10
|
"scrypted-setup-project": "scrypted-setup-project",
|
11
11
|
"prescrypted-setup-project": "scrypted-package-json",
|
@@ -23,6 +23,7 @@
|
|
23
23
|
"scrypted",
|
24
24
|
"plugin",
|
25
25
|
"homeassistant",
|
26
|
+
"occupancy",
|
26
27
|
"mqtt",
|
27
28
|
"metadata",
|
28
29
|
"notifier",
|