Feature request: optionally save wake-trigger audio to help improve wake-word accuracy
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- audio-video-rtc, machine-learning, mobile
Hướng nghiên cứu
Start by reviewing the Android 1.0.6 baseline and the candidate’s source patch, then trace how the existing microphone stream reaches wake-word detection and how authenticated Home Assistant management operations are handled. The first acceptance check is a consented physical wake on a Portal; done means retrieving a clip that audibly contains the full trigger phrase, with model and score metadata, while confirming normal recognition and settings are preserved. The candidate is not attached, and its device behavior and compatible signed update and recovery path remain unverified.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What I’d like
An opt-in way to save the short audio clip that caused a wake-word activation, including the wake phrase itself, rather than only the command spoken afterward.
I’d like to review both correct and false activations and use those examples to improve a custom wake-word model.
Why this would help
When a panel wakes unexpectedly, the useful evidence is the sound that triggered it. Saving only the subsequent command misses that evidence.
Ideally, each clip would contain enough audio before detection to hear the full trigger, alongside the model and detection score. Clips should remain unlabelled until a person reviews them; recording should not automatically start training.
Proposed behaviour
- Collection is explicitly enabled and can be stopped.
- Each activation saves a short clip containing the sound that triggered it.
- Clips can be retrieved and reviewed through authenticated controls.
- No continuous audio archive or second microphone service is created.
- Existing settings and normal voice-assistant behaviour are preserved.
- Stopping collection does not delete previously saved clips.
Prototype available
The proposed build was built by Astra 6.0, my AI coding assistant, and this feature request was written by Astra 6.0, at my request.
The candidate saves the existing microphone stream’s three-second window ending at the detector hit. It stores an app-private original with event, model, build, score and cutoff metadata, and provides collection and review controls through existing authenticated Home Assistant management operations.
Collection stops when its grant expires or the app restarts, without deleting saved originals. There is no automatic labelling, transcription or training.
The candidate builds successfully, but it is unsigned, has not been installed on a Portal, and has not been physically proved to capture a complete wake phrase. It also includes listening-cue and rearm changes; wake-trigger retention is the immediate requested outcome.
Exact candidate and build details
- Official source baseline: Panel Assistant Android 1.0.6, commit
3a466f7c3704ed180760272752d7e686b4f8f0d9 - Source patch SHA-256:
4d4a203475d6f904ca0dafbb8520ba153bc88d5a6a3db6835757e025a855f6d3 - Unsigned APK SHA-256:
fdd6b29c49f1f55817444b2617128d7c3dabfd12d4225bc949b348c5c6b109b5 - Android package:
io.panelassistant.android - Version code:
2841 - Build verification: Full Android assembly succeeded. Release lint was excluded.
- Device verification: Not installed or physically qualified.
The source patch and synthetic verification evidence can be supplied for review. These checks do not establish real-device behaviour.
Installation and recovery
I want to test this without losing the existing installation’s settings, room/Home Assistant identity or private recordings.
The documented own-key backup/uninstall/reinstall route has not been qualified for this use. The source review found that some restoration depends on an Android-ID-derived identity that can change with the signing key, discovery identity is not restored, and ordinary backups do not include the candidate’s private trigger recordings.
For that reason, I’m asking about a compatible signed update and recovery path rather than assuming a backup makes reinstalling safe. Version-code, helper, protocol and database compatibility would need to be established; installing an older APK is not assumed to provide recovery.
What I’m asking
Would you consider supporting this feature? If there is already a supported way to retain the actual trigger audio, I’d appreciate guidance.
If the prototype is useful, would you review it and advise on an official-compatible signed test build and a compatible same-signer recovery build or path? I’m not asking for access to your signing key.
The first acceptance check would be a consented physical wake on a Portal, followed by retrieving a recording that audibly contains the actual trigger phrase—not just the command afterward—along with checks that existing recognition and settings are preserved.
No household audio, transcripts, credentials, private device identifiers, runtime logs or private manifests are included here. No source patch or APK is attached.
- Ngôn ngữ chính
- Kotlin
- Star
- 63
- Fork
- 5
- Merge trung bình
- 1 ngày 5 giờ
- Pull request đã merge (30 ngày)
- 11
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của panel-assistant/android
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
panel-assistant/android#224 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
NSPanel Pro 86P - unknown zigbee gatewayCó thể đã có người làm @maxlyth đã nhận 2 ngày trước. Đang mởbug in progress
panel-assistant/android#222 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Feature Request: Local relay control in offline modeCó thể đã có người làm @maxlyth đã nhận 4 ngày trước. Đang mởbacklog enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
panel-assistant/android#220 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement in progress
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
panel-assistant/android#204 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Smatek S9E PoE issuesCó thể làm lại được @maxlyth đã nhận 34 ngày trước và không có pull request nào đang mở. Đang mởenhancement in progress
panel-assistant/android#197 · 6 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của panel-assistant/android
Issue tương tự
-
IzzyOnDroid inclusionĐang mởF-Droid FOSS question
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
d4rken-org/butler#365 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug: 删除聊天模型后错误出现快速入门界面Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
maxrave-dev/SimpMusic#2992 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
MetrolistGroup/Metrolist#5484 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Streaming repair closes ~~ with strikethrough off (streamingRepairOptions never sets strikethrough)Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
software-mansion/enriched-markdown#1265 ·
Maintainer thường phản hồi trong vòng 1 ngày