Moving to HACS Arlo integration. Thanks to https://github.com/CCOSTAN/Home-AssistantConfig/issues/647 for the heads up

This commit is contained in:
Jeffrey Stone 2019-11-15 21:41:10 -05:00
parent b420106b47
commit b60e7ebfac
4 changed files with 83 additions and 22 deletions

View File

@ -11,3 +11,9 @@
# payload_on: 1 # payload_on: 1
# payload_off: 0 # payload_off: 0
# scan_interval: 10 # scan_interval: 10
- platform: aarlo
monitored_conditions:
- motion
- sound
- ding

View File

@ -66,14 +66,28 @@ google:
client_id: !secret google_client_id client_id: !secret google_client_id
client_secret: !secret google_client_secret client_secret: !secret google_client_secret
arlo: # arlo:
username: !secret arlo_user # username: !secret arlo_user
password: !secret arlo_pass # password: !secret arlo_pass
alarm_control_panel: alarm_control_panel:
- platform: arlo # - platform: arlo
# home_mode_name: home
# away_mode_name: armed
- platform: aarlo
home_mode_name: home home_mode_name: home
away_mode_name: armed away_mode_name: Armed
# Using the HACS Arlo Integration
aarlo:
username: !secret arlo_user
password: !secret arlo_pass
db_motion_time: 30
db_ding_time: 10
recent_time: 10
last_format: '%m-%d %H:%M'
refresh_devices_every: 2
discovery: discovery:
ignore: ignore:
@ -124,7 +138,9 @@ camera:
- platform: mjpeg - platform: mjpeg
name: Garage Door Cam name: Garage Door Cam
mjpeg_url: !secret garage_cam mjpeg_url: !secret garage_cam
- platform: arlo # - platform: arlo
# ffmpeg_arguments: '-pred 1 -q:v 2'
- platform: aarlo
ffmpeg_arguments: '-pred 1 -q:v 2' ffmpeg_arguments: '-pred 1 -q:v 2'
ffmpeg: ffmpeg:
@ -165,6 +181,25 @@ group: !include groups.yaml
# automation: !include automations.yaml # automation: !include automations.yaml
# script: !include scripts.yaml # script: !include scripts.yaml
proximity:
home_jeff:
devices:
- device_tracker.life360_jeffrey_stone
zone: home
tolerance: 5
unit_of_measurement: mi
home_kat:
devices:
- device_tracker.life360_kat_stone
zone: home
tolerance: 5
unit_of_measurement: mi
# Using the HACS Daily Snapshot Clean Up Plugin
clean_up_snapshots_service:
host: !secret snapshot_url
token: !secret snapshot_token
number_of_snapshots_to_keep: 3
### Includes ### ### Includes ###
alert: !include_dir_merge_named alerts/ alert: !include_dir_merge_named alerts/

View File

@ -5,14 +5,27 @@
# @description : Maint Automation that occurs every day # @description : Maint Automation that occurs every day
############################################################################### ###############################################################################
automation: automation:
# Reset Daily Weather Alerts at 3am # # Reset Daily Weather Alerts at 3am -> Replaced with better solution in weather_alerts_nws.yaml
- id: reset_weather_alerts # - id: reset_weather_alerts
alias: Reset Weather Alerts # alias: Reset Weather Alerts
initial_state: true # initial_state: true
# trigger:
# - platform: time
# at: '03:00:01'
# action:
# - service: input_boolean.turn_off
# entity_id: input_boolean.freeze_warning
# Using the HACS Daily Snapshot Clean Up Plugin
- id: daily_snapshot_clean_up
alias: Daily snapshot clean up
initial_state: 'on'
trigger: trigger:
- platform: time - platform: time
at: '03:00:01' at: '03:00:00'
condition:
action: action:
- service: input_boolean.turn_off - service: clean_up_snapshots_service.clean_up
entity_id: input_boolean.freeze_warning

View File

@ -73,13 +73,13 @@
- sensor.living_room_temperature - sensor.living_room_temperature
- sensor.master_bedroom_temperature - sensor.master_bedroom_temperature
- sensor.skylar_room_temperature - sensor.skylar_room_temperature
- platform: arlo # - platform: arlo
monitored_conditions: # monitored_conditions:
- captured_today # - captured_today
- last_capture # - last_capture
- total_cameras # - total_cameras
- battery_level # - battery_level
- signal_strength # - signal_strength
- platform: history_stats - platform: history_stats
name: Outside Lights name: Outside Lights
entity_id: group.outside_lights entity_id: group.outside_lights
@ -123,6 +123,13 @@
end: '{{ now() }}' end: '{{ now() }}'
duration: duration:
days: 30 days: 30
- platform: aarlo
monitored_conditions:
- last_capture
- total_cameras
- battery_level
- captured_today
- signal_strength
- platform: template - platform: template
sensors: sensors:
sensor_count: sensor_count: