Repository navigation
Releases
Releases · yes999zc/home-mate
v0.5.1 — Multi-Room Wake Sovereignty, Calibration & Fleet Hardening
What's Changed (v0.5.1)
- Multi-room wake sovereignty arbitration:
- Gate idle passive
NearEndPresenceonproactive_asr_wake || active_voice_windowand propagatepassive_wake_capableacross fleet wake exchanges (safely downgrading legacyv0.5.0unverified passive replies so idle rooms never veto active KWS wakes). - Prevent passive
session_stickyclaims from stealing or suppressing active KWS loudness separation in both homogeneous and mixed-profile (LX06+Dot2) rounds. - Clear
passive_presenceonmic_asr_skippedinstead of refreshing it, eliminate peak timestamp ratcheting and stickyclippedclobbering, and comparemargin_dbagainst the loudness runner-up.
- Gate idle passive
- Calibration & Web Console:
- Updated
tools/calibrate_mic_offset.pyto read pre-offsetkeyword_source.rms_dbfswith time-window/unit isolation, URL encoding, and CI test wiring. - Enhanced
ArbitrationCard.vueto display per-claim room,dBFS, and active/passive badge; updated bilingual arbitration copy and READMEs with Xiao Rui Desktop Pet showcase.
- Updated
- Fleet security hardening: Added HTTP input bounds on
/api/v0/fleet/*endpoints and boundedArbiter.recent_foreignto 64 devices.
Docker Image (Multi-Arch linux/arm64 + linux/amd64)
docker pull ghcr.io/yes999zc/home-mate:v0.5.1
# or :latestCompanion Releases
- Linux Gateway:
yes999zc/home-mate-gateway-linuxv0.2.1 - Android Gateway:
yes999zc/home-mate-gateway-androidv2.5.0 - ESP32-S3 Gateway:
yes999zc/home-mate-gateway-esp32v0.1.1
v0.5.0 — 4-Repo Ecosystem Release: DisplayImage Screen-Cast, ESP32-S3 Gateway, WakeNet9 & Music-Wake Hardening
Home Mate Core v0.5.0 (Major 4-Repository Ecosystem Release)
Companion releases across the unified 4-repository Home Mate ecosystem:
- Linux Device Gateway:
yes999zc/home-mate-gateway-linux v0.2.0(Issue #13 music-wake & exit root-cause fixes + dual-output STFT-ERB RES) - ESP32-S3 Device Gateway (NEW!):
yes999zc/home-mate-gateway-esp32 v0.1.0(ESP-IDF 6.1 · CHD 3.5" Paper-and-Ink Full-Duplex S2S +DisplayImage, CubeBox 1.54", Headless) - Android Universal Gateway:
yes999zc/home-mate-gateway-android v2.4.0(Full-Duplex S2S echo gate + Xiao Rui Pixel Desktop Pet) - Multi-Arch Docker Image:
ghcr.io/yes999zc/home-mate:v0.5.0&ghcr.io/yes999zc/home-mate:latest(linux/arm64+linux/amd64)
Highlights / 核心更新
- Capability-Gated
DisplayImage/DismissImageScreen-Cast + Console UI: New Northbound v2 display frames, HTTP API (POST/DELETE /api/v0/devices/{id}/display/image), and Vue 3 Web ConsoleDisplayImageCard.vuefor pushing validated PNG & Baseline JPEG (SOF0) previews directly to ESP32-S3 screens — with decompression-bomb, stuffed0xFF 0x00before SOS, ProgressiveSOF2, dimension/duration boundary, multi-device isolation, andlan_gateway_exemptguards. - Native ESP32-S3 WakeNet9 Admission & ASR Slicing: Admits fixed ESP-SR WakeNet9 keywords from
home-mate-gateway-esp32and propagates them intoeffective_wake_words_forfor accurate bare-wake slicing, prefix stripping, and music-playback wake confirmation. - Music-Playback Wake Hardening (Issue #13): Refined media cue overlap in
hm-core v0.5.0, paired with Linux Gatewayv0.2.0(dual-output STFT-ERB RES during half-duplex music playback, LX06 high-band consonant preservation, silent-ref watchdog, and instant media-only local exit). - Full-Duplex S2S Continuous Uplink Preserved: Retains 240 ms bounded upstream FIFO, continuous STFT-ERB RES uplink, real playback-completion guard timing, and single-tool cerebellum bridging (
dispatch_home_command).
v0.4.1 — Continuous RES Full-Duplex Uplink & 240 ms Bounded FIFO
Home Mate Core v0.4.1
Companion releases:
- Linux Device Gateway:
yes999zc/home-mate-gateway-linux v0.1.1 - Android Gateway:
yes999zc/home-mate-gateway-android v2.4.0 - Multi-Arch Docker Image:
ghcr.io/yes999zc/home-mate:v0.4.1&ghcr.io/yes999zc/home-mate:latest(linux/arm64+linux/amd64)
Highlights / 核心更新
- Continuous Full-Duplex RES Uplink: Pairs with Linux Gateway
v0.1.1STFT-ERB Residual Echo Suppression (echo_gated: Some(false)during healthy playback) and removesgate_preroll, eliminating theGateSilenceFIFO speech-deletion bug during mid-playback barge-in. - 240 ms Bounded Upstream Audio FIFO: Tightens
MAX_UPSTREAM_SAMPLESfrom1.6 s(25600) to240 ms(3840) in both Volcengine Seeduplex and OpenAI-Realtime-compatible local sessions for snappy realtime interruption. - Accurate Post-Playback Guard Timing: Arms
playback_guard_until_ms(for legacyecho_gated: Nonegateways) on actual device playback completion (hub_live.voice: true -> false) instead of premature cloudAssistantAudioDone. - Fail-Closed Safety Preserved: Degraded/unverified echo paths (
echo_gated: Some(true)orecho_health == "degraded") still sendGateSilenceand immediately resume on recovery.
Home Mate Core v0.4.0 — Full-Duplex S2S Realtime Chat & Cerebellum Bridge
Home Mate Core v0.4.0 (Major Release) · 大版本发布
Highlights / 核心更新
- On-Demand Full-Duplex S2S Realtime Chat Mode (
src/voice/s2s.rs,src/realtime/):- Everyday default remains stable half-duplex (
hm-core+ local KWS + Master Brain). Say "开启聊天模式" / "开启全双工" (or toggle in Web Console / Android) to enter continuous full-duplex realtime voice chat. - Native support for Volcengine Doubao Realtime Voice 3.0 (Seeduplex
1.2.6.1) and OpenAI-Realtime-compatible local servers, with optional dedicated API key or automatic TTS key fallback.
- Everyday default remains stable half-duplex (
- Single-Tool Cerebellum Bridge (
dispatch_home_command):- Full-duplex S2S delegates smart-home control (Home Assistant), music playback, reminders, weather, time, and Master Brain tasks straight back into
hm-corewith clean S2S→music handoff (media_started).
- Full-duplex S2S delegates smart-home control (Home Assistant), music playback, reminders, weather, time, and Master Brain tasks straight back into
- Cross-Platform Hardware-Reference Echo Gate (
audio_chunk.echo_gated) + 160 ms Pre-Roll:- Verified ~18–19 ms mid-playback barge-in with zero self-hearing across Echo Dot 2, Xiaomi LX06 256 MB, and Android (
v0.1.0/v2.4.0), plus 2-block (160 ms) double-talk pre-roll so the first syllable of barge-in is never clipped.
- Verified ~18–19 ms mid-playback barge-in with zero self-hearing across Echo Dot 2, Xiaomi LX06 256 MB, and Android (
- Live Duplex Truth, LED Sync & Clean Logs:
- New read-only tool
system.duplex_reading(honestly reportsDUPLEX_NOT_REPORTEDbeforeModeReport), unifiedpush_assistant_stateacross all S2S transitions so speaker LEDs & Android uplink stay synced with hardwarePlayFinished, ands2s_session_closedecho telemetry.
- New read-only tool
- Web Console (
web/):- Added Realtime S2S configuration card in Services and an optional S2S onboarding card in Setup (
SetupPage.vue), plus live S2S status & controls inDuplexCard.vue(100% bilingual ZH/EN).
- Added Realtime S2S configuration card in Services and an optional S2S onboarding card in Setup (
Companion Releases / 配套大版本
- Docker Image (Multi-Arch
linux/amd64+linux/arm64):ghcr.io/yes999zc/home-mate:v0.4.0(and:latest) - Linux Hardware Gateway:
yes999zc/home-mate-gateway-linuxv0.1.0 - Android Universal APK:
yes999zc/home-mate-gateway-androidv2.4.0 - Official Website: https://mymate.homes
Home Mate Core v0.3.6
What's New in v0.3.6
- Web Console Audio Processing Bypass Switch ("Original Passthrough" / 「原音直通」, closes #11):
- Added
curve: "off"to/api/v0/config/audio,config_deliveryinventory, and the Sound style / 声音风格 card in the Web Console (ToneCard.vue, bilingual zh/en). - Toggling Audio processing (voicing & EQ) / 音频处理(校音与均衡) OFF sends
curve: "off"to Linux gateways (v0.0.57+), completely bypassing EchoMuse voicing, 10-band EQ, multi-band compressors, and limiter for pure original-sound playback (especially great for LX06 / larger speakers), while preserving your 10-band EQ sliders when toggled back ON.
- Added
- Speaker
/runtmpfs Root-Cause Protection & Non-Panicking Logging:- Replaced default panicking
tracing-subscriberstdout writer withLossyWriter(gracefully drops log lines onENOSPC/EPIPEinstead of panicking Tokio tasks). - Disabled ANSI escape bloat on non-TTY log files.
- Added a native OTA-delivered emOS
/runtmpfs housekeeper (capped in-placeO_TRUNCpreservingO_APPENDFDs fornet.log*,hm-core.log,hm-direct.log, plus stale loopback probe.pcmcleanup). - Cleaned up
/run/hm-loop/*.pcmtracks immediately inLoopbackProbeGuard::dropand hardeneddeploy/speaker/hm-core-supervisor.sh(busybox df -k,SUP_PIDorphan guard).
- Replaced default panicking
- Backward-Compatible Legacy Session Upgrade Fix:
- Accepted pre-PR-#288 4-tuple
execution_sessions.authorityrows and lazily upgraded them in-place to 5-tuples whendata_epochmatches, preventingHTTP 409 context scope changed/ silent wakes after upgrading existing devices fromv0.3.0tov0.3.5+(keepinglan_exemptanonymous chat strictly fail-closed).
- Accepted pre-PR-#288 4-tuple
Docker Images (Multi-Arch linux/arm64 + linux/amd64)
ghcr.io/yes999zc/home-mate:v0.3.6ghcr.io/yes999zc/home-mate:latest
Companion Releases
Home Mate Core v0.3.5
Home Mate Core v0.3.5
Multi-Arch Docker Image: ghcr.io/yes999zc/home-mate:v0.3.5 & :latest (linux/arm64 + linux/amd64, manifest digest sha256:4e6734df8951da2a910a629b8427123f5aaab765c42afbc3ad4080f63bd18e28)
Companion Releases: Linux Hardware Gateway v0.0.56 · Android APK v2.3.19
Highlights / 主要更新
- Systemic KWS Bundle Generation Fencing(KWS 唤醒词代次严格隔离与持久化保留):
- Gateway keyword reconciliation now strictly compares
Keyword.kws_generationagainstactive_values.kws_generation(neverblock_generation), and preservesDeviceSlot.active_kws_generationacross subsequentPersisted/Failedconfig redeploys so wake-word generations never collide or regress.
- Gateway keyword reconciliation now strictly compares
- Unified Streaming TTS Framing & Bounded Backpressure(统一流式 TTS 分帧与无锁有界背压):
- Hardened
wav_pcm()to strictly validate linear PCM16 (format=1,bits=16, frame-aligneddatawith checked chunk traversal acrossJUNK/LIST), addedpcm_duration_msand portabledownmix_pcm16_to_mono, and removed busy-loopyield_now(). - Unified
STREAM_PCM_CHUNK_BYTES = 8192framing across all streaming and fallback TTS providers in the voice forwarder, backed by genuine lock-free bounded pacing (DeviceHub::play_chunk_paced/OutboundSender::send_tier_paced) to eliminate audio dropouts on constrained LAN/Tailscale links.
- Hardened
- Thanks to
@PuerJJJfor spotting the KWS generation and TTS framing issues!
Quick Start (NAS / Home Server Docker)
curl -fLO https://github.com/yes999zc/home-mate/releases/download/v0.3.5/docker-compose.yml
docker compose pull && docker compose up -dv0.3.4 — Security Hardening, Gateway DoS Caps & Version Sync
Highlights
- Security Hardening (
lan_gateway_exempt& Tool Layer):- Removed
/api/v0/voice/events,/api/v0/tasks, and/api/v0/memoriesfrom unauthenticated LAN exemption (now require admin Bearer auth). - Restricted unauthenticated LAN session access to non-loopback
dev:sessions only (blocking admin Web Console sessions) and filtered loopback-protected speakers from/api/v0/voice/log,/api/v0/devices, and/api/v0/reminders. - Blocked
Destructive,Mutate, and Vault-credentialedQueryOpenAPI / OpenSocket calls, stripped confirmation requesters, and gated memory / working-memory / user-profile tools underlan_exempt.
- Removed
- Gateway DoS Protection:
- Capped concurrent TCP gateway connections at
32(DeviceHub::listen), capped devices perHelloframe at8(too_many_devices), pinned loopback audio pump queues against 64-queue eviction, and pruned offline non-reserved LAN device slots on disconnect.
- Capped concurrent TCP gateway connections at
- Version Sync:
hm-coreworkspace version now reports0.3.4in/api/v0/status(previously0.0.1).
Multi-Arch Docker Image
mkdir -p ./data && sudo chown -R 1000:1001 ./data
docker compose up -d
# Image: ghcr.io/yes999zc/home-mate:v0.3.4 (and :latest, linux/arm64 + linux/amd64)Companion Repositories
- Linux Device Gateway (Dot 2 + Xiaomi LX06): yes999zc/home-mate-gateway-linux v0.0.55
- Android Universal Client & Gateway: yes999zc/home-mate-gateway-android v2.3.18
v0.3.3 — Built-In Silero VAD Docker, English ASR & Wake Words, Linux Provisioning
Highlights
- Out-of-the-Box Docker Compose & Built-In Silero VAD v4:
docker-compose.ymlnow pullsghcr.io/yes999zc/home-mate:latestdirectly (no local Rust/Node compilation); the multi-arch container image pre-bundles the SHA-256 verified MIT-licensed Silero VAD v4 model at/app/models/silero_vad.onnxso NAS deployments run neural VAD immediately on cold start. - Overseas English ASR & Wake Words:
OpenaiAsrnow omitslanguageby default for automatic Whisper/Groq/SenseVoice language detection (with an optionalAuto / zh / enselector in Web Console -> Services). English wake words such as--wake-word "Hey Mate"now auto-spell to valid bilingual Zipformer ARPAbet tokens (HH EY1 M EY1 T @Hey_Mate) and work end-to-end. - Setup Wizard & Console Fixes: Fixed default LLM model (
deepseek-chat+https://api.deepseek.com/v1), added browsernavigator.languageauto-detection for first-time Web Console visitors, and cleared transient token state on logout. - Cross-Platform Linux Dot 2 Provisioning:
tools/hm-provision.shnow detects host LAN IP on both macOS and Linux (with--host-ipoverride) and supports Linux/dev/ttyACM*USB serial devices.
Multi-Arch Docker Image
mkdir -p ./data && sudo chown -R 1000:1001 ./data
docker compose up -d
# Image: ghcr.io/yes999zc/home-mate:v0.3.3 (and :latest, linux/arm64 + linux/amd64)Companion Repositories
- Linux Device Gateway (Dot 2 + Xiaomi LX06): yes999zc/home-mate-gateway-linux v0.0.54
- Android Universal Client & Gateway: yes999zc/home-mate-gateway-android v2.3.16
v0.3.2 — Licensing Compliance, Privacy Scrub & Legal Notices
Highlights
- Verbatim Open-Source Licenses: Restored full verbatim GNU AGPL-3.0 (
LICENSE) and Apache-2.0 (LICENSE-PROTOCOL-APACHE-2.0) across all three Home Mate repositories so GitHub accurately recognizesAGPL-3.0, and addedLICENSING.mddocumenting the Northbound v2 protocol exception and commercial dual-licensing. - Complete Third-Party Notices & Container Packaging: Updated
THIRD_PARTY_NOTICES.mdagainst lockfiles and bundledLICENSE,LICENSE-PROTOCOL-APACHE-2.0,LICENSING.md, andTHIRD_PARTY_NOTICES.mdinto/usr/share/doc/home-mate/inside the multi-arch Docker image. - Privacy & Public Repo Scrub: Removed legacy pre-Docker
v0.1.0/v0.2.0tarballs, scrubbed internal development identifiers/IPs from binaries, tests, scripts, and public docs, and fixed broken external ONNX Runtime links.
Multi-Arch Docker Image
docker pull ghcr.io/yes999zc/home-mate:v0.3.2
# or :latest (linux/arm64 + linux/amd64)Companion Repositories
- Linux Device Gateway (Dot 2 + Xiaomi LX06): yes999zc/home-mate-gateway-linux v0.0.54
- Android Universal Client & Gateway: yes999zc/home-mate-gateway-android v2.3.16
v0.3.1 — Multi-Arch Docker (v0.3.x Core), Fixed ASR/TTS Dropdowns & Echo Dot 2 Onboarding
Highlights (v0.3.1)
- Fresh Multi-Arch Docker Image (
linux/amd64+linux/arm64):ghcr.io/yes999zc/home-mate:v0.3.1and:latest(sha256:c4a6ffde...) now ship the completev0.3.xRust monolith + updated Vue 3 console (multi-gateway isolation, LAN-native Hi-Fi / WAN adaptive audio, streaming TTS preemption, default retreat words, and zero-bridge direct Hermes Master Brain). - Console ASR/TTS UX Fix (from #5): Replaced free-text
providerfields on the Services page (ProviderCard.vue) and Setup Wizard (WizardServiceCard.vue) with strict dropdowns for ASR (openai-asr,mock) and TTS (volc,omni,mock, preserving legacyopenai_compat), plus contextual/v1base_urlhints to preventunknown providerandHTTP 404setup errors. - Echo Dot 2 Public Onboarding & Zero-to-Talking Mind-Map: Fixed public gateway path resolution in
tools/hm-provision.shandtools/build_bootstrap.py(with--allow-empty-wake-acksfor first-node provisioning), added upstreamwilbowes/EchoMuseemOS+firebreakinstructions, and added a bilingual Zero-to-Talking Device Mind-Map + First-Time Console Setup guide inREADME.md/README.zh-CN.md.
Docker Pull (linux/amd64 & linux/arm64)
docker pull ghcr.io/yes999zc/home-mate:v0.3.1
# or
docker pull ghcr.io/yes999zc/home-mate:latestCompanion Repositories
- Linux Device Gateway (Dot 2 + LX06 256 MB / 128 MB Thin & Standalone Pure-ASR): yes999zc/home-mate-gateway-linux v0.0.54
- Android Universal APK (Displays / 86 Panels / Tablets / Phones): yes999zc/home-mate-gateway-android v2.3.16