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

Joachim M. Giæver 8ef5f5a37d Small fixes 5 years ago
bin 8ef5f5a37d Small fixes 5 years ago
snap e7ee4dbb49 Turned off verbose on insteonplm fix 5 years ago
.gitignore 67d2456a32 Initial commit 5 years ago
LICENSE 67d2456a32 Initial commit 5 years ago
README.md eb95c223f4 Updated lxcbuild to pull snap out of the container + various fixes 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 the script ./bin/lxdbuild to build with a LXD container, which will install all necessary tools and remove them after completion. This is the preferred method during development of this recipe.

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!