Add new family room camera #15
This commit is contained in:
parent
fb7a84cf4c
commit
c34d7692f6
|
@ -14,7 +14,7 @@ pipeline {
|
|||
frigate_config = readJSON file: 'frigate_config.json'
|
||||
}
|
||||
|
||||
ansiblePlaybook credentialsId: 'rivendell-ssh-key', disableHostKeyChecking: true, extras: "--extra-vars 'ipgeolocation_api_key=\"${frigate_config.ipgeolocation.api_key}\" wyze_email=\"${frigate_config.wyze.email}\" wyze_password=\"${frigate_config.wyze.password}\" wyze_api_id=\"${frigate_config.wyze.api_id}\" wyze_api_key=\"${frigate_config.wyze.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, extras: "--extra-vars 'ipgeolocation_api_key=\"${frigate_config.ipgeolocation.api_key}\" wyze_email=\"${frigate_config.wyze.email}\" wyze_password=\"${frigate_config.wyze.password}\" wyze_api_id=\"${frigate_config.wyze.api_id}\" wyze_api_key=\"${frigate_config.wyze.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}\" office_rtsp_password=\"${frigate_config.rtsp.office.password}\"'", playbook: 'install.yaml'
|
||||
ansiblePlaybook credentialsId: 'rivendell-ssh-key', disableHostKeyChecking: true, playbook: 'stop.yaml'
|
||||
ansiblePlaybook credentialsId: 'rivendell-ssh-key', disableHostKeyChecking: true, playbook: 'start.yaml'
|
||||
}
|
||||
|
|
|
@ -22,7 +22,9 @@ go2rtc:
|
|||
back_door:
|
||||
- 'rtsp://wyze-bridge:8554/back-yard-cam'
|
||||
family_room:
|
||||
- 'rtsp://{FRIGATE_FAMILY_ROOM_RTSP_USERNAME}:{FRIGATE_FAMILY_ROOM_RTSP_PASSWORD}@192.168.0.104:554/live/ch0'
|
||||
- 'rtsp://{FRIGATE_FAMILY_ROOM_RTSP_USERNAME}:{FRIGATE_FAMILY_ROOM_RTSP_PASSWORD}@192.168.0.106:554/stream1'
|
||||
office:
|
||||
- 'rtsp://{FRIGATE_OFFICE_RTSP_USERNAME}:{FRIGATE_OFFICE_RTSP_PASSWORD}@192.168.0.104:554/live/ch0'
|
||||
|
||||
cameras:
|
||||
garage:
|
||||
|
@ -30,7 +32,6 @@ cameras:
|
|||
ffmpeg:
|
||||
inputs:
|
||||
- path: 'rtsp://127.0.0.1:8554/garage'
|
||||
input_args: preset-rtsp-restream
|
||||
roles:
|
||||
- detect
|
||||
- record
|
||||
|
@ -135,6 +136,21 @@ cameras:
|
|||
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
|
||||
office:
|
||||
enabled: false
|
||||
ffmpeg:
|
||||
inputs:
|
||||
- path: 'rtsp://127.0.0.1:8554/office'
|
||||
roles:
|
||||
- detect
|
||||
- record
|
||||
output_args:
|
||||
record: preset-record-generic-audio-aac # Record with aac audio
|
||||
detect:
|
||||
|
|
|
@ -29,6 +29,8 @@ services:
|
|||
FRIGATE_BACK_DOOR_RTSP_PASSWORD: ${FRIGATE_BACK_DOOR_RTSP_PASSWORD}
|
||||
FRIGATE_FAMILY_ROOM_RTSP_USERNAME: frigate
|
||||
FRIGATE_FAMILY_ROOM_RTSP_PASSWORD: ${FRIGATE_FAMILY_ROOM_RTSP_PASSWORD}
|
||||
FRIGATE_OFFICE_RTSP_USERNAME: frigate
|
||||
FRIGATE_OFFICE_RTSP_PASSWORD: ${FRIGATE_OFFICE_RTSP_PASSWORD}
|
||||
shm_size: '150mb'
|
||||
devices:
|
||||
- /dev/dri:/dev/dri
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
prompt: Enter password for back door camera RTSP stream user motion
|
||||
- name: family_room_rtsp_password
|
||||
prompt: Enter password for family room camera RTSP stream user frigate
|
||||
- name: office_rtsp_password
|
||||
prompt: Enter password for office camera RTSP stream user frigate
|
||||
tasks:
|
||||
- name: Create Frigate config Docker volume directory
|
||||
become: true
|
||||
|
@ -167,6 +169,8 @@
|
|||
password: '{{back_door_rtsp_password}}'
|
||||
family_room:
|
||||
password: '{{family_room_rtsp_password}}'
|
||||
office:
|
||||
password: '{{office_rtsp_password}}'
|
||||
community.postgresql.postgresql_query:
|
||||
login_host: '{{homelab_config.database.host}}'
|
||||
login_user: '{{homelab_config.database.user}}'
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
FRIGATE_DRIVEWAY_RTSP_PASSWORD: '{{frigate_config.rtsp.driveway.password}}'
|
||||
FRIGATE_BACK_DOOR_RTSP_PASSWORD: '{{frigate_config.rtsp.back_door.password}}'
|
||||
FRIGATE_FAMILY_ROOM_RTSP_PASSWORD: '{{frigate_config.rtsp.family_room.password}}'
|
||||
FRIGATE_OFFICE_RTSP_PASSWORD: '{{frigate_config.rtsp.office.password}}'
|
||||
community.docker.docker_compose:
|
||||
project_name: frigate
|
||||
project_src: '{{docker_compose_dir.path}}'
|
||||
|
|
Loading…
Reference in New Issue