Skip to content

Releases

v0.5.1 — Multi-Room Wake Sovereignty, Calibration & Fleet Hardening

Choose a tag to compare

@yes999zc yes999zc released this 02 Dec 18:08

What's Changed (v0.5.1)

  • Multi-room wake sovereignty arbitration:
    • Gate idle passive NearEndPresence on proactive_asr_wake || active_voice_window and propagate passive_wake_capable across fleet wake exchanges (safely downgrading legacy v0.5.0 unverified passive replies so idle rooms never veto active KWS wakes).
    • Prevent passive session_sticky claims from stealing or suppressing active KWS loudness separation in both homogeneous and mixed-profile (LX06 + Dot2) rounds.
    • Clear passive_presence on mic_asr_skipped instead of refreshing it, eliminate peak timestamp ratcheting and sticky clipped clobbering, and compare margin_db against the loudness runner-up.
  • Calibration & Web Console:
    • Updated tools/calibrate_mic_offset.py to read pre-offset keyword_source.rms_dbfs with time-window/unit isolation, URL encoding, and CI test wiring.
    • Enhanced ArbitrationCard.vue to display per-claim room, dBFS, and active/passive badge; updated bilingual arbitration copy and READMEs with Xiao Rui Desktop Pet showcase.
  • Fleet security hardening: Added HTTP input bounds on /api/v0/fleet/* endpoints and bounded Arbiter.recent_foreign to 64 devices.

Docker Image (Multi-Arch linux/arm64 + linux/amd64)

docker pull ghcr.io/yes999zc/home-mate:v0.5.1
# or :latest

Companion Releases

v0.5.0 — 4-Repo Ecosystem Release: DisplayImage Screen-Cast, ESP32-S3 Gateway, WakeNet9 & Music-Wake Hardening

Choose a tag to compare

@yes999zc yes999zc released this 02 Dec 14:49

Home Mate Core v0.5.0 (Major 4-Repository Ecosystem Release)

Companion releases across the unified 4-repository Home Mate ecosystem:

Highlights / 核心更新

  • Capability-Gated DisplayImage / DismissImage Screen-Cast + Console UI: New Northbound v2 display frames, HTTP API (POST/DELETE /api/v0/devices/{id}/display/image), and Vue 3 Web Console DisplayImageCard.vue for pushing validated PNG & Baseline JPEG (SOF0) previews directly to ESP32-S3 screens — with decompression-bomb, stuffed 0xFF 0x00 before SOS, Progressive SOF2, dimension/duration boundary, multi-device isolation, and lan_gateway_exempt guards.
  • Native ESP32-S3 WakeNet9 Admission & ASR Slicing: Admits fixed ESP-SR WakeNet9 keywords from home-mate-gateway-esp32 and propagates them into effective_wake_words_for for 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 Gateway v0.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

Choose a tag to compare

@yes999zc yes999zc released this 02 Dec 07:04

Home Mate Core v0.4.1

Companion releases:

Highlights / 核心更新

  • Continuous Full-Duplex RES Uplink: Pairs with Linux Gateway v0.1.1 STFT-ERB Residual Echo Suppression (echo_gated: Some(false) during healthy playback) and removes gate_preroll, eliminating the GateSilence FIFO speech-deletion bug during mid-playback barge-in.
  • 240 ms Bounded Upstream Audio FIFO: Tightens MAX_UPSTREAM_SAMPLES from 1.6 s (25600) to 240 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 legacy echo_gated: None gateways) on actual device playback completion (hub_live.voice: true -> false) instead of premature cloud AssistantAudioDone.
  • Fail-Closed Safety Preserved: Degraded/unverified echo paths (echo_gated: Some(true) or echo_health == "degraded") still send GateSilence and immediately resume on recovery.

Home Mate Core v0.4.0 — Full-Duplex S2S Realtime Chat & Cerebellum Bridge

Choose a tag to compare

@yes999zc yes999zc released this 02 Dec 02:59

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.
  • 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-core with clean S2S→music handoff (media_started).
  • 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.
  • Live Duplex Truth, LED Sync & Clean Logs:
    • New read-only tool system.duplex_reading (honestly reports DUPLEX_NOT_REPORTED before ModeReport), unified push_assistant_state across all S2S transitions so speaker LEDs & Android uplink stay synced with hardware PlayFinished, and s2s_session_closed echo telemetry.
  • 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 in DuplexCard.vue (100% bilingual ZH/EN).

Companion Releases / 配套大版本

Home Mate Core v0.3.6

Choose a tag to compare

@yes999zc yes999zc released this 01 Dec 06:06

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_delivery inventory, 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.
  • Speaker /run tmpfs Root-Cause Protection & Non-Panicking Logging:
    • Replaced default panicking tracing-subscriber stdout writer with LossyWriter (gracefully drops log lines on ENOSPC/EPIPE instead of panicking Tokio tasks).
    • Disabled ANSI escape bloat on non-TTY log files.
    • Added a native OTA-delivered emOS /run tmpfs housekeeper (capped in-place O_TRUNC preserving O_APPEND FDs for net.log*, hm-core.log, hm-direct.log, plus stale loopback probe .pcm cleanup).
    • Cleaned up /run/hm-loop/*.pcm tracks immediately in LoopbackProbeGuard::drop and hardened deploy/speaker/hm-core-supervisor.sh (busybox df -k, SUP_PID orphan guard).
  • Backward-Compatible Legacy Session Upgrade Fix:
    • Accepted pre-PR-#288 4-tuple execution_sessions.authority rows and lazily upgraded them in-place to 5-tuples when data_epoch matches, preventing HTTP 409 context scope changed / silent wakes after upgrading existing devices from v0.3.0 to v0.3.5+ (keeping lan_exempt anonymous chat strictly fail-closed).

Docker Images (Multi-Arch linux/arm64 + linux/amd64)

  • ghcr.io/yes999zc/home-mate:v0.3.6
  • ghcr.io/yes999zc/home-mate:latest

Companion Releases

  • Home Mate Linux Hardware Gateway: v0.0.57
  • Home Mate Android Terminal: v2.3.19

Home Mate Core v0.3.5

Choose a tag to compare

@yes999zc yes999zc released this 28 Nov 01:42

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_generation against active_values.kws_generation (never block_generation), and preserves DeviceSlot.active_kws_generation across subsequent Persisted / Failed config redeploys so wake-word generations never collide or regress.
  • Unified Streaming TTS Framing & Bounded Backpressure(统一流式 TTS 分帧与无锁有界背压):
    • Hardened wav_pcm() to strictly validate linear PCM16 (format=1, bits=16, frame-aligned data with checked chunk traversal across JUNK/LIST), added pcm_duration_ms and portable downmix_pcm16_to_mono, and removed busy-loop yield_now().
    • Unified STREAM_PCM_CHUNK_BYTES = 8192 framing 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.
  • Thanks to @PuerJJJ for 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 -d

v0.3.4 — Security Hardening, Gateway DoS Caps & Version Sync

Choose a tag to compare

@yes999zc yes999zc released this 27 Nov 06:30

Highlights

  • Security Hardening (lan_gateway_exempt & Tool Layer):
    • Removed /api/v0/voice/events, /api/v0/tasks, and /api/v0/memories from 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-credentialed Query OpenAPI / OpenSocket calls, stripped confirmation requesters, and gated memory / working-memory / user-profile tools under lan_exempt.
  • Gateway DoS Protection:
    • Capped concurrent TCP gateway connections at 32 (DeviceHub::listen), capped devices per Hello frame at 8 (too_many_devices), pinned loopback audio pump queues against 64-queue eviction, and pruned offline non-reserved LAN device slots on disconnect.
  • Version Sync: hm-core workspace version now reports 0.3.4 in /api/v0/status (previously 0.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

v0.3.3 — Built-In Silero VAD Docker, English ASR & Wake Words, Linux Provisioning

Choose a tag to compare

@yes999zc yes999zc released this 27 Nov 06:00

Highlights

  • Out-of-the-Box Docker Compose & Built-In Silero VAD v4: docker-compose.yml now pulls ghcr.io/yes999zc/home-mate:latest directly (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.onnx so NAS deployments run neural VAD immediately on cold start.
  • Overseas English ASR & Wake Words: OpenaiAsr now omits language by default for automatic Whisper/Groq/SenseVoice language detection (with an optional Auto / zh / en selector 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 browser navigator.language auto-detection for first-time Web Console visitors, and cleared transient token state on logout.
  • Cross-Platform Linux Dot 2 Provisioning: tools/hm-provision.sh now detects host LAN IP on both macOS and Linux (with --host-ip override) 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

v0.3.2 — Licensing Compliance, Privacy Scrub & Legal Notices

Choose a tag to compare

@yes999zc yes999zc released this 27 Nov 05:36

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 recognizes AGPL-3.0, and added LICENSING.md documenting the Northbound v2 protocol exception and commercial dual-licensing.
  • Complete Third-Party Notices & Container Packaging: Updated THIRD_PARTY_NOTICES.md against lockfiles and bundled LICENSE, LICENSE-PROTOCOL-APACHE-2.0, LICENSING.md, and THIRD_PARTY_NOTICES.md into /usr/share/doc/home-mate/ inside the multi-arch Docker image.
  • Privacy & Public Repo Scrub: Removed legacy pre-Docker v0.1.0/v0.2.0 tarballs, 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

v0.3.1 — Multi-Arch Docker (v0.3.x Core), Fixed ASR/TTS Dropdowns & Echo Dot 2 Onboarding

Choose a tag to compare

@yes999zc yes999zc released this 27 Nov 04:36

Highlights (v0.3.1)

  • Fresh Multi-Arch Docker Image (linux/amd64 + linux/arm64): ghcr.io/yes999zc/home-mate:v0.3.1 and :latest (sha256:c4a6ffde...) now ship the complete v0.3.x Rust 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 provider fields 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 legacy openai_compat), plus contextual /v1 base_url hints to prevent unknown provider and HTTP 404 setup errors.
  • Echo Dot 2 Public Onboarding & Zero-to-Talking Mind-Map: Fixed public gateway path resolution in tools/hm-provision.sh and tools/build_bootstrap.py (with --allow-empty-wake-acks for first-node provisioning), added upstream wilbowes/EchoMuse emOS + firebreak instructions, and added a bilingual Zero-to-Talking Device Mind-Map + First-Time Console Setup guide in README.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:latest

Companion Repositories