Can I install openmediavault and Home Assistant simultaneously on my Raspberry Pi?

Can somebody tell me what web server the web interface of Home Assistant is using and on what port it’s running?

Is it possible to install both Home Assistant and openmediavault simultaneously on the same Raspberry Pi and is there some sort of manual for this somewhere maybe?

1 Like

Standard port for HA is 8123, but integrations can use ports too.

Since openmediavault is a NAS solution, then you might get into conflict with Samba addon if you try to run them at the same host as a server.
SSH services are usually port 22 and might conflict in a standard setup, but SSH is pretty easy to move around. Samba is pretty much impossible to move around due to fixed ports.
But because it is a Linux then you have a wide array of options and you can in fact just make multiple virtual network interfaces, then you will over issues with port conflicts.

1 Like

Out of the box, the OpenMediaVault software has support for (S)FTP, SMB/CIFS, DAAP media server, RSync, and even features built-in support for Docker containers.

So it should be possible to run Home Assistant Container on openmediavault.

What part of HA is going to be in conflict with OMV? The SSH-server that is listening on port 22 for both HA and OMV?

Is Samba dependent on a built-in SSH-server running on port 22?

I was more thinking about virtual web servers instead of network interfaces, making them listen on different sub-domains or ports.

But again, my question: What web server is the UI of HA running on?

HA’s internal webserver on port 8123

They coded their own one? Or is it based on another?

SSH on standard port will be in conflict if you do not use virtual interfaces, but since its probably you who will connect and SSH has the option to change port, then you can just move one of the ports.

Samba is the Windows sharing protocol, which is hardcoded to port 445 in the newest version.

I am not really sure what server HA is using, since they do not really write it anywhere. It might be a homemade, it might be based on some framework or it might be some modified standard webservice like Apache.
The important part is that it using port 8123 and not port 80 0r 443 which are the standard ports for HTTP and HTTPS.

Virtual Hosts on the webserver would work, if you have some DNS setup, but otherwise ports is a solution for webservices too.

https://pythonbasics.org/webserver/

I’m not trying to set up my own web server, but rather incorporate the web servers of both HA and OMV into one such as Apache, in case both HA and OMV are using Apache.

For that I still need to know what web server HA is using.

Alternatively, where can I change the port of the web interface HA is using?

Also, can you explain the connection between SSH and Samba in this context to me please? You said for OMV that Samba is using port 445 whereas SSH uses port 22.

What part of HA is going to be in conflict with OMV? The SSH-server that is listening on port 22 for both HA and OMV?

Since you can install a full blown Home Assistant virtual environment using just a minimal OS and python 3, HA obviously does not use an external web-server, just the basics python supplies. (See earlier link)

And I don’t understand your questions about SSH and Samba. Both are not included with HA. There are add-ons for HA OS and HA Supervised, but they are just that. If you run HA Core (virtual env.), HA Container (or even HA Supervised), you can supply your own SSH and Samba servers.

Home Assistant Supervised is making use of Docker it seems. Can I, in any way, avoid Docker for the purpose of performance in case I don’t want to flash a new card and install it on my already existing Raspbian OS?

You can make an installation directly on the OS.
Linux - Home Assistant (Last option: Install Home Assistant Supervised)

If you choose this installation, then there will be no need to run samba services or SSH twice, since the machine is the same. SSH access will give access to HA files as well as OpenMediaVault. Same with Samba, any directory shared on Samba will be accessible from both HA and OpenMediaVault.

I just managed to install HA Core on my Raspbian and it’s running perfectly fine in parallel to OMV, that is: Both UIs are accessible via web browser and there are no conflicts.

But I want to be able to make use of addons, so I am wondering if there is a way to upgrade the installation to HA Supervised?

Follow the link I gave above

But isn’t that with Docker?

I’m looking for a way to avoid that for saving performance. Is there any for HS Supervised?

There is also the option to install it directly on the host OS. No docker, no virtualenv, no VM.
And as the headline for the section says: Its supervised.