Nomploy Nomad Packs

← All packs

esphome v0.1.0

Automation

ESPHome — build and manage firmware for ESP32/ESP8266 devices from YAML, with a web dashboard, OTA updates, and native Home Assistant integration. Deployed host-networked (for mDNS device discovery) with a config volume.

nomad-pack run esphome --registry nomploy
1 task http 6052 1 volume image ghcr.io/esphome/esphome:latest
Variables 8
values.hcl

Save as values.hcl, edit, then run:

nomad-pack run esphome -f values.hcl --registry nomploy
# The name of the Nomad job.
job_name = "esphome"

# The Nomad namespace to deploy into.
namespace = "default"

# The datacenters to deploy to.
datacenters = ["*"]

# The ESPHome container image. Pin a tag in production.
image = "ghcr.io/esphome/esphome:latest"

# Host port for the ESPHome dashboard.
port = 6052

# Named volume for your device YAML configs and build cache (/config).
data_volume = "esphome_config"

# Placement constraints. Pin to the node holding the volume. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true".
constraints = []

# The task resources (compiling firmware is CPU-heavy).
resources = {
    cpu    = 1000
    memory = 1024
  }
NameTypeDefaultDescription
job_name string
"esphome"
The name of the Nomad job.
namespace string
"default"
The Nomad namespace to deploy into.
datacenters list
["*"]
The datacenters to deploy to.
image string
"ghcr.io/esphome/esphome:latest"
The ESPHome container image. Pin a tag in production.
port number
6052
Host port for the ESPHome dashboard.
data_volume string
"esphome_config"
Named volume for your device YAML configs and build cache (/config).
constraints list
[]
Placement constraints. Pin to the node holding the volume. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true".
resources object
{
    cpu    = 1000
    memory = 1024
  }
The task resources (compiling firmware is CPU-heavy).
Readme

esphome

ESPHome — build and manage firmware for ESP32/ESP8266 devices from YAML, with a web dashboard, OTA updates, and native Home Assistant integration.

Deployed host-networked (for mDNS device discovery) with a /config volume.

Deploy

nomad-pack registry add nomploy https://github.com/Nomploy/nomad-packs
nomad-pack run esphome --registry=nomploy

Configure

Variable Default Description
port 6052 Dashboard port.
data_volume esphome_config /config — device YAML + build cache.
image ghcr.io/esphome/esphome:latest Image. Pin a tag in production.
resources { cpu = 1000, memory = 1024 } Task resources (compiling is CPU-heavy).

Create device configs in the dashboard and flash over the network (OTA). The initial flash of a new device usually needs USB on a machine with the device attached. Pairs with the home-assistant and mosquitto packs. Pin the job to the node holding the volume with constraints.