mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-03 09:38:59 +00:00

* Split MQTT documentation * Add more details * Move content to /docs * Enable sidebar * Move content to /docs * Enable sidebar * Move content * Update links * Remove wizard stuff * Enable sidebar * Minor changes * Move MQTT parts to /docs * update links * Update links and sync content * Fix link * Enable sidebar * Remove navigation * Remove navigation and other minor updates * Update links * Add overview page * Make title linkable * Update * Plit content * Update links * Rearrange content * New getting-started section * Add icons for docs * Update for new structure * Update for new structure * Add docs navigation * Add docs overview page * Remove ecosystem navigation * Add docs and remove other collections * Move ecosystem to docs * Remove duplicate files * Re-add ecosystem overview * Move to ecosystem * Fix permission * Update navigation * Remove collection * Move overview to right folder * Move mqtt to upper level * Move notebook to ecosystem * Remove un-used files * Add one more rectangle for iOS * Move two parts back from docs and rename Run step * Remove colon * update getting-started section * Add redirect * Update * Update navigation
52 lines
1.6 KiB
Markdown
52 lines
1.6 KiB
Markdown
---
|
|
layout: page
|
|
title: "Setup basic information"
|
|
description: "Setting up the basic info of Home Assistant."
|
|
date: 2015-03-23 12:50
|
|
sidebar: true
|
|
comments: false
|
|
sharing: true
|
|
footer: true
|
|
redirect_from: /getting-started/basic/
|
|
---
|
|
|
|
By default, Home Assistant will try to detect your location from IP address geolocation. Home Assistant will automatically select a temperature unit and time zone based on this 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.io
|
|
|
|
# Location required to calculate the time the sun rises and sets
|
|
latitude: 32.87336
|
|
longitude: 117.22743
|
|
|
|
# Impacts weather/sunrise data (altitude above sea level in meters)
|
|
elevation: 430
|
|
|
|
# 'metric' for Metric, 'imperial' for Imperial
|
|
unit_system: metric
|
|
|
|
# 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
|
|
```
|
|
|
|
### {% linkable_title Password protecting the web interface %}
|
|
|
|
First, you'll want to add a password for the Home Assistant web interface. Use your favourite text editor to open `configuration.yaml` and edit the `http` section:
|
|
|
|
```yaml
|
|
http:
|
|
api_password: YOUR_PASSWORD
|
|
```
|
|
|
|
<p class='note warning'>
|
|
If you decide to expose your Home Assistant instance to the internet and forget to set a password, your installation could be accessed by everybody.
|
|
</p>
|
|
|
|
See the [HTTP component documentation](/components/http/) for more options, such as the use of HTTPS encryption.
|
|
|