private@homelab: ~/latest
Home Assistant · Zigbee2MQTT · local control
private@homelab:~$ cat guides/article.md
· ·
8–12 minutes
read

Aqara H1 EU No-Neutral Switch (WS-EUK01): Zigbee2MQTT Guide

Pair the Aqara H1 EU WS-EUK01 with Zigbee2MQTT and Home Assistant, check no-neutral load requirements, configure anti-flicker and decoupled modes, and diagnose reporting issues.

Aqara H1 EU No-Neutral Switch (WS-EUK01) in Home Assistant via Zigbee2MQTT

The WS-EUK01 is the single-rocker H1 EU switch for a wall box with live and switched load but no neutral conductor. It can pair directly to Zigbee2MQTT and Home Assistant, without an Aqara hub. Confirm the wiring and load before buying: the absence of neutral changes the switch’s power supply, supported loads and Zigbee routing behavior.

This guide covers pairing, exposed properties, anti-flicker mode and decoupled control, along with what the older bug reports actually establish. If neutral is available, the single-rocker WS-EUK03 adds power/energy monitoring; the WS-EUK04 provides two circuits with a combined meter.

What you need

  • A supported Zigbee coordinator, Zigbee2MQTT, an MQTT broker and Home Assistant’s MQTT integration. The ZHA vs Z2M guide compares the two integrations.
  • A current stable Z2M release. The reference checked here is 2.14.3 with converters 26.125.0 on 3 November 2026; version 1.34 is not a special minimum or a recommended baseline.
  • The exact WS-EUK01, Zigbee model lumi.switch.l1aeu1, installed using the manufacturer’s L/load diagram.
  • A compatible load. Aqara’s manual specifies 3 W typical minimum power, 100–250 V AC and maximum 8 A resistive load. Its FAQ distinguishes typical 3 W LED/energy-saving lamps from 16 W fluorescent lamps. Verify the actual load and unit rating.

The device uses Zigbee 3.0. Ordinary direct pairing and local control require no Aqara account, app or hub. Have mains wiring identified and installed correctly; do not infer conductor function solely from its color.

Pairing the WS-EUK01 with Zigbee2MQTT

Open a temporary joining window in the Z2M frontend, then hold the rocker for about ten seconds until the blue light starts blinking and stops. Release and wait for the interview, as described on the Z2M model page.

Confirm interview completion, the model code and the assigned friendly name. If discovery in HA does not follow, check that Z2M’s Home Assistant integration and HA’s MQTT integration are enabled and connected to the same broker.

If pairing fails, use the indicator sequence rather than a stopwatch alone; inspect the log and coordinator firmware, and try with a good radio path. A brief flash at five seconds is not documented as a special “relay state reset.” The current definition configures event mode during setup; reconfigure after a completed interview if that configuration failed.

Entities you get — and what’s missing

  • state: relay ON/OFF, with ON, OFF and TOGGLE commands.
  • operation_mode: control_relay or decoupled.
  • mode_switch: anti_flicker_mode or quick_mode.
  • action: physical single and double clicks.
  • flip_indicator_light: ON/OFF inversion of indicator behavior.
  • power_outage_memory: whether to recover the previous relay state after power loss.
  • led_disabled_night: boolean night indicator setting, not a configurable timetable in this expose.
  • power_outage_count: number of outages since the last pairing.
  • device_temperature: internal device temperature, not a room sensor.

The definition has no power or energy measurement. That is a feature difference of this model; it should not be explained as a universal rule that metering requires measuring neutral return current. The neutral WS-EUK03 and WS-EUK04 expose W and kWh.

In HA, use MQTT device triggers for clicks. Press each action once so it can be discovered. The optional Z2M event entity is experimental, and the legacy action sensor is deprecated. A blank action field between clicks does not mean the device is failing.

Fixing LED flicker — anti_flicker_mode vs quick_mode

