CONTAINERSIMAGESRUNBUILD

Home Assistant add-on that uses wyoming-satellite for remote voice satellite using the wyoming protocol on NVIDIA Jetson devices. Thank you to @ms1design for contributing these Home Assistant & Wyoming containers!
home-assistant-core container on Jetson devices as well as Home Assistant hosted on different hostswyoming-openwakeword container to detect wake wordswyoming-whisper container to handle STTwyoming-piper container to handle TTSRequires Home Assistant
2023.9or later.
docker-compose exampleIf you want to use docker compose to run Home Assistant Core Voice Assistant Pipeline on a Jetson device with cuda enabled, you can find a full example docker-compose.yaml here.
yamlname: home-assistant-jetson version: "3.9" services: homeassistant: image: dustynv/homeassistant-core:latest-r36.2.0 restart: unless-stopped init: false privileged: true network_mode: host container_name: homeassistant hostname: homeassistant ports: - "8123:8123" volumes: - ha-config:/config - /etc/localtime:/etc/localtime:ro - /etc/timezone:/etc/timezone:ro assist-microphone: image: dustynv/wyoming-assist-microphone:latest-r36.2.0 restart: unless-stopped network_mode: host container_name: assist-microphone hostname: assist-microphone runtime: nvidia init: false ports: - "***:***/tcp" devices: - /dev/snd:/dev/snd - /dev/bus/usb volumes: - ha-assist-microphone:/share - /etc/localtime:/etc/localtime:ro - /etc/timezone:/etc/timezone:ro environment: SATELLITE_AUDIO_DEVICE: "plughw:CARD=S330,DEV=0" SATELLITE_SND_VOLUME_MULTIPLIER: 0.3 WAKEWORD_NAME: "ok_nabu" ASSIST_PIPELINE_NAME: "Home Assistant" volumes: ha-config: ha-assist-microphone:
| Variable | Type | Default | Description |
|---|---|---|---|
SATELLITE_NAME | str | assist microphone | Name of the satellite |
SATELLITE_AUDIO_DEVICE | str | plughw:CARD=S330,DEV=0 | Selected Audio Device to use, read more here |
SATELLITE_PORT | str | *** | Port of the satellite |
SATELLITE_SOUND_ENABLED | bool | true | Enable or disable connected Speaker |
SATELLITE_AWAKE_WAV | str | /usr/src/sounds/awake.wav | WAV file to play when wake word is detected |
SATELLITE_DONE_WAV | str | /usr/src/sounds/done.wav | WAV file to play when voice command is done |
ASSIST_PIPELINE_NAME | str | Home Assistant | Home Assistant Voice Assistant Pipeline name to run |
WAKEWORD_SERVICE_URI | str | tcp://127.0.0.1:*** | URI of Wyoming wake word detection service |
WAKEWORD_NAME | str | ok_nabu | Name of wake word to listen for |
SATELLITE_SND_VOLUME_MULTIPLIER | float | 1.0 | Sound volume multiplier |
SATELLITE_MIC_VOLUME_MULTIPLIER | float | 1.0 | Mic volume multiplier |
SATELLITE_MIC_AUTO_GAIN | int | 0 | Mic auto gain |
SATELLITE_MIC_NOISE_SUPPRESSION | int | 0 | Mic noise suppression (0-4) |
SATELLITE_DEBUG | bool | true | Log DEBUG messages |
Read more how to configure wyoming-assist-microphone in the official documentation.

Picking the correct microphone/speaker devices is critical for the satellite to work.
List your available microphones with:
basharecord -L
List your available speakers with:
bashaplay -L
You should see similar output to below for both commands:
bashplughw:CARD=seeed2micvoicec,DEV=0 seeed-2mic-voicecard, bcm2835-i2s-wm8960-hifi wm8960-hifi-0 Hardware device with all software conversions
Prefer ones that start with plughw: or just use default if you don't know what to use. It's recommended to choose Microphone and Speaker which has Hardware device with all software conversions notation. Set the environment variable SATELLITE_AUDIO_DEVICE to:
bashplughw:CARD=seeed2micvoicec,DEV=0
wyoming-assist-microphoneuses the same device for Mic as Speaker.
ASSIST_PIPELINE_NAME.SATELLITE_AUDIO_DEVICE into SATELLITE_MIC_DEVICE and SATELLITE_SND_DEVICE to allow selection of different audio hardware combinations.Got questions? You have several options to get them answered:
/r/homeassistantjetson-containers, please open an issue on our GitHub.[!NOTE] This project was created by Jetson AI Lab Research Group.
wyoming-assist-microphone:latest | |
|---|---|
| Aliases | wyoming-assist-microphone |
| Requires | L4T ['>=34.1.0'] |
| Dependencies | build-essential homeassistant-base python:3.11 |
| Dockerfile | Dockerfile |
| Images | dustynv/wyoming-assist-microphone:latest-r35.4.1 (2024-04-30, 5.1GB)dustynv/wyoming-assist-microphone:latest-r36.2.0 (2024-04-30, 0.3GB) |
| Notes | The assist-microphone using the wyoming protocol for usage with Home Assistant. Based on [***] |
To start the container, you can use jetson-containers run and autotag, or manually put together a docker run command:
bash# automatically pull or build a compatible container image jetson-containers run $(autotag assist-microphone) # or if using 'docker run' (specify image and mounts/ect) sudo docker run --runtime nvidia -it --rm --network=host assist-microphone:35.2.1
jetson-containers runforwards arguments todocker runwith some defaults added (like--runtime nvidia, mounts a/datacache, and detects devices)
autotagfinds a container image that's compatible with your version of JetPack/L4T - either locally, pulled from a registry, or by building it.
To mount your own directories into the container, use the -v or --volume flags:
bashjetson-containers run -v /path/on/host:/path/in/container $(autotag assist-microphone)
To launch the container running a command, as opposed to an interactive shell:
bashjetson-containers run $(autotag assist-microphone) my_app --abc xyz
You can pass any options to it that you would to docker run, and it'll print out the full command that it constructs before executing it.
If you use autotag as shown above, it'll ask to build the container for you if needed. To manually build it, first do the system setup, then run:
bashjetson-containers build assist-microphone
The dependencies from above will be built into the container, and it'll be tested during. Run it with --help for build options.
来自真实用户的反馈,见证轩辕镜像的优质服务
免费版仅支持 Docker Hub 加速,不承诺可用性和速度;专业版支持更多镜像源,保证可用性和稳定速度,提供优先客服响应。
免费版仅支持 docker.io;专业版支持 docker.io、gcr.io、ghcr.io、registry.k8s.io、nvcr.io、quay.io、mcr.microsoft.com、docker.elastic.co 等。
当返回 402 Payment Required 错误时,表示流量已耗尽,需要充值流量包以恢复服务。
通常由 Docker 版本过低导致,需要升级到 20.x 或更高版本以支持 V2 协议。
先检查 Docker 版本,版本过低则升级;版本正常则验证镜像信息是否正确。
使用 docker tag 命令为镜像打上新标签,去掉域名前缀,使镜像名称更简洁。
探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
在 Linux 系统配置镜像加速服务
在 Docker Desktop 配置镜像加速
Docker Compose 项目配置加速
Kubernetes 集群配置 Containerd
在宝塔面板一键配置镜像加速
Synology 群晖 NAS 配置加速
飞牛 fnOS 系统配置镜像加速
极空间 NAS 系统配置加速服务
爱快 iKuai 路由系统配置加速
绿联 NAS 系统配置镜像加速
QNAP 威联通 NAS 配置加速
Podman 容器引擎配置加速
HPC 科学计算容器配置加速
ghcr、Quay、nvcr 等镜像仓库
无需登录使用专属域名加速
需要其他帮助?请查看我们的 常见问题 或 官方QQ群: 13763429