I am looking at installing home assistant on my Rpi. Even though I see enough material on how to do this and am sure I can pull it off, I was wondering if there was any chance of simply doing
apt-get install home-assistant
Is there anyone who creates debian packages? Is there a ppa for it?
The hassbian image provides this, write the image to your SD card, connect power and internet to the Pi, wait ten minutes and you have an up to date HA image.
If you have something running on the Pi already and don’t want to flash your SD card the virtual env instructions are only 5 or 6 steps long and really easy to follow.
Be aware if you are going to use an existing rasbian (or other OS) install that python versions before 3.4 won’t be supported at the start of 2018. So if you install on top of existing OS be sure to your python version will remain compatible.
Thanks. Indeed I already have a running raspbian with a number of services running. So I prefer not to go the hapbian route.
However my ultimatey prefered route is withxdeb packages, so I only have to 'apt-get dist-upgrade keep everything up to date. I hate to mix package systems.
Is the haspbian system based on debs, or on scripts to automate the install?
Btw, is the virtenv meant for security alone? If I run HA locally without outside access, doesxit make sense, or can I skip it?
It’s virtual environments all the way (well, except HassIO). There’s no package.
The venv is to avoid all the problems you otherwise get with conflicting library version requirements. It keeps it entirely self contained, so that if you’re running other Python programs they can co-exist easily. You can try without it, but you run a significant risk that your OS updates, or another package, will break your HA.
Ok, so the virtualenv is a container approach. I can understand the logic, although I have not experienced many priblems with python module versions.
The versions are quite well defined for each debian release and there are no disruptive changes in a single major release. Moreover you can set the dependency on the required python modules in the .deb, including min and max version numbers.
But I see this is not the way you chose to go (for now I hope) Ill give it a try this weekend! Without virtenv for now.