Basic Home Assistant config, with regular updates
- over 20 different components
- Updated love-lace
- Minimal custom components, so it just works!
- Simple automations
- Tutorials (coming soon!)
<room>_<location>_<type>_<nr>
e.g. livingroom_couch_light_1
or office_window_sensor
It is possible for sensor not having a Number, for instance the Office window only has 1 door/window sensor so naming should be kept short as possible.
If room specific, lighting for example.
<room>_<type>_<trigger>
e.g. kitchen_light_motion-on
or livingroom_light_button-1
If it's a virtual automation, like alarm:
<type>_<trigger>_<action>
e.g. alarm_pending_notification
or telegram_windows-open_notification
First clone the repo:
$ git clone https://github.com/patatman/patatman-homeassistant-config.git
Next, edit the docker-compose file to match our enviroment. More about docker-compose here: Docker
Then move the docker-compose.yml
file one folder up.
$ cp docker-compose.yml ../docker-compose.yml
This is needed since we're mounting the whole directory as our config.
If you'd only like to use a certain compenent, just copy the configuration to your own configuration, and create a Frankensteie config (made up of bits and pieces of everyone's configuration)
I like to use Docker-compose opposed to a long docker run command. Since it gives me more flexibility in restarting home-assistant. It's also easier to maintain, since it's a single file. Some of the basics commands you might already use with docker:
$ docker-compose run
This runs the container in the foreground, showing all TTY straight into your terminal. Handy for debugging.
To exit, hit ctrl + c
$ docker-compose run -d
With the -d
parameter you send the TTY to the background. This is the recommended way of running Home Assistant, since you can use your terminal.
$ docker-compose restart
$ docker-compose ps
$ docker-compose logs -f
This will open the logs, and automatically follow them(showing new entries).
You can also send it without -f
, this will not follow the logs.
To see a full list of Hardware, please see Components
- Intel core i3-6100
- 16GB Ram
- 256GB SSD
- 4 TB disk
- Hyperviser: Proxmox
- VM's: 2
- Docker
- other (influx, grafana etc)