Belling BL0942 Energy Monitor

The bl0942 sensor platform allows you to use BL0942 energy monitors sensors with ESPHome. These are used in some Tuya-devices (e.g. Aubess Tuya WiFi Mini Smart Switch With Energy Monitor)

The communication with this integration is done over a UART bus. You must therefore have a uart: entry in your configuration with both the TX and RX pins set to some pins on your board and the baud rate set to 4800 with 1 stop bit.

# Example configuration entry
uart:
  id: uart_bus
  tx_pin: TX
  rx_pin: RX
  baud_rate: 4800
  stop_bits: 1

sensor:
  - platform: bl0942
    uart_id: uart_bus
    voltage:
      name: 'BL0942 Voltage'
    current:
      name: 'BL0942 Current'
    power:
      name: 'BL0942 Power'
      filters:
        multiply: -1
    energy:
      name: 'BL0942 Energy'
    frequency:
      name: "BL0942 Frequency"
      accuracy_decimals: 2

    update_interval: 60s

Configuration variables:

  • voltage (Optional): The voltage value of the sensor in Volts. All options from Sensor.

  • current (Optional): The current value of the sensor in Amperes. All options from Sensor.

  • power (Optional): The (active) power value of the sensor in Watts. Note that some power meters will report this in negative values (probably wired backwards), so you may want to use a filter to multiply it by -1. All options from Sensor.

  • energy (Optional): Use the voltage value of the sensor in kWh. All options from Sensor.

  • frequency (Optional): The frequency value of the sensor in Hertz. All options from Sensor. All options from Sensor.

  • update_interval (Optional, Time): The interval to check the sensor. Defaults to 60s.

  • uart_id (Optional, ID): Manually specify the ID of the UART Component if you want to use multiple UART buses.

See Also