-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Simon Weald
committed
Aug 24, 2017
1 parent
d4f743f
commit 7cf031f
Showing
10 changed files
with
474 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
- alias: 'Presence simulation started' | ||
trigger: | ||
platform: sun | ||
event: sunset | ||
offset: '-00:10:00' | ||
condition: | ||
condition: state | ||
entity_id: input_boolean.holiday_mode | ||
state: 'on' | ||
action: | ||
- delay: '00:{{ (range(10, 50)|random|int) }}:00' | ||
- service: notify.pushbullet_notifier | ||
data: | ||
message: Away mode starting | ||
target: device/Houston | ||
- service: scene.turn_on | ||
entity_id: scene.kitchen_away_mode_on | ||
- delay: '00:{{ (range(2, 5)|random|int) }}:00' | ||
- service: scene.turn_on | ||
entity_id: scene.lounge_away_mode_on | ||
- service: notify.pushbullet_notifier | ||
data: | ||
message: Away mode active | ||
target: device/Houston | ||
|
||
- alias: 'Presence simulation stopped' | ||
trigger: | ||
platform: time | ||
at: '22:00:00' | ||
condition: | ||
condition: state | ||
entity_id: input_boolean.holiday_mode | ||
state: 'on' | ||
action: | ||
- delay: '00:{{ (range(25, 55)|random|int) }}:00' | ||
- service: notify.pushbullet_notifier | ||
data: | ||
message: Away mode stopping | ||
target: device/Houston | ||
- service: scene.turn_on | ||
entity_id: scene.lounge_away_mode_off | ||
- delay: '00:{{ (range(1, 4)|random|int) }}:00' | ||
- service: scene.turn_on | ||
entity_id: scene.kitchen_away_mode_off | ||
- service: notify.pushbullet_notifier | ||
data: | ||
message: Away mode deactivated | ||
target: device/Houston |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
- platform: generic | ||
name: Kitchen Overview | ||
still_image_url: http://10.101.0.45/picture/1/current/?_username=admin&_signature=ccb93993ba52c2cf640899675c13fe2b240169e8 | ||
- platform: generic | ||
name: Nugget Flap | ||
still_image_url: http://10.101.0.45/picture/2/current/?_username=admin&_signature=76ff1ef3253ca2607454426119cee6e45dae7515 | ||
- platform: uvc | ||
nvr: 10.101.0.50 | ||
key: !secret nvr_key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
homeassistant: | ||
name: Room101 | ||
latitude: !secret home_lat | ||
longitude: !secret home_long | ||
elevation: 35 | ||
unit_system: metric | ||
temperature_unit: C | ||
time_zone: Europe/London | ||
customize: !include customise.yaml | ||
|
||
# Enables the frontend | ||
frontend: | ||
themes: | ||
beach: | ||
dark-primary-color: "#88d8b0" | ||
primary-color: "#ff6f69" | ||
light-primary-color: "#ffcc5c" | ||
paper-toggle-button-checked-ink-color: "#ff6f69" | ||
paper-toggle-button-checked-button-color: "#88d8b0" | ||
paper-toggle-button-checked-bar-color: "#ffcc5c" | ||
paper-slider-knob-color: "#88d8b0" | ||
paper-slider-knob-start-color: "#88d8b0" | ||
paper-slider-pin-color: "#88d8b0" | ||
paper-slider-active-color: "#88d8b0" | ||
paper-slider-secondary-color: "#ffeead" | ||
|
||
zone: | ||
name: Home | ||
latitude: !secret home_lat | ||
longitude: !secret home_long | ||
icon: mdi:home | ||
|
||
zone 2: | ||
name: Simon (Work) | ||
latitude: !secret simon_work_lat | ||
longitude: !secret simon_work_long | ||
icon: mdi:laptop | ||
|
||
zone 3: | ||
name: Nikki (Work) | ||
latitude: !secret nikki_work_lat | ||
longitude: !secret nikki_work_long | ||
icon: mdi:laptop | ||
|
||
# Enables configuration UI | ||
config: | ||
|
||
http: | ||
api_password: !secret http_password | ||
base_url: !secret base_url | ||
use_x_forwarded_for: true | ||
|
||
tts: | ||
platform: google | ||
|
||
input_boolean: | ||
holiday_mode: | ||
initial: off | ||
icon: 'mdi:beach' | ||
|
||
updater: | ||
conversation: | ||
history: | ||
logbook: | ||
sun: | ||
|
||
notify: | ||
- platform: pushbullet | ||
name: Simon's Pushbullet Notifier | ||
api_key: !secret pushbullet_key | ||
|
||
media_player: !include media_players.yaml | ||
light: !include lights.yaml | ||
device_tracker: !include device_trackers.yaml | ||
camera: !include cameras.yaml | ||
sensor: !include sensors.yaml | ||
switch: !include switches.yaml | ||
group: !include groups.yaml | ||
automation: !include automations.yaml | ||
scene: !include scenes.yaml |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,178 @@ | ||
new_default_view: | ||
#default_view: | ||
name: Home | ||
view: yes | ||
entities: | ||
- group.wunderground | ||
- group.travel_times | ||
- group.london_underground | ||
- group.fitbit_stats | ||
- group.certificate_expiries | ||
- sun.sun | ||
- device_tracker.nikki | ||
- device_tracker.simon | ||
- sensor.loft_light_status | ||
- sensor.loft_temperature | ||
- sensor.yr_symbol | ||
- group.holiday_toggle | ||
|
||
holiday_toggle: | ||
name: Holiday Mode | ||
entities: | ||
- input_boolean.holiday_mode | ||
|
||
media_view: | ||
name: Media | ||
view: yes | ||
entities: | ||
- group.media_devices | ||
- group.audio_players | ||
- group.streaming_devices | ||
|
||
security_view: | ||
name: Security | ||
view: yes | ||
entities: | ||
- group.kitchen_cameras | ||
|
||
lighting_view: | ||
name: Lighting | ||
view: yes | ||
entities: | ||
- group.lounge_lights | ||
- group.kitchen_lights | ||
- group.all_lights | ||
- group.energenie_switches | ||
- group.lighting_tools | ||
|
||
automations: | ||
name: Automations | ||
view: yes | ||
entities: | ||
- group.holiday_automation | ||
- group.holiday_scenes | ||
|
||
streaming_devices: | ||
name: Media Streaming | ||
entities: | ||
- media_player.chromecast101 | ||
- media_player.upstairs | ||
- media_player.kodi | ||
|
||
media_devices: | ||
name: Media Players | ||
entities: | ||
- media_player.samsung_tv_remote | ||
- media_player.denon_avrx2100w | ||
|
||
audio_players: | ||
name: Audio Devices | ||
entities: | ||
- media_player.kitchen | ||
- media_player.living_room | ||
|
||
lounge_lights: | ||
name: Lounge Lights | ||
entities: | ||
- light.standard_lamp_left | ||
- light.standard_lamp_right | ||
- switch.energenie_one | ||
- switch.energenie_two | ||
|
||
kitchen_lights: | ||
name: Kitchen Lights | ||
entities: | ||
- light.kitchen_cabinets | ||
|
||
all_lights: | ||
name: All Lights | ||
entities: | ||
- group.lounge_lights | ||
- group.energenie_switches | ||
- group.kitchen_lights | ||
|
||
kitchen_cameras: | ||
name: Kitchen Cameras | ||
entities: | ||
- camera.kitchen_overview | ||
- camera.nugget_flap | ||
|
||
energenie_switches: | ||
name: Sockets | ||
entities: | ||
- switch.energenie_one | ||
- switch.energenie_two | ||
|
||
lighting_tools: | ||
name: Lighting Control | ||
entities: | ||
- switch.flux_adjustment | ||
|
||
wunderground: | ||
name: Weather | ||
entities: | ||
- sensor.pws_alerts | ||
- sensor.pws_feelslike_c | ||
- sensor.pws_precip_today_metric | ||
- sensor.pws_pressure_mb | ||
- sensor.pws_relative_humidity | ||
- sensor.pws_temp_c | ||
- sensor.pws_temp_high_1d_c | ||
- sensor.pws_temp_low_1d_c | ||
- sensor.pws_wind_mph | ||
- sensor.pws_wind_string | ||
|
||
travel_times: | ||
name: Travel Times | ||
entities: | ||
- sensor.home__work_simon | ||
- sensor.work__home_simon | ||
- sensor.home__work_nikki | ||
- sensor.work__home_nikki | ||
|
||
london_underground: | ||
name: Underground Lines | ||
entities: | ||
- sensor.bakerloo | ||
- sensor.central | ||
- sensor.circle | ||
- sensor.district | ||
- sensor.dlr | ||
- sensor.hammersmith__city | ||
- sensor.jubilee | ||
- sensor.metropolitan | ||
- sensor.northern | ||
- sensor.piccadilly | ||
- sensor.victoria | ||
- sensor.waterloo__city | ||
|
||
certificate_expiries: | ||
name: SSL cert renewals | ||
entities: | ||
- sensor.home_assistant | ||
- sensor.unifi_nvr | ||
- sensor.plex | ||
|
||
fitbit_stats: | ||
name: Simon's Fitbit Stats | ||
entities: | ||
- sensor.alta_battery | ||
- sensor.alta_battery_2 | ||
- sensor.alta_battery_3 | ||
- sensor.steps | ||
- sensor.steps_2 | ||
- sensor.steps_3 | ||
|
||
holiday_automation: | ||
name: Holiday Mode | ||
entities: | ||
- automation.presence_simulation_started | ||
- automation.presence_simulation_stopped | ||
|
||
holiday_scenes: | ||
name: Holiday Scenes | ||
entities: | ||
- scene.kitchen_away_mode_on | ||
- scene.kitchen_away_mode_off | ||
- scene.lounge_away_mode_on | ||
- scene.lounge_away_mode_off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
platform: hue | ||
host: 10.101.0.178 | ||
allow_unreachable: true | ||
allow_hue_groups: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
- platform: cast | ||
host: 10.101.0.179 | ||
- platform: cast | ||
host: 10.101.0.136 | ||
- platform: plex | ||
show_all_controls: true | ||
use_custom_entity_ids: true | ||
- platform: kodi | ||
host: 10.101.0.30 | ||
- platform: sonos | ||
hosts: | ||
- 10.101.0.155 | ||
- 10.101.0.193 | ||
- platform: samsungtv | ||
host: 10.101.0.146 | ||
- platform: denonavr | ||
host: 10.101.0.230 | ||
name: Denon AVRX2100W | ||
show_all_sources: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
- name: Kitchen away mode on | ||
entities: | ||
light.kitchen_cabinets: on | ||
|
||
- name: Kitchen away mode off | ||
entities: | ||
light.kitchen_cabinets: off | ||
|
||
- name: Lounge away mode on | ||
entities: | ||
group.lounge_lights: on | ||
|
||
- name: Lounge away mode off | ||
entities: | ||
group.lounge_lights: off |
Oops, something went wrong.