deconz
by janip81
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
| Name | Url | |
|---|---|---|
| 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
| Key | Type | Default | Description |
|---|---|---|---|
| conbee.devicePath | string | "/dev/serial/by-id/usb-FTDI_FT230X_Basic_UART_DM01H1HD-if00-port0" | |
| env.TZ | string | "Europe/Stockholm" | |
| env.VERBOSE | string | "1" | |
| env.VNC_MODE | string | "1" | |
| env.VNC_PORT | string | "5900" | |
| env.WEB_PORT | string | "80" | |
| env.WS_PORT | string | "443" | |
| gateway.enabled | bool | false | |
| gateway.hostname | string | "deconz.domain.com" | |
| gateway.name | string | "internal-shared" | |
| gateway.namespace | string | "cilium" | |
| image.repository | string | "deconzcommunity/deconz" | |
| image.tag | string | "2.29.2" | |
| ingress.annotations | object | {} | |
| ingress.className | string | "" | |
| ingress.enabled | bool | false | |
| ingress.hosts[0].host | string | "deconz.example.com" | |
| ingress.hosts[0].paths[0].path | string | "/" | |
| ingress.hosts[0].paths[0].pathType | string | "Prefix" | |
| ingress.tls[0].hosts[0] | string | "deconz.example.com" | |
| ingress.tls[0].secretName | string | "deconz-tls" | |
| nodeSelector.usb | string | "zigbee" | |
| pvc.name | string | "deconz-config" | |
| pvc.size | string | "2560Mi" | |
| pvc.storageClassName | string | "vsphere-csi" | |
| securityContext.privileged | bool | true | |
| service.ports[0].name | string | "http" | |
| service.ports[0].port | int | 80 | |
| service.ports[0].targetPort | string | "http" | |
| service.ports[1].name | string | "websocket" | |
| service.ports[1].port | int | 443 | |
| service.ports[1].targetPort | string | "websocket" | |
| service.ports[2].name | string | "vnc" | |
| service.ports[2].port | int | 5900 | |
| service.ports[2].targetPort | string | "vnc" | |
| service.type | string | "ClusterIP" | |
| serviceAccountName | string | "deconz" | |
| vnc.create | bool | true | |
| vnc.password | string | "changeme" | |
| vnc.secretName | string | "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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartdeconz is pinned at v0.1.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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