@apocaliss92/scrypted-advanced-notifier
Version:
Discover Cameras detections data and metadata to MQTT, customize detection notifications, occupancy rules, timelapses, audio detections and PTZ patroling
513 lines (280 loc) • 16.2 kB
Markdown
<details>
<summary>Changelog</summary>
### 5.0.18
- Add NVR storage health binary sensor: automatically fetches all NVR storage paths (recordingsPath, largeDisks, fastDisks) and checks every 5 minutes whether they are mounted correctly. Exposed as a `binary_sensor` (device class `problem`) diagnostic entity on Home Assistant
- Add Charger entity: cameras with the `Charger` interface now expose a `binary_sensor` (device class `plug`) diagnostic entity showing whether the device is charging or on trickle charge
- Add one-time alert at startup notifying users that the HA custom component (websocket transport) is available and will become the default in the next major version
### 5.0.16
Add health check of NVR paths, best effort on all the configured paths
### 5.0.3
Use REST interface to update entities instead of websocket, to avoid usage of admin permissions
### 5.0.2
Native HA component now available. Follow docs on page https://advanced-notifier-docs.zentik.app/docs/advanced-notifier/discovery for how to install and configure it
### 5.0.0
Finally An app is completed. It's called CamStack and it's available on testflight and as pwa on the scrypted local istance. Also available on https://camstack.zentik.app
New docs is up on https://advanced-notifier-docs.zentik.app/docs/advanced-notifier
### 4.8.39
Added section on every battery camera to setup the battery management based on customizable thresholds
### 4.8.37
- **On-generated sequences**: new sequence hook for Detection, Occupancy and Timelapse rules. Runs when all rule artifacts (video, gif, image) have been generated. Configurable per rule under "On-generated sequences". Script actions in the sequence receive a `payload` object (e.g. `variables.payload` in Scrypted scripts) with `rule`, `videoUrl`, `gifUrl`, `imageUrl` (and for timelapse also `videoPath`, `imagePath`). Any sequence can now receive an optional payload and forward it to linked scripts.
### 4.8.36
- Setting added on every rule to allow the selection of an additional path to save artifacts, with filename {deviceId}_{ruleName}_{triggerTime}.{ext}
### 4.8.33
- Huge revamp of the Events reviewer App, added camera streams, grids and much more
### 4.8.29
- Add button to fully reset camera MQTT entities on HA and MQTT
- Added light/siren switch entities to MQTT (supported for hikvision and reolink plugins currently, ask for more plugins)
- it's suggested a full cleanup of ha devices + plugin restart
### 4.8.28
- PTZ patrol rules added. Create the new rule, add the presets to "scroll" and set the detections to let the patrol to stop
### 4.8.26
- Autolock on alarm system removed, use rule sequences instead
### 4.8.5
- Added topic for each zone + class combination for the total amount of objects detected. Will use frigate data for frigate zones if available
### 4.8.0
- Migrated to Homeassistant MQTT auto-discovery device-based. Will help to keep control on new/old entries and auto cleanup. Should migrate the plugin without any effort, if any problems, click on the new button under the main plugin page, MQTT section -> `Reset all MQTT topics`
### 4.7.11
- Frigate zones handling completed
- Frigate faces handling preparation
- Fix cleanup of recorded events not working and looping
### 4.7.10
- Audio labels standardized to be used from Frigate or onboard classifier
- Vehicle/animal labels added for Frigate source only
### 4.7.3
- New setting `Inlude user token` added in the advanced section, activate it if you face problems authenticating urls
### 4.7.2
- Allow post processing for occupancy rules
- New setting: `Show active zones`. Applies to detection and occupancy rules. If selected, the image notified will contain all the active zones during the detection matched
- New test settings: `Show active zones`, `Zones`, to allow testing of the observed zones
- New section `Active zones` in post-processing, to customize the ara shown on rule notification images
### 4.7.0
- Recording rules implemented. This is a drop-in replacement for events-recorder plugin (if you ever heard of it). Creating a new Recording Rule will let the plugin register configurable clips (including prebuffer, depends on the single camera how much it will be). This will allow to have an events based camera only when relevant events happen
- Events handling has been improved, some resources have been moved on the main storage directory, cleanups of resource optimized. It's now possible per camera to define how much space (or days) to allocate. Events have their own retention settings
### 4.6.2
- Audio analysis pipeline moved on this plugin. Basic object detector won't be necessary anymore, YAMNET remains a dependency
- Support for audio volumes dropped, Frigate/BasicObjectDetector won't be source for audio volumes anymore. If you were relying on this just drop a message, can restore if required
### 4.6.1
- Allow configuration of available modes on onobarded Alarm system
### 4.5.11
- Add possibility to select whitelisted/blacklited zones also on plugin rules
### 4.5.7
- Sequences implemented, build a custom actions sequence and activate it on a rule
### 4.5.0
- Notification images are now server through this plugin, and not cloud plugin anymore
- Rework of storing of artifacts (gifs, videos), check the README for the new webhooks syntax
### 4.4.75
- Add setting for custom origin to cover cloud plugin missing
- Fix init NVR Notifier proxy device
### 4.4.72
- Add setting to allow clip extension on repeated detections in the configured timeframe
### 4.4.70
- Added links to Zentik
### 4.4.66
- Manual AI settings removed. Use LLM plugin if that was setup before
### 4.4.59
- RPCObjects/pendingResult as measurement entities
### 4.4.58
- Add last face detection time to MQTT
- Add diagnostic values to MQTT: rpcObjects, memoryUsed, pendingResults
### 4.4.56
- Add source for faces used on people tracker as RawDetections
### 4.4.54
- Add Dev notifications setting (General -> advanced) to opt-in to communications interesting for debug purpooses
### 4.4.50
- Add support HA icon color property
### 4.4.48
- Add support for Zentik, new notifier system soon available for iOS
### 4.4.36
- Add a new setting on the extended notifier to enable the plugin for every notifications (i.e. test ones)
- Add a new setting on the extended notifier to change the payload key with the modified content, try different keys if the notifications do not contain the AI modifier payload
### 4.4.31
- Fix decoder frames resize
- Persist snoozes through reboots
- More HA properties added
### 4.4.30
- Add setting to override the decoder stream
### 4.4.29
- Add support for homeassistant channels
### 4.4.28
- Add camera setting to resize decoder frames (advanced section)
- Change `serveAssetsFromLocal` with `assetsOriginSource`
### 4.4.22
- Images name setting removed. Only latest images will be persisted
- Added `serveAssetsFromLocal` under Plugin General -> advanced, will serve all the assets links through local IP and not cloud. Useful if cloud plugin is not available or preferred local connections
### 4.4.5
- Add videoclip GIF support, this adds clips support to Pushover, NTFY and Telegram, besides the already supported Homeassistant
### 4.3.65
- Add clear action to HA actions
### 4.3.61
- Add snoozes customization (Plugin => Rules section)
### 4.3.60
- Add rule configuration to snoose any notifier of the rule, instead only the single one
### 4.3.56
- Add AI filter to detection rules
### 4.3.55
- Enable FS/Webhook images for post-processed images
### 4.3.45
- StoreEvents flag default to false
### 4.3.44
- Add customizations for post-processing actions
- Quick notifications implemented, delay should be reduced on notifications
### 4.3.41
- Publish per-zone detection entities to MQTT
### 4.3.27
- Publish audio entities to MQTT
### 4.3.25
- Add setting for homeassistant notifiers to open notifications on the homeassistant's scrypted component
### 4.3.20
- Add support to onboarded audio detections (YAMnet plugin)
### 4.3.19
- Add prompt customization for the occupancy confirmation flow
### 4.3.13
- Add setting to confirm occupancy rules with AI to avoid false positives even more
### 4.3.11
- Added support (RawDetections only) to Boundaries marking and Image cropping for notifications. NVR detections will be later on extended with this too
### 4.3.3
- Clip support added. Extend a detection rule setting a contextual description to filter even more a rule result
- LLM tools support added
### 4.2.5
- Changes prepared to use LLMPlugin. Manual is the current working way
### 4.2.4
- Secret protection added for all public endpoints. A secret is auto-generated under the section General -> Advanced, this must be used as search parameter for all webhook to avoid resources to be easily available to 3th parties. The token is now also used to serve videoclips and thumbnails with limited available tokens (3 hours)
### 4.2.0
- Events app released. It is available as dashboard link as well as PWA app. It has events and videoclips views across all the possible source (NVR, Frigate, ...). Live view is still on initial stages
- Telegram notifier supported
- Audio rules improved a lot! They will now take into account analyzed sampling values and not only peaks
- Fixed many issues when MQTT was not available initially and would crash the plugin
- Plugin will not store relevant events to make them available in the web APP
### 3.7.21
- Add detection clips to the camera clips
### 3.7.16
- Add setting to set the post event duration for videoclips
### 3.7.15
- Add MQTT data source setting per camera
- Do not wake up sleeping cameras for a snapshot
### 3.7.3
- Add configurations for videoclip speed, default to 2x (Fast)
### 3.7.0
- Add full support to Frigate detections, in combination with `Scrypted Frigate Bridge` will be possible to import frigate events into scrypted and use this plugin fully with them. Particularly interesting audio classifications and bird classification (untested, will need some test data). Snapshots are as well imported from Frigate, videoclips for accelerated GIFs will be coming soon
- Motion reporting to MQTT reduced drastically to 5 seconds
- Restructure of FS folders, old timelapses will be lost due to technical reasons
- Decoder usage changed, if any rule requires a videoclip will be permanent. If enabled on the camera for snapshots will be run only when motion is triggered
- Fix annoying MQTT bug where switch/buttons were persisted on the broker and would change state of entities randomly. Plugin will remove automatically those messages
- Add setting to alarm system for critical notifications on trigger
### 3.6.15
- Short GIF recording on detection/occupancy rules. Activate the `Notify with a clip` check to try it out. It will work very well with homeassistant notifiers
### 3.6.14
- Add notification sound customization for Pushover
### 3.6.13
- Add notification sound customization (currently only for HA notifiers)
### 3.6.12
- Decoder usage checkbox changed with a selection, Off, OnMotion (previous default), Always
### 3.6.11
- Quick actions added to alarm notifications
- Allow using active rules notfiers for alarm notifications
### 3.6.9
- [BREAKING CHANGE] Homeassistant data fetching removed. OnActive devices won't support entity IDs anymore. Use instead device id or name
### 3.6.8
- Advanced Security System released, an onboard security system mechanism linked to detection rules
### 3.6.7
- [BREAKING CHANGE] Check occupancy (in seconds) changed with a boolean flag
### 3.6.1
- Add support to camera AI generated
### 3.6.0
- Add support to NVR notifications to translations and AI messages
### 3.5.13
- Add scheduler for notifiers, can be used also for NVR notifications
### 3.5.11
- Add default actions on camera
### 3.5.10
- [BREAKING CHANGE] HaActions and priority have been removed in favour of specific settings for every notifier utilized on a rule
- Add fully support to Ntfy, Pushover, HA, Scrypted NVR for: priority (critical too), actions, snoozing
### 3.5.9
- Add full support to native NVR notifiers
### 3.5.7
- [BREAKING CHANGE] Doorbell sensors won't be used anymore, a detection class Doorbell is now available on doorbell cameras
### 3.5.6
- Add last faces detected on MQTT People tracker device
### 3.5.5
- Add POST notification webhook on notifier level
### 3.5.4
- Add main notifications switch on the plugin level
### 3.5.0
- [BREAKING CHANGE] Sensors classes have been changed, any plugin rule using lock or contact labels, shoul be changed to new ones
- Added support for Entry and Flooding sensors
### 3.4.12
- Texts building reworked. There is now only one object detection label and several object types to make it better scalable in future. Check Texts section
### 3.4.11
- Add labels (people and plates) filtering for detection rules
### 3.4.9
- Add audio detection and decoder snapshots entities to MQTT
- Enable decoder only during motion events
### 3.4.8
- Add support for NVR notifiers to enable/disable notifications globally or per camera, if the camera flag is off. This allows to script NVR notifications without implementing any rule
- Notifiers device discovered on MQTT
### 3.4.1
- Add setting to enable snoozing actions on a notifier (Pushover and homeassistant)
### 3.4.0
- Latest snapshots webhook changed, add a Webhook section to the README with all the possible snapshots available
- Added POST webhook for detections, set multiple URL and preferred cameras to send images to external services
### 3.3.7
- Add setting to disable notifications for a specific camera, on MQTT as well
- Implement snooze actions on Homeassistant notifiers
### 3.3.6
- Any object entities added on MQTT and file system, will be triggered for any object detection (animal, vehicle, person)
### 3.3.1
- Occupancy data persisting improved. Current status and detected objects added to settings.
Should fix false resetting on startup
### 3.2.0
- Update images for rule in the same asynqueue to make sure an image is always available
### 3.1.23
- Link plugin rule entities on devices and vice-versa, plugin triggers will activate the plugin entity as well
### 3.1.17
- Fix retained button messages not cleaned up
### 3.1.15
- Only update motion in case of non-NVR detections when NVR detections is enabled
### 3.1.10
- Move MQTT enabled setting on camera level, enabled by default
- Move Notifier enabled setting on notifier level, enabled by default
### 3.1.9
- Added option to fetch frames from prebuffer. Unsuggested for use, use it only if snapshot crashes continuously
### 3.0.31
- Automatic cleanup of HA entities when not available anymore
### 3.0.30
- `Minimum MQTT publish delay` setting adding on the camera, allowing to defer detection updates
### 3.0.28
- NVR images will be stored on system as well, with a -NVR suffix, along with the non-cropped ones
### 3.0.27
- Add camera level configuration to enable regular occupancy check
### 3.0.23
- Add rule configuration to delay MQTT image update
### 3.0.21
- Cleanup detection rules discovery not supported per camera
### 3.0.20
- Fix NVR detections parsing
### 3.0.19
- Performance noticeably improved splitting images update on MQTT in batches
### 3.0.17
- MQTT client split per device to reduce overhead for weak brokers
- Utilize images from object detectors when available
- Optimize image usage
### 3.0.8
Added support to Groq
### 3.0.7
Added support to Anthropic AI
### 3.0.6
Added support to Google AI, thanks @sfn!
### 3.0.0
MQTT rework. Most of the IDs have changed. Remove all the homeassistant devices and let the plugin to recreate them.
This was required to allow me to extend the plugin in an easier and scalable way. Some improvements happened along the way
### 2.2.30
Add MQTT flag for each rule currently running
### 2.2.28
Enable reporting of occupancy data for every camera enabled to MQTT
### 2.2.27
Audio deteciton rules implemented
### 2.2.26
Add PTZ controls to MQTT/HA
### 2.2.25
Add Reboot button to MQTT/HA
</details>