I have bought a mini PC and installed Ubuntu and Docker to run Homey SHS. I have one major problem: if I follow the instructions on https://support.homey.app/hc/en-us/articles/24010537261980-How-to-install-Homey-Self-Hosted-Server-with-Docker-on-Linux But with network_mode: host, I dont get a port. I see my container in Docker, with no port(s) so it won’t work. If I remove and force the port with something like this:
–name homey-shs
–restart=always
-p 4859:4859
-p 4860:4860
My Homey SHS works and I can add the IP / setup the android app and there’s a lot that works: adding Hue lights, installing apps and importing devices etc. There are als some things that will not work: adding the Homey Bridge or finding Google Cast (Chromecasts, Nest Hubs) devices for example… I cannot get it working with network_mode: host and not everything works without network_mode: host. It’s driving me crazy! Anyone has idea’s? Would be apprenticed!
Hi thanks for your reply. But this is basically the same right? Both use Docker, one with a yaml/docker compose and one directly. But I have the same issue regarding network_mode: host
I run SHS on a Lenovo SFF, Ubunutu server 24.0.4 LTS
My compose file:
services:
homey-shs:
image: ghcr.io/athombv/homey-shs:latest
container_name: homey-shs
restart: unless-stopped
network_mode: host
privileged: true
volumes:
- ~/.homey-shs:/homey/user
uname -a
Linux homey-shs 6.17.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 9 17:01:16 UTC 2026 x86_64 GNU/Linux
Docker version 29.3.0
Are there any hints in th elog output when the container starts up? (docker run without the -d will spew it all to the terminal screen). Also logs are in the .homey-shs directory.
Not sure what you mean exactly, but you can view the logs by executing this command (in a second terminal):
$ docker compose -f homey-shs.yml logs --follow
As per KB article https://support.homey.app/hc/en-us/articles/24010537261980-How-to-install-Homey-Self-Hosted-Server-with-Docker-on-Linux
No sure what you mean either.
To verify if docker container is running as expected i usually use docker ps. It will show each docker container status (and some other details).
To get docker logs from a container docker logs <container name>.
yes, better choices to use ‘docker logs’ if the container is already running. (–follow is aslo a good option to keep watching) But that only show recent stuff.
The full log file is actually also visible in ~/.home-shs/logs if you want to root around finding specific things.
True, but it shows everything from the start on when I start that “follow” command prior to the container start.
I have a similar issue. From my HPE 2019 I can’t reach SHS by using Homesh controller APP on my HPE2019. Viceversa it is working fine: from my SHS i can reach HPE2019 by using Homesh controller APP on my SHS. Did you have any suggestion?
The error that rises on my HPE2019 side is “connect ECONNREFUSED :80”, it happens when I try to connect to the Homesh Satellite APP on SHS.
Please could anyone help me?
I’d first try the HomeyLink app instead.
Otherwise, you probably have to change the default port temporary from 4859 to 80 to see if it connects;
Make sure there’s no other local web server running on port 80.