Repurposed Xbox One Kinect V2 as a local voice mic AND security camera for Home Assistant (no coding, 16 GB mini PC)
Hey all, I wanted to share a build I’ve been working on. I’ve turned an old Windows mini PC (GMKtec NucBox G10 Pro, Ryzen 5 3500U, 16 GB) into a local-first home server running Home Assistant. An old Xbox One Kinect V2 is both the room mic and the bedroom security camera.
It’s local-first: voice control, lights and camera recording all work without the internet. It’s not air-gapped (the PC is online, and my Ring doorbell is cloud-only), but the core of it runs locally. I can’t code, so this was a lot of trial, error and reading logs.
How it fits together
[VOICE]
Kinect mic ─► Windows ─► WSLg sound bridge ─► Ubuntu (WSL2): Linux-Voice-Assistant
─► hears "Okay Nabu" locally ─► streams to Home Assistant VM (ESPHome API, port 6053)
─► Speech-to-Phrase ─► automation ─► Piper reply ─► soundbar
[VIDEO]
Kinect V2 ─► KinectService ─► OBS ─► OBS Virtual Camera
─► Agent DVR (console mode, FFmpeg) ─► recordings on a 4 TB drive (kept 7 days)
▲
Home Assistant VM ───────┘ Agent DVR integration (local polling)
- Home Assistant runs as a Hyper-V VM on the same PC (4 GB).
- Voice: the official voice satellite (Linux-Voice-Assistant) is Linux-only, so it runs in Ubuntu under WSL2. The Kinect mic comes in through WSLg’s sound bridge. WSL is set to mirrored networking, so Linux shares the PC’s IP and Home Assistant can add it as an ESPHome device. Speech-to-Phrase (the offline speech engine) and Piper (voice) run as Home Assistant apps.
- Camera: OBS turns the Kinect into a virtual webcam, and Agent DVR (free for personal local use) records it. Home Assistant’s Agent DVR integration gives me the live feed plus an alarm panel.
Gotchas that cost me time
- Agent DVR couldn’t see the OBS Virtual Camera (“Could not find output pin”). Agent DVR installs as a Windows service, and most likely because services run in a separate session from your desktop, it can’t see OBS’s virtual cam. Fix: stop and disable the service, then run Agent.exe as a normal program (“console mode” in their troubleshooting docs). I also set
video_size=1920x1080andframerate=30in its FFmpeg options to match OBS. I’m not sure those are needed, since the console mode change was the real fix. - Speech-to-Phrase ignores
custom_sentencesfiles. It only learns phrases from automations with a Sentence trigger, so all my voice commands live in automations. - Running out of RAM caused crashes (my voice listener died mid-session). The BIOS was reserving 3 GB for the integrated graphics. Dropping “UMA Frame Buffer Size” to 1 GB gave back 2 GB. Add a bigger page file and turning off a pile of startup apps, and I went from 0.7 GB free to 4.6 GB.
How it’s wired
- “Okay Nabu, heading out” → arm away (Agent DVR’s Away profile)
- “Goodnight” → arm night (also dims the lamp and turns off the lights)
- “I’m home” / “good morning” → disarm
Still on the workbench
- Voice test: the camera commands work when typed into Assist, but I haven’t tested them by voice yet.
- Record only while armed: right now it records on any motion. I’m switching it to record on alerts only.
- Mic level: the Kinect works as a decent room mic but is on the quiet side. Its fancy beamforming needs Microsoft’s Kinect software, and I’m using it as a plain Windows mic. Next I’ll try the listener’s mic gain settings.
- Auto-start at boot for OBS, Agent DVR and the voice listener.
Then a 32 GB RAM upgrade. Happy to answer questions about the WSL audio or the OBS virtual camera setup.