From ad60c8dda4a80e7e9a6deff486ef4edd9d8bb8fb Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Mon, 13 Mar 2017 20:40:34 +0000 Subject: [PATCH] Adding Back Door Sensor to the Mix. --- README.md | 2 +- customize/binary_sensors.yaml | 130 +++++++++++++++++++--------------- group/sensors.yaml | 11 +-- sensor/devices.yaml | 4 ++ 4 files changed, 81 insertions(+), 66 deletions(-) diff --git a/README.md b/README.md index a38b80fb..f88de274 100755 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ SSL via [SSLS](https://SSLS.com) - 5 Bucks A Year! - Keeps me safe! * [Nintendo Wii](http://amzn.to/2l2qIYY) * Emulated Hue pushes all Switch, Group, input_boolean, script and scene information to Alexa for First Class Control! * [iTeadStudio](https://www.itead.cc/) [goodies](https://twitter.com/ccostan/status/793119824008384512) - [SonOff](http://amzn.to/2l2sx8g) and a [Slampher](http://amzn.to/2l2gmIx)! -* [LED RGB Wifi Controller - flux_led compatible](http://amzn.to/2jUBSBE) with [LED Strip kits](http://amzn.to/2gJYfZ5) - ~100 Feet. These are great [Power supplies](http://amzn.to/2mnmbk8) - [Outdoor Housing](http://amzn.to/2m2dG0X) - Finished Product #71 +* [LED RGB Wifi Controller - flux_led compatible](http://amzn.to/2jUBSBE) with [LED Strip kits](http://amzn.to/2gJYfZ5) - ~100 Feet. These are great [Power supplies](http://amzn.to/2mnmbk8) - [Outdoor Housing](http://amzn.to/2mkD9z0) - Finished Product #71 * [Digital Smart Water Main ShutOff/Leak Detector] (http://www.providencecpc.org/wp-content/uploads/2016/01/work_in_progress.png) - Beta test to monitor Water usage and Leaks centrally. * [Aeon Labs AEDSB09104ZWUS Aeotec Z-Wave Smart Energy Monitor Meter](http://amzn.to/2l5wEDo) to measure energy usage in the home. * [SleepNumber Bed i8](http://amzn.to/2kxdXXI) - Has SleepIQ to track occupancy and sleep habits. Tied into HA. diff --git a/customize/binary_sensors.yaml b/customize/binary_sensors.yaml index 9d8ac153..3eaaa609 100755 --- a/customize/binary_sensors.yaml +++ b/customize/binary_sensors.yaml @@ -1,116 +1,132 @@ +binary_sensor.__sensor_4_0: + friendly_name: ' Sensor' + emulated_hue: False + hidden: True + + + + +binary_sensor.__sensor_6_0: + friendly_name: ' Sensor' + emulated_hue: False + hidden: True + + + + binary_sensor.aeotec_dsb04100_doorwindow_sensor_sensor_3_0: - friendly_name: 'Aeotec Dsb04100 Door/window Sensor Sensor' + friendly_name: 'Back Door' emulated_hue: False - hidden: True + hidden: False + icon: mdi:home-variant - - -binary_sensor.aeotec_dsb04100_doorwindow_sensor_sensor_4_0: - friendly_name: 'Aeotec Dsb04100 Door/window Sensor Sensor' - emulated_hue: False - hidden: True - - - + + binary_sensor.aeotec_dsb04100_doorwindow_sensor_sensor_5_0: friendly_name: 'Aeotec Dsb04100 Door/window Sensor Sensor' emulated_hue: False hidden: True - - - -binary_sensor.aeotec_dsb04100_doorwindow_sensor_sensor_6_0: - friendly_name: 'Aeotec Dsb04100 Door/window Sensor Sensor' - emulated_hue: False - hidden: True - - - + + + + binary_sensor.downstairs_thermostat_fan: friendly_name: 'Downstairs Thermostat Fan' emulated_hue: False hidden: True - - - + + + + binary_sensor.downstairs_thermostat_has_leaf: friendly_name: 'Downstairs Thermostat Has Leaf' emulated_hue: False hidden: True - - - + + + + binary_sensor.downstairs_thermostat_is_locked: friendly_name: 'Downstairs Thermostat Is Locked' emulated_hue: False hidden: True - - - + + + + binary_sensor.downstairs_thermostat_is_using_emergency_heat: friendly_name: 'Downstairs Thermostat Is Using Emergency Heat' emulated_hue: False hidden: True - - - + + + + binary_sensor.downstairs_thermostat_online: friendly_name: 'Downstairs Thermostat Online' emulated_hue: False hidden: True - - - + + + + binary_sensor.enerwave_unknown_type0601_id0903_sensor_2_0: friendly_name: 'Enerwave Unknown: Type=0601, Id=0903 Sensor' emulated_hue: False hidden: True - - - + + + + binary_sensor.sleepnumber_carlo_carlo_is_in_bed: friendly_name: 'Carlo Is In Bed' emulated_hue: False hidden: False - - - + + + + binary_sensor.sleepnumber_carlo_stacey_is_in_bed: friendly_name: 'Stacey Is In Bed' emulated_hue: False hidden: False - - - + + + + binary_sensor.upstairs_thermostat_fan: friendly_name: 'Upstairs Thermostat Fan' emulated_hue: False hidden: True - - - + + + + binary_sensor.upstairs_thermostat_has_leaf: friendly_name: 'Upstairs Thermostat Has Leaf' emulated_hue: False hidden: True - - - + + + + binary_sensor.upstairs_thermostat_is_locked: friendly_name: 'Upstairs Thermostat Is Locked' emulated_hue: False hidden: True - - - + + + + binary_sensor.upstairs_thermostat_is_using_emergency_heat: friendly_name: 'Upstairs Thermostat Is Using Emergency Heat' emulated_hue: False hidden: True - - + + + binary_sensor.upstairs_thermostat_online: friendly_name: 'Upstairs Thermostat Online' emulated_hue: False - hidden: True \ No newline at end of file + hidden: True diff --git a/group/sensors.yaml b/group/sensors.yaml index e26fba8a..1b11c263 100755 --- a/group/sensors.yaml +++ b/group/sensors.yaml @@ -1,8 +1,3 @@ -Sensors: - entities: - - binary_sensor._sensor_2 - - binary_sensor._sensor_3 - - binary_sensor._sensor_5 - - binary_sensor.aeotec_dsb04100_doorwindow_sensor_sensor_4 - - binary_sensor.aeotec_dsb04100_doorwindow_sensor_sensor_6 - \ No newline at end of file +Sensors: + entities: + - binary_sensor.aeotec_dsb04100_doorwindow_sensor_sensor_3_0 diff --git a/sensor/devices.yaml b/sensor/devices.yaml index 345c2a3c..afcd1ec1 100755 --- a/sensor/devices.yaml +++ b/sensor/devices.yaml @@ -108,3 +108,7 @@ withings_scale: friendly_name: 'WiThings Scale' value_template: "{{ 'Online' if is_state('device_tracker.withings_scale', 'home') else 'Offline' }}" + + backdoor: + friendly_name: 'Back Door' + value_template: "{{ 'Open' if is_state('binary_sensor.aeotec_dsb04100_doorwindow_sensor_sensor_3_0', 'on') else 'Closed' }}"