Package Details: home-assistant 0.58.1-3

Git Clone URL: https://aur.archlinux.org/home-assistant.git (read-only)
Package Base: home-assistant
Description: Open-source home automation platform running on Python 3
Upstream URL: https://home-assistant.io/
Licenses: Apache
Replaces: python-home-assistant
Submitter: kamaradclimber
Maintainer: kamaradclimber
Last Packager: kamaradclimber
Votes: 18
Popularity: 4.537847
First Submitted: 2016-10-09 12:17
Last Updated: 2017-12-09 16:48

Pinned Comments

kamaradclimber commented on 2017-03-18 10:53

I host a mirror of aur git repository for home-assistant on

https://github.com/kamaradclimber/home-assistant-aur

Feel free to provide patches if necessary, I'll test them and push update to the aur.

Latest Comments

crass00 commented on 2017-12-03 11:15

I've done some testing as I reinstalled on a new machine and installed python-sqlalchemy before hand. On first time run I got a different error that xmltodict was missing. Was about to post about it here then saw your comment aout the deps loading under /var/lib/hass/deps/lib/python3.6/site-packages/

I uninstalled all on home assisstnat and removed the /var/lib/hass folder to clean the slate. I got the sqlalchemy error again. I checked the /var/lib/hass/deps/lib/python3.6/site-packages/ folder and sqlalchemy had downloaded but not many others and no updates in that folder for 10 minutes.

I restarted the service and then it continued downloading all the deps and the portal worked so looks like just something in home assistant dying while it downloads the dependencies.

kamaradclimber commented on 2017-12-02 12:40

@crass00 are you sure? I don't have python-sqlalchemy installed and my home-assistant instance is starting with any issue.

sqlalchemy seems installed by home-assistant itself in
/var/lib/hass/deps/lib/python3.6/site-packages/sqlalchemy

crass00 commented on 2017-11-27 16:08

please add python-sqlalchemy to the deps, failed to start correctly without it

Niklas commented on 2017-11-18 22:28

0.58 is out now!

kamaradclimber commented on 2017-11-10 19:27

Thanks Niklas for the info. I'll submit a patch waiting for 0.58

Niklas commented on 2017-11-08 16:37

Using the commit as a patch works for me. https://github.com/home-assistant/home-assistant/commit/a9a3e24bde6363dec190b9e9c6907a6c8251a968.patch

Svenstaro commented on 2017-11-06 03:00

Heads-up: This is incompatible with the current python-aiohttp in Arch! If you already upgraded and don't have your cache, you need this package: https://archive.archlinux.org/repos/2017/09/27/community/os/x86_64/python-aiohttp-2.2.5-1-x86_64.pkg.tar.xz

The upstream fix is here: https://github.com/home-assistant/home-assistant/commit/a9a3e24bde6363dec190b9e9c6907a6c8251a968

Svenstaro commented on 2017-10-29 00:50

A couple of components seem to be missing:

Oct 29 01:47:18 trinity hass[15215]: ERROR:homeassistant.setup:Error during setup of component discovery
Oct 29 01:47:18 trinity hass[15215]: Traceback (most recent call last):
Oct 29 01:47:18 trinity hass[15215]: File "/usr/lib/python3.6/site-packages/homeassistant/setup.py", line 191, in _asy
Oct 29 01:47:18 trinity hass[15215]: result = yield from component.async_setup(hass, processed_config)
Oct 29 01:47:18 trinity hass[15215]: File "/usr/lib/python3.6/asyncio/coroutines.py", line 210, in coro
Oct 29 01:47:18 trinity hass[15215]: res = func(*args, **kw)
Oct 29 01:47:18 trinity hass[15215]: File "/usr/lib/python3.6/site-packages/homeassistant/components/discovery.py", li
Oct 29 01:47:18 trinity hass[15215]: from netdisco.discovery import NetworkDiscovery
Oct 29 01:47:18 trinity hass[15215]: ModuleNotFoundError: No module named 'netdisco'

Oct 29 01:47:19 trinity hass[15215]: Traceback (most recent call last):
Oct 29 01:47:19 trinity hass[15215]: File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py"
Oct 29 01:47:19 trinity hass[15215]: SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
Oct 29 01:47:19 trinity hass[15215]: File "/usr/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
Oct 29 01:47:19 trinity hass[15215]: return fut.result()
Oct 29 01:47:19 trinity hass[15215]: File "/usr/lib/python3.6/asyncio/futures.py", line 245, in result
Oct 29 01:47:19 trinity hass[15215]: raise self._exception
Oct 29 01:47:19 trinity hass[15215]: File "/usr/lib/python3.6/asyncio/tasks.py", line 180, in _step
Oct 29 01:47:19 trinity hass[15215]: result = coro.send(None)
Oct 29 01:47:19 trinity hass[15215]: File "/usr/lib/python3.6/site-packages/homeassistant/components/sensor/yr.py", li
Oct 29 01:47:19 trinity hass[15215]: yield from weather.async_update()
Oct 29 01:47:19 trinity hass[15215]: File "/usr/lib/python3.6/site-packages/homeassistant/components/sensor/yr.py", li
Oct 29 01:47:19 trinity hass[15215]: import xmltodict
Oct 29 01:47:19 trinity hass[15215]: ModuleNotFoundError: No module named 'xmltodict'

kamaradclimber commented on 2017-09-23 12:02

@NicoHood, optional dependencies are there to give hints to the user of which archlinux packages are necessary for some very common components.
Home-assistant is a collection of plugins installed at runtime by home-assistant, some have dependencies (such as nmap).

NicoHood commented on 2017-09-18 19:22

@kamaradclimber I am preparing and testing the changes. I've also proposed PKGBUILD updates to all AUR packages. On top of that I have requested GPG signatures upstream for all of those and linked the issue in the PKGBUILD to update them later.

I am wondering about the opt depends. Could you give me a few more details why you've added them?

All comments