hassio-zigbee2mqtt icon indicating copy to clipboard operation
hassio-zigbee2mqtt copied to clipboard

[FEAT] Option to create multiple instances of this addon

Open wedgen opened this issue 7 months ago • 3 comments

Description of the issue

For those using networked based zigbee modules (like the SLZB-06) its sometimes required to have multiple coordinators where router mode isn't appropriate.
With HASS OS currently the workaround is (https://community.home-assistant.io/t/solved-mqtt-with-multiple-zigbee2mqtt-instances/667932/22) but this only provides 1 additional instance. Ideally one should be able to spawn as many as the host can support (resource wise).
How would this be possible under the current design of the Add-on store? Would work have to be done on HASS OS side to enable this for the addon?

Addon version

2.2.1-1

Platform

Core: 2025.4.4 OS: 15.2 Virtual Machine

Logs of the issue (if applicable)

No response

wedgen avatar Apr 27 '25 19:04 wedgen

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar May 28 '25 01:05 github-actions[bot]

Anyone have thoughts on this?

wedgen avatar May 28 '25 01:05 wedgen

This is a perfect idea! I would very much appreciate this too! As a workaround you can create a Dashboard using the URL of the second or more instances now, but the big downside is that Ingess is not used then. Unfortunately this leads to the problem, that you need a proxy, in case you want to access the dashboard remotely via https. This is unecessary complicated, as for sure many users (including me) are struggeling with that task of setting up a proxy. Just as proposed in this Ticket here, for e.g. Lyrion Music Server, if you have multiple LMS instances running and want to integrate them all as a dashboard, it was solved by making availalable multiple copys of the addon. It would be so much easier to just use copys here too and get the possibility to integrate the multiple Z2M dashboards via Ingress, just like the first one.

This is a very easy to set and very user friendly solution and will save a lot of users a lot of time, solving unnecessary problems.

Thanks!

orgebar avatar Jun 02 '25 01:06 orgebar

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Jul 03 '25 01:07 github-actions[bot]

Still interested in this. Excited to see it.

wedgen avatar Jul 03 '25 19:07 wedgen

This seems to be a limitation of HA (it doesn't support running multiple instances of the same addon). As a hack, you can run 2 instances but using both the release and edge version of the addon.

Koenkk avatar Jul 04 '25 11:07 Koenkk

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Aug 04 '25 01:08 github-actions[bot]

Thre is even the option to have multiple URLs of the same version e.g. with or without trailin "/" which is considered a differnt addon. So either HA might fix instanciations of addons or the Derived Integrations? or Zigbee2mqtt find a way to work with multiple coordinator connnections self?!?!

hwinkel avatar Sep 18 '25 12:09 hwinkel