Snap recipe for the Open source home automation software that puts local control and privacy first. https://www.home-assistant.io/

Joachim M. Giæver 15291820c1 Bumped to 0.91.4 5 years ago
lxdbuild @ cc3656a78b c857e7e870 Re-added submodule 5 years ago
snap 15291820c1 Bumped to 0.91.4 5 years ago
.gitignore 67d2456a32 Initial commit 5 years ago
.gitmodules 26cffa59f0 Re-added module 5 years ago
LICENSE 67d2456a32 Initial commit 5 years ago
README.md 1a18c94297 Fixed readme 5 years ago

README.md

home-assistant-snap

Snap (Snapcraft.yaml) recipe for the Open source home automation software that puts local control and privacy first.

Current Home Assistant version: 0.90.1

Build

  1. Clone the repo git clone https://git.giaever.org/joachimmg/home-assistant-snap.git.
  2. Go into the directoy cd home-assistant-snap.
  3. Check out the latest tag. The versioning is following the version of Home Assistant (e.g 0.90.1) plus a letter describing revision, e.g 0.90.1.b.
  4. To compile the snap you can use two options:
    1. Make sure you have all necessary tools to build a snap, and issue the command snapcraft to build with multipass (VM).
    2. Run git submodule update --init to fetch the build module, then run the script ./lddbuild/lxcbuild to build with a LXD container, which will install all necessary tools in the container and pull the built snap to the host system. This is the preferred method during development of this recipe. The container can be deleted with lxc stop home-assistant-snap && lxc delete home-assistant-snap.

Install

A file named home-assistant-snap[...].snap (e.g home-assistant_0+git.5bd544d_amd64.snap) should now be in the root-folder of the project and now you can install it with

snap install [file] --devmode

Issues

For issues directly related to Home Assistant, please read their article on Reporting Issues.

Issues with building or issues that is caused by missing dependencies etc and therefore cause problems with the running software, use the issue tracker.

Known problems

The build process reports a dependency issue with Selenium/Webdriver.

Unable to determine library dependencies for 'prime/selenium/webdriver/firefox/x86/x_ignore_nofocus.so'
Unable to determine library dependencies for 'prime/lib/python3.6/site-packages/selenium/webdriver/firefox/x86/x_ignore_nofocus.so'

Feel free to help out solving it!