HA_blueprints
HA_blueprints copied to clipboard
[Config Support]: Not receiving notification after a day from Hikvision DVR.
Describe the problem you are having or the outcome you are trying to achieve.
For a long time since, I didnt receive notifications from the blueprint, I thought maybe it wont work for me. But for some reason I interchanged a camera cable on the 8 Port Hikvision DVR from one port to another and it started to send me notifications! and as sometime passed, it stoped sending me notification. I tried another port and it again started to send me notification. Currently only one of my camera sends me notification without any issues and also all the other cameras detects and records clips but dont notify me. What can be the cause?
Version
0.12.0.1
Automation config
alias: Frigate Garage Rownak 24/7
description: ""
use_blueprint:
path: SgtBatten/Stable.yaml
input:
camera: camera.garage_cctv
notify_device: c5f77adc70f8c378661f8239434d31da
title: Someone's at the Garage
alert_once: true
attachment: snapshot
update_thumbnail: true
silence_timer: 30
cooldown: 60
loiter_timer: 60
button_1: ⏪
button_2: ▶️
url_2: >-
{{base_url}}/api/camera_proxy_stream/camera.{{trigger.payload_json['after']['camera'].lower()}}?token={{state_attr(
'camera.' ~ camera, 'access_token')}}
button_3: ⏸️
ios_live_view: false
state_filter: false
state_filter_states: []
disable_times: []
icon: >-
mdi:{{'account-outline' if label == 'Person' else 'dog' if label == 'Dog'
else 'cat' if label == 'Cat' else 'car' if label == 'Car' else
'home-assistant'}}
channel: CCTV
Frigate Config
mqtt:
host: 192.168.0.192
user: mqtt-users
password: mqtt-users
detectors:
ov:
type: openvino
device: AUTO
model:
path: /openvino-model/ssdlite_mobilenet_v2.xml
model:
width: 300
height: 300
input_tensor: nhwc
input_pixel_format: bgr
labelmap_path: /openvino-model/coco_91cl_bkgr.txt
ffmpeg:
hwaccel_args: preset-intel-qsv-h264
birdseye:
enabled: false
go2rtc:
streams:
Roof_Top:
- rtsp://admin:[email protected]/streaming/channels/201
Main_Door:
- rtsp://admin:[email protected]/streaming/channels/801
First_Floor:
- rtsp://admin:[email protected]/streaming/channels/101
East_Road:
- rtsp://admin:[email protected]/streaming/channels/301
Ground_Floor:
- rtsp://admin:[email protected]/streaming/channels/401
Garage:
- rtsp://admin:[email protected]/streaming/channels/501
Front_Yard:
- rtsp://admin:[email protected]/streaming/channels/601
North_Road:
- rtsp://admin:[email protected]/streaming/channels/701
cameras:
Main_Door:
ffmpeg:
inputs:
- path: rtsp://admin:[email protected]/streaming/channels/801
input_args: preset-rtsp-restream
roles:
- detect
live:
stream_name: Main_Door
record:
enabled: true
retain:
days: 30
mode: active_objects
events:
pre_capture: 5
post_capture: 5
objects:
- person
retain:
default: 30
mode: active_objects
snapshots:
enabled: true
retain:
default: 60
motion:
mqtt_off_delay: 1
# Optional: Minimum size in pixels in the resized motion image that counts as motion (default: 10)
# Increasing this value will prevent smaller areas of motion from being detected. Decreasing will
# make motion detection more sensitive to smaller moving objects.
# As a rule of thumb:
# - 10 - high sensitivity
# - 30 - medium sensitivity
# - 50 - low sensitivity
contour_area: 100
# default lightning_threshold:
# Optional: The percentage of the image used to detect lightning or other substantial changes where motion detection
# needs to recalibrate. (default: 0.8)
# Increasing this value will make motion detection more likely to consider lightning or ir mode changes as valid motion.
# Decreasing this value will make motion detection more likely to ignore large amounts of motion such as a person approaching a doorbell camera.
lightning_threshold: 1
# default threshold value
# Optional: The threshold passed to cv2.threshold to determine if a pixel is different enough to be counted as motion. (default: 30)
# Increasing this value will make motion detection less sensitive and decreasing it will make motion detection more sensitive.
# The value should be between 1 and 255.
threshold: 100
mask:
- 591,62,591,28,0,28,0,60
Garage:
ffmpeg:
inputs:
- path: rtsp://admin:[email protected]/streaming/channels/501
input_args: preset-rtsp-restream
roles:
- detect
live:
stream_name: Garage
record:
enabled: true
retain:
days: 30
mode: active_objects
events:
pre_capture: 5
post_capture: 5
objects:
- person
retain:
default: 30
mode: active_objects
snapshots:
enabled: true
retain:
default: 60
motion:
mask:
- 608,67,612,32,0,31,0,67
- 680,549,882,552,882,512,682,512
mqtt_off_delay: 1
# Contours are outlines of detected objects in an image. Increasing this value will filter out smaller areas of motion,
# making the detection more sensitive to larger moving objects. Conversely, decreasing it will increase sensitivity to smaller movements.
contour_area: 100
# default lightning_threshold:
# Threshold Adjustment: Increase the lightning_threshold parameter to a higher value,
# such as 0.5 or 0.6, to make the system less sensitive to sudden changes in lighting caused by the IR mode switching on.
lightning_threshold: 1
# This parameter is the threshold value used in the CV2 thresholding function to determine if a pixel change is significant enough to be considered motion.
# The value typically ranges from 1 to 255, with higher values making the motion detection less sensitive to small pixel changes.
threshold: 130
Any other information that may be helpful
No response