homebridge

by lbenicio

Helm chartv0.1.22App beta-2026-11-24Verified publisher

Homebridge with managed or existing persistent storage, including NFS and local recovery volumes

About this chart

homebridge

HomeKit support for the impatient — bring HomeKit to non-HomeKit smart home devices.

TL;DR

helm repo add lbenicio-community https://helm.lbenicio.dev/
helm install my-release lbenicio-community/homebridge --version 0.1.20

Introduction

This chart deploys Homebridge, a lightweight Node.js server that emulates the iOS HomeKit API, allowing you to control smart home devices that do not natively support HomeKit. It supports hundreds of plugins for devices like cameras, lights, locks, thermostats, and more. The chart includes options for host networking (required for mDNS/Bonjour discovery), Bluetooth device passthrough, and persistent storage for your Homebridge configuration.

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.x+
  • A Kubernetes node with the necessary capabilities (hostNetwork, privileged mode) if using Bluetooth or mDNS discovery

Installing the Chart

helm install my-release lbenicio-community/homebridge --version 0.1.20 --namespace default \
  --set persistence.enabled=true \
  --set persistence.storageClass=local-storage \
  --set persistence.localPath=/var/local/k8s/homebridge

Parameters

KeyTypeDefaultDescription
image.repositorystringhomebridge/homebridgeContainer image repository
image.tagstring""Image tag (defaults to beta-2026-11-24)
image.pullPolicystringIfNotPresentImage pull policy
replicaCountint1Number of replicas
hostNetworkboolfalseEnable hostNetwork for mDNS/Bonjour discovery
automountServiceAccountTokenbooltrueMount a Kubernetes API token into Pod containers
bluetooth.enabledboolfalseEnable Bluetooth hostPath volume mount
bluetooth.hostPathstring/sys/class/bluetooth/hci0Host path for Bluetooth device
service.typestringClusterIPService type
service.httpPortint8581HTTP port for the web UI
service.portslist(4 ports)Service ports (http, bonjour, alexa, controller)
extraContainerslist[]Additional containers in the Homebridge Pod
extraVolumeslist[]Additional Pod volumes available to Homebridge and sidecars
extraVolumeMountslist[]Additional mounts for the Homebridge container
terminationGracePeriodSecondsint30Pod shutdown grace period
ingress.enabledboolfalseEnable ingress for the web UI
ingress.classNamestring""Ingress class name
ingress.hostslist[{"host":"homebridge.local","paths":[{"path":"/","pathType":"Prefix"}]}]Ingress host rules
ingress.tlslist[]Ingress TLS configuration
persistence.enabledboolfalseEnable persistent storage or a chart-managed PVC
persistence.existingClaimstring""Mount an existing PVC, including NFS-backed claims
persistence.claimNamestring""Name a chart-managed PVC instead of using the default <release>-data
persistence.storageClassstringlocal-storageStorage class name
persistence.localPV.enabledboolfalseCreate a static local PV for a chart-managed PVC
persistence.retainOnUninstallboolfalseKeep the chart-managed PVC when uninstalling the release
persistence.recoveryVolume.enabledboolfalseManage a separate retained local recovery PV/PVC; it is not mounted by Homebridge
persistence.staticNfsPV.enabledboolfalseManage a supplied CSI PV and bind the chart PVC to it
persistence.staticNfsPV.namestring""Existing CSI PV name
persistence.staticNfsPV.volumeHandlestring""Existing CSI volume handle
persistence.staticNfsPV.volumeAttributesobject{}CSI volume attributes for the existing PV
persistence.staticNfsPV.claimRefobject{}Pre-bind the retained CSI PV to a PVC by name and namespace; uid replaces a stale reference
persistence.sizestring10GiStorage size
persistence.accessModestringReadWriteOnceAccess mode
persistence.localPathstring/var/local/k8s/homebridgeLocal path on the host
persistence.nodeAffinityHoststring""Node affinity hostname for local PV
containerSecurityContext.runAsUserint1000User ID to run the container
resources.requests.cpustring100mCPU request
resources.requests.memorystring128MiMemory request
resources.limits.cpustring500mCPU limit
resources.limits.memorystring256MiMemory limit
autoscaling.enabledboolfalseEnable HPA
keel.enabledboolfalseEnable Keel auto-update annotations

Configuration

Persistence

Enable persistent storage to retain your Homebridge configuration, plugins, and accessories across restarts:

persistence:
  enabled: true
  storageClass: local-storage
  size: 10Gi
  accessMode: ReadWriteOnce
  localPath: /var/local/k8s/homebridge
  nodeAffinityHost: node01

To use an existing PVC instead of creating a new one:

persistence:
  enabled: true
  existingClaim: "my-existing-homebridge-pvc"

For a chart-managed NFS claim with a stable name, set claimName, storageClass: ntfs-storage, and leave existingClaim empty. The chart creates the PVC and mounts it directly. retainOnUninstall: true keeps the claim if the release is removed. existingClaim remains available when another controller owns the claim.

For a retained pre-existing CSI volume, configure staticNfsPV with the existing PV name, volume handle, volume attributes, and mount options. The chart manages that PV without changing its backing path and binds the named PVC to it.

For a static local volume, set localPV.enabled: true and configure localPath and nodeAffinityHost. A local PV is created only when no existingClaim is supplied.

Set persistence.recoveryVolume.enabled to manage a separate retained local PV/PVC for a recovery copy. The recovery claim is not mounted in the Homebridge pod.

Sidecar Containers

Use extraContainers for tightly coupled local helpers, such as a camera decoder. The sidecar shares the Pod network namespace with Homebridge, so loopback endpoints work between containers. Define its volumes with extraVolumes; existing hostNetwork and node scheduling settings apply to the whole Pod. Use extraInitContainers when shared volumes need preparation before the containers start.

Host Network & Bluetooth

Homebridge uses mDNS (Bonjour) for HomeKit device discovery, which requires hostNetwork when running in a cluster. Enable it along with Bluetooth passthrough if you have BLE accessories:

hostNetwork: true
bluetooth:
  enabled: true
  hostPath: /sys/class/bluetooth/hci0

Security note: Host networking and privileged mode expand the container's access to the node. Only enable these on trusted workloads and dedicated nodes.

Ingress

Expose the Homebridge web UI through an ingress controller:

ingress:
  enabled: true
  className: traefik
  annotations:
    cert-manager.io/cluster-issuer: ca-issuer
  hosts:
    - host: homebridge.example.com
      paths:
        - path: /
          pathType: Prefix
  tls:
    - secretName: homebridge-cert
      hosts:
        - homebridge.example.com

Environment Variables

Customize the container environment, e.g., timezone or disabling Avahi:

env:
  TZ: "America/Sao_Paulo"
  ENABLE_AVAHI: "0"

License

This chart is licensed under GPLv3.


Made with ❤️ by lbenicio

Deploy homebridge with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has homebridge on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the charthomebridge is pinned at v0.1.22 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply