How do you trace an unexpected alarm-mode change to its source?

A member reported that one H2 long press disarmed an alarm and was followed by Away mode turning on; their app activity attributed Away mode to the press. That record alone doesn’t establish which rule, scene, or other source caused the second change.

If this happened in your home, what would you check first? I would want an event trail that connects the input event to each matching automation or scene, shows any manual or remote mode change, and separates a command being sent from the resulting mode being confirmed. Is there a reliable way in Aqara Home today to trace a mode transition back to its exact source? If the current log falls short, which missing detail would help most?

My own setup is Home Assistant, so I can’t confirm an equivalent end-to-end trace in Aqara Home. If HA is involved in the mode change, I’d inspect the Traces view for each automation that can change that mode at the incident time. The official documentation explains how traces record the trigger, condition results, executed action path and the configuration used for that run. That only covers HA’s runs, not logic executed entirely inside Aqara.

I’d save the incident’s traces before editing anything, then compare the action timeline with the alarm entity’s reported state changes. A completed action is not, by itself, confirmation that the requested mode was reached. For Aqara’s activity view, a useful addition would be separate timestamps for the command request and the reported mode change, linked to the exact automation or scene run. I’d investigate existing records first rather than repeatedly switching a live alarm just to reproduce it.

2 Likes

I actually had a very similar issue yesterday: an LED light strip kept turning on sporadically without anyone deliberately triggering it.

When troubleshooting something like this, the first step is always to narrow down the scope.

Start by asking yourself what changed: Were there any updates? Were scenes or automations modified? If so, start digging there and temporarily disable those scenes or automations to see if the problem disappears. And, of course, check your traces and log files if they are available.

In my case, I had recently updated both Home Assistant and the LED strip’s firmware. That narrowed things down considerably, though you can never completely rule out external factors. Home Assistant’s revamped Activity Dashboard is a huge help here because it reveals what triggered an event, but unfortunately, it didn’t yield any clues this time.

If you run multiple ecosystems in parallel like I do (Apple Home, Aqara Home, and Home Assistant), you can systematically isolate where the fault lies through process of elimination:

  1. I shut down the Home Assistant server, but the problem persisted, which ruled out the Home Assistant update as the cause.
  2. I unplugged all Aqara hubs that execute automations, yet nothing changed.
  3. I disconnected the Apple Home hubs as well, but the strip still kept turning on.

That confirmed none of the smart home platforms were causing it.

At that point, the issue had to be tied directly to the LED strip’s firmware update. Naturally, I had already tried power-cycling it, but a reboot changed nothing. I had previously bought a separate hardware remote for the strip, which I kept using to switch the light back off whenever it turned on by itself. After turning it off once more, I stepped away for a moment. When I walked back into the room, the light popped on the exact second I stepped in front of the remote.

Coincidence? Not quite.

Right then, it hit me: the remote actually has a built-in motion sensor feature that had never worked previously. The firmware update had clearly fixed communication with the remote, quietly bringing the motion detection to life.

The takeaway? If you test an experimental or broken feature and it doesn’t work, disable it right away. Otherwise, it might surprise you later.

2 Likes

Great thread, and JohnD’s “zombie motion sensor” story deserves a horror movie. :ghost:
Here’s where I’d start:
Look for chain reactions. When one press triggers two changes, the usual suspect is a second automation that uses the first change as its trigger. For example: “alarm disarmed → set Away mode.” The app then credits the press, because that’s where the chain started. Search your automations for any that trigger on a security mode change.
Check for duplicate bindings. The same H2 button can be used in an Aqara automation, in Apple Home and in HA all at once. Each platform will happily run its own copy.
Isolate by platform, the way JohnD did: disable the automations in one ecosystem at a time, rather than flipping a live alarm over and over.
To answer the actual question: no, as far as I know, Aqara Home doesn’t currently give you a true causal trace like HA’s Traces view. The most useful thing to add would be a “triggered by” field on each mode change that names the automation, scene, user or platform, with timestamps for both the command sent and the mode confirmed.
And if the logs still leave you scratching your head, Aqara’s tech support can dig into the hub side: support@aqara.com. It helps to send them your hub model, firmware version and the exact time of the incident.

2 Likes