Aqara Motion Sensor E1 (RTCGQ15LM): Local Setup in Home Assistant
The Aqara Motion Sensor E1 combines PIR motion detection and an illuminance reading in a small battery-powered Zigbee device. With Zigbee2MQTT, it can report to Home Assistant through your own coordinator without an Aqara hub, Aqara Home app or Mi Home account.
This guide covers pairing, the exposed readings, detection-interval settings and a light-level condition for automations. The main distinction is between the sensor’s motion-reporting interval and Zigbee2MQTT’s software timer that clears occupancy. They are related, but changing one is not the same as changing the other.
What is the Aqara Motion Sensor E1 (RTCGQ15LM)?
The E1 identifies in Zigbee2MQTT as lumi.motion.acn001, model RTCGQ15LM. Aqara calls it 人体传感器 E1 (human-body motion sensor E1). It uses passive infrared sensing to detect movement of warm objects and includes an ambient-light sensor. It is not a stationary-presence detector: someone sitting still can stop generating motion reports.
Aqara’s specifications list Zigbee 3.0, a CR2450 battery, dimensions of 30 × 30 × 33 mm, detection up to 7 m and a maximum 170° angle. Those are placement-dependent limits rather than a guarantee of coverage throughout a room.
The P1 (RTCGQ14LM) adds adjustable motion sensitivity in Zigbee2MQTT, which the E1 definition does not expose. The FP1E and FP2 use radar for presence detection, a different job from a basic PIR sensor. Radar can detect much smaller movements, including those made by a person sitting still, but it still has coverage limits and needs suitable placement. Our Aqara P1 local setup guide covers that PIR alternative.
What you need before pairing
- A coordinator and adapter firmware supported by Zigbee2MQTT. A supported SONOFF dongle or a Home Assistant Connect adapter configured for Zigbee can serve this role; check the exact adapter against the current compatibility documentation.
- A working Zigbee2MQTT installation, MQTT broker and Home Assistant MQTT integration, with Z2M’s Home Assistant discovery enabled.
- The E1 with its battery fitted and any battery isolation tab removed.
The coordinator can be attached to the HA host or run elsewhere on the network, depending on your Z2M deployment. Do not connect ZHA and Zigbee2MQTT to the same coordinator at the same time.
This article uses Zigbee2MQTT. ZHA has Aqara device handling too, but entity availability and configuration behavior should be checked separately rather than assumed to be identical. No Aqara hub is involved in the direct Z2M path; see our broader guide to Aqara Zigbee devices in Home Assistant without a hub.
Pairing the E1 to Zigbee2MQTT
- Open the Zigbee2MQTT frontend and enable Permit join.
- Hold the E1’s reset button for about five seconds until the indicator flashes three times. Aqara documents this as reset/network enrollment, so it also clears the old network association when moving between coordinators.
- Wait for discovery and the interview to complete. Confirm
lumi.motion.acn001and the E1 model in the device details, then give it a friendly name such asmotion_hallway_e1. - Disable permit join and check motion reporting before mounting the sensor permanently.
If joining fails, move the sensor closer to the coordinator or a suitable router and retry. Check the battery, radio interference and Z2M logs as well as range; a failed join is not proof of a single cause.
The E1 is a battery end device, so it does not repeat Zigbee traffic for other devices. A stable parent and a good signal at the final location matter. Do not assume it will immediately choose a better router after you move it.
Aqara’s placement advice recommends roughly 1.2–2.1 m installation height, an unobstructed sensor face and avoiding metal mounting surfaces. Check coverage with movement across the actual entry path, not only with movement directly in front of the lens. Keep the surface clean and dry if using the adhesive or supplied stand.
What Home Assistant sees
The released Zigbee2MQTT definition exposes these properties. Home Assistant discovery may disable diagnostic entities by default, so check the device’s entity list if a reading is missing.
- Occupancy:
trueafter a motion report. Z2M later publishesfalseusing a software timeout; it is not a measurement proving the room is empty. - Illuminance: light level in lux. Treat it as a reported sample, not a continuously refreshed light meter.
- Detection interval: a configurable device setting. Z2M exposes a range of 2–65535 seconds and read/write access; verify that a chosen setting is accepted by your sensor.
- Device temperature: the temperature reported by the device, not a calibrated room-temperature measurement.
- Battery and voltage: estimated percentage and battery millivolts. A first battery report can take up to 24 hours.
- Power outage count: a device diagnostic. It should not be treated as a precise log of every battery change or a household mains-outage counter.
Occupancy and illuminance are useful for automations; battery readings help with maintenance. The E1 device reference also lists illuminance and device-temperature calibration, occupancy_timeout and no_occupancy_since as Z2M options.
Configuring the detection interval
detection_interval controls how frequently the sensor is willing to report motion. A shorter interval can improve responsiveness in a busy room, with a possible battery-life cost. It cannot turn a PIR sensor into stationary-presence sensing.
Start by reading the current value in Z2M. The converter uses a 60-second fallback for the E1’s occupancy calculation if no interval is known; that fallback is not proof of the setting stored in every device. A modest value such as 30 seconds is a reasonable starting point to evaluate, rather than a universal recommendation to use the two-second exposed minimum.
Writing and verifying a value:
- Open the device’s Exposes tab and find
detection_interval. - Prepare the desired value, briefly press the sensor’s reset button to wake it, then send the setting promptly. Do not hold the reset button and erase its pairing.
- Check for write errors. Wake it again if needed and request/read the setting back; a value displayed immediately after a write can be optimistic state rather than independent confirmation.
- Observe several real motion reports before relying on the new interval in a lighting automation.
Wake-before-write is useful for a sleeping battery device. The exact E1 reference does not document a guaranteed write window of a particular number of seconds. Avoid repeatedly sending settings to a sleeping sensor and assuming the UI value proves that the device applied them.
If using MQTT directly, the documented set payload is {"detection_interval": 30} on zigbee2mqtt/FRIENDLY_NAME/set. A read request is {"detection_interval": ""} on zigbee2mqtt/FRIENDLY_NAME/get. Replace the friendly name and base topic to match your installation.
Occupancy timeout is a separate Z2M option. The sensor reports motion without an equivalent “motion stopped” message. Z2M starts or restarts a timer on each supported motion report and clears occupancy when that timer expires. With no valid override, the current converter uses the known detection interval plus two seconds: for a known 30-second interval, 32 seconds.
The occupancy_timeout option must be at least the detection interval to take effect in that converter. An explicit 35–40 seconds with a known 30-second interval is one possible buffer. In the released implementation, a lower timeout is ignored in favor of the interval plus two seconds; it does not create the 15-second clearing gap sometimes attributed to this setting.
A Home Assistant light-off delay is another layer. Give a person enough time between detected movements, and consider a longer delay for reading, working at a desk or other quiet activities. A short PIR timeout can switch lights off while someone is present even when both the sensor and Z2M are behaving correctly.
Using illuminance in automations
A common use is to switch a light on only when motion is detected and the room is dark. This Home Assistant condition fragment accepts an illuminance value below 50 lux; adjust the threshold and replace the entity ID with yours.
condition:
- condition: numeric_state
entity_id: sensor.motion_hallway_e1_illuminance
below: 50
This is a condition, not a complete automation. Add your occupancy trigger and light action in HA. Check whether the lux sample is recent enough for the decision: motion-associated reporting is not continuous ambient-light polling, and an existing lamp can affect the next reading.
Calibration: illuminance_calibration applies a percentage offset in Z2M on the next device report. It does not change where the sensor measures the light. Leave it at zero initially, compare readings at useful times against a reference, and choose a lighting threshold that suits the sensor’s actual position. A percentage correction cannot compensate reliably for every changing shadow or window reflection.
E1 vs P1 — which should you buy?
The E1 is a compact option when you need motion and light-level reporting without adjustable sensitivity. The P1 adds low, medium and high sensitivity in Z2M. Aqara describes sensitivity primarily as a triggering-distance adjustment; it is not a promise of pet immunity. Both models expose occupancy, illuminance and a detection-interval setting.
Compare actual regional availability and pricing instead of assuming the E1 is always the current cheapest model. The P1 is a different physical design and uses two CR2450 cells, whereas the E1 uses one. See the P1 guide and the older T1 (RTCGQ12LM) guide for their own configuration details.
If the real requirement is detecting a person sitting still, consider a radar presence sensor such as the FP1E (RTCZCGQ13LM) or FP1 (RTCZCGQ11LM). Radar models differ in range, field of view, power source, protocol and interference handling; they do not have unlimited coverage or automatically eliminate every blind spot. Do not buy a P1 solely to solve the basic limitations of PIR stationary-presence detection.
Troubleshooting
Device does not appear.
Confirm permit join, the five-second reset procedure, battery contact and the model in the logs. Try closer to the coordinator or a stable router. At the final location, check communication again; avoid a metal surface or a shielded position.
Occupancy stays on longer than expected.
Inspect Z2M’s detection_interval and device-specific occupancy_timeout, then any separate HA light-off delay. Repeated motion restarts Z2M’s timer. With a known 30-second interval and no valid override, the converter clears about 32 seconds after the last report, rather than exactly 30.
Motion seems to be missed.
Watch incoming reports first. A sensor cooldown, poor signal, placement outside its field of view or a person sitting still can all explain a gap. A timeout does not make the hardware detect movement it did not report. If reports reach Z2M but the automation does not run, inspect the HA trace and conditions.
Illuminance reads zero.
A dark room can legitimately produce zero. Move through the detection area with the room illuminated and wait for a new report. Check report timestamps and logs before removing the battery or resetting a working network pairing; a battery reinsert does not itself guarantee a fresh Zigbee interview.
A firmware update is offered.
The E1’s Z2M definition supports OTA. Support does not guarantee that a newer image exists for every firmware or region. Read the offered update details and Z2M’s OTA instructions, use a healthy battery and good signal, and allow for a sleeping device to take time. Verify normal reporting afterward rather than assuming a fixed update duration.
Once pairing, coverage and the timing settings are checked, the E1 can provide local motion and illuminance inputs without an Aqara cloud service in the runtime path. The coordinator, Zigbee2MQTT, MQTT and Home Assistant still need to remain available. The factual implementation reference for these settings is the released converter code, checked with Zigbee2MQTT 2.14.3 on 1 November 2026; this guide does not claim physical testing of the sensor.
