www.guschlbauer.dev Open in urlscan Pro
188.40.28.19  Public Scan

URL: https://www.guschlbauer.dev/home-assistant-setup/
Submission: On January 23 via manual from AE — Scanned from DE

Form analysis 1 forms found in the DOM

POST https://www.guschlbauer.dev/wp-comments-post.php

<form action="https://www.guschlbauer.dev/wp-comments-post.php" method="post" id="commentform" class="form media-body form-group">
  <p class="comment-notes"><span id="email-notes">Your email address will not be published.</span> Required fields are marked <span class="required">*</span></p>
  <div class="row">
    <div class="col-md-4">
      <div class="form-group label-floating is-empty"> <label class="control-label">Name <span class="required">*</span></label><input id="author" name="author" class="form-control" type="text" aria-required="true"> <span class="hestia-input"></span>
      </div>
    </div>
    <div class="col-md-4">
      <div class="form-group label-floating is-empty"> <label class="control-label">Email <span class="required">*</span></label><input id="email" name="email" class="form-control" type="email" aria-required="true"> <span class="hestia-input"></span>
      </div>
    </div>
    <div class="col-md-4">
      <div class="form-group label-floating is-empty"> <label class="control-label">Website</label><input id="url" name="url" class="form-control" type="url" aria-required="true"> <span class="hestia-input"></span> </div>
    </div>
  </div>
  <div class="form-group label-floating is-empty"> <label class="control-label">What's on your mind?</label><textarea id="comment" name="comment" class="form-control" rows="6" aria-required="true"></textarea><span class="hestia-input"></span> </div>
  <p class="comment-form-cookies-consent"><input id="wp-comment-cookies-consent" name="wp-comment-cookies-consent" type="checkbox" value="yes"> <label for="wp-comment-cookies-consent">Save my name, email, and website in this browser for the next time
      I comment.</label></p>
  <p class="form-submit"><input name="submit" type="submit" id="submit" class="btn btn-primary pull-right" value="Post Comment"> <input type="hidden" name="comment_post_ID" value="1062" id="comment_post_ID">
    <input type="hidden" name="comment_parent" id="comment_parent" value="0">
  </p>
</form>

Text Content

This website uses cookies to ensure you get the best experience on our website.
Privacy Policy
Accept
Toggle Navigation
 * About
 * Blog
 * Contact


HOME ASSISTANT SETUP WITH DOCKER

20222022



In this post, I describe how to set up your own Home Assistant with hassio.
Before getting started you have to find an appropriate Hardware Environment to
deploy hassio. I would recommend adding a RaspberryPi 3 or 4 to your local
infrastructure.

As a precondition to this description, you have to install docker to your
hosting system.
To start hassio using docker, execute the following command.

Docker Run Home Assistant docker run -d --name homeassistant --privileged --restart=unless-stopped -e TZ=Europe/Vienna -v /{PATH}:/config --network=host ghcr.io/home-assistant/home-assistant:stable


I would recommend storing the configuration of the home assistant outside the
docker container, by mounting a volume to the configuration folder /config. Just
replace the {PATH} with the desired location.

The home assistant is now reachable under http://{host}:8123 and ready for
configuration.

Home Assistant Start Page


In order to reach your home assistant outside your network, you can set up a DNS
record and a reverse proxy, or directly address the host system. To enable
access to hassio using a domain or reverse-proxy, the configurations.yaml needs
to be adjusted as described below, otherwise you will receive an HTTP 400 Bad
Request with the following log entry.

> A request from a reverse proxy was received from …, but your HTTP integration
> is not set-up for reverse proxies.
> 
> Home Assistant Error Log Entry

configurations.yaml
# reverse proxy config
http:
  use_x_forwarded_for: true
  trusted_proxies:
  - REVERSE PROXY IP
  ip_ban_enabled: true
  login_attempts_threshold: 5


Do not forget to restart the docker container after configuration change using
docker restart homeassistant.

After the setup is finished and a user is created, you can start using the home
assistant.
The usage is very easy and the web interface is self-explanatory.
Just start to add your devices, sensors, and create some dashboards according to
your home automation goals.

Categories: AutomationEngineeringGeneralInfrastructure

--------------------------------------------------------------------------------


2 COMMENTS

STEFAN BAUMGARTNET · 2022 AT 6:20

Servus, Sind —privileged und —network=host wirklich notwendig oder reicht es die
devices hineinzumappen?
Danke, Stefan

Reply

FABIAN · 2022 AT 12:59

Hi Stefan,
–privileged should not be necessary when you map your devices.

Best regards,
Fabian

Reply



LEAVE A REPLY CANCEL REPLY



Your email address will not be published. Required fields are marked *

Name *
Email *
Website
What's on your mind?

Save my name, email, and website in this browser for the next time I comment.




RELATED POSTS

DEVOPS INFRASTRUCTURE

HAPROXY

The High Availability (HA)Proxy is an open-source very fast and reliable reverse
proxy and load balancer. Over the years it has become a state of the art
open-source product and is often deployed by default Read more…

GENERAL INFRASTRUCTURE

USE DOKUWIKI WITH SYNOLOGY DSM 7

The new Synology DSM 7 does not support DokuWiki by default.Right at the
beginning of the upgrade to DSM 7, Synology alerts a problem with the
third-party package DokuWiki is not compatible with the new Read more…

ENGINEERING

ANGULAR – DYNAMIC MODULE LOADING

This post describes how to implement lazy or dynamic module loading with
angular, based on an Angular 10 demo implementation, and is an extension to the
former post I created on lazy-loading components and services. In Read more…

 * About
 * Blog
 * Contact
 * Home
 * Imprint
 * Privacy Policy
 * Terms and Conditions

Hestia | Developed by ThemeIsle