Home Assistant: Difference between revisions

imported>Mweinelt
Configure home-assistant's http component in reverse proxy example
imported>Fab
m Minor tweaking
Line 32: Line 32:
= Adding postgresql support =
= Adding postgresql support =


Home-assistant supports PostgreSQL as a database backend for, among other things, its logger and history components. It's a lot more scalable and typically provides faster response times than the SQLite database, that is used by default.
Home Assistant supports PostgreSQL as a database backend for, among other things, its logger and history components. It's a lot more scalable and typically provides faster response times than the SQLite database, that is used by default.


Remember to make backups of your database, for home-assistant is becoming more and more stateful and has moved away from a completely declarative YAML configuration for new and core components.
Remember to make backups of your database, for Home Assistant is becoming more and more stateful and has moved away from a completely declarative YAML configuration for new and core components.


<syntaxHighlight lang=nix>
<syntaxHighlight lang=nix>
Line 56: Line 56:
</syntaxHighlight>
</syntaxHighlight>


= Run home-assistant from github repository =
= Run Home Assistant from GitHub repository =


When developing home-assistant for some test dependencies additional libraries are needed.
When developing Home Assistant for some test dependencies additional libraries are needed.
A nix-shell expression for this is available [https://github.com/nix-community/nix-environments here].
A nix-shell expression for this is available [https://github.com/nix-community/nix-environments here].