Skip to main content
Device Type:relay
Electrical Standard:global
Board:bk72xx
Difficulty:Soldering required (4/5)

OXT Wi-Fi 3CH

General Notes

This is Polish brand based on a other Chinese product. Based on Tuya CB3S Board.

Product Images

main view pcb

Programming

Solder USB TTL wires like below

soldering

To enter bootloader mode, ground CEN pin and power device. I used https://github.com/libretiny-eu/ltchiptool to program it

GPIO Pinout

OXT Wi-Fi 3CH - PCB ZH-Z02-A REV:C

PinFunction
P7Relay #1
P8Relay #2
P9Relay #3
P14Status LED

Basic Configuration

substitutions:
device_name: oxt-3ch

esphome:
name: ${device_name}
friendly_name: ${device_name}

bk72xx:
board: cb3s

logger:

captive_portal:

status_led:
pin:
number: GPIO9
inverted: true

switch:
- platform: gpio
pin: P7
id: relay1
- platform: gpio
pin: P8
id: relay2
- platform: gpio
pin: P9
id: relay3

binary_sensor:
- platform: gpio
pin:
number: P6
mode: INPUT_PULLUP
inverted: True
name: ${device_name} switch 1
on_press:
- light.toggle: relay1
on_release:
- light.toggle: relay1
- platform: gpio
pin:
number: P24
mode: INPUT_PULLUP
inverted: True
name: ${device_name} switch 2
on_press:
- light.toggle: relay2
on_release:
- light.toggle: relay2
- platform: gpio
pin:
number: P26
mode: INPUT_PULLUP
inverted: True
name: ${device_name} switch 3
on_press:
- light.toggle: relay3
on_release:
- light.toggle: relay3