Configure Home Assistant | Smart Home Hobby (2024)

Home Assistant Guides

March 15, 2020May 25, 2021Alex 1 CommentInstructional

Contents hide

Integrations Menu

Conclusion

In computing, configure means to arrange components to make a system functional. This guide will cover setting up devices to work with your Home Assistant system. Depending on which devices you have, there may be one or multiple ways to set it up. The main setup methods are through the Integrations menu or manually through the YAML files, which are both covered below.

Integrations Menu

The Integrations menu is a really easy way to connect supported devices. This is the same menu that you saw when you first connected to Home Assistant and created your account. Unfortunately, not all components will be able to be configured this way. Fortunately, many can be integrated this way, it is very user friendly, and devices are continually added to this menu.

  1. To access the Integrations menu, go to the Configuration tab and select Integrations.
  2. In the Integrations menu you can see any configured integrations and detected integrations to configure. You can also add new integrations by clicking the + Add Integration button in the bottom corner of the screen.
  3. In the Set up a new integration menu, scroll to find the device you want to set up. Home Assistant will then walk you through the process of configuring it!

Manual Configuration

Manual configuration has the steepest learning curve when learning Home Assistant. It can be a little intimidating at first, but it is organized and gets easier to understand as you spend more time in the environment. The most important thing to remember is that YAML is picky about formatting. Most issues with manual configuration will most likely be a formatting issue. To get started working with YAML, you will need to activate advanced mode in Home Assistant, so you can access the correct settings.

Activate Advanced Mode

  1. Go to the Profile tab in Home Assistant and scroll down to turn on Advanced Mode.
    • Advanced mode will give you the ability to use the Check Configuration tool.
  2. The Check Configuration tool is found in Configuration –> Server Controls.
  1. The Check Configuration tool will verify your configuration. Invalid configurations can keep your system from starting up after a reboot.
  2. After the configuration check, the tool will either tell you your configuration is valid, or it will return an error to help you correct the error.

Access and Edit YAML Files with File Editor

  1. From the Home Assistant Add-on Store, find and click on File Editor.
  1. From the File Editor add-on page, click Install.
  2. After the add-on is installed, tap Start.
  3. When the add-on is running, you can access it by clicking the Open Web UI link on the bottom right-hand corner of the screen, or the new File Editor tab in the sidebar.
  1. You can browse the file system using the link in the upper left-hand corner.
  2. Open configuration.yaml from the list of files.
group: !include groups.yamlautomation: !include automations.yamlscript: !include scripts.yamlscene: !include scenes.yaml
  1. This is your main configuration file for devices and services. Notice these lines on the bottom of the file. Using !include and a filename will force Home Assistant to look for related files in the configuration.yaml file. These files can be found in the configuration folder and can be edited the same way configuration.yaml can.
    • The tts (text to speech) component here is an example of how a component is set up. The exact configurations can be found for each integration.
switch: - platform: demo
  1. For practice, add a demo platform to your configuration by copying and pasting this YAML into your configuration.yaml file.
  2. Save the changes by clicking or tapping the save icon on the top of the page.

Check Your Configuration

After making any changes to your YAML files, save and navigate back to the Check Configuration tool. The Check Configuration tool can be found in the Server Controls section of the Configuration tab.

  1. If the configuration is valid, you can scroll down to restart Home Assistant. If the configuration is not valid, check your changes for formatting or spelling errors. Do NOT restart Home Assistant with an invalid configuration.
    • Restarting with an invalid configuration can cause issues that can keep Home Assistant from booting up properly.

Just under the server reset link, there is this list with different aspects of your YAML configuration displayed. When making changes to your YAML files that match these items, you don’t need to reset the whole server. Since Integrations is not one of the options here, you will need to reset the whole server, but this list will come in handy as you get more proficient with Home Assistant.

  1. When you choose to restart Home Assistant, you will be prompted to confirm your choice.
  2. After you begin the restart, you will notice that Home Assistant has lost connection. This is normal and will connect again after booting up.
  1. After you restart, any changes you made to the configuration will now take effect. Here you can see your demo switches have taken effect.
    • You may notice they have different types of controls. The AC entity, has a toggle switch, while the Decorative Lights has separate on and off buttons. Typically, you will see toggle switches for devices that can report their state back to Home Assistant like WiFi connected thermostats or smart plugs. You will see the individual on and off switches for devices that only communicate one way, like RF plugs and IR devices.
  2. The demo switches won’t control anything, they were used to demonstrate how to configure a component. You can safely delete this configuration from your file. After deletion, remember to check your configuration before restarting Home Assistant.

Conclusion

When getting started with configuring Home Assistant, it will benefit you to take your time. Going slowly when setting up your system will help you avoid messing up your configuration files. At first, it can be hard to type things in properly and to format the YAML files correctly. Try not to let it discourage you. You will adapt quickly.

Configure Home Assistant | Smart Home Hobby (2024)

FAQs

Configure Home Assistant | Smart Home Hobby? ›

