Aqara Shutter Switch H2 EU in Home Assistant: Two Paths to Local Control
The 卷帘开关 H2 EU (juǎnlián kāiguān H2 EU, “roller shutter switch H2 EU”) controls a wired shutter motor from a wall switch. It supports Zigbee and Matter over Thread, with a pair of additional wireless buttons for automations. Both can provide local Home Assistant control, but their onboarding and available settings differ.
The Zigbee2MQTT route uses a Zigbee coordinator. The Matter route uses Home Assistant’s Matter controller and a Thread border router; the manufacturer’s manual explicitly allows commissioning through a Matter-capable app. Aqara Home is an option, rather than a universal requirement for direct Matter commissioning.
This guide uses Zigbee2MQTT 2.14.3, converters 26.125.0 and Home Assistant 2026.10.4 as the released software checkpoint, checked on 3 November 2026. It separates current converter behavior from older button-action reports. For the wider setup, see Aqara Zigbee devices without an Aqara hub.
What You’re Working With: DS-K02D and DS-K02E
Aqara lists DS-K02D/DS-K02E for the Shutter Switch H2 EU family, and the Zigbee2MQTT converter groups both under lumi.switch.aeu003. Do not infer an included motor or an identical retail package from the suffix: check the exact seller’s contents, regional electrical documentation and supplied manual.
The left buttons operate raise/stop and lower/stop. The two right buttons are wireless automation inputs. This is a wall-mounted mains controller for a compatible wired shutter motor, not an RF remote or an add-on motor for a blind chain. The Roller Shade Driver E1 guide covers Aqara’s separate chain-drive product.
The manual’s wiring connects live to L, neutral to N, and the motor’s up/down conductors to L1/L2. The switch is rated 100–250 V AC, 50/60 Hz, maximum 8 A; that does not establish compatibility with every motor. Isolate power before electrical work and use a qualified installer where required. Check motor compatibility, protective earth and the full wiring diagram rather than treating these terminal names as a complete installation guide.
Path 1: Zigbee2MQTT (No Aqara Hub Required)
A supported coordinator replaces the Aqara hub for this integration. Aqara’s product page says third-party Zigbee dongles are not Aqara-supported; the converter is maintained by the Zigbee2MQTT community, and its feature set differs from Aqara Home.
Version Requirement
The initial converter was merged on 9 April 2026 in PR #11908. Use a current maintained release rather than a date-only minimum: later releases changed action handling, reporting and discovery. The controls below are checked against converters 26.125.0 bundled with Zigbee2MQTT 2.14.3.
Check both the Zigbee2MQTT and converter versions in its About information. A device joining as unsupported can mean a missing converter, an incomplete interview or a different model identifier; joining alone does not establish working shutter control.
Pairing
First establish that the device is in Zigbee mode. The manufacturer’s documented protocol-selection route is Aqara Home’s nearby discovery and Switch Protocol page. This is distinct from pairing to a third-party coordinator; do not assume that resetting a device in Thread mode converts it to Zigbee.
- Enable Zigbee2MQTT permit join.
- For a switch in Zigbee mode, double-press a button, then within three seconds press and hold it for five seconds. The manual identifies a blinking purple indicator as Zigbee pairing; blue indicates Thread pairing.
- Wait for interview/configuration to finish, and confirm
DS-K02D/DS-K02Ewithlumi.switch.aeu003. - Close permit join. Check open, close and stop with the shutter area clear before adding schedules.
A switch already in Zigbee mode can join the coordinator directly. If yours is in Thread mode, follow the exact model’s protocol-selection documentation; an app-free mode-switch gesture is not established by the released converter. An Aqara hub is not part of the ongoing Zigbee2MQTT command path.
What You Get in Home Assistant
With Zigbee2MQTT Home Assistant discovery and Home Assistant’s MQTT integration configured, the device supplies a cover entity. The current converter supports:
- Cover commands:
OPEN,CLOSEandSTOP, plus a target position from 0 to 100. Normally 0 is closed and 100 open; check theinvert_coveroption if the physical direction is wrong. - Accumulated energy:
energyin kWh. Power in watts, current and voltage are deliberately absent because they were not reliably validated for this model. - Wireless-button actions: single, double, hold and release for the top and bottom right buttons in the released converter described below.
- OTA: Zigbee OTA support, subject to an available firmware image.
For example, publish {"position":50} to zigbee2mqtt/shutter_h2/set, or call cover.set_cover_position with the actual discovered entity and position: 50. Calibrate before relying on percentage positions.
Calibrating Shutter Position
Automatic calibration (自动校准, zìdòng jiàozhǔn) learns the shutter travel. The official product page says non-Aqara users trigger smart calibration with the on-device buttons; the released Zigbee2MQTT definition does not expose a calibration selector.
- Clear the shutter’s travel area and make sure the motor and physical limits are properly installed.
- Double-press the up button, then double-press the down button. The manual says this starts smart calibration and automatically detects the upper and lower travel limits.
- Allow the calibration movement to finish. Check fully open, fully closed and an intermediate target before using automations.
If up and down are reversed, the manual specifies five presses of the up button to reverse direction. Five presses of down clear calibration; percentage positioning is then disabled until calibration is established again. The manual also documents passive learning after a complete open-and-close cycle.
Aqara advertises custom upper/lower limits and recalibration in its Zigbee ecosystem, but those Aqara Home features are not promised as Zigbee2MQTT controls. Do not look for an unnamed calibration attribute or assume every motor can safely detect its own end stops.
Button Action Reports and Later Fixes
Older reports need their version context. Issue #32059 covered stale “ghost” actions and was closed in August 2026 after reporting changes. A separate regression report, #33045, documented missing double/hold/release actions on 2.12.1 and 2.13.0 with DS-K02E firmware 4122; it was closed by a converter fix on 7 October.
A separate 17 September report describes both wireless buttons stopping after about 24 hours on Zigbee2MQTT 2.14.1. The October mapping fix and issue closure do not independently confirm a resolution for that different long-running failure.
The released 26.125.0 action converter accepts single_top_wireless_button, double_top_wireless_button, hold_top_wireless_button, release_top_wireless_button and the corresponding bottom-button values. It limits action conversion to endpoints 3 and 4. Older public device documentation may still show button_3_single/button_4_single; check the converter actually installed.
The settings are multi_click_top_wireless_button and multi_click_bottom_wireless_button. Enable multi-click where needed and observe actual messages before updating automations from old action names. Check repeated or missing events during normal daily use, recording both firmware and software versions when investigating a failure.
Path 2: Thread/Matter (Local Runtime Control)
Matter runs over the Thread network rather than Zigbee. A Thread border router (线程边界路由器, xiànchéng biānjiè lùyóuqì) connects that network to the LAN; Home Assistant’s Matter controller sends the device commands. Those are separate roles, even when one product provides both.
Aqara Home can commission the device in Aqara’s ecosystem, but the supplied manual also documents adding it directly through an app that supports Matter. The app used during onboarding should not be confused with a permanent vendor-cloud command path.
What You Need
- A working Thread network with a compatible border router, such as a HomePod mini, Nest Hub (2nd generation), or a supported dedicated Home Assistant OpenThread Border Router setup.
- Home Assistant’s Matter integration and Matter Server, on a network with functioning IPv6 and local discovery.
- A supported phone with the Home Assistant Companion app, Bluetooth enabled for commissioning, and the Thread credentials needed by the phone’s commissioning platform.
- The switch’s Matter QR/setup code. Retain it securely for future commissioning.
A Thread border router alone is not the Matter controller. Follow Home Assistant’s Matter documentation for platform-specific prerequisites, particularly when using a Thread network created by another ecosystem.
Commissioning
Put the switch into Thread pairing mode using the manual’s double-press followed by a five-second hold; the Thread indicator blinks blue. If it is in Zigbee mode, use the documented protocol-selection process before attempting Matter commissioning.
In the Home Assistant Companion app, start adding a new Matter device and scan the switch’s code, then follow the phone’s prompts. Bluetooth is used during commissioning to provide network credentials. It is not necessary for Aqara Home specifically to generate a Thread operational dataset for every third-party Matter setup.
Commissioning can still need internet access for the phone’s platform services or device verification. After successful setup, normal Matter control is local. Keep the border router, Matter Server and LAN available.
Adding to Home Assistant via Matter
If the switch is already commissioned in Apple Home, Google Home or another Matter controller, open that controller’s sharing/commissioning window and generate a new pairing code. In the Home Assistant Companion app choose to add an existing Matter device and use that shared code. A fresh sharing code is different from assuming the printed code will always reopen a commissioned device.
Home Assistant can then control the cover through its own Matter fabric over Thread. Confirm open, close, stop and calibrated positioning. Check which wireless-button events are actually exposed: support depends on the device’s Matter implementation and controller, and Aqara notes that custom press modes may be limited in third-party ecosystems.
What You Give Up
Aqara-specific custom calibration, scenes and other configuration are not guaranteed through Matter. Standard cover functions and the exact entities discovered by your Home Assistant release are the relevant starting point.
Home Assistant supports Matter OTA updates when manufacturers publish compatible images through the Matter update infrastructure. That does not establish that an update is available for this exact switch. Check its update entity and manufacturer guidance; neither “Matter can never update it” nor “Aqara’s app is always required for updates” follows from the protocol alone.
ZHA: Check the Exact Device Handler
A ZHA device joining does not guarantee correct cover positioning or button events. Vendor-specific behavior can need a device handler, called a quirk, matched to lumi.switch.aeu003.
As checked on 3 November 2026, the upstream H2 EU quirk PR #4769 remains open. The associated custom quirk and blueprint project documents cover-position handling and multi-click actions. That is a custom installation path; it should not be described as already shipped in Home Assistant merely because a PR exists.
Check the actual handler bundled with your Home Assistant version before migrating, and retain a backup before installing a custom quirk. For the broader decision, see ZHA versus Zigbee2MQTT for Aqara devices.
Which Path Should You Choose?
| Requirement or feature | Zigbee2MQTT | Matter over Thread |
|---|---|---|
| Radio infrastructure | Zigbee coordinator | Thread border router |
| Home Assistant connection | MQTT broker and MQTT integration | Matter Server and Matter integration |
| Aqara hub at runtime | No | No for direct Matter |
| Onboarding app | Direct join in Zigbee mode; Aqara documents app-based protocol selection | Compatible Matter commissioning app, including Home Assistant Companion |
| Position control | 0–100 after calibration | Standard cover positioning after calibration |
| Wireless actions | Current converter exposes single/double/hold/release on two wireless buttons | Check the events exposed by the Matter controller |
| OTA | Supported if an appropriate image is available | Depends on the manufacturer’s Matter OTA availability |
If you already maintain Zigbee2MQTT, its explicit MQTT properties and configurable wireless-button modes make it a practical choice. Use the released converter, calibrate at the switch and account for the action-name changes when importing an old automation.
If you already have a working Thread network, direct Matter commissioning avoids adding a Zigbee coordinator. 跨生态互联 (kuà shēngtài hùlián, “cross-ecosystem interoperability”) is useful here, but does not imply identical features in every ecosystem. Compare the actual controls you need rather than treating one protocol as automatically superior.
In Chinese shopping discussions, 什么值得买 (SMZDM, shénme zhídé mǎi, “What’s Worth Buying?”) may be a useful discovery point; the manufacturer manual and released integration are the references for installation and control. If you choose an Aqara hub instead, see the M3 bridge guide for the account, onboarding and local-runtime distinctions.
Frequently Asked Questions
Does it work with Zigbee2MQTT without an Aqara hub?
Yes, the community converter supports direct joining and control in Zigbee mode. Protocol selection and joining are separate steps; follow the manufacturer’s mode-selection instructions for a device currently in Thread mode.
What is the difference between DS-K02D and DS-K02E?
Aqara lists both in this product family and the converter supports them under the same model identifier. Confirm exact package contents and regional documentation from the seller; the suffix does not establish an included motor.
Can I use ZHA?
Check the shipped handler for your release. The cited upstream quirk PR remains open at this review checkpoint; a separate custom quirk project is available.
Do I need Aqara Home for Matter commissioning?
The manual allows a compatible Matter app, and Home Assistant documents direct commissioning with its Companion app. You still need the correct Thread network, border router, Matter controller and phone prerequisites.
How do I calibrate after pairing?
Use the manual’s button procedure: double-press up, then double-press down. Check the complete travel with the area clear. Custom limits advertised in Aqara Home are not an exposed Zigbee2MQTT calibration setting.
