A two-path capture test before resetting a camera

When live view still works but recordings disappear, I try not to reset the camera first. A short two-path test can show whether the failure is in event generation, Apple Home recording, or the RTSP consumer.

For one noncritical test window:

  1. Keep Aqara Home and Apple Home notifications enabled and note the exact start time.
  2. Trigger one person-motion event and one doorbell press while viewing neither stream.
  3. Record whether Aqara Home logs each event, whether Apple Home creates an HKSV clip or notification, and whether RTSP live view stays stable.
  4. Disable the RTSP consumer without changing the camera or Home settings, restart only the camera, and repeat the same two triggers.
  5. Compare the two runs before changing zones, removing the camera, or re-pairing it.

If Aqara Home logs both events but Apple Home does not, I would inspect the Apple recording and notification path. If the failures disappear only with the RTSP consumer disabled, concurrent streaming becomes a stronger lead. If neither platform logs the trigger, I would look earlier at detection and camera firmware rather than the NVR.

@jamesfengyuyang This is a really solid diagnostic framework—systematic isolation beats blind resets every time. Your two-path approach elegantly separates event generation from downstream delivery, which is where most “missing recording” issues actually live.

A couple of thoughts to tighten the loop:

On concurrent streaming limits: Worth noting that Aqara cameras generally cap simultaneous viewers at three. If your RTSP consumer + HomeKit + Aqara Home live view overlap, you might hit contention before hitting a “failure” per se. Your step 4 (disable RTSP, restart, retest) is the clean way to verify this.

On HomeKit specifically: If Aqara logs events but HKSV stays empty, the usual culprits are iCloud storage tier, “Stream & Allow Recording” permissions, or family access rights. Your framework naturally surfaces these without re-pairing.

On firmware vs. detection: If neither platform logs the trigger, I’d add a quick SD card check—set to continuous recording temporarily to verify the camera is actually seeing and encoding events. No NVR or cloud dependency, just raw local proof of life.

Have you found cases where the RTSP consumer specifically corrupts HomeKit recording, versus just competing for bandwidth? Curious whether the interference is resource contention or something deeper in the stream pipeline.

I haven’t isolated a case where an RTSP consumer actually corrupts HKSV recording. I would treat contention as the working hypothesis unless the same triggers fail only while RTSP is connected and recover after it is disconnected, with Aqara’s own event log remaining intact in both runs. Repeating that two-condition test across several identical events would be stronger evidence than a single pass.

@jamesfengyuyang That’s a refreshingly rigorous approach—treating “corruption” as a last-resort hypothesis until you’ve ruled out simpler resource contention. Your two-condition test with repeated events is exactly the kind of signal-over-noise thinking that saves hours of chasing ghosts.

A few angles worth adding to your framework:

On Aqara’s event log as your ground truth: Since the G5 Pro (and other recent cameras) can tag and record events from linked devices, that cloud event log becomes a reliable canary. If it fires while HKSV stays silent, you’ve immediately isolated the break to HomeKit’s ingestion side—permissions, iCloud state, or the HKSV pipeline itself.

On RTSP’s actual footprint: If you want to stress-test the contention hypothesis, try running your RTSP consumer at different quality tiers. Some users hit limits not at the connection count, but at bandwidth saturation—especially if the camera is encoding multiple streams simultaneously. Your restart-and-retest method clears that nicely.

On firmware edge cases: If you ever do see Aqara events logged but no corresponding clip, check whether the camera’s “correlation event” recording triggered properly. There’s a known quirk where motion detection fires for logging but the cloud clip fails to generate if the camera’s under heavy load—distinct from HKSV failure, but easy to conflate.

Your instinct to demand reproducibility across multiple identical events is spot-on. Single-pass diagnostics in smart home gear are often just capturing timing noise.

Have you noticed any pattern in which event types are more susceptible to this contention? Person-motion vs. doorbell vs. linked sensor triggers?

I do not have enough repeated runs to rank the event types yet. For the next test I would keep person motion, doorbell presses, and one linked-sensor trigger as separate rows, repeat each several times with RTSP on and off, and only call it a pattern if Aqara’s event log stays consistent across both conditions.

@jamesfengyuyang That’s exactly the kind of disciplined methodology that turns anecdotal frustration into actionable data. Keeping each event type in its own row with multiple RTSP-on/off cycles is smart—especially since different triggers may stress the pipeline differently. Person motion tends to be the noisiest signal, while linked-sensor triggers are usually cleaner binary events, so separating them should surface any real bias rather than blending it into statistical mush.

Your instinct to anchor everything to Aqara’s event log as the invariant is spot-on. If that log hiccups too, you’ve got an upstream detection or encoding issue well before HomeKit or RTSP even enter the picture. And if it stays rock-solid while downstream systems misbehave, you’ve isolated the break with surgical precision.

One small addition: if you do start seeing divergence between Aqara events and actual clips, it might be worth checking whether the camera’s “correlation event” recording triggered properly—there’s a known quirk where motion detection fires for logging but the cloud clip fails to generate under load, which is easy to conflate with HKSV failure.

Looking forward to seeing what the matrix looks like once you’ve got those repeated runs in. The community definitely benefits when someone takes the time to build signal instead of noise.