Browse Source

Added back porch camera

master
Teknikode 9 months ago
parent
commit
a891d471ca
  1. 10
      components/amcrest.yaml
  2. 3
      configuration.yaml
  3. 43
      lovelace/views/cameras.yaml

10
components/amcrest.yaml

@ -18,6 +18,16 @@ @@ -18,6 +18,16 @@
- online
sensors:
- sdcard
- host: !secret amcrest_backporch_camera_ip
username: !secret amcrest_backporch_camera_username
password: !secret amcrest_backporch_camera_password
name: Backporch Camera
stream_source: rtsp
binary_sensors:
- motion_detected
- online
sensors:
- sdcard
- host: !secret amcrest_livingroom_camera_ip
username: !secret amcrest_livingroom_camera_username
password: !secret amcrest_livingroom_camera_password

3
configuration.yaml

@ -47,6 +47,9 @@ config: @@ -47,6 +47,9 @@ config:
# HTTP Web Access
http:
use_x_forwared_for: true
trusted_proxies:
- !secret reverse_proxy_ip
# Checks for available updates
updater:

43
lovelace/views/cameras.yaml

@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
title: Cameras
icon: 'mdi:cctv'
type: vertical-stack
panel: false
path: cameras
badges: []
@ -122,18 +123,30 @@ cards: @@ -122,18 +123,30 @@ cards:
service_data:
entity_id: camera.living_room_camera
movement: zoom_in
entity: camera.living_room_camera
- type: picture-glance
aspect_ratio: 0%
camera_image: camera.backyard_camera
camera_view: live
entities:
- camera.backyard_camera
hold_action:
action: more-info
- type: picture-glance
aspect_ratio: 0%
camera_image: camera.front_doorbell
camera_view: live
entities:
- entity: camera.front_doorbell
entity: camera.living_room_camera
- type: horizontal-stack
cards:
- type: picture-glance
aspect_ratio: 0%
camera_image: camera.backyard_camera
camera_view: live
entities:
- camera.backyard_camera
hold_action:
action: more-info
- type: picture-glance
aspect_ratio: 0%
camera_image: camera.backporch_camera
camera_view: live
entities:
- camera.backporch_camera
hold_action:
action: more-info
- type: horizontal-stack
cards:
- type: picture-glance
aspect_ratio: 0%
camera_image: camera.front_doorbell
camera_view: live
entities:
- entity: camera.front_doorbell
Loading…
Cancel
Save