Home Assistant For Beginners Part Two: Components

In part two of our Home Assistant for Beginners series we cover Components. We walk through adding and configuring three representational components (Sonons Speakers, Philips Hue Lighting, and Weather Underground weather reporting)

Upgrade commands mentioned in the video:

To upgrade your Raspbian Raspberry Pi image:


sudo apt-get update
sudo apt-get upgrade -y

To upgrade Home Assistant to the most recent production version:


pip3 install --upgrade homeassistant

To sign up for a Weather Underground API key:
https://www.wunderground.com/weather/api/

For a full and current list of Home Assistant Components:
https://home-assistant.io/components/

Full Copy of the finished configuration.yaml file


homeassistant:
# Name of the location where Home Assistant is running
name: Loft
# Location required to calculate the time the sun rises and sets
latitude: 39.9872
longitude: -75.2471
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 65
# metric for Metric, imperial for Imperial
unit_system: imperial
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: America/New_York

# Show links to resources in log and frontend
introduction:

# Enables the frontend
frontend:

http:
# Uncomment this to add a password (recommended!)
# api_password: PASSWORD

# Checks for available updates
updater:

# Discover some devices automatically
#discovery:

# Allows you to issue voice commands from the frontend in enabled browsers
conversation:

# Enables support for tracking state changes over time.
history:

# View all events in a logbook
logbook:

# Track the sun
sun:

# Weather Prediction
#sensor:
# platform: yr
media_player:
- platform: sonos
hosts:
- 192.167.0.11
- 192.167.0.12
- 192.167.0.13
- 192.167.0.14
- 192.167.0.15
- 192.167.0.16

light:
platform: hue
host: 192.167.0.40

sensor:
- platform: yr
- platform: wunderground
api_key: !secret WUnderground_API
monitored_conditions:
- alerts
- dewpoint_f
- feelslike_f
- heat_index_f
- heat_index_string
- precip_today_in
- relative_humidity
- temp_f
- visibility_mi
- wind_mph

One thought on “Home Assistant For Beginners Part Two: Components

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s