npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@iobroker/assistant-satellite

v0.1.7

Published

Standalone voice satellite for the ioBroker.assistant adapter (wake word + mic streaming + TTS playback over the Hannah UDP protocol). Runs on a bare Pi via npx, no ioBroker required.

Readme

@iobroker/assistant-satellite

A standalone voice satellite for the ioBroker.assistant adapter. It runs the wake word on the device, streams the microphone to the adapter, and plays the spoken reply — over the same UDP protocol as the Hannah satellite. No ioBroker install required; runs on a bare Raspberry Pi via npx.

STT → LLM → TTS all run in the adapter. The satellite only does: wake word · mic capture · playback.

Requirements

  • Node.js ≥ 18
  • Audio backend (auto-selected by platform):
    • Linux: ALSA tools — sudo apt install alsa-utils (arecord/aplay)
    • Windows / macOS: ffmpeg (provides ffmpeg/ffplay) on the PATH
  • A running ioBroker.assistant instance with the Voice server enabled

Wake-word inference uses onnxruntime-node, which ships prebuilt binaries for Linux (x64/arm64), Windows (x64) and macOS (x64/arm64) — so the satellite runs on all three; only the audio backend differs.

Quick start

# 1. First run writes a default config and exits:
npx @iobroker/assistant-satellite

# 2. Edit config.json — at least set "host" (the ioBroker host) and your ALSA devices:
#    "host": "192.168.1.129", "micDevice": "plughw:2,0", "speakerDevice": "plughw:2,0"

# 3. Run:
npx @iobroker/assistant-satellite config.json

On first run it downloads the OpenWakeWord models into modelsDir. Then say the wake word (default "hey jarvis") → speak → the answer is played back.

Find your ALSA device with arecord -l / aplay -l (→ plughw:<card>,<device>; the plug prefix lets ALSA resample so 16 kHz capture works on any card).

As a bare command

The package exposes an assistant-satellite binary (like mocha, eslint, … — via the bin field), so you don't have to type node build/cli.js. Get it onto your PATH by installing globally:

npm i -g @iobroker/assistant-satellite     # after publish; or `npm i -g .` / `npm link` from a clone
assistant-satellite check config.json
assistant-satellite config.json
sudo assistant-satellite install config.json

npx @iobroker/assistant-satellite … works without a global install. All subcommands (check / install / uninstall) accept the same forms.

Configuration (config.json)

| Key | Default | Meaning | |----------------------------------|------------------|------------------------------------------------------| | logLevel | info | info or debug (wake-word/mic diagnostics) | | device / room | satellite / | identity reported to the adapter | | `host` / `port` | / 7775 | ioBroker.assistant voice-server address | | listenPort | 7776 | UDP port the satellite receives TTS on | | audioBackend | auto | auto / alsa / ffmpeg | | micDevice / speakerDevice | default | see per-platform notes below | | wakewordModel | hey_jarvis | built-in name, URL, or local .onnx path | | wakewordThreshold | 0.5 | detection sensitivity (0–1) | | silenceThreshold / silenceMs | 300 / 800 | end-of-speech (VAD) | | minRecordMs / maxRecordMs | 800 / 8000 | recording bounds |

Built-in wake words: hey_jarvis, alexa, hey_mycroft, hey_rhasspy.

Audio devices per platform

  • Linux (alsa): micDevice/speakerDevice = ALSA names, e.g. plughw:2,0. List with arecord -l / aplay -l (the plug prefix lets ALSA resample so 16 kHz capture works on any card).
  • Windows (ffmpeg): micDevice = the DirectShow device name, e.g. Microphone (Poly Sync 20). List with ffmpeg -hide_banner -list_devices true -f dshow -i dummy. Playback uses the default output (speakerDevice is ignored via ffplay).
  • macOS (ffmpeg): micDevice = the avfoundation audio index, e.g. 0. List with ffmpeg -hide_banner -f avfoundation -list_devices true -i "".

Run as a service (systemd)

The satellite already retries registration and re-registers automatically if the adapter restarts, so systemd only needs to keep the process alive.

First verify everything is present (Node, systemd, root, audio tools, live mic-in / speaker-out test, config) — install runs these automatically and aborts on failure:

node build/cli.js check config.json     # dry-run of the same checks

Then install itself as a service (Linux, needs sudo):

# from a clone (build first), pointing at your config:
npm run build
sudo node build/cli.js install config.json      # add --force to install despite check failures
# …or, after `npm i -g @iobroker/assistant-satellite`:
sudo assistant-satellite install /path/to/config.json

install writes /etc/systemd/system/assistant-satellite.service (running as your user, in the audio group, with absolute paths to node, cli.js and the config), then daemon-reload + enable --now. Manage it with:

journalctl -u assistant-satellite -f          # logs
sudo systemctl restart assistant-satellite
sudo node build/cli.js uninstall              # stop + remove  (or: sudo assistant-satellite uninstall)
[Unit]
Description=ioBroker assistant satellite
After=network-online.target sound.target
Wants=network-online.target

[Service]
WorkingDirectory=/opt/assistant-satellite
ExecStart=/usr/bin/node /opt/assistant-satellite/build/cli.js /opt/assistant-satellite/config.json
Restart=always
RestartSec=5
User=iob
SupplementaryGroups=audio

[Install]
WantedBy=multi-user.target

Status

Early scaffold. The audio/UDP/registration/playback pipeline follows the working Hannah satellite; the OpenWakeWord inference (src/wakeword.ts) is a from-scratch Node port and its frame math / threshold should be validated on the target device.

Changelog

0.1.7 (2026-07-10)

  • (@GermanBluefox) Detect mute state

0.1.5 (2026-07-06)

  • (@GermanBluefox) Implemented the follow-up dialog possibility

0.1.4 (2026-07-05)

  • (@GermanBluefox) Added local listener option

0.1.3 (2026-07-05)

  • (@GermanBluefox) Added Wake-word probe

0.0.4 (2026-07-05)

  • (@GermanBluefox) Barge-in: if the wake word fires while the reply is playing, stop playback and listen again.

0.0.2 (2026-07-05)

  • (@GermanBluefox) Initial commit

License

MIT License

Copyright (c) 2026 Denis Haev [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.