hapm prepares Home Assistant custom integrations and plugins for Docker-based deployments.
go install github.com/mishamyrt/hapmThe image is available on Docker Hub:
docker pull mishamyrt/hapmRun a full install (sync cache + export to Home Assistant config) with one command:
docker run --rm \
-v "$PWD/hapm.yaml:/tmp/hapm.yaml:ro" \
-v "$PWD/.hapm:/tmp/.hapm" \
-v "$PWD:/config" \
mishamyrt/hapm install /confighapm.yaml contains package locations grouped by package kind.
integrations:
- mishamyrt/dohome_rgb@v0.6.0
- AlexxIT/YandexStation@v3.20.1
plugins:
- PiotrMachowski/lovelace-xiaomi-vacuum-map-card@v2.2.2Location format:
owner/repo@versionhttps://github.com/owner/repo@versionowner/repo(useslatest)
Global flags (available for all commands):
-m, --manifest(default:hapm.yaml)-s, --storage(default:.hapm)-d, --dry(print planned changes only)
hapm initAdd a new package (with type):
hapm add --type integrations mishamyrt/assisted_pol@v0.2.4Update an existing package version:
hapm add mishamyrt/assisted_pol@v0.2.5hapm install /configinstall performs both steps in one run:
- Syncs cache in storage (
.hapmby default) - Exports to the destination path:
- integrations ->
/config/custom_components - plugins ->
/config/www/custom_lovelace
- integrations ->
No separate sync or export commands are required.
hapm listhapm updateshapm versions mishamyrt/assisted_pol