update to 97 version.
This commit is contained in:
parent
c9a658171f
commit
0f8de89732
|
@ -16,13 +16,13 @@ homeassistant:
|
||||||
packages: !include_dir_named packages
|
packages: !include_dir_named packages
|
||||||
|
|
||||||
whitelist_external_dirs:
|
whitelist_external_dirs:
|
||||||
- '/home/homeassistant/.homeassistant/www/downloads/camera/patio/'
|
- "/home/homeassistant/.homeassistant/www/downloads/camera/patio/"
|
||||||
- '/home/homeassistant/.homeassistant/www/downloads/camera/garage/'
|
- "/home/homeassistant/.homeassistant/www/downloads/camera/garage/"
|
||||||
- '/home/homeassistant/.homeassistant/www/downloads/camera/playarea/'
|
- "/home/homeassistant/.homeassistant/www/downloads/camera/playarea/"
|
||||||
- '/home/homeassistant/.homeassistant/www/downloads/camera/driveway/'
|
- "/home/homeassistant/.homeassistant/www/downloads/camera/driveway/"
|
||||||
- '/home/homeassistant/.homeassistant/www/downloads/camera/frontdoor/'
|
- "/home/homeassistant/.homeassistant/www/downloads/camera/frontdoor/"
|
||||||
- '/home/homeassistant/.homeassistant/www/downloads/camera/kitchen/'
|
- "/home/homeassistant/.homeassistant/www/downloads/camera/kitchen/"
|
||||||
- '/home/homeassistant/.homeassistant/www/downloads/camera/frontroom/'
|
- "/home/homeassistant/.homeassistant/www/downloads/camera/frontroom/"
|
||||||
|
|
||||||
sun:
|
sun:
|
||||||
alexa:
|
alexa:
|
||||||
|
@ -79,6 +79,13 @@ zeroconf:
|
||||||
owntracks:
|
owntracks:
|
||||||
system_health:
|
system_health:
|
||||||
|
|
||||||
|
life360:
|
||||||
|
accounts:
|
||||||
|
- username: !secret life360_username
|
||||||
|
password: !secret life360_password
|
||||||
|
circles:
|
||||||
|
include: [Family]
|
||||||
|
|
||||||
mqtt:
|
mqtt:
|
||||||
broker: !secret mqtt_server
|
broker: !secret mqtt_server
|
||||||
port: !secret mqtt_port
|
port: !secret mqtt_port
|
||||||
|
@ -96,26 +103,26 @@ person:
|
||||||
id: suresh
|
id: suresh
|
||||||
device_trackers:
|
device_trackers:
|
||||||
- device_tracker.suresh
|
- device_tracker.suresh
|
||||||
- device_tracker.suresh_suresh
|
- device_tracker.suresh_kalavala
|
||||||
- device_tracker.tesla_model_3_5yj3e1ea8jf010610_location_tracker
|
- device_tracker.tesla_model_3_5yj3e1ea8jf010610_location_tracker
|
||||||
|
|
||||||
- name: Mallika
|
- name: Mallika
|
||||||
id: mallika
|
id: mallika
|
||||||
device_trackers:
|
device_trackers:
|
||||||
- device_tracker.mallika
|
- device_tracker.mallika
|
||||||
- device_tracker.mallika_mallika
|
- device_tracker.life360_mallika
|
||||||
|
|
||||||
- name: Srinika
|
- name: Srinika
|
||||||
id: srinika
|
id: srinika
|
||||||
device_trackers:
|
device_trackers:
|
||||||
- device_tracker.srinika
|
- device_tracker.srinika
|
||||||
- device_tracker.srinika_srinika
|
- device_tracker.life360_srinika
|
||||||
|
|
||||||
- name: Hasika
|
- name: Hasika
|
||||||
id: hasika
|
id: hasika
|
||||||
device_trackers:
|
device_trackers:
|
||||||
- device_tracker.hasika
|
- device_tracker.hasika
|
||||||
- device_tracker.hasika_hasika
|
- device_tracker.life360_hasika
|
||||||
|
|
||||||
lovelace:
|
lovelace:
|
||||||
mode: yaml
|
mode: yaml
|
||||||
|
@ -147,54 +154,53 @@ ios:
|
||||||
push:
|
push:
|
||||||
categories:
|
categories:
|
||||||
- name: Single Car Garage Door
|
- name: Single Car Garage Door
|
||||||
identifier: '1CAR_GARAGE'
|
identifier: "1CAR_GARAGE"
|
||||||
actions:
|
actions:
|
||||||
- identifier: '1CAR_GARAGE_CLOSE'
|
- identifier: "1CAR_GARAGE_CLOSE"
|
||||||
title: 'Close Garage Door'
|
title: "Close Garage Door"
|
||||||
activationMode: 'background'
|
activationMode: "background"
|
||||||
authenticationRequired: yes
|
authenticationRequired: yes
|
||||||
destructive: yes
|
destructive: yes
|
||||||
behavior: 'default'
|
behavior: "default"
|
||||||
- name: Two Car Garage Door
|
- name: Two Car Garage Door
|
||||||
identifier: '2CAR_GARAGE'
|
identifier: "2CAR_GARAGE"
|
||||||
actions:
|
actions:
|
||||||
- identifier: '2CAR_GARAGE_CLOSE'
|
- identifier: "2CAR_GARAGE_CLOSE"
|
||||||
title: 'Close Garage Door'
|
title: "Close Garage Door"
|
||||||
activationMode: 'background'
|
activationMode: "background"
|
||||||
authenticationRequired: yes
|
authenticationRequired: yes
|
||||||
destructive: yes
|
destructive: yes
|
||||||
behavior: 'default'
|
behavior: "default"
|
||||||
- name: Trash Recycle
|
- name: Trash Recycle
|
||||||
identifier: 'trash_recycle'
|
identifier: "trash_recycle"
|
||||||
actions:
|
actions:
|
||||||
- identifier: 'TRASH_LEFT'
|
- identifier: "TRASH_LEFT"
|
||||||
title: 'Done'
|
title: "Done"
|
||||||
activationMode: 'background'
|
activationMode: "background"
|
||||||
authenticationRequired: yes
|
authenticationRequired: yes
|
||||||
destructive: yes
|
destructive: yes
|
||||||
behavior: 'default'
|
behavior: "default"
|
||||||
- identifier: 'TRASH_REMIND_LATER'
|
- identifier: "TRASH_REMIND_LATER"
|
||||||
title: 'Remind Later'
|
title: "Remind Later"
|
||||||
activationMode: 'background'
|
activationMode: "background"
|
||||||
authenticationRequired: yes
|
authenticationRequired: yes
|
||||||
destructive: yes
|
destructive: yes
|
||||||
behavior: 'default'
|
behavior: "default"
|
||||||
- name: Welcome Home
|
- name: Welcome Home
|
||||||
identifier: 'welcome_home'
|
identifier: "welcome_home"
|
||||||
actions:
|
actions:
|
||||||
- identifier: 'DISABLE_SECURITY'
|
- identifier: "DISABLE_SECURITY"
|
||||||
title: 'Yes'
|
title: "Yes"
|
||||||
activationMode: 'background'
|
activationMode: "background"
|
||||||
authenticationRequired: yes
|
authenticationRequired: yes
|
||||||
destructive: yes
|
destructive: yes
|
||||||
behavior: 'default'
|
behavior: "default"
|
||||||
|
|
||||||
telegram_bot:
|
telegram_bot:
|
||||||
- platform: broadcast
|
- platform: broadcast
|
||||||
api_key: !secret telegram_apikey
|
api_key: !secret telegram_apikey
|
||||||
allowed_chat_ids:
|
allowed_chat_ids:
|
||||||
- !secret telegram_chatid
|
- !secret telegram_chatid
|
||||||
|
|
||||||
# influxdb:
|
# influxdb:
|
||||||
# host: 192.168.1.125
|
# host: 192.168.1.125
|
||||||
# include:
|
# include:
|
||||||
|
|
|
@ -12,11 +12,11 @@ cards:
|
||||||
- font-weight: bold
|
- font-weight: bold
|
||||||
- color: rgb(255, 255, 255)
|
- color: rgb(255, 255, 255)
|
||||||
state:
|
state:
|
||||||
- value: 'disarmed'
|
- value: "disarmed"
|
||||||
color: rgb(255,0,0)
|
color: rgb(255,0,0)
|
||||||
- value: 'armed_home'
|
- value: "armed_home"
|
||||||
color: rgb(0, 128, 0)
|
color: rgb(0, 128, 0)
|
||||||
- value: 'armed_away'
|
- value: "armed_away"
|
||||||
color: rgb(0, 0, 255)
|
color: rgb(0, 0, 255)
|
||||||
action: more_info
|
action: more_info
|
||||||
|
|
||||||
|
@ -29,11 +29,11 @@ cards:
|
||||||
- font-weight: bold
|
- font-weight: bold
|
||||||
- color: rgb(255, 255, 255)
|
- color: rgb(255, 255, 255)
|
||||||
state:
|
state:
|
||||||
- value: 'heat'
|
- value: "heat"
|
||||||
color: rgb(255,0,0)
|
color: rgb(255,0,0)
|
||||||
- value: 'eco'
|
- value: "eco"
|
||||||
color: rgb(0, 128, 0)
|
color: rgb(0, 128, 0)
|
||||||
- value: 'cool'
|
- value: "cool"
|
||||||
color: rgb(0, 0, 255)
|
color: rgb(0, 0, 255)
|
||||||
action: service
|
action: service
|
||||||
service:
|
service:
|
||||||
|
@ -44,36 +44,34 @@ cards:
|
||||||
title: Device Trackers
|
title: Device Trackers
|
||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
entities:
|
entities:
|
||||||
- device_tracker.hasika_hasika
|
- entity: device_tracker.life360_suresh
|
||||||
- device_tracker.mallika_mallika
|
name: Suresh
|
||||||
- device_tracker.srinika_srinika
|
- entity: device_tracker.life360_mallika
|
||||||
- device_tracker.suresh_suresh
|
name: Mallika
|
||||||
|
- entity: device_tracker.life360_srinika
|
||||||
|
name: Srinika
|
||||||
|
- entity: device_tracker.life360_hasika
|
||||||
|
name: Hasika
|
||||||
- entity: device_tracker.tesla_model_3_5yj3e1ea8jf010610_location_tracker
|
- entity: device_tracker.tesla_model_3_5yj3e1ea8jf010610_location_tracker
|
||||||
name: Tesla
|
name: Tesla
|
||||||
state_filter:
|
state_filter:
|
||||||
- 'home'
|
- "home"
|
||||||
card:
|
card:
|
||||||
type: glance
|
type: glance
|
||||||
title: Kalavala Family
|
title: Kalavala Family
|
||||||
|
|
||||||
- type: entities
|
|
||||||
title: Master Bedroom Occupancy Value
|
|
||||||
show_header_toggle: false
|
|
||||||
entities:
|
|
||||||
- sensor.master_bed_sensor
|
|
||||||
|
|
||||||
- type: entity-filter
|
- type: entity-filter
|
||||||
title: For Your Information
|
title: For Your Information
|
||||||
show_empty: false
|
show_empty: false
|
||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
entities:
|
entities:
|
||||||
- entity: sensor.hasika_iphone_battery_state
|
- entity: sensor.hasika_battery_state
|
||||||
name: Hasika
|
name: Hasika
|
||||||
- entity: sensor.mallika_iphone_battery_state
|
- entity: sensor.mallika_battery_state
|
||||||
name: Mallika
|
name: Mallika
|
||||||
- entity: sensor.srinika_iphone_battery_state
|
- entity: sensor.srinika_battery_state
|
||||||
name: Srinika
|
name: Srinika
|
||||||
- entity: sensor.srinika_iphone_battery_state
|
- entity: sensor.srinika_battery_state
|
||||||
name: Suresh
|
name: Suresh
|
||||||
- entity: sensor.hasika_iphone_wifi_state
|
- entity: sensor.hasika_iphone_wifi_state
|
||||||
name: Hasika
|
name: Hasika
|
||||||
|
@ -86,26 +84,17 @@ cards:
|
||||||
- sensor.recycle_day
|
- sensor.recycle_day
|
||||||
- sensor.trash_day
|
- sensor.trash_day
|
||||||
state_filter:
|
state_filter:
|
||||||
- 'Charging'
|
- "Charging"
|
||||||
- 'yes'
|
- "yes"
|
||||||
- 'Not Connected'
|
- "Not Connected"
|
||||||
card:
|
card:
|
||||||
type: glance
|
type: glance
|
||||||
title: FYI
|
title: FYI
|
||||||
|
|
||||||
- type: entities
|
|
||||||
title: Where Is Everyone
|
|
||||||
show_header_toggle: false
|
|
||||||
entities:
|
|
||||||
- sensor.hasika_location
|
|
||||||
- sensor.mallika_location
|
|
||||||
- sensor.srinika_location
|
|
||||||
- sensor.suresh_location
|
|
||||||
|
|
||||||
- type: conditional
|
- type: conditional
|
||||||
conditions:
|
conditions:
|
||||||
- entity: input_boolean.emergency_mode
|
- entity: input_boolean.emergency_mode
|
||||||
state: 'on'
|
state: "on"
|
||||||
card:
|
card:
|
||||||
type: entities
|
type: entities
|
||||||
title: Emergency Scripts
|
title: Emergency Scripts
|
||||||
|
@ -146,9 +135,9 @@ cards:
|
||||||
- entity: binary_sensor.two_car_garage_door_tilt_sensor_sensor
|
- entity: binary_sensor.two_car_garage_door_tilt_sensor_sensor
|
||||||
name: Double Car Garage Door
|
name: Double Car Garage Door
|
||||||
state_filter:
|
state_filter:
|
||||||
- 'on'
|
- "on"
|
||||||
- 'opened'
|
- "opened"
|
||||||
- 'Open'
|
- "Open"
|
||||||
card:
|
card:
|
||||||
type: glance
|
type: glance
|
||||||
title: Doors
|
title: Doors
|
||||||
|
@ -159,7 +148,7 @@ cards:
|
||||||
cards:
|
cards:
|
||||||
- type: gauge
|
- type: gauge
|
||||||
name: Suresh Phone
|
name: Suresh Phone
|
||||||
unit: '%'
|
unit: "%"
|
||||||
entity: input_label.suresh_battery
|
entity: input_label.suresh_battery
|
||||||
severity:
|
severity:
|
||||||
green: 75
|
green: 75
|
||||||
|
@ -167,7 +156,7 @@ cards:
|
||||||
red: 30
|
red: 30
|
||||||
- type: gauge
|
- type: gauge
|
||||||
name: Mallika Phone
|
name: Mallika Phone
|
||||||
unit: '%'
|
unit: "%"
|
||||||
entity: input_label.mallika_battery
|
entity: input_label.mallika_battery
|
||||||
severity:
|
severity:
|
||||||
green: 75
|
green: 75
|
||||||
|
@ -177,7 +166,7 @@ cards:
|
||||||
cards:
|
cards:
|
||||||
- type: gauge
|
- type: gauge
|
||||||
name: Srinika Phone
|
name: Srinika Phone
|
||||||
unit: '%'
|
unit: "%"
|
||||||
entity: input_label.srinika_battery
|
entity: input_label.srinika_battery
|
||||||
severity:
|
severity:
|
||||||
green: 75
|
green: 75
|
||||||
|
@ -185,7 +174,7 @@ cards:
|
||||||
red: 30
|
red: 30
|
||||||
- type: gauge
|
- type: gauge
|
||||||
name: Hasika Phone
|
name: Hasika Phone
|
||||||
unit: '%'
|
unit: "%"
|
||||||
entity: input_label.hasika_battery
|
entity: input_label.hasika_battery
|
||||||
severity:
|
severity:
|
||||||
green: 75
|
green: 75
|
||||||
|
@ -230,7 +219,7 @@ cards:
|
||||||
- type: conditional
|
- type: conditional
|
||||||
conditions:
|
conditions:
|
||||||
- entity: sensor.season
|
- entity: sensor.season
|
||||||
state: 'spring'
|
state: "spring"
|
||||||
card:
|
card:
|
||||||
type: vertical-stack
|
type: vertical-stack
|
||||||
cards:
|
cards:
|
||||||
|
@ -238,7 +227,7 @@ cards:
|
||||||
cards:
|
cards:
|
||||||
- type: gauge
|
- type: gauge
|
||||||
name: Pollen Today
|
name: Pollen Today
|
||||||
unit: '%'
|
unit: "%"
|
||||||
entity: sensor.allergy_index_today
|
entity: sensor.allergy_index_today
|
||||||
max: 12.0
|
max: 12.0
|
||||||
severity:
|
severity:
|
||||||
|
@ -247,7 +236,7 @@ cards:
|
||||||
red: 7
|
red: 7
|
||||||
- type: gauge
|
- type: gauge
|
||||||
name: Pollen Tomorrow
|
name: Pollen Tomorrow
|
||||||
unit: '%'
|
unit: "%"
|
||||||
entity: sensor.allergy_index_tomorrow
|
entity: sensor.allergy_index_tomorrow
|
||||||
max: 12.0
|
max: 12.0
|
||||||
severity:
|
severity:
|
||||||
|
@ -258,7 +247,7 @@ cards:
|
||||||
cards:
|
cards:
|
||||||
- type: gauge
|
- type: gauge
|
||||||
name: Asthma Today
|
name: Asthma Today
|
||||||
unit: '%'
|
unit: "%"
|
||||||
entity: sensor.asthma_index_forecasted_average
|
entity: sensor.asthma_index_forecasted_average
|
||||||
severity:
|
severity:
|
||||||
green: 0
|
green: 0
|
||||||
|
@ -266,7 +255,7 @@ cards:
|
||||||
red: 7
|
red: 7
|
||||||
- type: gauge
|
- type: gauge
|
||||||
name: Asthma Tomorrow
|
name: Asthma Tomorrow
|
||||||
unit: '%'
|
unit: "%"
|
||||||
entity: sensor.asthma_index_tomorrow
|
entity: sensor.asthma_index_tomorrow
|
||||||
severity:
|
severity:
|
||||||
green: 0
|
green: 0
|
||||||
|
@ -301,10 +290,10 @@ cards:
|
||||||
- binary_sensor.two_car_garage_door_tilt_sensor_sensor
|
- binary_sensor.two_car_garage_door_tilt_sensor_sensor
|
||||||
- binary_sensor.upstairs_multi_sensor_sensor
|
- binary_sensor.upstairs_multi_sensor_sensor
|
||||||
state_filter:
|
state_filter:
|
||||||
- 'on'
|
- "on"
|
||||||
- 'detected'
|
- "detected"
|
||||||
- 'opened'
|
- "opened"
|
||||||
- 'Open'
|
- "Open"
|
||||||
card:
|
card:
|
||||||
type: entities
|
type: entities
|
||||||
title: Motion Sensors
|
title: Motion Sensors
|
||||||
|
|
|
@ -46,9 +46,9 @@ cards:
|
||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
entities:
|
entities:
|
||||||
- switch.garage
|
- switch.garage
|
||||||
- entity: switch.tesla_model_3_5yj3e1ea8jf010610_charger_switch
|
- entity: switch.tesla_model_3_charger_switch
|
||||||
name: Tesla Charger Switch
|
name: Tesla Charger Switch
|
||||||
- entity: switch.tesla_model_3_5yj3e1ea8jf010610_maxrange_switch
|
- entity: switch.tesla_model_3_maxrange_switch
|
||||||
name: Tesla Max Range Switch
|
name: Tesla Max Range Switch
|
||||||
|
|
||||||
- type: entities
|
- type: entities
|
||||||
|
|
|
@ -13,7 +13,7 @@ cards:
|
||||||
hours_to_show: 12
|
hours_to_show: 12
|
||||||
- type: gauge
|
- type: gauge
|
||||||
entity: sensor.dining_room_thermostat_humidity
|
entity: sensor.dining_room_thermostat_humidity
|
||||||
unit: '%'
|
unit: "%"
|
||||||
name: Home Humidity
|
name: Home Humidity
|
||||||
severity:
|
severity:
|
||||||
green: 40
|
green: 40
|
||||||
|
@ -25,7 +25,7 @@ cards:
|
||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
entities:
|
entities:
|
||||||
- climate.dining_room
|
- climate.dining_room
|
||||||
- climate.tesla_model_3_5yj3e1ea8jf010610_hvac_climate_system
|
- climate.tesla_model_3_hvac_climate_system
|
||||||
- binary_sensor.dining_room_thermostat_fan
|
- binary_sensor.dining_room_thermostat_fan
|
||||||
- binary_sensor.dining_room_thermostat_has_leaf
|
- binary_sensor.dining_room_thermostat_has_leaf
|
||||||
- binary_sensor.dining_room_thermostat_is_locked
|
- binary_sensor.dining_room_thermostat_is_locked
|
||||||
|
@ -38,7 +38,7 @@ cards:
|
||||||
- sensor.dining_room_thermostat_temperature
|
- sensor.dining_room_thermostat_temperature
|
||||||
|
|
||||||
- type: history-graph
|
- type: history-graph
|
||||||
title: 'Temperature'
|
title: "Temperature"
|
||||||
entities:
|
entities:
|
||||||
- entity: sensor.dark_sky_apparent_temperature
|
- entity: sensor.dark_sky_apparent_temperature
|
||||||
name: Outside
|
name: Outside
|
||||||
|
|
|
@ -7,16 +7,16 @@ cards:
|
||||||
cards:
|
cards:
|
||||||
- type: gauge
|
- type: gauge
|
||||||
name: Tesla Battery
|
name: Tesla Battery
|
||||||
unit: '%'
|
unit: "%"
|
||||||
entity: sensor.tesla_model_3_5yj3e1ea8jf010610_battery_sensor
|
entity: sensor.tesla_model_3_battery_sensor
|
||||||
severity:
|
severity:
|
||||||
green: 75
|
green: 75
|
||||||
yellow: 40
|
yellow: 40
|
||||||
red: 25
|
red: 25
|
||||||
- type: gauge
|
- type: gauge
|
||||||
name: Battery Range
|
name: Battery Range
|
||||||
unit: 'miles'
|
unit: "miles"
|
||||||
entity: sensor.tesla_model_3_5yj3e1ea8jf010610_range_sensor
|
entity: sensor.tesla_model_3_range_sensor
|
||||||
max: 320
|
max: 320
|
||||||
min: 0
|
min: 0
|
||||||
severity:
|
severity:
|
||||||
|
@ -24,15 +24,15 @@ cards:
|
||||||
yellow: 100
|
yellow: 100
|
||||||
red: 75
|
red: 75
|
||||||
- type: thermostat
|
- type: thermostat
|
||||||
entity: climate.tesla_model_3_5yj3e1ea8jf010610_hvac_climate_system
|
entity: climate.tesla_model_3_hvac_climate_system
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: sensor
|
- type: sensor
|
||||||
entity: sensor.tesla_model_3_5yj3e1ea8jf010610_temperature_sensor_inside
|
entity: sensor.tesla_model_3_temperature_sensor_inside
|
||||||
name: Temperature Inside
|
name: Temperature Inside
|
||||||
graph: line
|
graph: line
|
||||||
- type: sensor
|
- type: sensor
|
||||||
entity: sensor.tesla_model_3_5yj3e1ea8jf010610_temperature_sensor_outside
|
entity: sensor.tesla_model_3_temperature_sensor_outside
|
||||||
name: Temperature outside
|
name: Temperature outside
|
||||||
graph: line
|
graph: line
|
||||||
|
|
||||||
|
@ -41,14 +41,14 @@ cards:
|
||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
entities:
|
entities:
|
||||||
- device_tracker.tesla_model_3_5yj3e1ea8jf010610_location_tracker
|
- device_tracker.tesla_model_3_5yj3e1ea8jf010610_location_tracker
|
||||||
- binary_sensor.tesla_model_3_5yj3e1ea8jf010610_parking_brake_sensor
|
- binary_sensor.tesla_model_3_parking_brake_sensor
|
||||||
- lock.tesla_model_3_5yj3e1ea8jf010610_door_lock
|
- lock.tesla_model_3_door_lock
|
||||||
- sensor.tesla_model_3_5yj3e1ea8jf010610_mileage_sensor
|
- sensor.tesla_model_3_mileage_sensor
|
||||||
|
|
||||||
- type: entities
|
- type: entities
|
||||||
title: Charging
|
title: Charging
|
||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
entities:
|
entities:
|
||||||
- binary_sensor.tesla_model_3_5yj3e1ea8jf010610_charger_sensor
|
- binary_sensor.tesla_model_3_charger_sensor
|
||||||
- switch.tesla_model_3_5yj3e1ea8jf010610_charger_switch
|
- switch.tesla_model_3_charger_switch
|
||||||
- switch.tesla_model_3_5yj3e1ea8jf010610_maxrange_switch
|
- switch.tesla_model_3_maxrange_switch
|
||||||
|
|
|
@ -62,6 +62,9 @@ cards:
|
||||||
- type: media-control
|
- type: media-control
|
||||||
entity: media_player.attic_tv
|
entity: media_player.attic_tv
|
||||||
|
|
||||||
|
- type: media-control
|
||||||
|
entity: media_player.chromecastultra7021
|
||||||
|
|
||||||
# - type: media-control
|
# - type: media-control
|
||||||
# entity: media_player.my_denon_receiver
|
# entity: media_player.my_denon_receiver
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ cards:
|
||||||
- type: conditional
|
- type: conditional
|
||||||
conditions:
|
conditions:
|
||||||
- entity: input_boolean.alarm_clock
|
- entity: input_boolean.alarm_clock
|
||||||
state: 'on'
|
state: "on"
|
||||||
card:
|
card:
|
||||||
type: entities
|
type: entities
|
||||||
title: Alarm Clock
|
title: Alarm Clock
|
||||||
|
@ -46,7 +46,6 @@ cards:
|
||||||
title: Zone Based Alerts
|
title: Zone Based Alerts
|
||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
entities:
|
entities:
|
||||||
- automation.alert_life365_error
|
|
||||||
- automation.alert_private_zone_enter
|
- automation.alert_private_zone_enter
|
||||||
- automation.alert_private_zone_leaves
|
- automation.alert_private_zone_leaves
|
||||||
- automation.alert_when_everyone_is_away
|
- automation.alert_when_everyone_is_away
|
||||||
|
@ -138,8 +137,6 @@ cards:
|
||||||
title: Home Security Automations
|
title: Home Security Automations
|
||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
entities:
|
entities:
|
||||||
- automation.disable_emergency_mode_upon_disabling_home_security
|
|
||||||
- automation.home_security_away_motion_deteted_inside
|
|
||||||
- automation.home_security_status_leeo_color
|
- automation.home_security_status_leeo_color
|
||||||
- automation.home_security_system_watchdog_10_minutes
|
- automation.home_security_system_watchdog_10_minutes
|
||||||
- automation.home_security_system_watchdog_30_minutes
|
- automation.home_security_system_watchdog_30_minutes
|
||||||
|
@ -150,7 +147,7 @@ cards:
|
||||||
- type: conditional
|
- type: conditional
|
||||||
conditions:
|
conditions:
|
||||||
- entity: input_boolean.light_automations
|
- entity: input_boolean.light_automations
|
||||||
state: 'on'
|
state: "on"
|
||||||
card:
|
card:
|
||||||
type: entities
|
type: entities
|
||||||
title: Light Automations
|
title: Light Automations
|
||||||
|
@ -233,7 +230,6 @@ cards:
|
||||||
- automation.weather_input_boolean_updates
|
- automation.weather_input_boolean_updates
|
||||||
- automation.rain_alerts
|
- automation.rain_alerts
|
||||||
- automation.snow_and_sleet_alerts
|
- automation.snow_and_sleet_alerts
|
||||||
- automation.update_openuv_every_30_minutes_during_the_daytime
|
|
||||||
- automation.alert_super_heavy_winds
|
- automation.alert_super_heavy_winds
|
||||||
|
|
||||||
- type: entities
|
- type: entities
|
||||||
|
@ -252,7 +248,6 @@ cards:
|
||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
entities:
|
entities:
|
||||||
- automation.notify_home_status_when_away
|
- automation.notify_home_status_when_away
|
||||||
- automation.emergency_mode_disabled
|
|
||||||
- automation.home_mode_away_on
|
- automation.home_mode_away_on
|
||||||
- automation.hourly_report_during_day_time
|
- automation.hourly_report_during_day_time
|
||||||
- automation.check_wi_fi_status_of_iphones_at_home
|
- automation.check_wi_fi_status_of_iphones_at_home
|
||||||
|
@ -288,7 +283,6 @@ cards:
|
||||||
- automation.update_available_notification
|
- automation.update_available_notification
|
||||||
- automation.update_zwave_battery_levels
|
- automation.update_zwave_battery_levels
|
||||||
- automation.ups_state_change
|
- automation.ups_state_change
|
||||||
- automation.water_leak_detected
|
|
||||||
|
|
||||||
- type: entities
|
- type: entities
|
||||||
title: Misc Automations
|
title: Misc Automations
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
###############################################################################
|
###############################################################################
|
||||||
homeassistant:
|
homeassistant:
|
||||||
customize:
|
customize:
|
||||||
|
|
||||||
group.batteries:
|
group.batteries:
|
||||||
order: 2
|
order: 2
|
||||||
|
|
||||||
|
@ -38,7 +37,6 @@ homeassistant:
|
||||||
friendly_name: Suresh Phone Wi-Fi Status
|
friendly_name: Suresh Phone Wi-Fi Status
|
||||||
|
|
||||||
sensor:
|
sensor:
|
||||||
|
|
||||||
- platform: mqtt
|
- platform: mqtt
|
||||||
state_topic: "owntracks/mallika/mallika"
|
state_topic: "owntracks/mallika/mallika"
|
||||||
name: "Mallika iPhone Battery (OT)"
|
name: "Mallika iPhone Battery (OT)"
|
||||||
|
@ -154,31 +152,31 @@ sensor:
|
||||||
- platform: mqtt
|
- platform: mqtt
|
||||||
state_topic: "owntracks/mallika/mallika"
|
state_topic: "owntracks/mallika/mallika"
|
||||||
name: "Mallika Driving Speed"
|
name: "Mallika Driving Speed"
|
||||||
value_template: '{{ value_json.vel |int|round}}'
|
value_template: "{{ value_json.vel |int|round}}"
|
||||||
unit_of_measurement: miles
|
unit_of_measurement: miles
|
||||||
|
|
||||||
- platform: mqtt
|
- platform: mqtt
|
||||||
state_topic: "owntracks/suresh/suresh"
|
state_topic: "owntracks/suresh/suresh"
|
||||||
name: "Suresh Driving Speed"
|
name: "Suresh Driving Speed"
|
||||||
value_template: '{{ value_json.vel |int|round}}'
|
value_template: "{{ value_json.vel |int|round}}"
|
||||||
unit_of_measurement: miles
|
unit_of_measurement: miles
|
||||||
|
|
||||||
- platform: mqtt
|
- platform: mqtt
|
||||||
state_topic: "owntracks/srinika/srinika"
|
state_topic: "owntracks/srinika/srinika"
|
||||||
name: "Srinika Driving Speed"
|
name: "Srinika Driving Speed"
|
||||||
value_template: '{{ value_json.vel |int|round}}'
|
value_template: "{{ value_json.vel |int|round}}"
|
||||||
unit_of_measurement: miles
|
unit_of_measurement: miles
|
||||||
|
|
||||||
- platform: mqtt
|
- platform: mqtt
|
||||||
state_topic: "owntracks/hasika/hasika"
|
state_topic: "owntracks/hasika/hasika"
|
||||||
name: "Hasika Driving Speed"
|
name: "Hasika Driving Speed"
|
||||||
value_template: '{{ value_json.vel |int|round}}'
|
value_template: "{{ value_json.vel |int|round}}"
|
||||||
unit_of_measurement: miles
|
unit_of_measurement: miles
|
||||||
|
|
||||||
- platform: template
|
- platform: template
|
||||||
sensors:
|
sensors:
|
||||||
suresh_iphone_battery_ot:
|
suresh_iphone_battery_ot:
|
||||||
unit_of_measurement: '%'
|
unit_of_measurement: "%"
|
||||||
value_template: >
|
value_template: >
|
||||||
{% if states('sensor.suresh_iphone_battery_ot') != "unknown" %}
|
{% if states('sensor.suresh_iphone_battery_ot') != "unknown" %}
|
||||||
{{ states('sensor.suresh_iphone_battery_ot')| int }}
|
{{ states('sensor.suresh_iphone_battery_ot')| int }}
|
||||||
|
@ -221,7 +219,7 @@ sensor:
|
||||||
- platform: template
|
- platform: template
|
||||||
sensors:
|
sensors:
|
||||||
mallika_iphone_battery_ot:
|
mallika_iphone_battery_ot:
|
||||||
unit_of_measurement: '%'
|
unit_of_measurement: "%"
|
||||||
value_template: "{{ states('sensor.mallika_iphone_battery_ot')|int(-1) }}"
|
value_template: "{{ states('sensor.mallika_iphone_battery_ot')|int(-1) }}"
|
||||||
icon_template: >-
|
icon_template: >-
|
||||||
{% if states('sensor.mallika_iphone_battery_ot') != "unknown" %}
|
{% if states('sensor.mallika_iphone_battery_ot') != "unknown" %}
|
||||||
|
@ -259,7 +257,7 @@ sensor:
|
||||||
- platform: template
|
- platform: template
|
||||||
sensors:
|
sensors:
|
||||||
srinika_iphone_battery_ot:
|
srinika_iphone_battery_ot:
|
||||||
unit_of_measurement: '%'
|
unit_of_measurement: "%"
|
||||||
value_template: "{{ states('sensor.srinika_iphone_battery_ot')|int(-1) }}"
|
value_template: "{{ states('sensor.srinika_iphone_battery_ot')|int(-1) }}"
|
||||||
icon_template: >-
|
icon_template: >-
|
||||||
{% if states('sensor.srinika_iphone_battery_ot') != "unknown" %}
|
{% if states('sensor.srinika_iphone_battery_ot') != "unknown" %}
|
||||||
|
@ -297,7 +295,7 @@ sensor:
|
||||||
- platform: template
|
- platform: template
|
||||||
sensors:
|
sensors:
|
||||||
hasika_iphone_battery_ot:
|
hasika_iphone_battery_ot:
|
||||||
unit_of_measurement: '%'
|
unit_of_measurement: "%"
|
||||||
value_template: "{{ states('sensor.hasika_iphone_battery_ot')|int(-1) }}"
|
value_template: "{{ states('sensor.hasika_iphone_battery_ot')|int(-1) }}"
|
||||||
icon_template: >-
|
icon_template: >-
|
||||||
{% if states('sensor.hasika_iphone_battery_ot') != "unknown" %}
|
{% if states('sensor.hasika_iphone_battery_ot') != "unknown" %}
|
||||||
|
@ -343,7 +341,6 @@ sensor:
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
automation:
|
automation:
|
||||||
|
|
||||||
#
|
#
|
||||||
# This automation alerts family members when they are "moving" - meaning either in driving from work,
|
# This automation alerts family members when they are "moving" - meaning either in driving from work,
|
||||||
# kids got on the school bus, and bus is moving...etc
|
# kids got on the school bus, and bus is moving...etc
|
||||||
|
@ -390,11 +387,11 @@ automation:
|
||||||
trigger:
|
trigger:
|
||||||
platform: numeric_state
|
platform: numeric_state
|
||||||
entity_id:
|
entity_id:
|
||||||
- device_tracker.suresh_suresh
|
- device_tracker.life360_suresh
|
||||||
- device_tracker.mallika_mallika
|
- device_tracker.life360_mallika
|
||||||
- device_tracker.srinika_srinika
|
- device_tracker.life360_srinika
|
||||||
- device_tracker.hasika_hasika
|
- device_tracker.life360_hasika
|
||||||
value_template: '{{ state.attributes.battery }}'
|
value_template: "{{ state.attributes.battery }}"
|
||||||
below: 25
|
below: 25
|
||||||
condition:
|
condition:
|
||||||
- condition: template
|
- condition: template
|
||||||
|
@ -402,11 +399,10 @@ automation:
|
||||||
action:
|
action:
|
||||||
- service: script.notify_me
|
- service: script.notify_me
|
||||||
data_template:
|
data_template:
|
||||||
message: "{{ trigger.to_state.attributes.friendly_name | title }}'s phone battery is : {{ trigger.to_state.attributes.battery }}%."
|
message: "{{ trigger.to_state.attributes.friendly_name.split(' ')[1] | title }}'s phone battery is : {{ trigger.to_state.attributes.battery }}%."
|
||||||
- service: script.voice_notify
|
- service: script.voice_notify
|
||||||
data_template:
|
data_template:
|
||||||
message: "{{ trigger.to_state.attributes.friendly_name }}'s phone battery is : {{ trigger.to_state.attributes.battery }}%."
|
message: "{{ trigger.to_state.attributes.friendly_name.split(' ')[1] }}'s phone battery is : {{ trigger.to_state.attributes.battery }}%."
|
||||||
|
|
||||||
|
|
||||||
- alias: Alert Low Battery
|
- alias: Alert Low Battery
|
||||||
trigger:
|
trigger:
|
||||||
|
@ -477,28 +473,28 @@ automation:
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id:
|
entity_id:
|
||||||
- device_tracker.mallika_mallika
|
- device_tracker.life360_mallika
|
||||||
- device_tracker.suresh_suresh
|
- device_tracker.life360_suresh
|
||||||
- device_tracker.srinika_srinika
|
- device_tracker.life360_srinika
|
||||||
- device_tracker.hasika_hasika
|
- device_tracker.life360_hasika
|
||||||
from: 'not_home'
|
from: "not_home"
|
||||||
to: 'home'
|
to: "home"
|
||||||
for: '00:05:00'
|
for: "00:05:00"
|
||||||
condition:
|
condition:
|
||||||
condition: or
|
condition: or
|
||||||
conditions:
|
conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: sensor.hasika_iphone_wifi_state
|
entity_id: sensor.hasika_iphone_wifi_state
|
||||||
state: 'Not Connected'
|
state: "Not Connected"
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: sensor.mallika_iphone_wifi_state
|
entity_id: sensor.mallika_iphone_wifi_state
|
||||||
state: 'Not Connected'
|
state: "Not Connected"
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: sensor.srinika_iphone_wifi_state
|
entity_id: sensor.srinika_iphone_wifi_state
|
||||||
state: 'Not Connected'
|
state: "Not Connected"
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: sensor.suresh_iphone_wifi_state
|
entity_id: sensor.suresh_iphone_wifi_state
|
||||||
state: 'Not Connected'
|
state: "Not Connected"
|
||||||
action:
|
action:
|
||||||
- service: script.notify_me
|
- service: script.notify_me
|
||||||
data_template:
|
data_template:
|
||||||
|
|
|
@ -74,7 +74,6 @@ camera:
|
||||||
file_path: "/home/homeassistant/.homeassistant/www/downloads/camera/garage/garage_latest.jpg"
|
file_path: "/home/homeassistant/.homeassistant/www/downloads/camera/garage/garage_latest.jpg"
|
||||||
|
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
|
|
||||||
- platform: hikvision
|
- platform: hikvision
|
||||||
name: Frontdoor Camera
|
name: Frontdoor Camera
|
||||||
ssl: false
|
ssl: false
|
||||||
|
@ -134,7 +133,7 @@ rest_command:
|
||||||
username: !secret camera_username
|
username: !secret camera_username
|
||||||
password: !secret camera_password
|
password: !secret camera_password
|
||||||
method: PUT
|
method: PUT
|
||||||
content_type: 'text/xml'
|
content_type: "text/xml"
|
||||||
payload: >-
|
payload: >-
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<TextOverlay version="1.0" xmlns="http://www.hikvision.com/ver10/XMLSchema">
|
<TextOverlay version="1.0" xmlns="http://www.hikvision.com/ver10/XMLSchema">
|
||||||
|
@ -148,7 +147,7 @@ rest_command:
|
||||||
username: !secret camera_username
|
username: !secret camera_username
|
||||||
password: !secret camera_password
|
password: !secret camera_password
|
||||||
method: PUT
|
method: PUT
|
||||||
content_type: 'text/xml'
|
content_type: "text/xml"
|
||||||
payload: >-
|
payload: >-
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<TextOverlay version="1.0" xmlns="http://www.hikvision.com/ver10/XMLSchema">
|
<TextOverlay version="1.0" xmlns="http://www.hikvision.com/ver10/XMLSchema">
|
||||||
|
@ -162,7 +161,7 @@ rest_command:
|
||||||
username: !secret camera_username
|
username: !secret camera_username
|
||||||
password: !secret camera_password
|
password: !secret camera_password
|
||||||
method: PUT
|
method: PUT
|
||||||
content_type: 'text/xml'
|
content_type: "text/xml"
|
||||||
payload: >-
|
payload: >-
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<TextOverlay version="1.0" xmlns="http://www.hikvision.com/ver10/XMLSchema">
|
<TextOverlay version="1.0" xmlns="http://www.hikvision.com/ver10/XMLSchema">
|
||||||
|
@ -176,7 +175,7 @@ rest_command:
|
||||||
username: !secret camera_username
|
username: !secret camera_username
|
||||||
password: !secret camera_password
|
password: !secret camera_password
|
||||||
method: PUT
|
method: PUT
|
||||||
content_type: 'text/xml'
|
content_type: "text/xml"
|
||||||
payload: >-
|
payload: >-
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<TextOverlay version="1.0" xmlns="http://www.hikvision.com/ver10/XMLSchema">
|
<TextOverlay version="1.0" xmlns="http://www.hikvision.com/ver10/XMLSchema">
|
||||||
|
@ -196,7 +195,6 @@ rest_command:
|
||||||
# |_|
|
# |_|
|
||||||
#
|
#
|
||||||
script:
|
script:
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Camera Text Overlay Script - sets a given text as an overlay on camera feed
|
# Camera Text Overlay Script - sets a given text as an overlay on camera feed
|
||||||
#
|
#
|
||||||
|
@ -234,7 +232,7 @@ script:
|
||||||
- service: script.stream2chromecast
|
- service: script.stream2chromecast
|
||||||
data_template:
|
data_template:
|
||||||
url: !secret frontdoor_camera_stream_url
|
url: !secret frontdoor_camera_stream_url
|
||||||
name: 'frontyard'
|
name: "frontyard"
|
||||||
|
|
||||||
stream_driveway_camera_to_chromecast:
|
stream_driveway_camera_to_chromecast:
|
||||||
sequence:
|
sequence:
|
||||||
|
@ -243,7 +241,7 @@ script:
|
||||||
- service: script.stream2chromecast
|
- service: script.stream2chromecast
|
||||||
data_template:
|
data_template:
|
||||||
url: !secret driveway_camera_stream_url
|
url: !secret driveway_camera_stream_url
|
||||||
name: 'driveway'
|
name: "driveway"
|
||||||
|
|
||||||
stream_patio_camera_to_chromecast:
|
stream_patio_camera_to_chromecast:
|
||||||
sequence:
|
sequence:
|
||||||
|
@ -252,7 +250,7 @@ script:
|
||||||
- service: script.stream2chromecast
|
- service: script.stream2chromecast
|
||||||
data_template:
|
data_template:
|
||||||
url: !secret patio_camera_stream_url
|
url: !secret patio_camera_stream_url
|
||||||
name: 'patio'
|
name: "patio"
|
||||||
|
|
||||||
stream_playarea_camera_to_chromecast:
|
stream_playarea_camera_to_chromecast:
|
||||||
sequence:
|
sequence:
|
||||||
|
@ -261,7 +259,7 @@ script:
|
||||||
- service: script.stream2chromecast
|
- service: script.stream2chromecast
|
||||||
data_template:
|
data_template:
|
||||||
url: !secret playarea_camera_stream_url
|
url: !secret playarea_camera_stream_url
|
||||||
name: 'playarea'
|
name: "playarea"
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Stream2Chromecast script streams a given URL to Chromecast
|
# Stream2Chromecast script streams a given URL to Chromecast
|
||||||
|
@ -294,7 +292,6 @@ script:
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
automation:
|
automation:
|
||||||
|
|
||||||
#
|
#
|
||||||
# Scan front door and driveway cameras when motion detected
|
# Scan front door and driveway cameras when motion detected
|
||||||
# if the garage doors are open, scan garage cameras as well
|
# if the garage doors are open, scan garage cameras as well
|
||||||
|
@ -306,14 +303,14 @@ automation:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id:
|
entity_id:
|
||||||
- binary_sensor.motion_sensor_158d00024ee084
|
- binary_sensor.motion_sensor_158d00024ee084
|
||||||
to: 'on'
|
to: "on"
|
||||||
action:
|
action:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ states('input_boolean.notify_camera_alerts') == 'on' }}"
|
value_template: "{{ states('input_boolean.notify_camera_alerts') == 'on' }}"
|
||||||
- service: script.stream2chromecast
|
- service: script.stream2chromecast
|
||||||
data_template:
|
data_template:
|
||||||
url: !secret frontdoor_camera_stream_url
|
url: !secret frontdoor_camera_stream_url
|
||||||
name: 'frontyard'
|
name: "frontyard"
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ states('alarm_control_panel.simplisafe') == 'armed_home' or states('alarm_control_panel.simplisafe') == 'armed_away' }}"
|
value_template: "{{ states('alarm_control_panel.simplisafe') == 'armed_home' or states('alarm_control_panel.simplisafe') == 'armed_away' }}"
|
||||||
- service: image_processing.scan
|
- service: image_processing.scan
|
||||||
|
@ -345,7 +342,7 @@ automation:
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
{{ " detected in the front yard." }}
|
{{ " detected in the front yard." }}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
greeting: 'no'
|
greeting: "no"
|
||||||
- service: notify.notify_smtp
|
- service: notify.notify_smtp
|
||||||
data_template:
|
data_template:
|
||||||
title: 'Front door motion {{ now().strftime("%d %h %Y, %I:%M:%S %p") }}'
|
title: 'Front door motion {{ now().strftime("%d %h %Y, %I:%M:%S %p") }}'
|
||||||
|
@ -386,14 +383,14 @@ automation:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id:
|
entity_id:
|
||||||
- binary_sensor.motion_sensor_158d00024e57fb
|
- binary_sensor.motion_sensor_158d00024e57fb
|
||||||
to: 'on'
|
to: "on"
|
||||||
action:
|
action:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ states('input_boolean.notify_camera_alerts') == 'on' }}"
|
value_template: "{{ states('input_boolean.notify_camera_alerts') == 'on' }}"
|
||||||
- service: script.stream2chromecast
|
- service: script.stream2chromecast
|
||||||
data_template:
|
data_template:
|
||||||
url: !secret driveway_camera_stream_url
|
url: !secret driveway_camera_stream_url
|
||||||
name: 'driveway'
|
name: "driveway"
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ states('alarm_control_panel.simplisafe') == 'armed_home' or states('alarm_control_panel.simplisafe') == 'armed_away' }}"
|
value_template: "{{ states('alarm_control_panel.simplisafe') == 'armed_home' or states('alarm_control_panel.simplisafe') == 'armed_away' }}"
|
||||||
- service: image_processing.scan
|
- service: image_processing.scan
|
||||||
|
@ -466,7 +463,7 @@ automation:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id:
|
entity_id:
|
||||||
- binary_sensor.motion_sensor_158d000272bf48
|
- binary_sensor.motion_sensor_158d000272bf48
|
||||||
to: 'on'
|
to: "on"
|
||||||
condition:
|
condition:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ states('input_boolean.notify_camera_alerts') == 'on' }}"
|
value_template: "{{ states('input_boolean.notify_camera_alerts') == 'on' }}"
|
||||||
|
@ -541,14 +538,14 @@ automation:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id:
|
entity_id:
|
||||||
- binary_sensor.motion_sensor_158d00024e842c
|
- binary_sensor.motion_sensor_158d00024e842c
|
||||||
to: 'on'
|
to: "on"
|
||||||
action:
|
action:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ states('input_boolean.notify_camera_alerts') == 'on' }}"
|
value_template: "{{ states('input_boolean.notify_camera_alerts') == 'on' }}"
|
||||||
- service: script.stream2chromecast
|
- service: script.stream2chromecast
|
||||||
data_template:
|
data_template:
|
||||||
url: !secret playarea_camera_stream_url
|
url: !secret playarea_camera_stream_url
|
||||||
name: 'backyard'
|
name: "backyard"
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ states('alarm_control_panel.simplisafe') == 'armed_home' or states('alarm_control_panel.simplisafe') == 'armed_away' }}"
|
value_template: "{{ states('alarm_control_panel.simplisafe') == 'armed_home' or states('alarm_control_panel.simplisafe') == 'armed_away' }}"
|
||||||
- service: image_processing.scan
|
- service: image_processing.scan
|
||||||
|
@ -639,7 +636,7 @@ automation:
|
||||||
trigger:
|
trigger:
|
||||||
platform: state
|
platform: state
|
||||||
entity_id: binary_sensor.motion_sensor_158d00024ee084
|
entity_id: binary_sensor.motion_sensor_158d00024ee084
|
||||||
to: 'on'
|
to: "on"
|
||||||
condition:
|
condition:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ states('input_boolean.notify_camera_alerts') == 'on' }}"
|
value_template: "{{ states('input_boolean.notify_camera_alerts') == 'on' }}"
|
||||||
|
@ -650,19 +647,22 @@ automation:
|
||||||
- service: camera.snapshot
|
- service: camera.snapshot
|
||||||
data_template:
|
data_template:
|
||||||
entity_id: "camera.frontdoor_camera"
|
entity_id: "camera.frontdoor_camera"
|
||||||
filename: "{{ '/home/homeassistant/.homeassistant/www/downloads/camera/frontdoor/frontdoor_' ~
|
filename:
|
||||||
|
"{{ '/home/homeassistant/.homeassistant/www/downloads/camera/frontdoor/frontdoor_' ~
|
||||||
(states.binary_sensor.motion_sensor_158d00024ee084.last_updated ~ '').replace('-','_')
|
(states.binary_sensor.motion_sensor_158d00024ee084.last_updated ~ '').replace('-','_')
|
||||||
.replace(' ', '_').replace(':','_').replace('.','_').replace('+','_') ~ '.jpg' }}"
|
.replace(' ', '_').replace(':','_').replace('.','_').replace('+','_') ~ '.jpg' }}"
|
||||||
- service: camera.snapshot
|
- service: camera.snapshot
|
||||||
data_template:
|
data_template:
|
||||||
entity_id: "camera.driveway_camera"
|
entity_id: "camera.driveway_camera"
|
||||||
filename: "{{ '/home/homeassistant/.homeassistant/www/downloads/camera/driveway/driveway_' ~
|
filename:
|
||||||
|
"{{ '/home/homeassistant/.homeassistant/www/downloads/camera/driveway/driveway_' ~
|
||||||
(states.binary_sensor.motion_sensor_158d00024ee084.last_updated ~ '').replace('-','_')
|
(states.binary_sensor.motion_sensor_158d00024ee084.last_updated ~ '').replace('-','_')
|
||||||
.replace(' ', '_').replace(':','_').replace('.','_').replace('+','_') ~ '.jpg' }}"
|
.replace(' ', '_').replace(':','_').replace('.','_').replace('+','_') ~ '.jpg' }}"
|
||||||
- service: camera.snapshot
|
- service: camera.snapshot
|
||||||
data_template:
|
data_template:
|
||||||
entity_id: "camera.garage_camera"
|
entity_id: "camera.garage_camera"
|
||||||
filename: "{{ '/home/homeassistant/.homeassistant/www/downloads/camera/garage/garage_' ~
|
filename:
|
||||||
|
"{{ '/home/homeassistant/.homeassistant/www/downloads/camera/garage/garage_' ~
|
||||||
(states.binary_sensor.motion_sensor_158d00024ee084.last_updated ~ '').replace('-','_')
|
(states.binary_sensor.motion_sensor_158d00024ee084.last_updated ~ '').replace('-','_')
|
||||||
.replace(' ', '_').replace(':','_').replace('.','_').replace('+','_') ~ '.jpg' }}"
|
.replace(' ', '_').replace(':','_').replace('.','_').replace('+','_') ~ '.jpg' }}"
|
||||||
- service: notify.notify_smtp
|
- service: notify.notify_smtp
|
||||||
|
@ -681,7 +681,7 @@ automation:
|
||||||
(states.binary_sensor.motion_sensor_158d00024ee084.last_updated ~ '').replace('-','_')
|
(states.binary_sensor.motion_sensor_158d00024ee084.last_updated ~ '').replace('-','_')
|
||||||
.replace(' ', '_').replace(':','_').replace('.','_').replace('+','_') ~ '.jpg' }}"
|
.replace(' ', '_').replace(':','_').replace('.','_').replace('+','_') ~ '.jpg' }}"
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ states.device_tracker.suresh_suresh.state == 'home' }}"
|
value_template: "{{ states.device_tracker.life360_suresh.state == 'home' }}"
|
||||||
- service: notify.ios_devices
|
- service: notify.ios_devices
|
||||||
data_template:
|
data_template:
|
||||||
message: "Check Front Door camera!"
|
message: "Check Front Door camera!"
|
||||||
|
@ -707,7 +707,7 @@ automation:
|
||||||
trigger:
|
trigger:
|
||||||
platform: state
|
platform: state
|
||||||
entity_id: binary_sensor.motion_sensor_158d00024e57fb
|
entity_id: binary_sensor.motion_sensor_158d00024e57fb
|
||||||
to: 'on'
|
to: "on"
|
||||||
condition:
|
condition:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ states('input_boolean.notify_camera_alerts') == 'on' }}"
|
value_template: "{{ states('input_boolean.notify_camera_alerts') == 'on' }}"
|
||||||
|
@ -717,19 +717,22 @@ automation:
|
||||||
- service: camera.snapshot
|
- service: camera.snapshot
|
||||||
data_template:
|
data_template:
|
||||||
entity_id: "camera.frontdoor_camera"
|
entity_id: "camera.frontdoor_camera"
|
||||||
filename: "{{ '/home/homeassistant/.homeassistant/www/downloads/camera/frontdoor/frontdoor_' ~
|
filename:
|
||||||
|
"{{ '/home/homeassistant/.homeassistant/www/downloads/camera/frontdoor/frontdoor_' ~
|
||||||
(states.binary_sensor.motion_sensor_158d00024e57fb.last_updated ~ '').replace('-','_')
|
(states.binary_sensor.motion_sensor_158d00024e57fb.last_updated ~ '').replace('-','_')
|
||||||
.replace(' ', '_').replace(':','_').replace('.','_').replace('+','_') ~ '.jpg' }}"
|
.replace(' ', '_').replace(':','_').replace('.','_').replace('+','_') ~ '.jpg' }}"
|
||||||
- service: camera.snapshot
|
- service: camera.snapshot
|
||||||
data_template:
|
data_template:
|
||||||
entity_id: "camera.driveway_camera"
|
entity_id: "camera.driveway_camera"
|
||||||
filename: "{{ '/home/homeassistant/.homeassistant/www/downloads/camera/driveway/driveway_' ~
|
filename:
|
||||||
|
"{{ '/home/homeassistant/.homeassistant/www/downloads/camera/driveway/driveway_' ~
|
||||||
(states.binary_sensor.motion_sensor_158d00024e57fb.last_updated ~ '').replace('-','_')
|
(states.binary_sensor.motion_sensor_158d00024e57fb.last_updated ~ '').replace('-','_')
|
||||||
.replace(' ', '_').replace(':','_').replace('.','_').replace('+','_') ~ '.jpg' }}"
|
.replace(' ', '_').replace(':','_').replace('.','_').replace('+','_') ~ '.jpg' }}"
|
||||||
- service: camera.snapshot
|
- service: camera.snapshot
|
||||||
data_template:
|
data_template:
|
||||||
entity_id: "camera.garage_camera"
|
entity_id: "camera.garage_camera"
|
||||||
filename: "{{ '/home/homeassistant/.homeassistant/www/downloads/camera/garage/garage_' ~
|
filename:
|
||||||
|
"{{ '/home/homeassistant/.homeassistant/www/downloads/camera/garage/garage_' ~
|
||||||
(states.binary_sensor.motion_sensor_158d00024e57fb.last_updated ~ '').replace('-','_')
|
(states.binary_sensor.motion_sensor_158d00024e57fb.last_updated ~ '').replace('-','_')
|
||||||
.replace(' ', '_').replace(':','_').replace('.','_').replace('+','_') ~ '.jpg' }}"
|
.replace(' ', '_').replace(':','_').replace('.','_').replace('+','_') ~ '.jpg' }}"
|
||||||
- service: notify.notify_smtp
|
- service: notify.notify_smtp
|
||||||
|
@ -748,7 +751,7 @@ automation:
|
||||||
(states.binary_sensor.motion_sensor_158d00024e57fb.last_updated ~ '').replace('-','_')
|
(states.binary_sensor.motion_sensor_158d00024e57fb.last_updated ~ '').replace('-','_')
|
||||||
.replace(' ', '_').replace(':','_').replace('.','_').replace('+','_') ~ '.jpg' }}"
|
.replace(' ', '_').replace(':','_').replace('.','_').replace('+','_') ~ '.jpg' }}"
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ states.device_tracker.suresh_suresh.state == 'home' }}"
|
value_template: "{{ states.device_tracker.life360_suresh.state == 'home' }}"
|
||||||
- service: notify.ios_devices
|
- service: notify.ios_devices
|
||||||
data_template:
|
data_template:
|
||||||
message: "Check Driveway camera!"
|
message: "Check Driveway camera!"
|
||||||
|
@ -774,7 +777,7 @@ automation:
|
||||||
trigger:
|
trigger:
|
||||||
platform: state
|
platform: state
|
||||||
entity_id: binary_sensor.motion_sensor_158d00024e842c
|
entity_id: binary_sensor.motion_sensor_158d00024e842c
|
||||||
to: 'on'
|
to: "on"
|
||||||
condition:
|
condition:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ states('input_boolean.notify_camera_alerts') == 'on' }}"
|
value_template: "{{ states('input_boolean.notify_camera_alerts') == 'on' }}"
|
||||||
|
@ -795,13 +798,15 @@ automation:
|
||||||
- service: camera.snapshot
|
- service: camera.snapshot
|
||||||
data_template:
|
data_template:
|
||||||
entity_id: "camera.patio_camera"
|
entity_id: "camera.patio_camera"
|
||||||
filename: "{{ '/home/homeassistant/.homeassistant/www/downloads/camera/patio/patio_' ~
|
filename:
|
||||||
|
"{{ '/home/homeassistant/.homeassistant/www/downloads/camera/patio/patio_' ~
|
||||||
(states.binary_sensor.motion_sensor_158d00024e842c.last_updated ~ '').replace('-','_')
|
(states.binary_sensor.motion_sensor_158d00024e842c.last_updated ~ '').replace('-','_')
|
||||||
.replace(' ', '_').replace(':','_').replace('.','_').replace('+','_') ~ '.jpg' }}"
|
.replace(' ', '_').replace(':','_').replace('.','_').replace('+','_') ~ '.jpg' }}"
|
||||||
- service: camera.snapshot
|
- service: camera.snapshot
|
||||||
data_template:
|
data_template:
|
||||||
entity_id: "camera.playarea_camera"
|
entity_id: "camera.playarea_camera"
|
||||||
filename: "{{ '/home/homeassistant/.homeassistant/www/downloads/camera/playarea/playarea_' ~
|
filename:
|
||||||
|
"{{ '/home/homeassistant/.homeassistant/www/downloads/camera/playarea/playarea_' ~
|
||||||
(states.binary_sensor.motion_sensor_158d00024e842c.last_updated ~ '').replace('-','_')
|
(states.binary_sensor.motion_sensor_158d00024e842c.last_updated ~ '').replace('-','_')
|
||||||
.replace(' ', '_').replace(':','_').replace('.','_').replace('+','_') ~ '.jpg' }}"
|
.replace(' ', '_').replace(':','_').replace('.','_').replace('+','_') ~ '.jpg' }}"
|
||||||
- service: notify.notify_smtp
|
- service: notify.notify_smtp
|
||||||
|
@ -817,7 +822,7 @@ automation:
|
||||||
(states.binary_sensor.motion_sensor_158d00024e842c.last_updated ~ '').replace('-','_')
|
(states.binary_sensor.motion_sensor_158d00024e842c.last_updated ~ '').replace('-','_')
|
||||||
.replace(' ', '_').replace(':','_').replace('.','_').replace('+','_') ~ '.jpg' }}"
|
.replace(' ', '_').replace(':','_').replace('.','_').replace('+','_') ~ '.jpg' }}"
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ states.device_tracker.suresh_suresh.state == 'home' }}"
|
value_template: "{{ states.device_tracker.life360_suresh.state == 'home' }}"
|
||||||
- service: notify.ios_devices
|
- service: notify.ios_devices
|
||||||
data_template:
|
data_template:
|
||||||
message: "Check Patio camera!"
|
message: "Check Patio camera!"
|
||||||
|
@ -829,7 +834,6 @@ automation:
|
||||||
url: "{{ states.camera.patio_camera.attributes.entity_picture }}"
|
url: "{{ states.camera.patio_camera.attributes.entity_picture }}"
|
||||||
content-type: jpg
|
content-type: jpg
|
||||||
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# _______ _ ____ _
|
# _______ _ ____ _
|
||||||
# |__ __| | | / __ \ | |
|
# |__ __| | | / __ \ | |
|
||||||
|
@ -848,7 +852,7 @@ automation:
|
||||||
- alias: Show Outdoor Temperature on Camera
|
- alias: Show Outdoor Temperature on Camera
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time_pattern
|
- platform: time_pattern
|
||||||
minutes: '/2'
|
minutes: "/2"
|
||||||
condition:
|
condition:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: >
|
value_template: >
|
||||||
|
@ -904,12 +908,12 @@ automation:
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: media_player.attic_tv
|
entity_id: media_player.attic_tv
|
||||||
to: 'off'
|
to: "off"
|
||||||
for:
|
for:
|
||||||
seconds: 30
|
seconds: 30
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: media_player.attic_tv
|
entity_id: media_player.attic_tv
|
||||||
to: 'idle'
|
to: "idle"
|
||||||
for:
|
for:
|
||||||
seconds: 30
|
seconds: 30
|
||||||
action:
|
action:
|
||||||
|
@ -933,7 +937,7 @@ automation:
|
||||||
- alias: Restore Frontyard Stream
|
- alias: Restore Frontyard Stream
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time_pattern
|
- platform: time_pattern
|
||||||
seconds: '/5'
|
seconds: "/5"
|
||||||
condition:
|
condition:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ states('input_label.current_stream') != 'frontyard' }}"
|
value_template: "{{ states('input_label.current_stream') != 'frontyard' }}"
|
||||||
|
@ -945,4 +949,4 @@ automation:
|
||||||
- service: script.stream2chromecast
|
- service: script.stream2chromecast
|
||||||
data_template:
|
data_template:
|
||||||
url: !secret frontdoor_camera_stream_url
|
url: !secret frontdoor_camera_stream_url
|
||||||
name: 'frontyard'
|
name: "frontyard"
|
||||||
|
|
|
@ -1,312 +1,312 @@
|
||||||
###############################################################################
|
|
||||||
# @author : Mahasri Kalavala
|
|
||||||
# @date : 11/22/2017
|
|
||||||
# @package : Emergency Stuff
|
|
||||||
# @description : When $hit hapens, this package gets called!
|
|
||||||
#
|
|
||||||
# In case of emergency - turn on the emergency_mode (input boolean)
|
|
||||||
# lights, crazy sounds and alarms repeatedly until someone turns off
|
|
||||||
# input boolean and/or Home Security System is turned OFF.
|
|
||||||
#
|
|
||||||
# All automations that alert during emerency situations, will turn on
|
|
||||||
# input boolean emergency_mode and notify using standard notification
|
|
||||||
#
|
|
||||||
# My Home TTS/voice notifications will not work when music is being played
|
|
||||||
# The automations will stop MPD media player ( just to makesure), so that
|
|
||||||
# the TTS notifications will be played in case if someone plays music and
|
|
||||||
# forgot to turn if off.
|
|
||||||
###############################################################################
|
|
||||||
|
|
||||||
homeassistant:
|
|
||||||
customize:
|
|
||||||
script.emergency_script:
|
|
||||||
friendly_name: Emergency Script
|
|
||||||
hidden: true
|
|
||||||
script.emergency_script_loop:
|
|
||||||
friendly_name: Emergency Script Loop
|
|
||||||
hidden: true
|
|
||||||
script.emergency_all_lights_switches_on:
|
|
||||||
friendly_name: All Lights & Switches ON
|
|
||||||
script.all_indoor_lights_off:
|
|
||||||
friendly_name: All Indoor Lights OFF
|
|
||||||
|
|
||||||
input_boolean:
|
|
||||||
emergency_mode:
|
|
||||||
name: Emergency Mode
|
|
||||||
initial: 'off'
|
|
||||||
|
|
||||||
###############################################################################
|
|
||||||
# _ _ _
|
|
||||||
# /\ | | | | (_)
|
|
||||||
# / \ _ _| |_ ___ _ __ ___ __ _| |_ _ ___ _ __ ___
|
|
||||||
# / /\ \| | | | __/ _ \| '_ ` _ \ / _` | __| |/ _ \| '_ \/ __|
|
|
||||||
# / ____ \ |_| | || (_) | | | | | | (_| | |_| | (_) | | | \__ \
|
|
||||||
# /_/ \_\__,_|\__\___/|_| |_| |_|\__,_|\__|_|\___/|_| |_|___/
|
|
||||||
#
|
|
||||||
###############################################################################
|
|
||||||
|
|
||||||
automation:
|
|
||||||
|
|
||||||
###############################################################################
|
|
||||||
# When emergency mode is OFF, Keep the lights ON
|
|
||||||
###############################################################################
|
|
||||||
- alias: Emergency Mode Disabled
|
|
||||||
initial_state: true
|
|
||||||
trigger:
|
|
||||||
platform: state
|
|
||||||
entity_id: input_boolean.emergency_mode
|
|
||||||
from: 'on'
|
|
||||||
to: 'off'
|
|
||||||
action:
|
|
||||||
- delay: '00:00:05'
|
|
||||||
- service: script.voice_notify
|
|
||||||
data_template:
|
|
||||||
message: "Attention! Emergency mode is now deactivated!"
|
|
||||||
- service: script.notify_me
|
|
||||||
data_template:
|
|
||||||
message: "Emergency mode is now deactivated!"
|
|
||||||
|
|
||||||
# Water Leak detected - initiate the emergency process
|
|
||||||
###############################################################################
|
|
||||||
- alias: Water Leak Detected
|
|
||||||
initial_state: true
|
|
||||||
trigger:
|
|
||||||
- platform: state
|
|
||||||
entity_id: sensor.aeotec_water_sensor_flood
|
|
||||||
from: '0'
|
|
||||||
to: '2'
|
|
||||||
action:
|
|
||||||
- service: input_boolean.turn_on
|
|
||||||
entity_id: input_boolean.emergency_mode
|
|
||||||
- service: script.emergency_all_lights_switches_on
|
|
||||||
- service: script.notify_me
|
|
||||||
data_template:
|
|
||||||
message: "EMERGENCY! Water Leak Detected in the Basement!"
|
|
||||||
- service: script.emergency_script
|
|
||||||
data:
|
|
||||||
volume_level: 25
|
|
||||||
alarm_code: 2
|
|
||||||
message: "ALERT! Water Leak Detected in the Basement!"
|
|
||||||
|
|
||||||
# # Carbon Monoxide Detected in the house
|
|
||||||
# ###############################################################################
|
# ###############################################################################
|
||||||
# - alias: CO Detected
|
# # @author : Mahasri Kalavala
|
||||||
|
# # @date : 11/22/2017
|
||||||
|
# # @package : Emergency Stuff
|
||||||
|
# # @description : When $hit hapens, this package gets called!
|
||||||
|
# #
|
||||||
|
# # In case of emergency - turn on the emergency_mode (input boolean)
|
||||||
|
# # lights, crazy sounds and alarms repeatedly until someone turns off
|
||||||
|
# # input boolean and/or Home Security System is turned OFF.
|
||||||
|
# #
|
||||||
|
# # All automations that alert during emerency situations, will turn on
|
||||||
|
# # input boolean emergency_mode and notify using standard notification
|
||||||
|
# #
|
||||||
|
# # My Home TTS/voice notifications will not work when music is being played
|
||||||
|
# # The automations will stop MPD media player ( just to makesure), so that
|
||||||
|
# # the TTS notifications will be played in case if someone plays music and
|
||||||
|
# # forgot to turn if off.
|
||||||
|
# ###############################################################################
|
||||||
|
|
||||||
|
# homeassistant:
|
||||||
|
# customize:
|
||||||
|
# script.emergency_script:
|
||||||
|
# friendly_name: Emergency Script
|
||||||
|
# hidden: true
|
||||||
|
# script.emergency_script_loop:
|
||||||
|
# friendly_name: Emergency Script Loop
|
||||||
|
# hidden: true
|
||||||
|
# script.emergency_all_lights_switches_on:
|
||||||
|
# friendly_name: All Lights & Switches ON
|
||||||
|
# script.all_indoor_lights_off:
|
||||||
|
# friendly_name: All Indoor Lights OFF
|
||||||
|
|
||||||
|
# input_boolean:
|
||||||
|
# emergency_mode:
|
||||||
|
# name: Emergency Mode
|
||||||
|
# initial: 'off'
|
||||||
|
|
||||||
|
# ###############################################################################
|
||||||
|
# # _ _ _
|
||||||
|
# # /\ | | | | (_)
|
||||||
|
# # / \ _ _| |_ ___ _ __ ___ __ _| |_ _ ___ _ __ ___
|
||||||
|
# # / /\ \| | | | __/ _ \| '_ ` _ \ / _` | __| |/ _ \| '_ \/ __|
|
||||||
|
# # / ____ \ |_| | || (_) | | | | | | (_| | |_| | (_) | | | \__ \
|
||||||
|
# # /_/ \_\__,_|\__\___/|_| |_| |_|\__,_|\__|_|\___/|_| |_|___/
|
||||||
|
# #
|
||||||
|
# ###############################################################################
|
||||||
|
|
||||||
|
# automation:
|
||||||
|
|
||||||
|
# ###############################################################################
|
||||||
|
# # When emergency mode is OFF, Keep the lights ON
|
||||||
|
# ###############################################################################
|
||||||
|
# - alias: Emergency Mode Disabled
|
||||||
|
# initial_state: true
|
||||||
|
# trigger:
|
||||||
|
# platform: state
|
||||||
|
# entity_id: input_boolean.emergency_mode
|
||||||
|
# from: 'on'
|
||||||
|
# to: 'off'
|
||||||
|
# action:
|
||||||
|
# - delay: '00:00:05'
|
||||||
|
# - service: script.voice_notify
|
||||||
|
# data_template:
|
||||||
|
# message: "Attention! Emergency mode is now deactivated!"
|
||||||
|
# - service: script.notify_me
|
||||||
|
# data_template:
|
||||||
|
# message: "Emergency mode is now deactivated!"
|
||||||
|
|
||||||
|
# # Water Leak detected - initiate the emergency process
|
||||||
|
# ###############################################################################
|
||||||
|
# - alias: Water Leak Detected
|
||||||
# initial_state: true
|
# initial_state: true
|
||||||
# trigger:
|
# trigger:
|
||||||
# - platform: state
|
# - platform: state
|
||||||
# entity_id: sensor.audio_detector_carbon_monoxide
|
# entity_id: sensor.aeotec_water_sensor_flood
|
||||||
# from: '0'
|
# from: '0'
|
||||||
# condition:
|
# to: '2'
|
||||||
# - condition: template
|
|
||||||
# value_template: "{{ trigger.to_state.state != '0' }}"
|
|
||||||
# action:
|
# action:
|
||||||
# - service: script.voice_notify
|
|
||||||
# data_template:
|
|
||||||
# message: "Attention!: CARBON MONOXIDE DETECTED! GET THE HELL OUT OF THE HOUSE!"
|
|
||||||
# - service: script.notify_me
|
|
||||||
# data_template:
|
|
||||||
# message: "Attention!: CARBON MONOXIDE DETECTED!. GET THE HELL OUT OF THE HOUSE!"
|
|
||||||
# - service: input_boolean.turn_on
|
# - service: input_boolean.turn_on
|
||||||
# entity_id: input_boolean.emergency_mode
|
# entity_id: input_boolean.emergency_mode
|
||||||
# - service: media_player.media_stop
|
# - service: script.emergency_all_lights_switches_on
|
||||||
# entity_id: media_player.mpd
|
# - service: script.notify_me
|
||||||
|
# data_template:
|
||||||
|
# message: "EMERGENCY! Water Leak Detected in the Basement!"
|
||||||
# - service: script.emergency_script
|
# - service: script.emergency_script
|
||||||
# data:
|
# data:
|
||||||
# volume_level: 99
|
# volume_level: 25
|
||||||
# alarm_code: 2
|
# alarm_code: 2
|
||||||
# message: "Attention! Cabon Monoxide detected. Leave the house immediately!"
|
# message: "ALERT! Water Leak Detected in the Basement!"
|
||||||
|
|
||||||
# # Smoke Detected in the house
|
# # # Carbon Monoxide Detected in the house
|
||||||
|
# # ###############################################################################
|
||||||
|
# # - alias: CO Detected
|
||||||
|
# # initial_state: true
|
||||||
|
# # trigger:
|
||||||
|
# # - platform: state
|
||||||
|
# # entity_id: sensor.audio_detector_carbon_monoxide
|
||||||
|
# # from: '0'
|
||||||
|
# # condition:
|
||||||
|
# # - condition: template
|
||||||
|
# # value_template: "{{ trigger.to_state.state != '0' }}"
|
||||||
|
# # action:
|
||||||
|
# # - service: script.voice_notify
|
||||||
|
# # data_template:
|
||||||
|
# # message: "Attention!: CARBON MONOXIDE DETECTED! GET THE HELL OUT OF THE HOUSE!"
|
||||||
|
# # - service: script.notify_me
|
||||||
|
# # data_template:
|
||||||
|
# # message: "Attention!: CARBON MONOXIDE DETECTED!. GET THE HELL OUT OF THE HOUSE!"
|
||||||
|
# # - service: input_boolean.turn_on
|
||||||
|
# # entity_id: input_boolean.emergency_mode
|
||||||
|
# # - service: media_player.media_stop
|
||||||
|
# # entity_id: media_player.mpd
|
||||||
|
# # - service: script.emergency_script
|
||||||
|
# # data:
|
||||||
|
# # volume_level: 99
|
||||||
|
# # alarm_code: 2
|
||||||
|
# # message: "Attention! Cabon Monoxide detected. Leave the house immediately!"
|
||||||
|
|
||||||
|
# # # Smoke Detected in the house
|
||||||
|
# # ###############################################################################
|
||||||
|
# # - alias: Smoke Detected
|
||||||
|
# # initial_state: true
|
||||||
|
# # trigger:
|
||||||
|
# # - platform: state
|
||||||
|
# # entity_id: sensor.audio_detector_smoke
|
||||||
|
# # from: '0'
|
||||||
|
# # condition:
|
||||||
|
# # - condition: template
|
||||||
|
# # value_template: "{{ trigger.to_state.state != '0' }}"
|
||||||
|
# # action:
|
||||||
|
# # - service: script.voice_notify
|
||||||
|
# # data_template:
|
||||||
|
# # message: "Attention!: SMOKE DETECTED! CALL 911!"
|
||||||
|
# # - service: script.notify_me
|
||||||
|
# # data_template:
|
||||||
|
# # message: "Attention!: SMOKE DETECTED!. CALL 911!"
|
||||||
|
# # - service: input_boolean.turn_on
|
||||||
|
# # entity_id: input_boolean.emergency_mode
|
||||||
|
# # - service: media_player.media_stop
|
||||||
|
# # entity_id: media_player.mpd
|
||||||
|
# # - service: script.emergency_script
|
||||||
|
# # data:
|
||||||
|
# # volume_level: 99
|
||||||
|
# # alarm_code: 2
|
||||||
|
# # message: "Smoke Detected. Please get out of the home and call 911 immediately!"
|
||||||
|
|
||||||
|
# # Disable Emergency Mode upon Disabling Home Security System
|
||||||
# ###############################################################################
|
# ###############################################################################
|
||||||
# - alias: Smoke Detected
|
# - alias: Disable Emergency Mode Upon Disabling Home Security
|
||||||
# initial_state: true
|
# initial_state: true
|
||||||
# trigger:
|
# trigger:
|
||||||
# - platform: state
|
# platform: state
|
||||||
# entity_id: sensor.audio_detector_smoke
|
# entity_id: alarm_control_panel.simplisafe
|
||||||
# from: '0'
|
# to: 'disarmed'
|
||||||
# condition:
|
# condition:
|
||||||
# - condition: template
|
# - condition: template
|
||||||
# value_template: "{{ trigger.to_state.state != '0' }}"
|
# value_template: '{{ states.input_boolean.emergency_mode.state == "on" }}'
|
||||||
|
# action:
|
||||||
|
# - service: input_boolean.turn_off
|
||||||
|
# entity_id: input_boolean.emergency_mode
|
||||||
|
|
||||||
|
# - alias: Home Security Away Motion Deteted Inside
|
||||||
|
# initial_state: true
|
||||||
|
# trigger:
|
||||||
|
# platform: state
|
||||||
|
# entity_id:
|
||||||
|
# - binary_sensor.back_door_sensor_sensor
|
||||||
|
# - binary_sensor.aeotec_zw120_door_window_sensor_gen5_sensor
|
||||||
|
# - binary_sensor.basement_door_sensor_sensor
|
||||||
|
# - binary_sensor.garage_door_sensor_sensor
|
||||||
|
# - binary_sensor.front_room_multi_sensor_sensor
|
||||||
|
# - binary_sensor.tv_multi_sensor_sensor
|
||||||
|
# - binary_sensor.kitchen_motion_sensor_sensor
|
||||||
|
# - binary_sensor.stairs_motion_sensor_sensor
|
||||||
|
# - binary_sensor.upstairs_multi_sensor_sensor
|
||||||
|
# - binary_sensor.two_car_garage_door_tilt_sensor_sensor
|
||||||
|
# - binary_sensor.single_car_garage_door_tilt_sensor_sensor
|
||||||
|
# - binary_sensor.motion_sensor_158d0001a662fe
|
||||||
|
# - binary_sensor.motion_sensor_158d0001a25041
|
||||||
|
# - binary_sensor.motion_sensor_158d00016db6d2
|
||||||
|
# - binary_sensor.motion_sensor_158d00016c2d0e
|
||||||
|
# from: 'off'
|
||||||
|
# to: 'on'
|
||||||
|
# condition:
|
||||||
|
# - condition: template
|
||||||
|
# value_template: "{{ trigger.from_state }}"
|
||||||
|
# - condition: template
|
||||||
|
# value_template: >
|
||||||
|
# {% set state = states.alarm_control_panel.simplisafe.state %}
|
||||||
|
# {% if state != "" and state != "unknown" and state == "armed_away" %}
|
||||||
|
# true
|
||||||
|
# {% else %}
|
||||||
|
# false
|
||||||
|
# {% endif %}
|
||||||
|
# - condition: template
|
||||||
|
# value_template: >
|
||||||
|
# {% set suresh = states.device_tracker.suresh_suresh.state %}
|
||||||
|
# {% set mallika = states.device_tracker.mallika_mallika.state %}
|
||||||
|
# {% set srinika = states.device_tracker.srinika_srinika.state %}
|
||||||
|
# {% set hasika = states.device_tracker.hasika_hasika.state %}
|
||||||
|
# {% if suresh != "home" and mallika != "home" and srinika != "home" and hasika != "home" %}
|
||||||
|
# True
|
||||||
|
# {% else %}
|
||||||
|
# False
|
||||||
|
# {% endif %}
|
||||||
# action:
|
# action:
|
||||||
# - service: script.voice_notify
|
|
||||||
# data_template:
|
|
||||||
# message: "Attention!: SMOKE DETECTED! CALL 911!"
|
|
||||||
# - service: script.notify_me
|
|
||||||
# data_template:
|
|
||||||
# message: "Attention!: SMOKE DETECTED!. CALL 911!"
|
|
||||||
# - service: input_boolean.turn_on
|
# - service: input_boolean.turn_on
|
||||||
# entity_id: input_boolean.emergency_mode
|
# entity_id: input_boolean.emergency_mode
|
||||||
# - service: media_player.media_stop
|
# - service: script.emergency_all_lights_switches_on
|
||||||
# entity_id: media_player.mpd
|
# - service: script.notify_me
|
||||||
|
# data_template:
|
||||||
|
# message: "MOTION DETECTED '{{ trigger.to_state.attributes.friendly_name | upper }}',
|
||||||
|
# BUT NO ONE IS HOME. CALL FOR EMERGENCY!"
|
||||||
|
# - service: notify.ios_devices
|
||||||
|
# data_template:
|
||||||
|
# title: >
|
||||||
|
# {{ trigger.to_state.attributes.friendly_name }}
|
||||||
|
# message: >
|
||||||
|
# Attention: "MOTION DETECTED '{{ trigger.to_state.attributes.friendly_name | upper }}',
|
||||||
|
# BUT NO ONE IS HOME. CALL FOR EMERGENCY!"
|
||||||
# - service: script.emergency_script
|
# - service: script.emergency_script
|
||||||
# data:
|
# data:
|
||||||
# volume_level: 99
|
# volume_level: 99
|
||||||
# alarm_code: 2
|
# alarm_code: 1
|
||||||
# message: "Smoke Detected. Please get out of the home and call 911 immediately!"
|
# message: "Police are on the way!...Police are on the way!...Police are on the way!...Police are on the way!...Police are on the way!"
|
||||||
|
|
||||||
# Disable Emergency Mode upon Disabling Home Security System
|
# script:
|
||||||
###############################################################################
|
|
||||||
- alias: Disable Emergency Mode Upon Disabling Home Security
|
|
||||||
initial_state: true
|
|
||||||
trigger:
|
|
||||||
platform: state
|
|
||||||
entity_id: alarm_control_panel.simplisafe
|
|
||||||
to: 'disarmed'
|
|
||||||
condition:
|
|
||||||
- condition: template
|
|
||||||
value_template: '{{ states.input_boolean.emergency_mode.state == "on" }}'
|
|
||||||
action:
|
|
||||||
- service: input_boolean.turn_off
|
|
||||||
entity_id: input_boolean.emergency_mode
|
|
||||||
|
|
||||||
- alias: Home Security Away Motion Deteted Inside
|
# # Main Emergency Script
|
||||||
initial_state: true
|
# ###############################################################################
|
||||||
trigger:
|
# emergency_script:
|
||||||
platform: state
|
# sequence:
|
||||||
entity_id:
|
# - condition: template
|
||||||
- binary_sensor.back_door_sensor_sensor
|
# value_template: '{{ states.input_boolean.emergency_mode.state | lower == "on" }}'
|
||||||
- binary_sensor.aeotec_zw120_door_window_sensor_gen5_sensor
|
# - service: script.voice_notify
|
||||||
- binary_sensor.basement_door_sensor_sensor
|
# data_template:
|
||||||
- binary_sensor.garage_door_sensor_sensor
|
# message: '{{ message }}'
|
||||||
- binary_sensor.front_room_multi_sensor_sensor
|
# greeting: 'no'
|
||||||
- binary_sensor.tv_multi_sensor_sensor
|
# - service: xiaomi_aqara.play_ringtone
|
||||||
- binary_sensor.kitchen_motion_sensor_sensor
|
# data_template:
|
||||||
- binary_sensor.stairs_motion_sensor_sensor
|
# ringtone_id: '{{ alarm_code }}'
|
||||||
- binary_sensor.upstairs_multi_sensor_sensor
|
# ringtone_vol: '{{ volume_level }}'
|
||||||
- binary_sensor.two_car_garage_door_tilt_sensor_sensor
|
# - delay: '00:00:01'
|
||||||
- binary_sensor.single_car_garage_door_tilt_sensor_sensor
|
# - service: script.emergency_script_loop
|
||||||
- binary_sensor.motion_sensor_158d0001a662fe
|
# data_template:
|
||||||
- binary_sensor.motion_sensor_158d0001a25041
|
# message: '{{ message }}'
|
||||||
- binary_sensor.motion_sensor_158d00016db6d2
|
# alarm_code: '{{ alarm_code }}'
|
||||||
- binary_sensor.motion_sensor_158d00016c2d0e
|
# volume_level: '{{ volume_level }}'
|
||||||
from: 'off'
|
|
||||||
to: 'on'
|
|
||||||
condition:
|
|
||||||
- condition: template
|
|
||||||
value_template: "{{ trigger.from_state }}"
|
|
||||||
- condition: template
|
|
||||||
value_template: >
|
|
||||||
{% set state = states.alarm_control_panel.simplisafe.state %}
|
|
||||||
{% if state != "" and state != "unknown" and state == "armed_away" %}
|
|
||||||
true
|
|
||||||
{% else %}
|
|
||||||
false
|
|
||||||
{% endif %}
|
|
||||||
- condition: template
|
|
||||||
value_template: >
|
|
||||||
{% set suresh = states.device_tracker.suresh_suresh.state %}
|
|
||||||
{% set mallika = states.device_tracker.mallika_mallika.state %}
|
|
||||||
{% set srinika = states.device_tracker.srinika_srinika.state %}
|
|
||||||
{% set hasika = states.device_tracker.hasika_hasika.state %}
|
|
||||||
{% if suresh != "home" and mallika != "home" and srinika != "home" and hasika != "home" %}
|
|
||||||
True
|
|
||||||
{% else %}
|
|
||||||
False
|
|
||||||
{% endif %}
|
|
||||||
action:
|
|
||||||
- service: input_boolean.turn_on
|
|
||||||
entity_id: input_boolean.emergency_mode
|
|
||||||
- service: script.emergency_all_lights_switches_on
|
|
||||||
- service: script.notify_me
|
|
||||||
data_template:
|
|
||||||
message: "MOTION DETECTED '{{ trigger.to_state.attributes.friendly_name | upper }}',
|
|
||||||
BUT NO ONE IS HOME. CALL FOR EMERGENCY!"
|
|
||||||
- service: notify.ios_devices
|
|
||||||
data_template:
|
|
||||||
title: >
|
|
||||||
{{ trigger.to_state.attributes.friendly_name }}
|
|
||||||
message: >
|
|
||||||
Attention: "MOTION DETECTED '{{ trigger.to_state.attributes.friendly_name | upper }}',
|
|
||||||
BUT NO ONE IS HOME. CALL FOR EMERGENCY!"
|
|
||||||
- service: script.emergency_script
|
|
||||||
data:
|
|
||||||
volume_level: 99
|
|
||||||
alarm_code: 1
|
|
||||||
message: "Police are on the way!...Police are on the way!...Police are on the way!...Police are on the way!...Police are on the way!"
|
|
||||||
|
|
||||||
script:
|
# # This script checks for the emergency_mode input_boolean and continue to
|
||||||
|
# # stay in emergency mode based on the input_boolean value
|
||||||
|
# ###############################################################################
|
||||||
|
# emergency_script_loop:
|
||||||
|
# sequence:
|
||||||
|
# - condition: template
|
||||||
|
# value_template: '{{ states.input_boolean.emergency_mode.state == "on" }}'
|
||||||
|
# - delay: '00:00:02'
|
||||||
|
# - service: script.emergency_script
|
||||||
|
# data_template:
|
||||||
|
# message: '{{ message }}'
|
||||||
|
# alarm_code: '{{ alarm_code }}'
|
||||||
|
# volume_level: '{{ volume_level }}'
|
||||||
|
|
||||||
# Main Emergency Script
|
# # Turns ALL lights & Switches ON (Lights in RED where possible)
|
||||||
###############################################################################
|
# ###############################################################################
|
||||||
emergency_script:
|
# emergency_all_lights_switches_on:
|
||||||
sequence:
|
# sequence:
|
||||||
- condition: template
|
# - service: script.xiaomi_red
|
||||||
value_template: '{{ states.input_boolean.emergency_mode.state | lower == "on" }}'
|
# - service: script.ifttt_leeo_color_change
|
||||||
- service: script.voice_notify
|
# data_template:
|
||||||
data_template:
|
# value1: "#FF0000"
|
||||||
message: '{{ message }}'
|
# - service: light.turn_on
|
||||||
greeting: 'no'
|
# entity_id: light.family_room
|
||||||
- service: xiaomi_aqara.play_ringtone
|
# data:
|
||||||
data_template:
|
# transition: 0
|
||||||
ringtone_id: '{{ alarm_code }}'
|
# brightness: 255
|
||||||
ringtone_vol: '{{ volume_level }}'
|
# rgb_color: [255,0,0]
|
||||||
- delay: '00:00:01'
|
# - service: light.turn_on
|
||||||
- service: script.emergency_script_loop
|
# entity_id: light.master_bedroom
|
||||||
data_template:
|
# data:
|
||||||
message: '{{ message }}'
|
# transition: 0
|
||||||
alarm_code: '{{ alarm_code }}'
|
# brightness: 255
|
||||||
volume_level: '{{ volume_level }}'
|
# rgb_color: [255,0,0]
|
||||||
|
# - service: switch.turn_on
|
||||||
# This script checks for the emergency_mode input_boolean and continue to
|
# entity_id:
|
||||||
# stay in emergency mode based on the input_boolean value
|
# - switch.basement_left
|
||||||
###############################################################################
|
# - switch.basement_right
|
||||||
emergency_script_loop:
|
# - switch.garage
|
||||||
sequence:
|
# - switch.guest_bedroom
|
||||||
- condition: template
|
# - switch.prayer_room
|
||||||
value_template: '{{ states.input_boolean.emergency_mode.state == "on" }}'
|
# - switch.kids_bed_accent
|
||||||
- delay: '00:00:02'
|
# - switch.kids_bedroom
|
||||||
- service: script.emergency_script
|
# - switch.office_room
|
||||||
data_template:
|
# - switch.smart_outlet_1
|
||||||
message: '{{ message }}'
|
# - switch.kitchen
|
||||||
alarm_code: '{{ alarm_code }}'
|
# - switch.zwave_smart_switch_switch
|
||||||
volume_level: '{{ volume_level }}'
|
# - switch.rf_switch_five
|
||||||
|
# - switch.rf_switch_four
|
||||||
# Turns ALL lights & Switches ON (Lights in RED where possible)
|
# - switch.rf_switch_one
|
||||||
###############################################################################
|
# - switch.rf_switch_three
|
||||||
emergency_all_lights_switches_on:
|
# - switch.rf_switch_two
|
||||||
sequence:
|
# - switch.wemobackyardlightswitch
|
||||||
- service: script.xiaomi_red
|
# - switch.frontyard_light
|
||||||
- service: script.ifttt_leeo_color_change
|
# - switch.downstairs_bathroom_fragrance_outlet
|
||||||
data_template:
|
# - switch.downstairs_fragrance
|
||||||
value1: "#FF0000"
|
# - switch.upstairs_fragrance
|
||||||
- service: light.turn_on
|
# - switch.kitchen_siren_switch
|
||||||
entity_id: light.family_room
|
# - switch.kitchen_siren_switch_2
|
||||||
data:
|
# - switch.kitchen_siren_switch_3
|
||||||
transition: 0
|
# - switch.kitchen_siren_switch_4
|
||||||
brightness: 255
|
# - switch.kitchen_siren_switch_5
|
||||||
rgb_color: [255,0,0]
|
# - switch.wemoswitch1
|
||||||
- service: light.turn_on
|
|
||||||
entity_id: light.master_bedroom
|
|
||||||
data:
|
|
||||||
transition: 0
|
|
||||||
brightness: 255
|
|
||||||
rgb_color: [255,0,0]
|
|
||||||
- service: switch.turn_on
|
|
||||||
entity_id:
|
|
||||||
- switch.basement_left
|
|
||||||
- switch.basement_right
|
|
||||||
- switch.garage
|
|
||||||
- switch.guest_bedroom
|
|
||||||
- switch.prayer_room
|
|
||||||
- switch.kids_bed_accent
|
|
||||||
- switch.kids_bedroom
|
|
||||||
- switch.office_room
|
|
||||||
- switch.smart_outlet_1
|
|
||||||
- switch.kitchen
|
|
||||||
- switch.zwave_smart_switch_switch
|
|
||||||
- switch.rf_switch_five
|
|
||||||
- switch.rf_switch_four
|
|
||||||
- switch.rf_switch_one
|
|
||||||
- switch.rf_switch_three
|
|
||||||
- switch.rf_switch_two
|
|
||||||
- switch.wemobackyardlightswitch
|
|
||||||
- switch.frontyard_light
|
|
||||||
- switch.downstairs_bathroom_fragrance_outlet
|
|
||||||
- switch.downstairs_fragrance
|
|
||||||
- switch.upstairs_fragrance
|
|
||||||
- switch.kitchen_siren_switch
|
|
||||||
- switch.kitchen_siren_switch_2
|
|
||||||
- switch.kitchen_siren_switch_3
|
|
||||||
- switch.kitchen_siren_switch_4
|
|
||||||
- switch.kitchen_siren_switch_5
|
|
||||||
- switch.wemoswitch1
|
|
||||||
|
|
|
@ -1,52 +1,51 @@
|
||||||
homeassistant:
|
# homeassistant:
|
||||||
customize:
|
# customize:
|
||||||
|
# # Locations
|
||||||
|
# sensor.suresh_location:
|
||||||
|
# friendly_name: Suresh
|
||||||
|
# icon: mdi:map-marker
|
||||||
|
# sensor.mallika_location:
|
||||||
|
# friendly_name: Mallika
|
||||||
|
# icon: mdi:map-marker
|
||||||
|
# sensor.srinika_location:
|
||||||
|
# friendly_name: Srinika
|
||||||
|
# icon: mdi:map-marker
|
||||||
|
# sensor.hasika_location:
|
||||||
|
# friendly_name: Hasika
|
||||||
|
# icon: mdi:map-marker
|
||||||
|
|
||||||
# Locations
|
# # Google Calendar
|
||||||
sensor.suresh_location:
|
# google:
|
||||||
friendly_name: Suresh
|
# client_id: !secret google_client_id
|
||||||
icon: mdi:map-marker
|
# client_secret: !secret google_client_secret
|
||||||
sensor.mallika_location:
|
|
||||||
friendly_name: Mallika
|
|
||||||
icon: mdi:map-marker
|
|
||||||
sensor.srinika_location:
|
|
||||||
friendly_name: Srinika
|
|
||||||
icon: mdi:map-marker
|
|
||||||
sensor.hasika_location:
|
|
||||||
friendly_name: Hasika
|
|
||||||
icon: mdi:map-marker
|
|
||||||
|
|
||||||
# Google Calendar
|
# # Google Travel Times and Geo Code/Location
|
||||||
google:
|
# sensor:
|
||||||
client_id: !secret google_client_id
|
# # Address/Location Details
|
||||||
client_secret: !secret google_client_secret
|
# - platform: google_geocode
|
||||||
|
# name: Suresh Location
|
||||||
|
# api_key: !secret google_maps_geocoding_api
|
||||||
|
# origin: device_tracker.life360_suresh
|
||||||
|
# options: formatted_address
|
||||||
|
# display_zone: hide
|
||||||
|
|
||||||
# Google Travel Times and Geo Code/Location
|
# - platform: google_geocode
|
||||||
sensor:
|
# name: Mallika Location
|
||||||
# Address/Location Details
|
# api_key: !secret google_maps_geocoding_api
|
||||||
- platform: google_geocode
|
# origin: device_tracker.life360_mallika
|
||||||
name: Suresh Location
|
# options: formatted_address
|
||||||
api_key: !secret google_maps_geocoding_api
|
# display_zone: hide
|
||||||
origin: device_tracker.suresh_suresh
|
|
||||||
options: formatted_address
|
|
||||||
display_zone: hide
|
|
||||||
|
|
||||||
- platform: google_geocode
|
# - platform: google_geocode
|
||||||
name: Mallika Location
|
# name: Srinika Location
|
||||||
api_key: !secret google_maps_geocoding_api
|
# api_key: !secret google_maps_geocoding_api
|
||||||
origin: device_tracker.mallika_mallika
|
# origin: device_tracker.life360_srinika
|
||||||
options: formatted_address
|
# options: formatted_address
|
||||||
display_zone: hide
|
# display_zone: hide
|
||||||
|
|
||||||
- platform: google_geocode
|
# - platform: google_geocode
|
||||||
name: Srinika Location
|
# name: Hasika Location
|
||||||
api_key: !secret google_maps_geocoding_api
|
# api_key: !secret google_maps_geocoding_api
|
||||||
origin: device_tracker.srinika_srinika
|
# origin: device_tracker.life360_hasika
|
||||||
options: formatted_address
|
# options: formatted_address
|
||||||
display_zone: hide
|
# display_zone: hide
|
||||||
|
|
||||||
- platform: google_geocode
|
|
||||||
name: Hasika Location
|
|
||||||
api_key: !secret google_maps_geocoding_api
|
|
||||||
origin: device_tracker.hasika_hasika
|
|
||||||
options: formatted_address
|
|
||||||
display_zone: hide
|
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
###############################################################################
|
###############################################################################
|
||||||
homeassistant:
|
homeassistant:
|
||||||
customize:
|
customize:
|
||||||
|
|
||||||
group.home_security_system:
|
group.home_security_system:
|
||||||
order: 7
|
order: 7
|
||||||
|
|
||||||
|
@ -130,13 +129,13 @@ automation:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id:
|
entity_id:
|
||||||
- alarm_control_panel.simplisafe
|
- alarm_control_panel.simplisafe
|
||||||
to: 'disarmed'
|
to: "disarmed"
|
||||||
for:
|
for:
|
||||||
minutes: 10
|
minutes: 10
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: group.all_devices
|
entity_id: group.all_devices
|
||||||
state: 'home'
|
state: "home"
|
||||||
action:
|
action:
|
||||||
- service: script.notify_me
|
- service: script.notify_me
|
||||||
data:
|
data:
|
||||||
|
@ -151,13 +150,13 @@ automation:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id:
|
entity_id:
|
||||||
- alarm_control_panel.simplisafe
|
- alarm_control_panel.simplisafe
|
||||||
to: 'disarmed'
|
to: "disarmed"
|
||||||
for:
|
for:
|
||||||
minutes: 30
|
minutes: 30
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: group.all_devices
|
entity_id: group.all_devices
|
||||||
state: 'home'
|
state: "home"
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ states('input_boolean.security_system_alerts') == 'on' }}"
|
value_template: "{{ states('input_boolean.security_system_alerts') == 'on' }}"
|
||||||
action:
|
action:
|
||||||
|
@ -187,7 +186,7 @@ automation:
|
||||||
- service: climate.set_away_mode
|
- service: climate.set_away_mode
|
||||||
data_template:
|
data_template:
|
||||||
entity_id: climate.dining_room
|
entity_id: climate.dining_room
|
||||||
away_mode: 'false'
|
away_mode: "false"
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# TURN HOME SECURITY SYSTEM ON AT BED TIME
|
# TURN HOME SECURITY SYSTEM ON AT BED TIME
|
||||||
|
@ -196,18 +195,18 @@ automation:
|
||||||
initial_state: true
|
initial_state: true
|
||||||
trigger:
|
trigger:
|
||||||
platform: time_pattern
|
platform: time_pattern
|
||||||
minutes: '/5'
|
minutes: "/5"
|
||||||
seconds: 00
|
seconds: 00
|
||||||
condition:
|
condition:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: '{{ states.sensor.bedtime_hour.state|int == now().hour|int }}'
|
value_template: "{{ states.sensor.bedtime_hour.state|int == now().hour|int }}"
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: '{{ states.sensor.bedtime_minute.state|int == now().minute|int }}'
|
value_template: "{{ states.sensor.bedtime_minute.state|int == now().minute|int }}"
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ states('alarm_control_panel.simplisafe') != 'away' }}"
|
value_template: "{{ states('alarm_control_panel.simplisafe') != 'away' }}"
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: group.all_devices
|
entity_id: group.all_devices
|
||||||
state: 'home'
|
state: "home"
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ states('alarm_control_panel.simplisafe') == 'disarmed' }}"
|
value_template: "{{ states('alarm_control_panel.simplisafe') == 'disarmed' }}"
|
||||||
- condition: template
|
- condition: template
|
||||||
|
@ -219,7 +218,6 @@ automation:
|
||||||
- service: script.notify_me
|
- service: script.notify_me
|
||||||
data:
|
data:
|
||||||
message: "It's bedtime, you forgot to turn ON Home Security System. Turned it ON for you."
|
message: "It's bedtime, you forgot to turn ON Home Security System. Turned it ON for you."
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Check for Garage Door Status when Home Security System State changes
|
# Check for Garage Door Status when Home Security System State changes
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
@ -412,7 +410,7 @@ automation:
|
||||||
# initial_state: true
|
# initial_state: true
|
||||||
# trigger:
|
# trigger:
|
||||||
# - platform: state
|
# - platform: state
|
||||||
# entity_id: device_tracker.suresh_suresh
|
# entity_id: device_tracker.life360_suresh
|
||||||
# from: 'not_home'
|
# from: 'not_home'
|
||||||
# to: 'home'
|
# to: 'home'
|
||||||
# condition:
|
# condition:
|
||||||
|
|
|
@ -1,51 +0,0 @@
|
||||||
###############################################################################
|
|
||||||
# PACKAGE: LIFE365 SENSOR
|
|
||||||
# Description: The Life365 sensor requires username, password and mqtt topic.
|
|
||||||
# Whatever the topic you specify, the data will be dumped there.
|
|
||||||
# Use the exact topic name in the Parse Life365 Data automation.
|
|
||||||
#
|
|
||||||
# What is Life365?
|
|
||||||
# It is Life360 sensor, much simpler and a lot better ;)
|
|
||||||
# this component used to be life360, until it has a conflict with official
|
|
||||||
# component..., so I simply changed to Life365!
|
|
||||||
###############################################################################
|
|
||||||
|
|
||||||
homeassistant:
|
|
||||||
customize:
|
|
||||||
sensor.life365_sensor:
|
|
||||||
friendly_name: Life 365
|
|
||||||
hidden: true
|
|
||||||
|
|
||||||
sensor:
|
|
||||||
- platform: life365
|
|
||||||
username: !secret life360_username
|
|
||||||
password: !secret life360_password
|
|
||||||
mqtt_topic: "/life360/data"
|
|
||||||
scan_interval: 15
|
|
||||||
|
|
||||||
###############################################################################
|
|
||||||
# _ _ _
|
|
||||||
# /\ | | | | (_)
|
|
||||||
# / \ _ _| |_ ___ _ __ ___ __ _| |_ _ ___ _ __ ___
|
|
||||||
# / /\ \| | | | __/ _ \| '_ ` _ \ / _` | __| |/ _ \| '_ \/ __|
|
|
||||||
# / ____ \ |_| | || (_) | | | | | | (_| | |_| | (_) | | | \__ \
|
|
||||||
# /_/ \_\__,_|\__\___/|_| |_| |_|\__,_|\__|_|\___/|_| |_|___/
|
|
||||||
#
|
|
||||||
###############################################################################
|
|
||||||
|
|
||||||
automation:
|
|
||||||
|
|
||||||
###############################################################################
|
|
||||||
# Alert me When the sensor fails
|
|
||||||
###############################################################################
|
|
||||||
- alias: Alert Life365 Error
|
|
||||||
initial_state: true
|
|
||||||
trigger:
|
|
||||||
platform: state
|
|
||||||
entity_id: sensor.life365_sensor
|
|
||||||
to: 'error'
|
|
||||||
for: '00:05:00'
|
|
||||||
action:
|
|
||||||
- service: script.notify_me
|
|
||||||
data_template:
|
|
||||||
message: "Life365 Sensor state changed to: {{ trigger.to_state.state| upper }}."
|
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
homeassistant:
|
homeassistant:
|
||||||
customize:
|
customize:
|
||||||
|
|
||||||
# Media Players
|
# Media Players
|
||||||
media_player.snapcast_client_b827eb8604f5:
|
media_player.snapcast_client_b827eb8604f5:
|
||||||
friendly_name: Front Room Music
|
friendly_name: Front Room Music
|
||||||
|
@ -96,17 +95,17 @@ media_player:
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
- platform: mqtt
|
- platform: mqtt
|
||||||
name: Sharp TV
|
name: Sharp TV
|
||||||
state_topic: '/home/sharptv'
|
state_topic: "/home/sharptv"
|
||||||
payload_on: 'on'
|
payload_on: "on"
|
||||||
payload_off: 'off'
|
payload_off: "off"
|
||||||
value_template: '{{ value }}'
|
value_template: "{{ value }}"
|
||||||
|
|
||||||
- platform: mqtt
|
- platform: mqtt
|
||||||
name: Sharp TV Command State
|
name: Sharp TV Command State
|
||||||
state_topic: '/home/sharp_tv_cmd'
|
state_topic: "/home/sharp_tv_cmd"
|
||||||
payload_on: 'on'
|
payload_on: "on"
|
||||||
payload_off: 'off'
|
payload_off: "off"
|
||||||
value_template: '{{ value }}'
|
value_template: "{{ value }}"
|
||||||
|
|
||||||
input_select:
|
input_select:
|
||||||
snapcast_server:
|
snapcast_server:
|
||||||
|
@ -149,7 +148,6 @@ script:
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
automation:
|
automation:
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Snapcast Server Management
|
# Snapcast Server Management
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
|
@ -10,45 +10,45 @@ input_datetime:
|
||||||
name: Summer Bed Time
|
name: Summer Bed Time
|
||||||
has_date: false
|
has_date: false
|
||||||
has_time: true
|
has_time: true
|
||||||
initial: '23:00:00'
|
initial: "23:00:00"
|
||||||
summer_wakeup_time:
|
summer_wakeup_time:
|
||||||
name: Summer Wakeup Time
|
name: Summer Wakeup Time
|
||||||
has_date: false
|
has_date: false
|
||||||
has_time: true
|
has_time: true
|
||||||
initial: '06:00:00'
|
initial: "06:00:00"
|
||||||
|
|
||||||
autumn_bed_time:
|
autumn_bed_time:
|
||||||
name: Autumn Bed Time
|
name: Autumn Bed Time
|
||||||
has_date: false
|
has_date: false
|
||||||
has_time: true
|
has_time: true
|
||||||
initial: '22:00:00'
|
initial: "22:00:00"
|
||||||
autumn_wakeup_time:
|
autumn_wakeup_time:
|
||||||
name: Autumn Wakeup Time
|
name: Autumn Wakeup Time
|
||||||
has_date: false
|
has_date: false
|
||||||
has_time: true
|
has_time: true
|
||||||
initial: '05:30:00'
|
initial: "05:30:00"
|
||||||
|
|
||||||
winter_bed_time:
|
winter_bed_time:
|
||||||
name: Winter Bed Time
|
name: Winter Bed Time
|
||||||
has_date: false
|
has_date: false
|
||||||
has_time: true
|
has_time: true
|
||||||
initial: '22:00:00'
|
initial: "22:00:00"
|
||||||
winter_wakeup_time:
|
winter_wakeup_time:
|
||||||
name: Winter Wakeup Time
|
name: Winter Wakeup Time
|
||||||
has_date: false
|
has_date: false
|
||||||
has_time: true
|
has_time: true
|
||||||
initial: '05:30:00'
|
initial: "05:30:00"
|
||||||
|
|
||||||
spring_bed_time:
|
spring_bed_time:
|
||||||
name: Spring Bed Time
|
name: Spring Bed Time
|
||||||
has_date: false
|
has_date: false
|
||||||
has_time: true
|
has_time: true
|
||||||
initial: '22:00:00'
|
initial: "22:00:00"
|
||||||
spring_wakeup_time:
|
spring_wakeup_time:
|
||||||
name: Spring Wakeup Time
|
name: Spring Wakeup Time
|
||||||
has_date: false
|
has_date: false
|
||||||
has_time: true
|
has_time: true
|
||||||
initial: '05:30:00'
|
initial: "05:30:00"
|
||||||
|
|
||||||
input_number:
|
input_number:
|
||||||
calendar_remind_before_days:
|
calendar_remind_before_days:
|
||||||
|
@ -141,7 +141,7 @@ input_boolean:
|
||||||
icon: mdi:do-not-disturb
|
icon: mdi:do-not-disturb
|
||||||
|
|
||||||
movie_time:
|
movie_time:
|
||||||
name: 'Movie Time'
|
name: "Movie Time"
|
||||||
initial: off
|
initial: off
|
||||||
icon: mdi:movie-roll
|
icon: mdi:movie-roll
|
||||||
|
|
||||||
|
@ -251,7 +251,6 @@ input_boolean:
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
automation:
|
automation:
|
||||||
|
|
||||||
# Do not disturb for 2 hours
|
# Do not disturb for 2 hours
|
||||||
# Simply turns ON the Do Not Disturb Flag ad resets
|
# Simply turns ON the Do Not Disturb Flag ad resets
|
||||||
# after 2 hours. The Do Not Disturb flag is used in
|
# after 2 hours. The Do Not Disturb flag is used in
|
||||||
|
@ -262,7 +261,7 @@ automation:
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: input_boolean.do_not_disturb
|
entity_id: input_boolean.do_not_disturb
|
||||||
to: 'on'
|
to: "on"
|
||||||
for:
|
for:
|
||||||
hours: 2
|
hours: 2
|
||||||
minutes: 0
|
minutes: 0
|
||||||
|
@ -277,7 +276,7 @@ automation:
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: input_boolean.movie_time
|
entity_id: input_boolean.movie_time
|
||||||
to: 'on'
|
to: "on"
|
||||||
for:
|
for:
|
||||||
hours: 3
|
hours: 3
|
||||||
action:
|
action:
|
||||||
|
@ -302,7 +301,7 @@ automation:
|
||||||
initial_state: true
|
initial_state: true
|
||||||
trigger:
|
trigger:
|
||||||
platform: time_pattern
|
platform: time_pattern
|
||||||
hours: '/01'
|
hours: "/01"
|
||||||
minutes: 05
|
minutes: 05
|
||||||
seconds: 00
|
seconds: 00
|
||||||
condition:
|
condition:
|
||||||
|
@ -310,7 +309,7 @@ automation:
|
||||||
value_template: '{{ states.input_boolean.hourly_report.state == "on" }}'
|
value_template: '{{ states.input_boolean.hourly_report.state == "on" }}'
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: group.all_devices
|
entity_id: group.all_devices
|
||||||
state: 'home'
|
state: "home"
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: >
|
value_template: >
|
||||||
{% set hour = now().hour | int %}
|
{% set hour = now().hour | int %}
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
###############################################################################
|
###############################################################################
|
||||||
homeassistant:
|
homeassistant:
|
||||||
customize:
|
customize:
|
||||||
|
|
||||||
sun.sun:
|
sun.sun:
|
||||||
friendly_name: Sun
|
friendly_name: Sun
|
||||||
|
|
||||||
|
@ -125,17 +124,17 @@ weather:
|
||||||
openuv:
|
openuv:
|
||||||
api_key: !secret openuv_apikey
|
api_key: !secret openuv_apikey
|
||||||
|
|
||||||
iqvia:
|
# iqvia:
|
||||||
zip_code: !secret zip_code
|
# zip_code: !secret zip_code
|
||||||
monitored_conditions:
|
# monitored_conditions:
|
||||||
- allergy_average_forecasted
|
# - allergy_average_forecasted
|
||||||
- allergy_index_today
|
# - allergy_index_today
|
||||||
- allergy_index_tomorrow
|
# - allergy_index_tomorrow
|
||||||
- asthma_average_forecasted
|
# - asthma_average_forecasted
|
||||||
- asthma_index_today
|
# - asthma_index_today
|
||||||
- asthma_index_tomorrow
|
# - asthma_index_tomorrow
|
||||||
- disease_average_forecasted
|
# - disease_average_forecasted
|
||||||
- disease_index_today
|
# - disease_index_today
|
||||||
|
|
||||||
sensor:
|
sensor:
|
||||||
- platform: darksky
|
- platform: darksky
|
||||||
|
@ -190,7 +189,6 @@ sensor:
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
automation:
|
automation:
|
||||||
|
|
||||||
# Script to alert when enjoyable weather is outside
|
# Script to alert when enjoyable weather is outside
|
||||||
# For me, enjoyable is:
|
# For me, enjoyable is:
|
||||||
# 1. Must be above 70 Degrees F
|
# 1. Must be above 70 Degrees F
|
||||||
|
@ -207,11 +205,11 @@ automation:
|
||||||
value_template: '{{ states.input_boolean.enjoyable_weather_reminders.state == "on" }}'
|
value_template: '{{ states.input_boolean.enjoyable_weather_reminders.state == "on" }}'
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: sun.sun
|
entity_id: sun.sun
|
||||||
state: 'above_horizon'
|
state: "above_horizon"
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: '{% if states.sensor.dark_sky_apparent_temperature.state | round > 70 %} true {% else %} false {% endif %}'
|
value_template: "{% if states.sensor.dark_sky_apparent_temperature.state | round > 70 %} true {% else %} false {% endif %}"
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: '{% if states.sensor.dark_sky_wind_speed.state | round < 8 %} false {% else %} true {% endif %}'
|
value_template: "{% if states.sensor.dark_sky_wind_speed.state | round < 8 %} false {% else %} true {% endif %}"
|
||||||
action:
|
action:
|
||||||
- service: script.notify_me
|
- service: script.notify_me
|
||||||
data_template:
|
data_template:
|
||||||
|
@ -258,7 +256,7 @@ automation:
|
||||||
- input_boolean.rain_alert
|
- input_boolean.rain_alert
|
||||||
- input_boolean.snow_alert
|
- input_boolean.snow_alert
|
||||||
- input_boolean.sleet_alert
|
- input_boolean.sleet_alert
|
||||||
to: 'on'
|
to: "on"
|
||||||
for:
|
for:
|
||||||
minutes: 15
|
minutes: 15
|
||||||
action:
|
action:
|
||||||
|
@ -300,14 +298,14 @@ automation:
|
||||||
value_template: '{{ trigger.to_state.state | lower == "rain" }}'
|
value_template: '{{ trigger.to_state.state | lower == "rain" }}'
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: group.all_devices
|
entity_id: group.all_devices
|
||||||
state: 'home'
|
state: "home"
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: sun.sun
|
entity_id: sun.sun
|
||||||
state: 'above_horizon'
|
state: "above_horizon"
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: '{% if trigger.to_state.state == "unknown" or trigger.to_state.state == "" %} false {% else %} true {% endif %}'
|
value_template: '{% if trigger.to_state.state == "unknown" or trigger.to_state.state == "" %} false {% else %} true {% endif %}'
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: '{{ states.sensor.dark_sky_precip_probability.state | int == 1 }}'
|
value_template: "{{ states.sensor.dark_sky_precip_probability.state | int == 1 }}"
|
||||||
action:
|
action:
|
||||||
- service: script.notify_me
|
- service: script.notify_me
|
||||||
data_template:
|
data_template:
|
||||||
|
@ -333,14 +331,14 @@ automation:
|
||||||
value_template: '{{ states.sensor.season.state | lower == "winter" }}'
|
value_template: '{{ states.sensor.season.state | lower == "winter" }}'
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: group.all_devices
|
entity_id: group.all_devices
|
||||||
state: 'home'
|
state: "home"
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: sun.sun
|
entity_id: sun.sun
|
||||||
state: 'above_horizon'
|
state: "above_horizon"
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: '{% if trigger.to_state.state == "unknown" or trigger.to_state.state == "" %} false {% else %} true {% endif %}'
|
value_template: '{% if trigger.to_state.state == "unknown" or trigger.to_state.state == "" %} false {% else %} true {% endif %}'
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: '{{ states.sensor.dark_sky_precip_probability.state | int == 1 }}'
|
value_template: "{{ states.sensor.dark_sky_precip_probability.state | int == 1 }}"
|
||||||
action:
|
action:
|
||||||
- service: script.notify_me
|
- service: script.notify_me
|
||||||
data_template:
|
data_template:
|
||||||
|
@ -358,21 +356,12 @@ automation:
|
||||||
input_boolean.sleet_alert
|
input_boolean.sleet_alert
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
- alias: Update OpenUV every 30 minutes during the daytime
|
- alias: Update OpenUV every hour (24 of 50 calls per day)
|
||||||
trigger:
|
trigger:
|
||||||
platform: time_pattern
|
platform: time_pattern
|
||||||
minutes: "/30"
|
minutes: "/60"
|
||||||
seconds: 00
|
|
||||||
condition:
|
|
||||||
condition: and
|
|
||||||
conditions:
|
|
||||||
- condition: sun
|
|
||||||
after: sunrise
|
|
||||||
- condition: sun
|
|
||||||
before: sunset
|
|
||||||
action:
|
action:
|
||||||
service: openuv.update_data
|
service: openuv.update_data
|
||||||
|
|
||||||
# Weather sensors - TBD, too lazy to create them
|
# Weather sensors - TBD, too lazy to create them
|
||||||
#
|
#
|
||||||
# {{ states.sun.sun.state }}
|
# {{ states.sun.sun.state }}
|
||||||
|
|
|
@ -12,7 +12,7 @@ homeassistant:
|
||||||
|
|
||||||
timer:
|
timer:
|
||||||
wfh_timer:
|
wfh_timer:
|
||||||
duration: '00:30:00'
|
duration: "00:30:00"
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# _ _ _
|
# _ _ _
|
||||||
|
@ -25,24 +25,23 @@ timer:
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
automation:
|
automation:
|
||||||
|
|
||||||
# Start WFH timer if Suresh is HOME during weekdays between 10 AM and 5 PM
|
# Start WFH timer if Suresh is HOME during weekdays between 10 AM and 5 PM
|
||||||
###############################################################################
|
###############################################################################
|
||||||
- alias: WFH Timer Start
|
- alias: WFH Timer Start
|
||||||
initial_state: false
|
initial_state: false
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time_pattern
|
- platform: time_pattern
|
||||||
minutes: '/5'
|
minutes: "/5"
|
||||||
seconds: 00
|
seconds: 00
|
||||||
condition:
|
condition:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: '{{ states.binary_sensor.workday_sensor.state == "on" }}'
|
value_template: '{{ states.binary_sensor.workday_sensor.state == "on" }}'
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: '{{ now().hour|int >= 10 and now().hour|int < 17 }}'
|
value_template: "{{ now().hour|int >= 10 and now().hour|int < 17 }}"
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: '{{ states.timer.wfh_timer.state == "idle" }}'
|
value_template: '{{ states.timer.wfh_timer.state == "idle" }}'
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: '{{ states.device_tracker.suresh_suresh.state == "home" }}'
|
value_template: '{{ states.device_tracker.life360_suresh.state == "home" }}'
|
||||||
action:
|
action:
|
||||||
- service: timer.start
|
- service: timer.start
|
||||||
entity_id: timer.wfh_timer
|
entity_id: timer.wfh_timer
|
||||||
|
@ -66,7 +65,7 @@ automation:
|
||||||
{% endif %}
|
{% endif %}
|
||||||
entity_id: timer.wfh_timer
|
entity_id: timer.wfh_timer
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: '{{ now().hour|int >= 10 and now().hour|int < 17 }}'
|
value_template: "{{ now().hour|int >= 10 and now().hour|int < 17 }}"
|
||||||
- service: script.voice_notify
|
- service: script.voice_notify
|
||||||
data_template:
|
data_template:
|
||||||
message: "It is time to stand up and walk around!"
|
message: "It is time to stand up and walk around!"
|
||||||
|
@ -77,7 +76,7 @@ automation:
|
||||||
initial_state: false
|
initial_state: false
|
||||||
trigger:
|
trigger:
|
||||||
- platform: zone
|
- platform: zone
|
||||||
entity_id: device_tracker.suresh_suresh
|
entity_id: device_tracker.life360_suresh
|
||||||
zone: zone.home
|
zone: zone.home
|
||||||
event: leave
|
event: leave
|
||||||
condition:
|
condition:
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
###############################################################################
|
###############################################################################
|
||||||
homeassistant:
|
homeassistant:
|
||||||
customize:
|
customize:
|
||||||
|
|
||||||
input_boolean.home_mode_away:
|
input_boolean.home_mode_away:
|
||||||
friendly_name: Away Mode
|
friendly_name: Away Mode
|
||||||
zone.home:
|
zone.home:
|
||||||
|
@ -26,15 +25,15 @@ zone:
|
||||||
input_boolean:
|
input_boolean:
|
||||||
home_mode_away:
|
home_mode_away:
|
||||||
name: Away
|
name: Away
|
||||||
initial: 'off'
|
initial: "off"
|
||||||
|
|
||||||
proximity:
|
proximity:
|
||||||
home:
|
home:
|
||||||
devices: device_tracker.suresh_suresh
|
devices: device_tracker.life360_suresh
|
||||||
tolerance: 50
|
tolerance: 50
|
||||||
unit_of_measurement: mi
|
unit_of_measurement: mi
|
||||||
work:
|
work:
|
||||||
devices: device_tracker.suresh_suresh
|
devices: device_tracker.life360_suresh
|
||||||
tolerance: 50
|
tolerance: 50
|
||||||
unit_of_measurement: mi
|
unit_of_measurement: mi
|
||||||
|
|
||||||
|
@ -57,14 +56,14 @@ automation:
|
||||||
trigger:
|
trigger:
|
||||||
- platform: zone
|
- platform: zone
|
||||||
entity_id:
|
entity_id:
|
||||||
- device_tracker.hasika_hasika
|
- device_tracker.life360_hasika
|
||||||
- device_tracker.mallika_mallika
|
- device_tracker.life360_mallika
|
||||||
- device_tracker.srinika_srinika
|
- device_tracker.life360_srinika
|
||||||
- device_tracker.suresh_suresh
|
- device_tracker.life360_suresh
|
||||||
zone: zone.home
|
zone: zone.home
|
||||||
event: enter
|
event: enter
|
||||||
- platform: zone
|
- platform: zone
|
||||||
entity_id: device_tracker.suresh_suresh
|
entity_id: device_tracker.life360_suresh
|
||||||
zone: zone.work
|
zone: zone.work
|
||||||
event: enter
|
event: enter
|
||||||
condition:
|
condition:
|
||||||
|
@ -74,26 +73,26 @@ automation:
|
||||||
- service: script.notify_me
|
- service: script.notify_me
|
||||||
data_template:
|
data_template:
|
||||||
message: >
|
message: >
|
||||||
{{ trigger.entity_id.split('.')[1].split('_')[0] | title}} just entered {{ trigger.zone.attributes.friendly_name }}!
|
{{ trigger.entity_id.split('.')[1].split('_')[1] | title}} just entered {{ trigger.zone.attributes.friendly_name }}!
|
||||||
- service: script.voice_notify
|
- service: script.voice_notify
|
||||||
data_template:
|
data_template:
|
||||||
message: >
|
message: >
|
||||||
{{ trigger.entity_id.split('.')[1].split('_')[0] | title}} just entered {{ trigger.zone.attributes.friendly_name }}!
|
{{ trigger.entity_id.split('.')[1].split('_')[1] | title}} just entered {{ trigger.zone.attributes.friendly_name }}!
|
||||||
greeting: 'no'
|
greeting: "no"
|
||||||
|
|
||||||
- alias: Alert When Someone Leaves a Zone
|
- alias: Alert When Someone Leaves a Zone
|
||||||
initial_state: true
|
initial_state: true
|
||||||
trigger:
|
trigger:
|
||||||
- platform: zone
|
- platform: zone
|
||||||
entity_id:
|
entity_id:
|
||||||
- device_tracker.hasika_hasika
|
- device_tracker.life360_hasika
|
||||||
- device_tracker.mallika_mallika
|
- device_tracker.life360_mallika
|
||||||
- device_tracker.srinika_srinika
|
- device_tracker.life360_srinika
|
||||||
- device_tracker.suresh_suresh
|
- device_tracker.life360_suresh
|
||||||
zone: zone.home
|
zone: zone.home
|
||||||
event: leave
|
event: leave
|
||||||
- platform: zone
|
- platform: zone
|
||||||
entity_id: device_tracker.suresh_suresh
|
entity_id: device_tracker.life360_suresh
|
||||||
zone: zone.work
|
zone: zone.work
|
||||||
event: leave
|
event: leave
|
||||||
condition:
|
condition:
|
||||||
|
@ -102,15 +101,15 @@ automation:
|
||||||
action:
|
action:
|
||||||
- service: script.notify_me
|
- service: script.notify_me
|
||||||
data_template:
|
data_template:
|
||||||
message: "{{ trigger.entity_id.split('.')[1].split('_')[0] | title}} just left {{ trigger.zone.attributes.friendly_name }}."
|
message: "{{ trigger.entity_id.split('.')[1].split('_')[1] | title}} just left {{ trigger.zone.attributes.friendly_name }}."
|
||||||
- service: script.voice_notify
|
- service: script.voice_notify
|
||||||
data_template:
|
data_template:
|
||||||
message: >-
|
message: >-
|
||||||
{{ trigger.entity_id.split('.')[1].split('_')[0] | title }} just left {{ trigger.zone.attributes.friendly_name }}.
|
{{ trigger.entity_id.split('.')[1].split('_')[1] | title }} just left {{ trigger.zone.attributes.friendly_name }}.
|
||||||
{% if trigger.entity_id.split('.')[1].split('_')[0] == "suresh" and trigger.zone.attributes.friendly_name | lower == "office" %}
|
{% if trigger.entity_id.split('.')[1].split('_')[1] == "suresh" and trigger.zone.attributes.friendly_name | lower == "office" %}
|
||||||
and will be home in {{ (states.sensor.suresh2home.state | int) + 5 }} minutes.
|
and will be home in {{ (states.sensor.suresh2home.state | int) + 5 }} minutes.
|
||||||
{% endif %}
|
{% endif %}
|
||||||
greeting: 'no'
|
greeting: "no"
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Welcome family members when they come home
|
# Welcome family members when they come home
|
||||||
|
@ -120,27 +119,27 @@ automation:
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id:
|
entity_id:
|
||||||
- device_tracker.mallika_mallika
|
- device_tracker.life360_mallika
|
||||||
- device_tracker.suresh_suresh
|
- device_tracker.life360_suresh
|
||||||
- device_tracker.srinika_srinika
|
- device_tracker.life360_srinika
|
||||||
- device_tracker.hasika_hasika
|
- device_tracker.life360_hasika
|
||||||
from: 'not_home'
|
from: "not_home"
|
||||||
to: 'home'
|
to: "home"
|
||||||
for: '00:02:00'
|
for: "00:02:00"
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.zone_alerts
|
entity_id: input_boolean.zone_alerts
|
||||||
state: 'on'
|
state: "on"
|
||||||
action:
|
action:
|
||||||
- service: script.notify_me
|
- service: script.notify_me
|
||||||
data_template:
|
data_template:
|
||||||
message: >
|
message: >
|
||||||
Welcome home, {{ trigger.entity_id.split('.')[1].split('_')[0] | title }}!
|
Welcome home, {{ trigger.entity_id.split('.')[1].split('_')[1] | title }}!
|
||||||
- service: script.voice_notify
|
- service: script.voice_notify
|
||||||
data_template:
|
data_template:
|
||||||
message: >
|
message: >
|
||||||
"Welcome home, {{ trigger.entity_id.split('.')[1].split('_')[0] | lower }}!"
|
"Welcome home, {{ trigger.entity_id.split('.')[1].split('_')[1] | lower }}!"
|
||||||
greeting: 'no'
|
greeting: "no"
|
||||||
- service: input_boolean.turn_off
|
- service: input_boolean.turn_off
|
||||||
entity_id: input_boolean.home_mode_away
|
entity_id: input_boolean.home_mode_away
|
||||||
|
|
||||||
|
@ -152,16 +151,16 @@ automation:
|
||||||
trigger:
|
trigger:
|
||||||
platform: time_pattern
|
platform: time_pattern
|
||||||
minutes: 00
|
minutes: 00
|
||||||
seconds: '/30'
|
seconds: "/30"
|
||||||
condition:
|
condition:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: '{{ states.input_boolean.home_mode_away.state == "off" }}'
|
value_template: '{{ states.input_boolean.home_mode_away.state == "off" }}'
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: >
|
value_template: >
|
||||||
{% set suresh = states.device_tracker.suresh_suresh.state %}
|
{% set suresh = states.device_tracker.life360_suresh.state %}
|
||||||
{% set mallika = states.device_tracker.mallika_mallika.state %}
|
{% set mallika = states.device_tracker.life360_mallika.state %}
|
||||||
{% set srinika = states.device_tracker.srinika_srinika.state %}
|
{% set srinika = states.device_tracker.life360_srinika.state %}
|
||||||
{% set hasika = states.device_tracker.hasika_hasika.state %}
|
{% set hasika = states.device_tracker.life360_hasika.state %}
|
||||||
{% if suresh != "home" and mallika != "home" and srinika != "home" and hasika != "home" %}
|
{% if suresh != "home" and mallika != "home" and srinika != "home" and hasika != "home" %}
|
||||||
True
|
True
|
||||||
{% else %}
|
{% else %}
|
||||||
|
@ -176,7 +175,7 @@ automation:
|
||||||
trigger:
|
trigger:
|
||||||
platform: state
|
platform: state
|
||||||
entity_id: input_boolean.home_mode_away
|
entity_id: input_boolean.home_mode_away
|
||||||
to: 'on'
|
to: "on"
|
||||||
action:
|
action:
|
||||||
- service: script.home_mode_away
|
- service: script.home_mode_away
|
||||||
|
|
||||||
|
@ -199,10 +198,10 @@ automation:
|
||||||
message: "Suresh is on his way home, he is within the 5 miles range. Should be home soon!"
|
message: "Suresh is on his way home, he is within the 5 miles range. Should be home soon!"
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: >
|
value_template: >
|
||||||
{% set suresh = states.device_tracker.suresh_suresh.state %}
|
{% set suresh = states.device_tracker.life360_suresh.state %}
|
||||||
{% set mallika = states.device_tracker.mallika_mallika.state %}
|
{% set mallika = states.device_tracker.life360_mallika.state %}
|
||||||
{% set srinika = states.device_tracker.srinika_srinika.state %}
|
{% set srinika = states.device_tracker.life360_srinika.state %}
|
||||||
{% set hasika = states.device_tracker.hasika_hasika.state %}
|
{% set hasika = states.device_tracker.life360_hasika.state %}
|
||||||
{% if suresh != "home" and mallika != "home" and srinika != "home" and hasika != "home" %}
|
{% if suresh != "home" and mallika != "home" and srinika != "home" and hasika != "home" %}
|
||||||
True
|
True
|
||||||
{% else %}
|
{% else %}
|
||||||
|
@ -211,7 +210,7 @@ automation:
|
||||||
- service: climate.set_away_mode
|
- service: climate.set_away_mode
|
||||||
data:
|
data:
|
||||||
entity_id: climate.dining_room
|
entity_id: climate.dining_room
|
||||||
away_mode: 'false'
|
away_mode: "false"
|
||||||
- service: script.notify_me
|
- service: script.notify_me
|
||||||
data_template:
|
data_template:
|
||||||
message: "Your Nest thermostat is set to HOME mode. Thank you!"
|
message: "Your Nest thermostat is set to HOME mode. Thank you!"
|
||||||
|
|
|
@ -162,7 +162,7 @@
|
||||||
{# Drone Flying Weather #}
|
{# Drone Flying Weather #}
|
||||||
{%- macro drone_weather() -%}
|
{%- macro drone_weather() -%}
|
||||||
{% if states.binary_sensor.good_weather_to_fly_drones.state| lower == "on" and
|
{% if states.binary_sensor.good_weather_to_fly_drones.state| lower == "on" and
|
||||||
states.device_tracker.suresh_suresh.state == "home" and
|
states.device_tracker.life360_suresh.state == "home" and
|
||||||
states.sun.sun.state == "above_horizon" %}
|
states.sun.sun.state == "above_horizon" %}
|
||||||
It is now a great weather to fly drone outside.
|
It is now a great weather to fly drone outside.
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="48" name="COMMAND_CLASS_SENSOR_BINARY" version="1" request_flags="4" innif="true">
|
<CommandClass id="48" name="COMMAND_CLASS_SENSOR_BINARY" version="1" request_flags="4" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
<Value type="bool" genre="user" instance="1" index="0" label="Sensor" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="True" />
|
<Value type="bool" genre="user" instance="1" index="0" label="Sensor" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="False" />
|
||||||
<SensorMap index="0" type="47" />
|
<SensorMap index="0" type="47" />
|
||||||
<SensorMap index="0" type="55" />
|
<SensorMap index="0" type="55" />
|
||||||
<SensorMap index="0" type="63" />
|
<SensorMap index="0" type="63" />
|
||||||
|
@ -34,10 +34,10 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="49" name="COMMAND_CLASS_SENSOR_MULTILEVEL" version="5" innif="true">
|
<CommandClass id="49" name="COMMAND_CLASS_SENSOR_MULTILEVEL" version="5" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="1" label="Temperature" units="F" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="72.3" />
|
<Value type="decimal" genre="user" instance="1" index="1" label="Temperature" units="F" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="72.1" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="3" label="Luminance" units="lux" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0" />
|
<Value type="decimal" genre="user" instance="1" index="3" label="Luminance" units="lux" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="4" label="Power" units="W" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="46" />
|
<Value type="decimal" genre="user" instance="1" index="4" label="Power" units="W" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="46" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="5" label="Relative Humidity" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="39" />
|
<Value type="decimal" genre="user" instance="1" index="5" label="Relative Humidity" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="40" />
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="90" name="COMMAND_CLASS_DEVICE_RESET_LOCALLY" version="1" request_flags="4" after_mark="true" innif="true">
|
<CommandClass id="90" name="COMMAND_CLASS_DEVICE_RESET_LOCALLY" version="1" request_flags="4" after_mark="true" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
|
@ -168,7 +168,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="128" name="COMMAND_CLASS_BATTERY" version="1" request_flags="4" innif="true">
|
<CommandClass id="128" name="COMMAND_CLASS_BATTERY" version="1" request_flags="4" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
<Value type="byte" genre="user" instance="1" index="0" label="Battery Level" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="100" />
|
<Value type="byte" genre="user" instance="1" index="0" label="Battery Level" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="64" />
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="130" name="COMMAND_CLASS_HAIL" version="1" request_flags="4" after_mark="true" innif="true">
|
<CommandClass id="130" name="COMMAND_CLASS_HAIL" version="1" request_flags="4" after_mark="true" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
|
@ -208,7 +208,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="48" name="COMMAND_CLASS_SENSOR_BINARY" version="1" request_flags="4" innif="true">
|
<CommandClass id="48" name="COMMAND_CLASS_SENSOR_BINARY" version="1" request_flags="4" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
<Value type="bool" genre="user" instance="1" index="0" label="Sensor" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="True" />
|
<Value type="bool" genre="user" instance="1" index="0" label="Sensor" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="False" />
|
||||||
<SensorMap index="0" type="46" />
|
<SensorMap index="0" type="46" />
|
||||||
<SensorMap index="0" type="62" />
|
<SensorMap index="0" type="62" />
|
||||||
<SensorMap index="0" type="193" />
|
<SensorMap index="0" type="193" />
|
||||||
|
@ -216,9 +216,9 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="49" name="COMMAND_CLASS_SENSOR_MULTILEVEL" version="5" innif="true">
|
<CommandClass id="49" name="COMMAND_CLASS_SENSOR_MULTILEVEL" version="5" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="1" label="Temperature" units="F" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="73.4" />
|
<Value type="decimal" genre="user" instance="1" index="1" label="Temperature" units="F" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="73.0" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="3" label="Luminance" units="lux" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="58" />
|
<Value type="decimal" genre="user" instance="1" index="3" label="Luminance" units="lux" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="39" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="5" label="Relative Humidity" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="33" />
|
<Value type="decimal" genre="user" instance="1" index="5" label="Relative Humidity" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="36" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="27" label="Ultraviolet" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0" />
|
<Value type="decimal" genre="user" instance="1" index="27" label="Ultraviolet" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0" />
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="90" name="COMMAND_CLASS_DEVICE_RESET_LOCALLY" version="1" request_flags="4" after_mark="true" innif="true">
|
<CommandClass id="90" name="COMMAND_CLASS_DEVICE_RESET_LOCALLY" version="1" request_flags="4" after_mark="true" innif="true">
|
||||||
|
@ -350,7 +350,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="128" name="COMMAND_CLASS_BATTERY" version="1" request_flags="4" innif="true">
|
<CommandClass id="128" name="COMMAND_CLASS_BATTERY" version="1" request_flags="4" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
<Value type="byte" genre="user" instance="1" index="0" label="Battery Level" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="100" />
|
<Value type="byte" genre="user" instance="1" index="0" label="Battery Level" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="82" />
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="130" name="COMMAND_CLASS_HAIL" version="1" request_flags="4" after_mark="true" innif="true">
|
<CommandClass id="130" name="COMMAND_CLASS_HAIL" version="1" request_flags="4" after_mark="true" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
|
@ -379,7 +379,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
</CommandClasses>
|
</CommandClasses>
|
||||||
</Node>
|
</Node>
|
||||||
<Node id="4" name="Two Car Garage Door Tilt Sensor" location="" basic="4" generic="7" specific="1" roletype="6" devicetype="3072" nodetype="0" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="Complete">
|
<Node id="4" name="Two Car Garage Door Tilt Sensor" location="" basic="4" generic="7" specific="1" roletype="6" devicetype="3072" nodetype="0" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="CacheLoad">
|
||||||
<Manufacturer id="14a" name="Ecolink">
|
<Manufacturer id="14a" name="Ecolink">
|
||||||
<Product type="4" id="3" name="Garage Door Tilt Sensor" />
|
<Product type="4" id="3" name="Garage Door Tilt Sensor" />
|
||||||
</Manufacturer>
|
</Manufacturer>
|
||||||
|
@ -490,7 +490,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
</CommandClasses>
|
</CommandClasses>
|
||||||
</Node>
|
</Node>
|
||||||
<Node id="5" name="Single Car Garage Door Tilt Sensor" location="" basic="4" generic="7" specific="1" roletype="6" devicetype="3072" nodetype="0" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="Complete">
|
<Node id="5" name="Single Car Garage Door Tilt Sensor" location="" basic="4" generic="7" specific="1" roletype="6" devicetype="3072" nodetype="0" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="CacheLoad">
|
||||||
<Manufacturer id="14a" name="Ecolink">
|
<Manufacturer id="14a" name="Ecolink">
|
||||||
<Product type="4" id="3" name="Garage Door Tilt Sensor" />
|
<Product type="4" id="3" name="Garage Door Tilt Sensor" />
|
||||||
</Manufacturer>
|
</Manufacturer>
|
||||||
|
@ -601,7 +601,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
</CommandClasses>
|
</CommandClasses>
|
||||||
</Node>
|
</Node>
|
||||||
<Node id="6" name="Back Door Sensor" location="" basic="4" generic="7" specific="1" roletype="6" devicetype="3072" nodetype="0" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="Complete">
|
<Node id="6" name="Back Door Sensor" location="" basic="4" generic="7" specific="1" roletype="6" devicetype="3072" nodetype="0" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="CacheLoad">
|
||||||
<Manufacturer id="14a" name="Ecolink">
|
<Manufacturer id="14a" name="Ecolink">
|
||||||
<Product type="4" id="2" name="Door Sensor" />
|
<Product type="4" id="2" name="Door Sensor" />
|
||||||
</Manufacturer>
|
</Manufacturer>
|
||||||
|
@ -612,7 +612,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="48" name="COMMAND_CLASS_SENSOR_BINARY" version="1" request_flags="4" innif="true">
|
<CommandClass id="48" name="COMMAND_CLASS_SENSOR_BINARY" version="1" request_flags="4" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
<Value type="bool" genre="user" instance="1" index="0" label="Sensor" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="True" />
|
<Value type="bool" genre="user" instance="1" index="0" label="Sensor" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="False" />
|
||||||
<SensorMap index="0" type="127" />
|
<SensorMap index="0" type="127" />
|
||||||
<SensorMap index="0" type="191" />
|
<SensorMap index="0" type="191" />
|
||||||
<SensorMap index="0" type="223" />
|
<SensorMap index="0" type="223" />
|
||||||
|
@ -635,7 +635,7 @@
|
||||||
<Value type="byte" genre="user" instance="1" index="0" label="Alarm Type" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
<Value type="byte" genre="user" instance="1" index="0" label="Alarm Type" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||||
<Value type="byte" genre="user" instance="1" index="1" label="Alarm Level" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
<Value type="byte" genre="user" instance="1" index="1" label="Alarm Level" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||||
<Value type="byte" genre="user" instance="1" index="2" label="SourceNodeId" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
<Value type="byte" genre="user" instance="1" index="2" label="SourceNodeId" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||||
<Value type="byte" genre="user" instance="1" index="9" label="Access Control" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="22" />
|
<Value type="byte" genre="user" instance="1" index="9" label="Access Control" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="23" />
|
||||||
<Value type="byte" genre="user" instance="1" index="10" label="Burglar" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
<Value type="byte" genre="user" instance="1" index="10" label="Burglar" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||||
<Value type="byte" genre="user" instance="1" index="11" label="Power Management" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
<Value type="byte" genre="user" instance="1" index="11" label="Power Management" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
|
@ -728,9 +728,9 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="49" name="COMMAND_CLASS_SENSOR_MULTILEVEL" version="5" innif="true">
|
<CommandClass id="49" name="COMMAND_CLASS_SENSOR_MULTILEVEL" version="5" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="1" label="Temperature" units="F" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="70.3" />
|
<Value type="decimal" genre="user" instance="1" index="1" label="Temperature" units="F" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="76.5" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="3" label="Luminance" units="lux" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="87" />
|
<Value type="decimal" genre="user" instance="1" index="3" label="Luminance" units="lux" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="137" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="5" label="Relative Humidity" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="46" />
|
<Value type="decimal" genre="user" instance="1" index="5" label="Relative Humidity" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="44" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="27" label="Ultraviolet" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0" />
|
<Value type="decimal" genre="user" instance="1" index="27" label="Ultraviolet" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0" />
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="90" name="COMMAND_CLASS_DEVICE_RESET_LOCALLY" version="1" request_flags="4" innif="true">
|
<CommandClass id="90" name="COMMAND_CLASS_DEVICE_RESET_LOCALLY" version="1" request_flags="4" innif="true">
|
||||||
|
@ -1006,11 +1006,11 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="50" name="COMMAND_CLASS_METER" version="3" request_flags="2" innif="true">
|
<CommandClass id="50" name="COMMAND_CLASS_METER" version="3" request_flags="2" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="0" label="Energy" units="kWh" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="48.280" />
|
<Value type="decimal" genre="user" instance="1" index="0" label="Energy" units="kWh" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="50.014" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="1" label="Previous Reading" units="kWh" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="48.280" />
|
<Value type="decimal" genre="user" instance="1" index="1" label="Previous Reading" units="kWh" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="50.014" />
|
||||||
<Value type="int" genre="user" instance="1" index="2" label="Interval" units="seconds" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="2522" />
|
<Value type="int" genre="user" instance="1" index="2" label="Interval" units="seconds" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="365" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="8" label="Power" units="W" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0.000" />
|
<Value type="decimal" genre="user" instance="1" index="8" label="Power" units="W" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0.000" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="16" label="Voltage" units="V" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="117.357" />
|
<Value type="decimal" genre="user" instance="1" index="16" label="Voltage" units="V" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="116.082" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="20" label="Current" units="A" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0.000" />
|
<Value type="decimal" genre="user" instance="1" index="20" label="Current" units="A" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0.000" />
|
||||||
<Value type="bool" genre="user" instance="1" index="32" label="Exporting" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="False" />
|
<Value type="bool" genre="user" instance="1" index="32" label="Exporting" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="False" />
|
||||||
<Value type="button" genre="system" instance="1" index="33" label="Reset" units="" read_only="false" write_only="true" verify_changes="false" poll_intensity="0" min="0" max="0" />
|
<Value type="button" genre="system" instance="1" index="33" label="Reset" units="" read_only="false" write_only="true" verify_changes="false" poll_intensity="0" min="0" max="0" />
|
||||||
|
@ -1181,7 +1181,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="129" name="COMMAND_CLASS_CLOCK" version="1" request_flags="4" innif="true">
|
<CommandClass id="129" name="COMMAND_CLASS_CLOCK" version="1" request_flags="4" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
<Value type="list" genre="user" instance="1" index="0" label="Day" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" vindex="4" size="1">
|
<Value type="list" genre="user" instance="1" index="0" label="Day" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" vindex="3" size="1">
|
||||||
<Item label="Monday" value="1" />
|
<Item label="Monday" value="1" />
|
||||||
<Item label="Tuesday" value="2" />
|
<Item label="Tuesday" value="2" />
|
||||||
<Item label="Wednesday" value="3" />
|
<Item label="Wednesday" value="3" />
|
||||||
|
@ -1190,8 +1190,8 @@
|
||||||
<Item label="Saturday" value="6" />
|
<Item label="Saturday" value="6" />
|
||||||
<Item label="Sunday" value="7" />
|
<Item label="Sunday" value="7" />
|
||||||
</Value>
|
</Value>
|
||||||
<Value type="byte" genre="user" instance="1" index="1" label="Hour" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="13" />
|
<Value type="byte" genre="user" instance="1" index="1" label="Hour" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="15" />
|
||||||
<Value type="byte" genre="user" instance="1" index="2" label="Minute" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="19" />
|
<Value type="byte" genre="user" instance="1" index="2" label="Minute" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="9" />
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="130" name="COMMAND_CLASS_HAIL" version="1" request_flags="4" after_mark="true" innif="true">
|
<CommandClass id="130" name="COMMAND_CLASS_HAIL" version="1" request_flags="4" after_mark="true" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
|
@ -1328,7 +1328,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
</CommandClasses>
|
</CommandClasses>
|
||||||
</Node>
|
</Node>
|
||||||
<Node id="17" name="Stairs Motion Sensor" location="" basic="4" generic="7" specific="1" roletype="6" devicetype="3072" nodetype="0" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="Complete">
|
<Node id="17" name="Stairs Motion Sensor" location="" basic="4" generic="7" specific="1" roletype="6" devicetype="3072" nodetype="0" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="CacheLoad">
|
||||||
<Manufacturer id="14a" name="Ecolink">
|
<Manufacturer id="14a" name="Ecolink">
|
||||||
<Product type="4" id="1" name="Motion Detector" />
|
<Product type="4" id="1" name="Motion Detector" />
|
||||||
</Manufacturer>
|
</Manufacturer>
|
||||||
|
@ -1339,7 +1339,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="48" name="COMMAND_CLASS_SENSOR_BINARY" version="1" request_flags="4" innif="true">
|
<CommandClass id="48" name="COMMAND_CLASS_SENSOR_BINARY" version="1" request_flags="4" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
<Value type="bool" genre="user" instance="1" index="0" label="Sensor" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="True" />
|
<Value type="bool" genre="user" instance="1" index="0" label="Sensor" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="False" />
|
||||||
<SensorMap index="0" type="255" />
|
<SensorMap index="0" type="255" />
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="90" name="COMMAND_CLASS_DEVICE_RESET_LOCALLY" version="1">
|
<CommandClass id="90" name="COMMAND_CLASS_DEVICE_RESET_LOCALLY" version="1">
|
||||||
|
@ -1369,7 +1369,7 @@
|
||||||
<Value type="byte" genre="user" instance="1" index="0" label="Alarm Type" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
<Value type="byte" genre="user" instance="1" index="0" label="Alarm Type" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||||
<Value type="byte" genre="user" instance="1" index="1" label="Alarm Level" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
<Value type="byte" genre="user" instance="1" index="1" label="Alarm Level" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||||
<Value type="byte" genre="user" instance="1" index="2" label="SourceNodeId" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
<Value type="byte" genre="user" instance="1" index="2" label="SourceNodeId" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||||
<Value type="byte" genre="user" instance="1" index="10" label="Burglar" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="8" />
|
<Value type="byte" genre="user" instance="1" index="10" label="Burglar" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||||
<Value type="byte" genre="user" instance="1" index="11" label="Power Management" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
<Value type="byte" genre="user" instance="1" index="11" label="Power Management" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="114" name="COMMAND_CLASS_MANUFACTURER_SPECIFIC" version="1" request_flags="4" innif="true">
|
<CommandClass id="114" name="COMMAND_CLASS_MANUFACTURER_SPECIFIC" version="1" request_flags="4" innif="true">
|
||||||
|
@ -1703,7 +1703,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
</CommandClasses>
|
</CommandClasses>
|
||||||
</Node>
|
</Node>
|
||||||
<Node id="25" name="Basement Door Sensor" location="" basic="4" generic="7" specific="1" roletype="6" devicetype="3072" nodetype="0" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="Complete">
|
<Node id="25" name="Basement Door Sensor" location="" basic="4" generic="7" specific="1" roletype="6" devicetype="3072" nodetype="0" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="CacheLoad">
|
||||||
<Manufacturer id="14a" name="Ecolink">
|
<Manufacturer id="14a" name="Ecolink">
|
||||||
<Product type="4" id="2" name="Unknown: type=0004, id=0002" />
|
<Product type="4" id="2" name="Unknown: type=0004, id=0002" />
|
||||||
</Manufacturer>
|
</Manufacturer>
|
||||||
|
@ -1965,7 +1965,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="128" name="COMMAND_CLASS_BATTERY" version="1" request_flags="5" innif="true">
|
<CommandClass id="128" name="COMMAND_CLASS_BATTERY" version="1" request_flags="5" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
<Value type="byte" genre="user" instance="1" index="0" label="Battery Level" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="37" />
|
<Value type="byte" genre="user" instance="1" index="0" label="Battery Level" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="100" />
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="132" name="COMMAND_CLASS_WAKE_UP" version="2" request_flags="1" innif="true">
|
<CommandClass id="132" name="COMMAND_CLASS_WAKE_UP" version="2" request_flags="1" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
|
@ -2023,7 +2023,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
</CommandClasses>
|
</CommandClasses>
|
||||||
</Node>
|
</Node>
|
||||||
<Node id="28" name="Audio Detector" location="" basic="4" generic="7" specific="1" roletype="6" devicetype="3073" nodetype="0" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="Complete">
|
<Node id="28" name="Audio Detector" location="" basic="4" generic="7" specific="1" roletype="6" devicetype="3073" nodetype="0" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="CacheLoad">
|
||||||
<Manufacturer id="14a" name="Ecolink">
|
<Manufacturer id="14a" name="Ecolink">
|
||||||
<Product type="5" id="f" name="FireFighter" />
|
<Product type="5" id="f" name="FireFighter" />
|
||||||
</Manufacturer>
|
</Manufacturer>
|
||||||
|
@ -2038,7 +2038,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="49" name="COMMAND_CLASS_SENSOR_MULTILEVEL" version="7" innif="true">
|
<CommandClass id="49" name="COMMAND_CLASS_SENSOR_MULTILEVEL" version="7" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="1" label="Temperature" units="F" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="74.66" />
|
<Value type="decimal" genre="user" instance="1" index="1" label="Temperature" units="F" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="73.94" />
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="90" name="COMMAND_CLASS_DEVICE_RESET_LOCALLY" version="1" request_flags="4" innif="true">
|
<CommandClass id="90" name="COMMAND_CLASS_DEVICE_RESET_LOCALLY" version="1" request_flags="4" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
|
@ -2132,7 +2132,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
</CommandClasses>
|
</CommandClasses>
|
||||||
</Node>
|
</Node>
|
||||||
<Node id="29" name="Garage Door Sensor" location="" basic="4" generic="7" specific="1" roletype="6" devicetype="3072" nodetype="0" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="Complete">
|
<Node id="29" name="Garage Door Sensor" location="" basic="4" generic="7" specific="1" roletype="6" devicetype="3072" nodetype="0" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="CacheLoad">
|
||||||
<Manufacturer id="14a" name="Ecolink">
|
<Manufacturer id="14a" name="Ecolink">
|
||||||
<Product type="4" id="2" name="Unknown: type=0004, id=0002" />
|
<Product type="4" id="2" name="Unknown: type=0004, id=0002" />
|
||||||
</Manufacturer>
|
</Manufacturer>
|
||||||
|
@ -2238,7 +2238,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
</CommandClasses>
|
</CommandClasses>
|
||||||
</Node>
|
</Node>
|
||||||
<Node id="31" name="Aeotec Water Sensor" location="" basic="4" generic="7" specific="1" roletype="6" devicetype="3079" nodetype="0" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="Complete">
|
<Node id="31" name="Aeotec Water Sensor" location="" basic="4" generic="7" specific="1" roletype="6" devicetype="3079" nodetype="0" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="Dynamic">
|
||||||
<Manufacturer id="86" name="Aeotec">
|
<Manufacturer id="86" name="Aeotec">
|
||||||
<Product type="102" id="7a" name="Unknown: type=0102, id=007a" />
|
<Product type="102" id="7a" name="Unknown: type=0102, id=007a" />
|
||||||
</Manufacturer>
|
</Manufacturer>
|
||||||
|
@ -2341,7 +2341,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="128" name="COMMAND_CLASS_BATTERY" version="1" request_flags="5" innif="true">
|
<CommandClass id="128" name="COMMAND_CLASS_BATTERY" version="1" request_flags="5" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
<Value type="byte" genre="user" instance="1" index="0" label="Battery Level" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="29" />
|
<Value type="byte" genre="user" instance="1" index="0" label="Battery Level" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="14" />
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="132" name="COMMAND_CLASS_WAKE_UP" version="2" request_flags="1" innif="true">
|
<CommandClass id="132" name="COMMAND_CLASS_WAKE_UP" version="2" request_flags="1" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
|
@ -2405,9 +2405,9 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="49" name="COMMAND_CLASS_SENSOR_MULTILEVEL" version="5" innif="true">
|
<CommandClass id="49" name="COMMAND_CLASS_SENSOR_MULTILEVEL" version="5" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="1" label="Temperature" units="F" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="76.6" />
|
<Value type="decimal" genre="user" instance="1" index="1" label="Temperature" units="F" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="76.7" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="3" label="Luminance" units="lux" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0" />
|
<Value type="decimal" genre="user" instance="1" index="3" label="Luminance" units="lux" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="5" label="Relative Humidity" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="40" />
|
<Value type="decimal" genre="user" instance="1" index="5" label="Relative Humidity" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="42" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="27" label="Ultraviolet" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0" />
|
<Value type="decimal" genre="user" instance="1" index="27" label="Ultraviolet" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="37" label="Radon Concentration" units="bq/m3" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="60" />
|
<Value type="decimal" genre="user" instance="1" index="37" label="Radon Concentration" units="bq/m3" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="60" />
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
|
@ -2653,7 +2653,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
</CommandClasses>
|
</CommandClasses>
|
||||||
</Node>
|
</Node>
|
||||||
<Node id="36" name="" location="" basic="4" generic="33" specific="1" type="Routing Multilevel Sensor" listening="true" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="Complete">
|
<Node id="36" name="" location="" basic="4" generic="33" specific="1" type="Routing Multilevel Sensor" listening="true" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="CacheLoad">
|
||||||
<Manufacturer id="0" name="">
|
<Manufacturer id="0" name="">
|
||||||
<Product type="0" id="0" name="" />
|
<Product type="0" id="0" name="" />
|
||||||
</Manufacturer>
|
</Manufacturer>
|
||||||
|
|
Loading…
Reference in New Issue