Added doorbell camera

This commit is contained in:
Ashish D'Souza 2023-07-23 16:41:00 -04:00
parent 1a37d48fb0
commit 9a0bcf6cdc
5 changed files with 23 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -14,7 +14,7 @@ pipeline {
frigate_config = readJSON file: 'frigate_config.json' frigate_config = readJSON file: 'frigate_config.json'
} }
ansiblePlaybook credentialsId: 'rivendell-ssh-key', disableHostKeyChecking: true, extras: "--extra-vars 'mqtt_password=\"${frigate_config.mqtt.password}\" ipgeolocation_api_key=\"${frigate_config.ipgeolocation.api_key}\" garage_rtsp_password=\"${frigate_config.rtsp.garage.password}\" front_door_rtsp_password=\"${frigate_config.rtsp.front_door.password}\" driveway_rtsp_password=\"${frigate_config.rtsp.driveway.password}\" back_door_rtsp_password=\"${frigate_config.rtsp.back_door.password}\" family_room_rtsp_password=\"${frigate_config.rtsp.family_room.password}\"'", playbook: 'install.yaml' ansiblePlaybook credentialsId: 'rivendell-ssh-key', disableHostKeyChecking: true, extras: "--extra-vars 'mqtt_password=\"${frigate_config.mqtt.password}\" ipgeolocation_api_key=\"${frigate_config.ipgeolocation.api_key}\" garage_rtsp_password=\"${frigate_config.rtsp.garage.password}\" front_door_rtsp_password=\"${frigate_config.rtsp.front_door.password}\" doorbell_rtsp_password=\"${frigate_config.rtsp.doorbell.password}\" driveway_rtsp_password=\"${frigate_config.rtsp.driveway.password}\" back_door_rtsp_password=\"${frigate_config.rtsp.back_door.password}\" family_room_rtsp_password=\"${frigate_config.rtsp.family_room.password}\"'", playbook: 'install.yaml'
ansiblePlaybook credentialsId: 'rivendell-ssh-key', disableHostKeyChecking: true, playbook: 'stop.yaml' ansiblePlaybook credentialsId: 'rivendell-ssh-key', disableHostKeyChecking: true, playbook: 'stop.yaml'
ansiblePlaybook credentialsId: 'rivendell-ssh-key', disableHostKeyChecking: true, playbook: 'start.yaml' ansiblePlaybook credentialsId: 'rivendell-ssh-key', disableHostKeyChecking: true, playbook: 'start.yaml'
} }

View File

@ -50,6 +50,21 @@ cameras:
- 167,1080,511,1080,328,744,234,456,140,451,0,509,0,804 # Flower bed and hedge - 167,1080,511,1080,328,744,234,456,140,451,0,509,0,804 # Flower bed and hedge
- 359,85,542,0,0,0,0,288 # Sidewalk - 359,85,542,0,0,0,0,288 # Sidewalk
- 1153,847,1112,838,1042,896,1023,988,1023,1080,1525,1080 # Drainpipe - 1153,847,1112,838,1042,896,1023,988,1023,1080,1525,1080 # Drainpipe
doorbell:
enabled: true
ffmpeg:
inputs:
- path: 'rtsp://{FRIGATE_DOORBELL_RTSP_USERNAME}:{FRIGATE_DOORBELL_RTSP_PASSWORD}@192.168.0.105:554/cam/realmonitor?channel=1&subtype=0'
roles:
- detect
- record
hwaccel_args: preset-intel-qsv-h264 # Use Intel QSV hardware acceleration for H.264
output_args:
record: preset-record-generic-audio-aac # Record with aac audio
detect:
enabled: true
width: 1920
height: 1080
driveway: driveway:
enabled: true enabled: true
ffmpeg: ffmpeg:

View File

@ -20,6 +20,8 @@ services:
FRIGATE_GARAGE_RTSP_PASSWORD: ${FRIGATE_GARAGE_RTSP_PASSWORD} FRIGATE_GARAGE_RTSP_PASSWORD: ${FRIGATE_GARAGE_RTSP_PASSWORD}
FRIGATE_FRONT_DOOR_RTSP_USERNAME: motion FRIGATE_FRONT_DOOR_RTSP_USERNAME: motion
FRIGATE_FRONT_DOOR_RTSP_PASSWORD: ${FRIGATE_FRONT_DOOR_RTSP_PASSWORD} FRIGATE_FRONT_DOOR_RTSP_PASSWORD: ${FRIGATE_FRONT_DOOR_RTSP_PASSWORD}
FRIGATE_DOORBELL_RTSP_USERNAME: admin
FRIGATE_DOORBELL_RTSP_PASSWORD: ${FRIGATE_DOORBELL_RTSP_PASSWORD}
FRIGATE_DRIVEWAY_RTSP_USERNAME: admin FRIGATE_DRIVEWAY_RTSP_USERNAME: admin
FRIGATE_DRIVEWAY_RTSP_PASSWORD: ${FRIGATE_DRIVEWAY_RTSP_PASSWORD} FRIGATE_DRIVEWAY_RTSP_PASSWORD: ${FRIGATE_DRIVEWAY_RTSP_PASSWORD}
FRIGATE_BACK_DOOR_RTSP_USERNAME: motion FRIGATE_BACK_DOOR_RTSP_USERNAME: motion

View File

@ -9,6 +9,8 @@
prompt: Enter password for garage camera RTSP stream user motion prompt: Enter password for garage camera RTSP stream user motion
- name: front_door_rtsp_password - name: front_door_rtsp_password
prompt: Enter password for front door camera RTSP stream user motion prompt: Enter password for front door camera RTSP stream user motion
- name: doorbell_rtsp_password
prompt: Enter password for doorbell camera RTSP stream user admin
- name: driveway_rtsp_password - name: driveway_rtsp_password
prompt: Enter password for driveway camera RTSP stream user admin prompt: Enter password for driveway camera RTSP stream user admin
- name: back_door_rtsp_password - name: back_door_rtsp_password
@ -125,6 +127,8 @@
password: '{{garage_rtsp_password}}' password: '{{garage_rtsp_password}}'
front_door: front_door:
password: '{{front_door_rtsp_password}}' password: '{{front_door_rtsp_password}}'
doorbell:
password: '{{doorbell_rtsp_password}}'
driveway: driveway:
password: '{{driveway_rtsp_password}}' password: '{{driveway_rtsp_password}}'
back_door: back_door:

View File

@ -39,6 +39,7 @@
IPGEOLOCATION_API_KEY: '{{frigate_config.ipgeolocation.api_key}}' IPGEOLOCATION_API_KEY: '{{frigate_config.ipgeolocation.api_key}}'
FRIGATE_GARAGE_RTSP_PASSWORD: '{{frigate_config.rtsp.garage.password}}' FRIGATE_GARAGE_RTSP_PASSWORD: '{{frigate_config.rtsp.garage.password}}'
FRIGATE_FRONT_DOOR_RTSP_PASSWORD: '{{frigate_config.rtsp.front_door.password}}' FRIGATE_FRONT_DOOR_RTSP_PASSWORD: '{{frigate_config.rtsp.front_door.password}}'
FRIGATE_DOORBELL_RTSP_PASSWORD: '{{frigate_config.rtsp.doorbell.password}}'
FRIGATE_DRIVEWAY_RTSP_PASSWORD: '{{frigate_config.rtsp.driveway.password}}' FRIGATE_DRIVEWAY_RTSP_PASSWORD: '{{frigate_config.rtsp.driveway.password}}'
FRIGATE_BACK_DOOR_RTSP_PASSWORD: '{{frigate_config.rtsp.back_door.password}}' FRIGATE_BACK_DOOR_RTSP_PASSWORD: '{{frigate_config.rtsp.back_door.password}}'
FRIGATE_FAMILY_ROOM_RTSP_PASSWORD: '{{frigate_config.rtsp.family_room.password}}' FRIGATE_FAMILY_ROOM_RTSP_PASSWORD: '{{frigate_config.rtsp.family_room.password}}'