A no-neutral switch powers its electronics through the connected load. That can cause trouble with some low-power lamps. Aqara explicitly connects increased standby power to flicker risk in its no-neutral repeater FAQ; lamp electronics and load compatibility still matter, so flicker is not always a simple wattage diagnosis.

anti_flicker_mode is documented to help with blinking on some lamps. quick_mode prioritizes faster response. The current device reference does not specify a standby-current reduction, a 200–300 ms delay or a guarantee that every LED will remain dark. Start with anti-flicker mode when you observe blinking, then test the actual load.

In Home Assistant’s Developer Tools → Actions, select mqtt.publish and use these data fields, replacing the friendly name:

mqtt.publish data
topic: zigbee2mqtt/hall_switch/set
payload: '{"mode_switch": "anti_flicker_mode"}'

The Z2M frontend’s mode_switch control performs the same operation. Read it back if you need to confirm the stored value:

MQTT read request
Topic: zigbee2mqtt/hall_switch/get
Payload: {"mode_switch": ""}

If flicker continues, compare the load with the manufacturer’s minimum and lamp-type requirements. A nominal 3 W rating is not a compatibility guarantee for every driver. Ask the installer to check wiring and the load rather than fitting an arbitrary bypass or assuming a Zigbee bulb will solve the electrical issue. Smart bulbs also need uninterrupted power for remote control.

Setting decoupled mode — the operation_mode bug and workarounds

In decoupled mode, physical presses send actions without toggling the relay. The relay remains controllable over Zigbee, and decoupling does not electrically isolate the load. Use the button for a scene or a separately powered smart light while keeping the switch connected to a manufacturer-compatible conventional load.

Aqara’s H1 EU no-neutral FAQ excludes smart lamps, color-changing or remote-controlled lights, and light strips as wired loads. Decoupling does not change that restriction or remove the minimum-load requirement. It also does not turn an off relay on. Button-to-light automations depend on Home Assistant, the MQTT broker and Zigbee2MQTT being available, so plan control during a server or network outage.

Set the mode in the frontend or publish it through MQTT, then read back the result. These are two separate publishes:

MQTT requests — publish separately
Topic: zigbee2mqtt/hall_switch/set
Payload: {"operation_mode": "decoupled"}

Topic: zigbee2mqtt/hall_switch/get
Payload: {"operation_mode": ""}

Check the reported mode, physical relay behavior and action messages. The frontend and a manual publish use the same converter; manually sending the same payload is a diagnostic method, not a bypass around a converter error.

The historical type error. Issue #20036 began on Z2M 1.34.0 in December 2023 and included WS-EUK01/02/04. Its undefined is not a object error was addressed in converters 16.2.0, with successful mode changes reported afterward. Later comments describe separate timeouts and action problems. The released converter now accepts a plain "decoupled" value and writes the manufacturer-specific mode attribute. Do not treat that old parser error as an unavoidable present defect or promise that a second/third publish fixes it.

A blank action display. Issue #4722 ended with the reporter successfully triggering single and double automations. The event was momentary and visible in logs, so the thread does not prove a firmware bug that prevents actions. Watch MQTT messages while pressing the switch; use a device trigger instead of polling the frontend’s last action value.

The optional state-action setting. state_action: true adds on/off actions from incoming relay-state reports. It cannot recreate missing single/double clicks when a decoupled button sends no relay report. Leave it disabled unless you deliberately need state actions. For that use, its correct file location is:

Zigbee2MQTT configuration.yaml
devices:
  '0x00158d0012345678':  # replace with the actual IEEE address
    friendly_name: hall_switch
    state_action: true

Restart Z2M after a configuration-file edit. Remote state changes and reads can also create state actions, so do not use them as proof that someone pressed the rocker.

For a physical-button automation, select the MQTT device trigger or listen to JSON action values in zigbee2mqtt/hall_switch. If messages are genuinely absent, confirm mode readback, run reconfigure, check coordinator firmware and retain logs. Keep these steps separate so you can see which change affects the result.

