Homey Self-Hosted Server with Docker on Linux | Megathread

In this thread we can discuss running Homey Self-Hosted Server with Docker on Linux.

Installation

Learn how to Install Homey Self-Hosted Server with Docker on Linux.

Known Limitations

None at this moment.

3 Likes

I get “Network request failed” when the app tries to connect to the server. (Android app, Linux Mint/debian) in docker container running host network – as specified in instructions.

Anywhere we can see more debug info maybe?

Works like a charm, Emile.
Old HP Elitedesk 800 8GB RAM, Debian13

I also had that, just wait a few minutes and add it again (Add Homey → Homey SHS)

@homey I’m running Ubuntu on an intel MacBook pro with 16gb or ram. I was wondering if the 8gb memory of SHS can be increased ?

Why is it needed to run the container in privileged mode?

2 Likes

Seems it autodetected the instance using something that looked like IPv6 that didn’t work.

Manual IP entry of the IPv4 (it showed as example) did work!:+1:

How can I restore my Homey pro backup on the Self-Hosted Server?

I am wondering the same. For now, I’ve not enabled privileged mode. Homey SHS appears to be working as expected for now. This includes a setup with:

  • Homey Bridge
  • a few Zigbee devices
  • a Hue Pro Bridge
  • some virtual devices using Device Capabilities app
  • MQTT Broker & Client
  • Modbus
  • a few flows to update the virtual devices from MQTT and Modbus
  • …

The only area where I’m seeing that something is not working is in memory use. All apps are reported as using 0 bytes (web interface) or null bytes (iOS app). For me this is not critical as I can check the memory use of the individual apps in the Container Manager on Synology.

HI,

Is there a future tutorial for installation onto ZimaOs , or better, an integration of Homy in the appstore of Zima ?

this would be great :smiley:

Sure, add RAM capacity (which is impossible with apple hardware when I’m right?)
Watch this NAS, it provided SHS with 20+ GB…

Your macbook doensn’t seem to allow more than 8GB for some reason.
But I wonder why? You can run 150 - 200 apps on 8GB…
(I know, I know, when purchasing my first PC back in the early 90s, I opted for 8MB RAM instead of the standard 4MB’s. With 8MB I was future proof!
Yes, MB, not GB :laughing:

1 Like

:grin: love that NAS

I thought there’s a way to tweak the docker container.
I know what you mean about those 8gb, but I am freaking out thinking how fast I filled the 4gb on my HP23. I might have some flows that are leaking

Are you running Ubuntu on bare metal, or inside a virtual machine or something? It seems strange that Docker would impose a memory limit to any container when running the OS on bare metal (however, if you run Docker on macOS, it will run inside a virtual machine that is, by default, limited to using 50% of available RAM, but that’s configurable).

Ubuntu on bare metal. No VM. That’s why I found it strange

Docker will (at least by default) not limit the amount of memory used by a container, and I don’t think it’s even possible for an image to configure a limit, so it seems there’s something local to your system that’s causing this limitation.

Thank you, @robertklep

I’ll dig deeper.

image

works perfectly :+1:t2:

Oh @burrikido I just found this great remark by Robert:

So the % of RAM should be configurable

1 Like