deconz

by janip81

Helm chartv0.1.1App 2.29.2Apache-2.0Verified publisher

A Helm chart to deploy deCONZ

About this chart

deconz

A Helm chart to deploy deCONZ

Homepage: https://github.com/janip81/helm-charts/tree/main/charts/deconz

Maintainers

NameEmailUrl
Jani Pesonen[email protected]https://github.com/janip81

Source Code

Overview

Helm-chart for deploying deCONZ, the REST API bridge for Zigbee devices.

This chart supports USB passthrough via hostPath, VNC support, persistent configuration storage, and optional ingress/gateway exposure.

Adding this helm repository

To add the helm repository, run the following commands:

helm repo add janip81 https://janip81.github.io/helm-charts/
helm search repo deconz

values.yaml files for the charts can be found in the charts/[chartname] directories.

TL;DR

helm repo add janip81 https://janip81.github.io/helm-charts/
helm install my-zigbee-gateway janip81/deconz -f YOUR-VALUES.yaml

Helm must be installed to use the charts. Please refer to Helm's documentation to get started.

If you had already added this repo earlier, run helm repo update to retrieve the latest versions of the packages. You can then run helm search repo deconz to see the chart.

To install the deCONZ chart:

helm install my-deconz janip81/deconz

To uninstall the chart:

helm delete my-deconz

Prerequisites

  • Kubernetes
  • Helm 3.1.0+
  • PV provisioner support in the underlying infrastructure (for persistent storage)
  • USB device on the node (e.g. Conbee) accessible via hostPath
  • LoadBalancer or Ingress controller for external access
  • (Optional) Gateway API support for Cilium/NGINX Gateway

Values

KeyTypeDefaultDescription
conbee.devicePathstring"/dev/serial/by-id/usb-FTDI_FT230X_Basic_UART_DM01H1HD-if00-port0"
env.TZstring"Europe/Stockholm"
env.VERBOSEstring"1"
env.VNC_MODEstring"1"
env.VNC_PORTstring"5900"
env.WEB_PORTstring"80"
env.WS_PORTstring"443"
gateway.enabledboolfalse
gateway.hostnamestring"deconz.domain.com"
gateway.namestring"internal-shared"
gateway.namespacestring"cilium"
image.repositorystring"deconzcommunity/deconz"
image.tagstring"2.29.2"
ingress.annotationsobject{}
ingress.classNamestring""
ingress.enabledboolfalse
ingress.hosts[0].hoststring"deconz.example.com"
ingress.hosts[0].paths[0].pathstring"/"
ingress.hosts[0].paths[0].pathTypestring"Prefix"
ingress.tls[0].hosts[0]string"deconz.example.com"
ingress.tls[0].secretNamestring"deconz-tls"
nodeSelector.usbstring"zigbee"
pvc.namestring"deconz-config"
pvc.sizestring"2560Mi"
pvc.storageClassNamestring"vsphere-csi"
securityContext.privilegedbooltrue
service.ports[0].namestring"http"
service.ports[0].portint80
service.ports[0].targetPortstring"http"
service.ports[1].namestring"websocket"
service.ports[1].portint443
service.ports[1].targetPortstring"websocket"
service.ports[2].namestring"vnc"
service.ports[2].portint5900
service.ports[2].targetPortstring"vnc"
service.typestring"ClusterIP"
serviceAccountNamestring"deconz"
vnc.createbooltrue
vnc.passwordstring"changeme"
vnc.secretNamestring"deconz-vnc-password"

Autogenerated from chart metadata using helm-docs v1.14.2

Deploy deconz with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has deconz 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 chartdeconz is pinned at v0.1.1 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