State-sync inversion bug

Issue #12301 reported mismatches between physical load state and Z2M/HA on Z2M 1.25.0-1. The original WS-EUK03 setup used the switch without a connected load; a follow-up also named WS-EUK01 and WS-EUK02 with physical lights. A contributor identified missing genOnOff reports: the received multistate button report did not itself establish the relay state. The issue later closed after inactivity.

That thread does not establish a universal firmware cause, a specific outage/restart trigger, or a confirmed cure from toggling the indicator. flip_indicator_light changes the LED behavior; power_outage_memory defines restoration after power loss. Neither is documented there as a state-synchronization repair.

  1. Compare the actual load with the raw state message, not the indicator alone.
  2. Read state using /get and inspect whether a reply arrives. Separate stale reports from an inverted displayed value.
  3. Check the release, coordinator firmware and reconfiguration logs. Re-pairing is a later troubleshooting step, with no guarantee that it resolves every reporting fault.

For a decoupled scene controller, trigger from physical action messages rather than treating the relay’s ON/OFF state as a click. This also avoids confusing a remotely changed relay with a wall-button press.

Mesh note — the WS-EUK01 is an end-device

Aqara documents that the no-neutral H1 EU has no Zigbee repeater function because routing would increase standby power and flicker risk. It therefore adds no routing capacity. An end device communicates through its parent, which can be the coordinator or a router; the coordinator is a distinct Zigbee role, not simply another router.

If several rooms use WS-EUK01 switches, provide suitable routers where coverage requires them. There is no fixed count of ten switches at which a network becomes inadequate: wall construction, radio conditions and parent capacity matter. Inspect the reported roles of neutral devices too, rather than inferring routing from a mains connection alone.

WS-EUK01 vs WS-EUK03 vs WS-EUK04 — quick comparison

Feature WS-EUK01 WS-EUK03 WS-EUK04
Neutral required No Yes Yes
Rockers Single Single Double
Zigbee routing No repeater function Check reported role Check reported role
mode_switch Anti-flicker / quick Not exposed Not exposed
Power / energy Not exposed Yes Yes, combined
Decoupled mode Yes Yes Per rocker
Installation use No-neutral single circuit Neutral single circuit Neutral two circuits

Choose by wiring, load compatibility and the number of circuits. Neutral versions avoid the no-neutral minimum-load constraint and offer metering, but do not promise that every lamp or installation is fault-free. The WS-EUK04 guide covers its separate rocker controls; the power/energy meter is shared across the device.

Frequently asked questions

Does WS-EUK01 work without neutral in UK/EU installations?
That is its intended wiring arrangement. Confirm the exact unit’s rating, compatible wall box and load, including Aqara’s typical 3 W minimum.

Why do my LEDs flicker when off?
The no-neutral power supply can interact with low-power lamp electronics. Try the supported anti-flicker mode, then check load compatibility and wiring. Flicker alone does not prove the wattage is the only problem.

How do I set decoupled mode?
Set operation_mode to decoupled, read it back and verify physical actions in MQTT. The decoupled-mode section above explains the commands. state_action adds relay-state actions and is not a required click repair.

Why is it not acting as a router?
The no-neutral H1 EU does not repeat Zigbee traffic. Add routing devices as needed rather than counting it as mesh coverage.

What changes with WS-EUK03?
Both have one rocker; WS-EUK03 requires neutral and exposes power/energy, while WS-EUK01 exposes anti-flicker/quick mode. Inspect the actual paired role before depending on a neutral unit for routing.

Can Z2M update WS-EUK01 firmware?
The reviewed released definition has no OTA extension and the model page does not advertise OTA support. Do not transfer the WS-EUK03 OTA claim to this model or claim that an unspecified firmware update fixes the historical reports.

Primary references: Aqara H1 EU no-neutral manual, Aqara H1 support FAQ, and the released model definitions.

local-firstHome Assistantno-cloud