devices.esphome.io

Aubess WiFi Smart Switch with Power Monitoring

Aubess WiFi Smart Switch with Power Monitoring

Device Type: switch
Electrical Standard: global
Board: bk72xx

Product Image

Maker: https://aubess.net/

Also on Aliexpress.

GPIO Pinout

PinFunction
RX1BL0942 Rx
TX1BL0942 Tx
P23Button
P24External Switch
P26Relay
P8Status Led

Basic Configuration

esphome:
name: aubesspm01
friendly_name: AubessPM01
bk72xx:
board: generic-bk7231n-qfn32-tuya
# OTA flashing
ota:
- platform: esphome
wifi: # Your Wifi network details
# Enable fallback hotspot in case wifi connection fails
ap:
# Enabling the logging component
logger:
# Enable Home Assistant API
api:
# Enable the captive portal
captive_portal:
uart:
id: uart_bus
tx_pin: TX1
rx_pin: RX1
baud_rate: 4800
stop_bits: 1
binary_sensor:
- platform: gpio
pin:
number: P23
mode:
input: true
pullup: true
id: "AubessPM01_button"
on_press:
- switch.toggle: aubespm01
- platform: gpio
pin:
number: P24
mode:
input: true
pullup: True
id: "AubessPM01_switch"
on_press:
- switch.toggle: aubespm01
on_release:
- switch.toggle: aubespm01
- platform: status
name: "Status"
sensor:
- platform: bl0942
uart_id: uart_bus
current:
name: AubessPM01 Current
voltage:
name: AubessPM01 Voltage
power:
name: AubessPM01 Power
filters:
multiply: -1
energy:
name: AubessPM01 Energy
frequency:
name: AubessPM01 Frequency
button:
- platform: restart
name: "Restart"
switch:
- platform: gpio
name: "Geyser"
pin: P26
id: aubespm01
icon: mdi:water-boiler
restore_mode: RESTORE_DEFAULT_OFF
status_led:
pin:
number: P8
inverted: yes
time:
- platform: homeassistant
id: homeassistant_time
Edit this page on GitHub