From 08979ab82d6bcc750635d2919e0db977ba556626 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Mon, 23 Mar 2015 22:04:23 -0700 Subject: [PATCH] Add information about temperature unit --- _deploy | 2 +- source/getting-started/configuration.markdown | 23 +++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/_deploy b/_deploy index e38d28fad91..995b54cad1c 160000 --- a/_deploy +++ b/_deploy @@ -1 +1 @@ -Subproject commit e38d28fad91800f32dedfbb8c224d1d305042791 +Subproject commit 995b54cad1cd2a1d647f6b3eacf804a41e5cb5df diff --git a/source/getting-started/configuration.markdown b/source/getting-started/configuration.markdown index 63c6bf29d47..b273e6ad34e 100644 --- a/source/getting-started/configuration.markdown +++ b/source/getting-started/configuration.markdown @@ -17,6 +17,29 @@ When launched for the first time, Home Assistant will write a default configurat You will have to restart Home Assistant for changes in configuration.yaml to take effect.

+### Setting up the basic info + +By default Home Assistant will try to detect your location and will automatically select a temperature unit and time zone based on your location. You can overwrite this by adding the following information to your `configuration.yaml`: + +```yaml +homeassistant: + # Omitted values in this section will be auto detected using freegeoip.net + + # Location required to calculate the time the sun rises and sets + latitude: 32.87336 + longitude: 117.22743 + + # 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: America/Los_Angeles + + # Name of the location where Home Assistant is running + name: Home +``` + ### Password protecting the web interface The first thing you want to add is a password for the web interface. Use your favourite text editor to open the file `/config/configuration.yaml` and add the following to the bottom: