Hey Guys… So I installed home asistant on a VM and started up fine and added a nest smoke alarm for testing… looks good
Then I wanted to install it on my DS918+ which has docker capabilities… When I did that I saw that the plugin page was missing… Then I tried the 2nd install method to directly run on DSM via https://home-assistant.io/docs/installation/synology/
But that had some startup problems (GUI came but complained about missing some python binaries) and then again the plugin page was missing…
My basic use is going to be that I want to use google assistant to control devices and have homekit support so install the homebridge plugin.
I ideally also want to run it on the NAS somehow with full capabilities so that I don’t have to buy another device (i.e. Pi) or run it in a VM on a computer…
Anyone had any experience with this and suggestions?
Also where people mention hass.io it means a Pi install? v/s Home Assistant means a custom install? Bit confused between what the community terms are…
I helped someone install on Synology. I thought it was going to be easy. Basically you install a 3rd party Debian chroot package and instal hass into that. Not as easy as I expected.
You need home-assistant/hassio:latest or similar to get plugins
Docker on Synology like point you to home-assistant/homeassistant:latest
Not sure how you get that installed but that will give you what you want. When I use Synology I install and using command line via ssh. It was much easier.
What? lol… thanks for that… home-assistant/hassio doesn’t show in docker registry in DSM. Do you have some guide on how to do so so that it plays nicely with DSM? (like username / folders / docker image etc shows on DSM)… I am guessing
Create a homeassistant user and home folder via DSM so it can see it
Your docker run command will work fine. Just point to the hassio docker image and it will be downloaded…just FYI…dsm will retrieve anything available from dockerhub and standard docker commands work from command line. This is why I prefer command line on Synology for docker container Creation, the GUI was incomplete
Synology units that don’t support docker must have some Synology specific python package installed to run docker
ash-4.3# docker pull homeassistant/resinos-hassio:1.1-intel-nuc
1.1-intel-nuc: Pulling from homeassistant/resinos-hassio
Digest: sha256:e468f80c33b588ceb3d2efdb748e95e49da88c3a4c10c65fa0cd8d16373ba656
Status: Image is up to date for homeassistant/resinos-hassio:1.1-intel-nuc
ash-4.3# docker run -d --name=“home-assistant” -v /volume1/homeassistant/:/config -v /etc/localtime:/etc/localtime:ro -p 8123:8123 homeassistant/resinos-hassio:1.1-intel-nuc
docker: Error response from daemon: No command specified.
Yes… I tried that as well… it is basically missing the execution command…
I copied the one which is created by homeassistant/home-assistant (python -m homeassistant -config /config) but that didn’t work either… and gave it all the Path variables which is created by the above mentioned image as well…
But I think that is suggesting to use the hassio_install script? I had tried that but then I am missing socat and other packages… so I believe i will have to skip docker and then install all the dependencies manually before running the script?
i dont use hass.io except on some RasPi.
honestly i think running standard homeassistant will do fine for you. I beileve biggest benefit of hass.io was update software and docker takes care of that issue. the other items provided through plugins are easily implemented or where separate containers on OS anyway which are easily installed in docker.
Thanks… home-assistant is running fine via default docker image… I am trying to install hass.io which has the plugins (hass.io on the left hand side menu) page etc to easily install addons like homebridge etc… within homeassistant
It does some requirement checks, builds strings appropriate for your architechture and then install a couple of services. Those services start the supervisor docker and the hostcontrol, you only need the supervisor.
So if you can create a script which does the same as the hassio-start script here: https://github.com/home-assistant/hassio-build/blob/master/install/service/hassio-start
You are good to go.
I have managed to run hassio on my Asustor NAS this way.