I am just beginning and trying to understand the best way to go forward.
I built an Ubuntu server that I want to run on it:
I was thinking about running all of it in dockers but as I went over the guide and I see the following:
However, this flexibility comes at a cost. For example, because openHAB is running in its own container with only enough installed to run openHAB, the Exec binding is very likely to be useless to you because the container will not have access to the programs and files you need.
I could not make much of what it means, I would be happy for some advice on the best was to build the server.
that’s indeed not true at all.
all you have to do is to login to your docker shell and install what you want to use there.
(or you can start container with linked folder to your root sbin/bin, but i do not recommend this at all)
I’m running only in docker in production and I’ll never look back to anything else
It’s good to hear that it’s a stable solution, and I know that all addons and configuration finds are mapped to the host OS. but if you install more stuff from bash it’s not getting erased when you restart the docker or upgrade?
I am not sure about everything yet - I am planning the system for a new house we are moving in a few months - for now, I am testing different equipment and software and trying to build the best infrastructure for the new house.
The first decision I had to make is Home Assistant vs Openhab after reading a lot and playing I think that Openhab is the best solution for me.
Thanks, guys for the help… I would probably need it in the next few month
OpenHAB tends to be more stable and slower moving. I think it is more flexible but more complex to learn and implement. There are some very helpful, competent developers here helping users navigate this complexity.
You did not state what OS or hardware platforms you are considering. A Debian-based Linux is likely recommended since that is a primary development target. Although many people here run openHAB on a Raspberry Pi, I personally think a Docker-based configuration should not be run for production on anything less than a Pi 4 with 2GB of RAM.
The forum here is designed more to help you through your configuration rather than provide complete solutions. I personally find the user community here tends to be a little more mature than when I started using Home Assistant a year ago.
On that Amazon link the only hint is the Z-Wave certification points to the US version. Checking the specification sheet from Aeotec’s site, it appears that stick is only available for US EU and Austrailia frequencies.
Sorry, I guess you will need a different stick for Israel.
Hi Omri, here is my docker-compose.yaml for most services you want to setup. They are all bound in one network (smarthome --> docker create network smarthome). You can start/stop the services with docker compose.
Start: docker-compose up -d Stop: docker-compose down -v --remove-orphans
Note that both of these containers use persistent volumes in the opt directory. I’d recommend creating these directories before creating the containers, and in the case of Grafana, doing some permissions fixes. I talked about that in my write up too.