baz123
(Brian)
January 24, 2018, 6:25pm
1
For anyone else who may be interested, I have installed Hass.io on a DietPi Virtual Machine. It was remarkably simple.
I already had the avahi-daemon installed under DietPi so all I had to add from the DietPi software install system was Docker.
The only other requirement outstanding was to apt-get install jq
Following the guide I simply used the installation script.
curl -sL https://raw.githubusercontent.com/home-assistant/hassio-build/master/install/hassio_install | bash -
I thoroughly recommend DietPi as a base image for any SBC or VM.
doubleUS
(Wilfred)
January 24, 2018, 7:00pm
2
Does DietPi from a USB device?
baz123
(Brian)
January 24, 2018, 9:01pm
3
Not sure what you mean. I think you may well be able to get it to boot from a USB stick. Never tried. there is a good Forum so ask there dietpi.com
DrJeff
(DrJeff)
January 25, 2018, 5:36am
4
DietPi is awesome been using it as a base for other things…
OctoPi
Node RED with GPIOs for Pool Controller
Kodi
Vlad0
December 2, 2018, 3:38pm
5
I tried that in hopes that I will get better experience with hass.io than with home assistant
first of script does not work with just bash -
I needed to
wget https://raw.githubusercontent.com/home-assistant/hassio-build/master/install/hassio_install
chmod 777 hassio_install
./hassio_install -m armv7ls
but after connecting to contain as describied in the article Set up Hass.io on top of a virtual machine - Home Assistant
[hassio.docker.interface] Can’t install homeassistant/armv7l-homeassistant:landingpage → 404 Client Error: Not Found (“pull access denied for homeassistant/armv7l-homeassistant, repository does not exist or may require ‘docker login’”).
Vlad0
December 2, 2018, 5:23pm
7
Yes, but in the end second docker got magically created and it at least started, so if it does not work for someone, just wait, wait even 30 minutes.
kadaan
December 19, 2018, 9:52am
8
On the latest DietPi and with the latest Hass.io , I needed to also install avahi-daemon and then chose to install apparmor-utils.
baz123
(Brian)
December 19, 2018, 11:32am
9
That can be installed by using the dietpi-software utility.
kadaan
December 20, 2018, 8:09am
10
Thanks! I ended up just moving back to DietPi + HomeAssistant. Felt like too much resources dedicated to docker.
Are you running Octopi and Hassio on the same Pi with dietpi? I’m looking to easily gain control over the Pi relay pins for use with my OctoPi lights, etc.
DrJeff
(DrJeff)
April 12, 2019, 6:32am
12
No I’m not, wouldn’t recommend it too much! But I would definitely run OctoPi and Node-Red to control GPIO pins
How do you control the OctoPi GPIO pins with Node-Red?
DrJeff
(DrJeff)
April 29, 2019, 2:15am
14
Node Red can control pins on the Pi when Node Red is ran on the Pi.
baz123:
The only other requirement outstanding was to apt-get install jq
Following the guide I simply used the installation script.
curl -sL https://raw.githubusercontent.com/home-assistant/hassio-build/master/install/hassio_install | bash -
I thoroughly recommend DietPi as a base image for any SBC or VM.
I have manually installed JQ and I’ve manually isntalled avahi-daemon as per Kaadans post in Dec 18.
Regardless I get literally
bash: line 1: 404:: command not found
When I run the CURL command to pull in hass.
Clearly the script is using commands which are not ‘stock’ in DietPi or perhaps you and kadaan just hapenned to install more apps in than I did as default?
I have progressed but problems persist.
My post above is referencing old information in OP URL, the new URL is.
https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh
Therefore, it’s
“sudo curl -sL https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh | bash -s”
HOWEVER
I get errors from
[WARNING]
No networkmanager support on host
No apparmor support on host
I can manually install these, but should I? What would they break in DietPi?
You need at least 5 extra things on top of DietPi base image.
docker (supported menu based install)
jq (manual install)
apparmor (manual install)
avahi-daemon (supported menu based install)
network-manager (manual install)
francisp
(Francis)
November 28, 2019, 9:16am
17
I always install hassio on top of dietpi this way :
(except for the line
curl -fsSL get.docker.com | sh
Docker via dietpi-software
baz123
(Brian)
November 28, 2019, 10:16am
18
That is exactly the same.
That original URL is 18 months old although not much has changed!
FlimFlamFlop:
I get errors from
[WARNING]
These are not errors, they are warnings which you can ignore if you wish.
Install what you can with the dietpi-software command. networkmanager is the new Ubuntu (I think) tool which changes how networking is setup.
I would not install Networkmanager onto DietPi.
The other packages are fine.
baz123:
These are not errors, they are warnings which you can ignore if you wish.
Install what you can with the dietpi-software command. networkmanager is the new Ubuntu (I think) tool which changes how networking is setup.
I would not install Networkmanager onto DietPi.
The other packages are fine.
Since it’s a VM, Iv’e taken a snapshot anyhow so I can recover.
I installed Network Manager, it seems to work though, but I’m curious what the implications could be?
Both with and without? If I re-roll without, why is it warning, what won’t work ?
baz123
(Brian)
November 28, 2019, 1:00pm
20
DietPi does it’s own thing with network configuration so you may, at some point, get a conflict.