esphome
by gabe565
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
About this chart
ESPHome
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Homepage: https://charts.gabe565.com/charts/esphome/
This chart is not maintained by the upstream project and any issues with the chart should be raised here
Source Code
Requirements
Kubernetes: >=1.22.0-0
Dependencies
| Repository | Name | Version |
|---|---|---|
| https://bjw-s.github.io/helm-charts | common | 1.5.1 |
Installing the Chart
To install the chart with the release name esphome
OCI (Recommended)
helm install esphome oci://ghcr.io/gabe565/charts/esphome
Traditional
helm repo add gabe565 https://charts.gabe565.com
helm repo update
helm install esphome gabe565/esphome
Uninstalling the Chart
To uninstall the esphome deployment
helm uninstall esphome
The command removes all the Kubernetes components associated with the chart including persistent volumes and deletes the release.
Configuration
Read through the values.yaml file. It has several commented out suggested values. Other values may be used from the values.yaml from the bjw-s common library.
Specify each parameter using the --set key=value[,key=value] argument to helm install.
helm install esphome \
--set env.TZ="America/New York" \
gabe565/esphome
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
helm install esphome gabe565/esphome -f values.yaml
Custom configuration
Devices Show as offline
ESPHome may have trouble finding your local devices due to your Kubernetes DNS configuration. If so, set the following values:
env:
ESPHOME_DASHBOARD_USE_PING: "true"
dnsConfig:
nameservers:
# Set to your router IP or local DNS server
- 192.168.1.1
dnsPolicy: None
Values
Important: When deploying an application Helm chart you can add more values from the bjw-s common library chart here
| Key | Type | Default | Description |
|---|---|---|---|
| addons.codeserver.enabled | bool | false | Enable VS Code server addon. This allows for easy access to device configuration |
| addons.codeserver.ingress | object | See values.yaml | Enable and configure ingress settings for the VS Code server under this key. |
| env | object | See values.yaml | Environment variables. |
| image.pullPolicy | string | "IfNotPresent" | image pull policy |
| image.repository | string | "ghcr.io/esphome/esphome" | image repository |
| image.tag | string | "latest" | image tag |
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| service | object | See values.yaml | Configures service settings for the chart. |
Autogenerated from chart metadata using helm-docs
Deploy esphome with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has esphome 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 chartesphome is pinned at v0.15.0 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