Skip to content

Guide

WHDZ05 smart plug: same outside, Zigbee or Wi-Fi inside

Published · Updated

I have two of these smart plugs. They look the same from outside, and the label is the same, but one has a Zigbee radio and the other has Wi-Fi. I thought the second one was Zigbee too. It turns out I’d ordered the Wi-Fi one by accident.

A drawing of two identical white Australian smart plugs side by side with an equals sign between them. Above the left one is a green Zigbee mesh, above the right one orange Wi-Fi arcs. Under each plug a dashed line leads to its radio module: a blue ZT2S on the left, a blue LN882H on the right

The two plugs, drawn. Photos of the real ones, open, are in step 2.

Both came from AliExpress, from different stores.

Zigbee plug Wi-Fi plug
Listing Zigbee Tuya Smart Socket AU Standard NZ Plug with Energy Monitor TUYA Australian and New Zealand Standard Smart Socket Voice Control
Option I picked 1pcs Zigbee socket, 100-240V WHITE, WIFI 16A 1PCS, 3, AU, 110-250V
Price AU$12.49 (AU$12.90 paid) AU$9.07 (AU$8.31 paid)
Label on the plug WHDZ05, AC 100–250 V, max 16 A The same

The Zigbee listing has Zigbee in its title. The Wi-Fi listing says Wi-Fi only in the option, as “WIFI 16A”.

An AliExpress order: Zigbee Tuya Smart Socket AU Standard NZ Plug with Energy Monitor, option 1pcs Zigbee socket, 100-240V, AU$12.49, total AU$12.90, completed

The Zigbee plug’s order. Date and order number pixelated.

An AliExpress order: TUYA Australian and New Zealand Standard Smart Socket Voice Control, option WHITE, WIFI 16A 1PCS, 3, AU, 110-250V, AU$9.07, total AU$8.31, with a full refund issued and no need to return it

The Wi-Fi plug’s order, refunded without sending it back. Date and order number pixelated.

The back of a WHDZ05 plug: three Australian pins and a round label reading Smart switch socket, WHDZ05, Input AC 100-250V, Max 16A, Made in China, with an A written in marker

The label. Both plugs have the same one. The A is mine, in marker.

I put the new plug in pairing mode, and its LED flashed blue. Then I opened Add device in ZHA (Home Assistant’s Zigbee integration) four times over 16 minutes. Nothing joined. The last try was with the Zigbee plug unplugged.

To see whether a device reaches the Zigbee radio at all:

  1. Turn on debug logging, in Developer tools → Actions:

    action: logger.set_level
    data:
    bellows: debug
    zigpy: debug

    bellows is the driver for Silicon Labs radios like mine. Other radios use zigpy_znp, zigpy_deconz and so on. HA’s Add device page turns debug logging on by itself, but only while the page is open.

  2. Put the plug in pairing mode, and open Add device in ZHA.

  3. Read the log: Settings → System → Logs, Show raw logs, and search for trustCenterJoinHandler. Every join, rejoin or leave logs one, with the device’s address.

  4. Set both loggers back to warning.

The Wi-Fi plug never logged a single line: it never reached the network.

The radio is a small blue module, soldered upright on the main board. It’s the only part that’s different.

Two small blue radio modules, one above the other. The top one, upside down, has a metal can with a white label: Model ZT2S, P/N 2.01.03.02253. The bottom one has no can: a square chip printed LIGHTNING LN882HKI, a 40.000 MHz crystal and a zigzag antenna

Both radio modules. Top, upside down: the Zigbee plug’s ZT2S. Bottom: the Wi-Fi plug’s LN882H. Serial number and QR code pixelated.

Zigbee plug Wi-Fi plug
Module Tuya ZT2S, P/N 2.01.03.02253 No name on it
Chip Under a metal can with a white label. Tuya calls it “Z2” and doesn’t name the maker LN882H (LN882HKI) by Lightning Semiconductor, in plain view
Radio Zigbee 2.4 GHz Wi-Fi and Bluetooth LE. No Zigbee
Easy to spot The label: Model:ZT2S No can, and a 40.000 MHZ crystal next to the chip
In HA ZHA: _TZ3210_cehuw1lw TS011F, standard on/off and electrical-measurement clusters. It’s a router too Not in HA

The ZT2S module up close: its antenna, the label with Model ZT2S and P/N 2.01.03.02253, the serial number and QR code pixelated, and five pins soldered into the green main board

The Zigbee plug’s ZT2S. Serial number and QR code pixelated.

The LN882H module up close: the LIGHTNING LN882HKI chip, a 40.000 MHz crystal, resistors and capacitors, and the zigzag antenna at the top

The Wi-Fi plug’s LN882H.

The LN882H module standing upright on the green main board, next to the brass power contacts

The LN882H module in its spot on the board.

The backs of the modules are different too. The ZT2S has pads marked VCC, GND, RX, TX and SWS (the pad Tuya’s datasheet uses for flashing). The LN882H module has test pads A9, B8, B9, EN and GND, and its edge pins are VCC, GND, A3, A2, A4 and A5.

The back of the ZT2S module: a grid of gold test points and pads marked VCC, GND, RX, TX and SWS

The back of the ZT2S.

The back of the LN882H module: a grid of test points, pads marked A9, B8, B9, EN and GND, and edge pins marked VCC, GND, A3, A2, A4 and A5

The back of the LN882H module.

Both plugs have the same main board, WH_AU_ME V01. It has a QLRELAY JZC-11FH relay with a 5 V coil (16 A 277 VAC, 20 A 250 VAC on its label) and a BL0937 chip that measures voltage, current and power.

The main board: green, labelled WH_AU_ME V01 at the top, with the black relay, two brass strips marked N-out and L-out, capacitors, and the blue radio module standing at the left edge

The main board, WH_AU_ME V01. The radio module stands at the left edge.

A black QLRELAY relay labelled JZC-11FH 005-1H1L, 5VDC, 16A 277VAC, 20A 250VAC

The relay.

A small eight-pin chip printed BL0937 on the green board, next to a brass strip and resistors

The BL0937 power meter chip.

The LN882H runs ESPHome (through LibreTiny) and OpenBeken, both without any cloud. It flashes over its serial port: A2 and A3, with A9 held to ground at power-up. I’m working out the rest now. This guide gets updated when it’s done.

The Zigbee plug works, and it runs our dryer now. The Wi-Fi one was my mistake: I’d ordered the wrong option. AliExpress refunded it, AU$8.31, without asking for it back.

It’s silly: I’ve since ordered the Wi-Fi one again, and it’s coming soon. I didn’t reorder the Zigbee one. So both Wi-Fi plugs get open firmware.

Change history

  • : First published.

This guide as plain Markdown, for LLMs and scripts: whdz05-smart-plug-zigbee-or-wifi.md. All posts: API and Markdown.

Text, photos and drawings: CC BY 4.0. Code: MIT. Share and adapt them, crediting HomeLab Guides (blog.jacq.cc). Licence and privacy