From fa93b548b463f14d0e023caa90cafdad6e930e3f Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Mon, 6 Feb 2017 18:21:31 +0000 Subject: [PATCH] =?UTF-8?q?Updating=20the=20Voice=20Notification=20ssytem.?= =?UTF-8?q?=1B[D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- emulated_hue_ids.json | 2 +- script/voice_notify.yaml | 7 +++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6edbe433..7b74a80b 100755 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Software on the Pi : [Home Assistant](https://home-assistant.io/) , [Dasher](htt * Nintendo Wii * Emulated Hue pushes all Switch, Group, input_boolean, script and scene information to Alexa for First Class Control! * [iTeadStudio goodies](https://twitter.com/ccostan/status/793119824008384512) - SonOff and SonOn with a Slampher! -* [LED RGB Wifi Controller - flux_led compatible](http://amzn.to/2hxpAL7) with [LED Strip kits](http://amzn.to/2gJYfZ5) - ~100 Feet. These are great [Power supplies](http://amzn.to/2j5Vu0D) +* [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/2j5Vu0D) * [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. diff --git a/emulated_hue_ids.json b/emulated_hue_ids.json index 38131778..93a4a2eb 100644 --- a/emulated_hue_ids.json +++ b/emulated_hue_ids.json @@ -1 +1 @@ -{"22": "light.outdoor_den", "5": "switch.living_room_amp", "24": "group.outdoor_pool_lights", "29": "group.amps", "28": "switch.foyer_outlet", "1": "switch.front_door_outlet", "32": "group.living_room_lights", "17": "input_boolean.guest_mode", "6": "group.dining_room_lights", "25": "group.interior_lights", "26": "scene.living_room_tv_time", "7": "group.living_room_accents", "19": "group.all_switches", "20": "switch.garage_outlet", "33": "group.office_lights", "12": "group.all_lights", "18": "group.den_lights", "31": "group.outdoor_lights", "36": "input_boolean.speech_notifications", "4": "group.dinette_lights", "8": "switch.printer_outlet", "11": "group.foyer_lights", "3": "switch.kitchen_accents", "2": "group.outdoor_front_lights", "9": "switch.living_room_outlet", "30": "switch.outlet_304_4", "16": "switch.kitchen_accent_2", "13": "group.kitchen_lights", "14": "switch.den_outlet", "15": "group.hallway_lights", "34": "group.exterior_lights", "21": "group.bedroom_lights", "10": "group.garage_lights", "23": "light.garage_left", "37": "input_boolean.alert_mode", "35": "input_boolean.school_mode", "27": "group.upstairs_lights"} \ No newline at end of file +{"22": "light.outdoor_den", "29": "group.amps", "27": "group.upstairs_lights", "28": "switch.foyer_outlet", "32": "group.living_room_lights", "23": "light.garage_left", "16": "switch.kitchen_accent_2", "19": "group.all_switches", "5": "switch.living_room_amp", "2": "group.outdoor_front_lights", "18": "group.den_lights", "20": "switch.garage_outlet", "38": "scene.front_full_brightness", "24": "group.outdoor_pool_lights", "15": "group.hallway_lights", "17": "input_boolean.guest_mode", "9": "switch.living_room_outlet", "4": "group.dinette_lights", "10": "group.garage_lights", "26": "scene.living_room_tv_time", "13": "group.kitchen_lights", "7": "group.living_room_accents", "3": "switch.kitchen_accents", "36": "input_boolean.speech_notifications", "30": "switch.outlet_304_4", "8": "switch.printer_outlet", "33": "group.office_lights", "35": "input_boolean.school_mode", "1": "switch.front_door_outlet", "6": "group.dining_room_lights", "11": "group.foyer_lights", "14": "switch.den_outlet", "37": "input_boolean.alert_mode", "25": "group.interior_lights", "34": "group.exterior_lights", "12": "group.all_lights", "31": "group.outdoor_lights", "21": "group.bedroom_lights"} \ No newline at end of file diff --git a/script/voice_notify.yaml b/script/voice_notify.yaml index 3e6f1faf..0063189c 100755 --- a/script/voice_notify.yaml +++ b/script/voice_notify.yaml @@ -37,9 +37,12 @@ voice_notify: entity_id: switch.living_room_amp - delay: '00:00:05' + - service: media_player.turn_on + entity_id: media_player.livingroomCC + - service: media_player.volume_set entity_id: - - media_player.whole_house + - media_player.livingroomCC data_template: volume_level: > {% if now().strftime("%H")|int < 12 %} @@ -51,7 +54,7 @@ voice_notify: {% endif %} - service: tts.google_say - entity_id: media_player.whole_house + entity_id: media_player.livingroomCC data_template: message: > {% if now().strftime("%H")|int < 12 %}