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:
Openhab
Motioneye
Opencv
Red Node
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?
Bruce,
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.
My server is with ubuntu based I7 CPU and 32GB RAM, it’s strong but i want it to take care of the other software that I will need, for now, I am thinking about:
Any idea what technologies? Zigbee and Z-Wave could be good choices and we have a fist class developer IMO.
Where in the world are you located? What is available varies somewhat by region.
EDIT: Also verify they send toe correct part. I recently ordered a US stick from a different company and they accidentally shipped a Japan one. I just received a replacement US stick
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.
FALSE
According to the Z-Wave Alliance Israel uses 916 MHz. EU uses either 866.4 MHz or 869.85 MHz.
Using EU Z-Wave devices in Israel is likely illegal
I’m very pleased with Docker and my Ubuntu server. I’m running containers for:
openHAB
MotionEye
InfluxDB
Grafana
Shairport
Logitech Media Server
Portainer
Emby
Frontail
UniFi poller
I also use and installed directly:
NodeRED
Network UPS Tools
Mosquitto
I love docker but came to embrace a mixed philosophy: Docker when convenient but systemd if there were too many trade offs.
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
I haven’t tried Compose much - it’s on my list but at this point I start everything with docker run
and manage it with Portainer. I’ll offer my advice as a parallel to that provided by @MrksHfmn.
I did a short write-up with some Docker advice and your question motivated me to cross post it here:
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.