Skip to content

Commit

Permalink
Merge branch 'doods-dergs' of https://github.com/jnewland/ha-config i…
Browse files Browse the repository at this point in the history
…nto doods-dergs
  • Loading branch information
jnewland committed Jan 20, 2020
2 parents f7f12a5 + ccc6d29 commit 80452d2
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Expand Up @@ -124,7 +124,7 @@ jobs:
env:
HASS_TOKEN: ${{ secrets.HASS_TOKEN }}
HASS_URL: ${{ secrets.HASS_URL }}
TIMEOUT: "60"
TIMEOUT: "120"
run: |
while true; do
curl \
Expand Down
6 changes: 6 additions & 0 deletions camera.yaml
Expand Up @@ -22,6 +22,9 @@
- platform: mjpeg
mjpeg_url: !env_var CAMERA_URL_8
name: side yard
- platform: mjpeg
mjpeg_url: !env_var CAMERA_URL_9
name: pergola
- platform: ffmpeg
name: capitol
input: https://wms-prod-1.wetmet.net/live/192-07-01/playlist.m3u8
Expand All @@ -35,3 +38,6 @@
- platform: local_file
file_path: /tmp/doods_front_yard_left.jpg
name: doods_front_yard_left
- platform: local_file
file_path: /tmp/doods_pergola.jpg
name: doods_pergola
16 changes: 16 additions & 0 deletions image_processing.yaml
@@ -1,3 +1,19 @@
- platform: doods
scan_interval: 10
timeout: 60
url: "http://doods.home-assistant.svc.kubernetes.home.jnewland.com:8080"
detector: default
source:
- entity_id: camera.pergola
name: pergola
file_out:
- "/tmp/doods_{{ camera_entity.split('.')[1] }}.jpg"
labels:
- name: dog
confidence: 30
- name: person
confidence: 75

- platform: doods
scan_interval: 10
timeout: 60
Expand Down
14 changes: 9 additions & 5 deletions ui-lovelace.yaml
Expand Up @@ -32,21 +32,21 @@ views:
- type: picture-entity
show_name: false
show_state: false
entity: camera.side_yard
entity: camera.garage
- type: picture-entity
show_name: false
show_state: false
entity: camera.atrium
entity: camera.back_porch
- type: horizontal-stack
cards:
- type: picture-entity
show_name: false
show_state: false
entity: camera.garage
entity: camera.atrium
- type: picture-entity
show_name: false
show_state: false
entity: camera.back_porch
entity: camera.pergola
- type: vertical-stack
cards:
- type: weather-forecast
Expand Down Expand Up @@ -81,7 +81,7 @@ views:
- type: picture-entity
show_name: false
show_state: false
entity: camera.side_yard
entity: camera.pergola
- type: picture-entity
show_name: false
show_state: false
Expand All @@ -106,6 +106,10 @@ views:
show_name: false
show_state: false
entity: camera.doods_front_yard_left
- type: picture-entity
show_name: false
show_state: false
entity: camera.doods_pergola
- type: custom:auto-entities
show_empty: false
sort:
Expand Down

0 comments on commit 80452d2

Please sign in to comment.