After initial onboarding, these options can be changed in the user interface by clicking on Configuration in the sidebar and clicking on General, or by manually editing them in the Home Assistant configuration file called configuration.yaml .

How do I add configuration to Home Assistant? ›

After initial onboarding, these options can be changed in the user interface by clicking on Configuration in the sidebar and clicking on General, or by manually editing them in the Home Assistant configuration file called configuration.yaml .

Can Home Assistant and Smartthings work together? ›

I have smartthings and home assistant working together. You can add the integration for smartthings and all of your devices should show up in HA. Once you decide to move off of smartthings you would just need to make sure you have the correct radios like zigbee or z-wave on HA then you can move them over to just HA.

How do I enable Home Assistant advanced mode? ›

To enable advanced mode, go to Profile -> and turn on Advanced Mode. Navigate in your Home Assistant frontend to Settings -> Add-ons -> Add-on store. Find the "Terminal & SSH" add-on and click it.

What is the best Home Assistant setup? ›

Which hardware is best for Home Assistant? The “best” hardware depends on your specific needs and budget. For small setups, a Raspberry Pi 4 is excellent. For more extensive systems, consider an Intel NUC or Home Assistant Blue.

What is the Home Assistant configuration directory? ›

Homeassistant creates a configuration file by default under the path of the executing user (created homeassistant) at the ~/. homeassistant path.

How do I manually install Home Assistant addons? ›

To install add-ons, navigate to the Settings > Add-ons panel in your Home Assistant frontend, and click on the "Add-on store" tab.

How do I integrate SmartThings and Home Assistant? ›

Configuration
  1. Browse to your Home Assistant instance.
  2. Go to Settings > Devices & Services.
  3. In the bottom right corner, select the Add Integration button.
  4. From the list, select SmartThings.
  5. Follow the instructions on screen to complete the setup.

Is SmartThings hub obsolete? ›

So while the smartthings V3 hub distributed by Samsung was discontinued, It lives on as a Samsung-approved clone from Aeotec.

What should I automate with Home Assistant? ›

Let's get started!
  • Turn on the lights when motion is detected. ...
  • Toggle lights at Sunset and Sunrise. ...
  • Turn off all devices automatically when everybody has left the house using Home Assistant. ...
  • Turn on the heating when somebody enters the house. ...
  • Real-Time Smoke Detection: Instant Phone Notifications.
Oct 22, 2023

How do I add ESP home to Home Assistant? ›

Configuration
  1. Browse to your Home Assistant instance.
  2. Go to Settings > Devices & Services.
  3. In the bottom right corner, select the Add Integration button.
  4. From the list, select ESPHome.
  5. Follow the instructions on screen to complete the setup.

Can you access Home Assistant remotely? ›

A secure way to remotely access your Home Assistant is to use a Virtual Private Network (VPN) service such as Tailscale or ZeroTier One. A VPN connection needs to be established before you can connect to your Home Assistant from outside your local network. The VPN makes this connection secure.

How do I get free space on my Home Assistant? ›

There are several things you can do to free up some space:
  • Clean the database.
  • Delete old backups.
  • Uninstall unused add-ons.
  • Last resort.

What is the most secure Home Assistant? ›

If you want secure remote access, the easiest option is to use Home Assistant Cloud by which you also support the founders of Home Assistant. Another option is to use TLS/SSL via the add-on Duck DNS integrating Let's Encrypt. To expose your instance to the internet, use a VPN, or an SSH tunnel.

Do I need a server for Home Assistant? ›

The actual brains of home assistant runs as a server and needs a platform that stays powered up on your network all the time, it doesn't even need a display attached to it when it's running.

How do you back up and restore your configuration Home Assistant? ›

Guide: Home Assistant Core - Restoring a Backup
  1. Login to Home Assistant.
  2. Go to Settings > System > Backups.
  3. Click Create Backup - It will take a few minutes depending on your setup.
  4. Once the backup is created, click the Download button against your backup and download to your computer.
Oct 14, 2023

How do I configure the dashboard in Home Assistant? ›

Go to Settings > Dashboards and select Add dashboard. In the dialog, choose Default dashboard. In the Add new dashboard dialog, enter a name and select an icon. Leave the Admin only and Show in sidebar options as they are.

How do I manually enter address in Home Assistant? ›

If you are not connected to the same local network as your Home Assistant instance, tap Enter Address Manually and enter the address you use to remotely connect to your Home Assistant instance (using the Home Assistant Cloud Remote UI is recommended but not required).

Top Articles
Latest Posts
Article information

Author: Horacio Brakus JD

Last Updated:

Views: 5578

Rating: 4 / 5 (71 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Horacio Brakus JD

Birthday: 1999-08-21

Address: Apt. 524 43384 Minnie Prairie, South Edda, MA 62804

Phone: +5931039998219

Job: Sales Strategist

Hobby: Sculling, Kitesurfing, Orienteering, Painting, Computer programming, Creative writing, Scuba diving

Introduction: My name is Horacio Brakus JD, I am a lively, splendid, jolly, vivacious, vast, cheerful, agreeable person who loves writing and wants to share my knowledge and understanding with you.