Last active
April 1, 2016 11:05
-
-
Save Rabscuttler/b4d7ecf0add7508fcb15278ff5080d52 to your computer and use it in GitHub Desktop.
My Home Assistant configuration (https://home-assistant.io/)
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
homeassistant: | |
# Name of the location where Home Assistant is running | |
name: Toad Hall | |
# Location required to calculate the time the sun rises and sets | |
latitude: XXXXXXXXXX | |
longitude: -XXXXXXXXXX | |
# C for Celcius, F for Fahrenheit | |
temperature_unit: C | |
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones | |
time_zone: Europe/London | |
customize: | |
sensor.weather_precip_intensity: | |
friendly_name: 'Rainfall' | |
entity_picture: https://dl.dropboxusercontent.com/u/81386/HA-Stuff/rain-icon.jpg | |
sensor.weather_humidity: | |
friendly_name: 'Outdoor Humidity' | |
entity_picture: https://dl.dropboxusercontent.com/u/81386/HA-Stuff/humidity.png | |
sensor.weather_temperature: | |
friendly_name: 'Outdoor Temp' | |
sensor.weather_summary: | |
entity_picture: https://dl.dropboxusercontent.com/u/81386/HA-Stuff/weather-icon.jpg | |
sun: | |
#conversation: | |
frontend: | |
discovery: | |
logbook: | |
updater: | |
#introduction: | |
history: | |
# Network scanning for devices | |
device_tracker: | |
platform: nmap_tracker | |
hosts: 192.168.0.1-255 | |
home_interval: 20 | |
track_new_devices: no | |
consider_home: 1800 | |
# Custom light switches | |
switch: | |
platform: command_switch | |
switches: | |
Amplifier: | |
oncmd: "/var/www/rfoutlet/codesend 29955" | |
offcmd: "/var/www/rfoutlet/codesend 29964" | |
faerie_lights: | |
oncmd: "/var/www/rfoutlet/codesend 21955" | |
offcmd: "/var/www/rfoutlet/codesend 21964" | |
uplighter: | |
oncmd: "/var/www/rfoutlet/codesend 21811" | |
offcmd: "/var/www/rfoutlet/codesend 21820" | |
party_music: | |
oncmd: "/home/pi/.homeassistant/morning_music.script" | |
offcmd: "" | |
# Weather via forecast.io | |
sensor: | |
platform: forecast | |
api_key: XXXX | |
monitored_conditions: | |
- summary | |
# - precip_type | |
- precip_intensity | |
- temperature | |
# - dew_point | |
# - wind_speed | |
# - wind_bearing | |
# - cloud_cover | |
- humidity | |
# - pressure | |
# - visibility | |
# - ozone | |
# Mopidy daemon | |
#media_player: | |
# platform: mpd | |
# server: 127.0.0.1 | |
# port: 6600 | |
# location: bedroom | |
# Groups | |
group: | |
bedroom: | |
- switch.uplighter | |
- switch.faerie_lights | |
- switch.amplifier | |
toads: | |
- device_tracker.laurence | |
- device_tracker.XXX | |
- device_tracker.XXX | |
# Shell commands | |
shell_command: | |
morning_music: /home/pi/.homeassistant/morning_music.script | |
party_music: /home/pi/.homeassistant/party_music.script | |
# Automation | |
automation: | |
- alias: 'Turn on the lights in the morning' | |
trigger: | |
- platform: time | |
after: '07:00' | |
condition: | |
- platform: time | |
weekday: | |
- mon | |
- tue | |
- wed | |
- thu | |
- fri | |
action: | |
service: homeassistant.turn_on | |
entity_id: | |
- group.bedroom | |
- switch.party_music | |
# Scenes | |
scene: | |
- name: Party | |
action: | |
service: homeassistant.turn_on | |
entity_id: shell_command.party_music |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment