From 0f04ee03a79c14ed8d25f62a5925daf2a090f99e Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Wed, 12 Oct 2016 00:10:32 +0000 Subject: [PATCH] Making IFTTT recipes --- automation/good_night.yaml | 3 ++- automation/rachio.yaml | 12 ++++++++++++ automation/skybell.yaml | 23 +++++++++++++++++++++++ customize/darksky.yaml | 2 ++ group/devices.yaml | 4 +++- group/internet.yaml | 4 ---- group/lights.yaml | 10 +++++----- group/nest.yaml | 4 ---- group/views.yaml | 21 +++++++++++++++++++++ group/weather.yaml | 8 ++++++++ 10 files changed, 76 insertions(+), 15 deletions(-) create mode 100755 automation/rachio.yaml create mode 100755 automation/skybell.yaml delete mode 100755 group/internet.yaml delete mode 100755 group/nest.yaml create mode 100755 group/views.yaml create mode 100755 group/weather.yaml diff --git a/automation/good_night.yaml b/automation/good_night.yaml index 9e04825e..f4f4db23 100755 --- a/automation/good_night.yaml +++ b/automation/good_night.yaml @@ -1,5 +1,6 @@ -- alias: 'GoodNight - Away Mode' # There is also an IFTTT recipe that shuts down all lights when Nest goes into Away mode. - event_type= Good_Night + +- alias: 'GoodNight - Away Mode' trigger: - platform: state entity_id: group.family diff --git a/automation/rachio.yaml b/automation/rachio.yaml new file mode 100755 index 00000000..000e39f5 --- /dev/null +++ b/automation/rachio.yaml @@ -0,0 +1,12 @@ +# Here is a collection of automations for logging IFTTT supported devices in LogBook. + +- alias: 'Log Sprinkler Activity' + trigger: + - platform: event + event_type: rachio_water_stops + + action: + service: logbook.log + data: + name: "Rachio Sprinkler:" + message: "The Lawn was watered just now." diff --git a/automation/skybell.yaml b/automation/skybell.yaml new file mode 100755 index 00000000..f18cd0cc --- /dev/null +++ b/automation/skybell.yaml @@ -0,0 +1,23 @@ +# Here is a collection of automations for logging IFTTT supported devices in LogBook. + +- alias: 'Log SkyBell Pressed Activity' + trigger: + - platform: event + event_type: skybell_pressed + + action: + service: logbook.log + data: + name: "SkyBell HD Doorbell:" + message: "Someone Pressed the Doorbell." + +- alias: 'Log SkyBell Motion detection' + trigger: + - platform: event + event_type: skybell_motion + + action: + service: logbook.log + data: + name: "SkyBell HD Doorbell:" + message: "Someone is by the door." \ No newline at end of file diff --git a/customize/darksky.yaml b/customize/darksky.yaml index 00b5595f..43d1b0c4 100755 --- a/customize/darksky.yaml +++ b/customize/darksky.yaml @@ -1,3 +1,5 @@ +sensor.dark_sky_summary: + friendly_name: 'Current Conditions' sensor.dark_sky_precip_intensity: friendly_name: 'Rainfall' sensor.dark_sky_humidity: diff --git a/group/devices.yaml b/group/devices.yaml index 1fd962fc..a28ba8de 100755 --- a/group/devices.yaml +++ b/group/devices.yaml @@ -1,6 +1,8 @@ -Devices: +Network: entities: - sensor.since_last_boot_templated + - sensor.speedtest_download + - sensor.speedtest_upload - sensor.wii - sensor.hue_hub - sensor.tablotv diff --git a/group/internet.yaml b/group/internet.yaml deleted file mode 100755 index 3d99640a..00000000 --- a/group/internet.yaml +++ /dev/null @@ -1,4 +0,0 @@ -Internet: - entities: - - sensor.speedtest_download - - sensor.speedtest_upload \ No newline at end of file diff --git a/group/lights.yaml b/group/lights.yaml index d36e689c..64f86647 100755 --- a/group/lights.yaml +++ b/group/lights.yaml @@ -6,8 +6,8 @@ Living Room: entities: - light.living_room_back_left - light.living_room_back_right - - light.living_room_front_left - - light.living_room_front_right + - light.living_room_front_left + - light.living_room_front_right - light.living_room_slider Living Room Accents: @@ -26,8 +26,8 @@ Study: - light.front_office_lamp Office: - entities: + entities: - light.office_lamp -Upstairs: - - light.upstairs_lamp \ No newline at end of file +Upstairs: + - light.upstairs_lamp diff --git a/group/nest.yaml b/group/nest.yaml deleted file mode 100755 index c616aa20..00000000 --- a/group/nest.yaml +++ /dev/null @@ -1,4 +0,0 @@ -Nest: - entities: - - climate.downstairs - - climate.upstairs \ No newline at end of file diff --git a/group/views.yaml b/group/views.yaml new file mode 100755 index 00000000..60a696d6 --- /dev/null +++ b/group/views.yaml @@ -0,0 +1,21 @@ +Lights: + view: yes + entities: + - group.dinette + - group.bedroom + - group.living_room + - group.living_room_accents + - group.study + - group.office + - group.upstairs + - scene.living_room_tv_time + +Info: + view: yes + entities: + - group.family + - group.internet + - group.devices + - group.nest + - group.sensors + - group.weather diff --git a/group/weather.yaml b/group/weather.yaml new file mode 100755 index 00000000..99233e44 --- /dev/null +++ b/group/weather.yaml @@ -0,0 +1,8 @@ +Weather: + entities: + - climate.downstairs + - climate.upstairs + - sensor.dark_sky_summary + - sensor.dark_sky_precip_intensity + - sensor.dark_sky_humidity + - sensor.dark_sky_temperature