Iβm in the process of ordering another zigbee coordinator (SONOFF Zigbee 3.0 USB Dongle Plus ZBDongle-P) and since I already use MQTT and want to redo my zigbee setup, I am tempted of going with Z2M.
I use HA Core (LXC/Proxmox) and my system is at it limits (Ram) so I cannot add a VM to be able to use docker anyway and it would be a waste of resources if it were possible, just for this.
If you prefer LXC containers, hereβs a source that provides one-line installation scripts for the most common applications and services, including an LXC for Zigbee2MQTT.
I recommend keeping each service separate so that you can have individual backups for each. This way, in case of any issues, restoring the service becomes straightforward and simple.
The original poster is utilizing Proxmox, which makes use of Linux containers. Although it is possible to run Docker in an LXC for these services, it would bring extra overhead and would not permit separate backups for each individual service.
tteck, should it be possible, normally, to install/run Z2M in the same container as my HA?
Like I already wrote: my system runs at itβs max (8 LXCβs and 1 VM) and you are right that the preferred way is to keep them separate.
In this case, HA & Z2M is used together/βlinkedβ to each other so the advantage is minimal of separating them, no?
Yes, it is possible, but creating a Zigbee2MQTT LXC would be a recommended option. The additional memory usage of around 20MiB is relatively small and acceptable, especially given the benefit of having a continued Zigbee mesh even if Home Assistant were to go down.
What is the one virtual machine that you are currently running, if you donβt mind me asking? Perhaps you can consider converting it to a LXC to conserve resources.
Keeping the ZigBee network going means any direct triggering will still work, eg from dimmer to bulb. Also the less you tear it down and build it up the stabler your ZigBee network will be.
Direct triggering: I know that itβs possible but I donβt think this works over here (have never tried that)
Stability of Zigbee network: is the mesh rebuilt every time after going down?
Until now I was using Debian for my containers because thatβs what I used most and know best - even though Iβm not very experienced in Linux.
Iβm looking at Alpine Linux now to see it thatβs an option, first for Z2M and later to redo my other containers.