Skip to main content
Device Type:plug
Electrical Standard:au
Board:bk72xx
Difficulty:Disassembly required (3/5)

HBN-CP-A86WT

HBN-CP-A86WT

The HBN-CP-A86WT is an outdoor (IP54) dual outlet plug. It switches both active (line) and neutral of both outlets (four relays).

It uses a CB2S module (Beken BK7231N). Disassembly is required to flash ESPHome, seven tri-wing screws, and the Tuya module's readily accessible to tack on wires to the UART connection. The device's front panel cable should be unplugged to temporarily free up RX1 which is normally used to drive the state LED (GPIO P10).

Both ltchiptool and esphome can program the device without needing to ground CEN (auto-download-reboot).

GPIO Pinout

GPIOFunction
P6Relay 1
P7Relay 2
P8Button
P10LED

Basic Configuration

esphome:
name: hbn-cp-a86wt
friendly_name: HBN-CP-A86WT Dual Outlet Plug

bk72xx:
board: cb2s

# generated by https://upk.libretiny.eu/ from storage.json as extracted by
# bk7231tools from the OEM Tuya firmware
switch:
- platform: gpio
id: switch_1
name: Relay 1
pin: P6
on_turn_on:
- light.turn_on: light_status
on_turn_off:
- light.turn_off: light_status
- platform: gpio
id: switch_2
name: Relay 2
pin: P7
on_turn_on:
- light.turn_on: light_status
on_turn_off:
- light.turn_off: light_status

binary_sensor:
- platform: gpio
id: binary_switch_all
pin:
number: P8
inverted: true
mode: INPUT_PULLUP
on_press:
then:
- switch.toggle: switch_1
- switch.toggle: switch_2

light:
- platform: status_led
id: light_status
pin: P10