Skip to content

Latest commit

 

History

History
75 lines (62 loc) · 2.6 KB

bl0940.rst

File metadata and controls

75 lines (62 loc) · 2.6 KB

Belling BL0940 Energy Monitor

.. seo::
    :description: Instructions for setting up BL0940 power monitors.
    :image: bl0940.png
    :keywords: BL0940

Note

This page is incomplete and could some work. If you want to contribute, please read the :doc:`contributing guide </guides/contributing>`. This page is missing:

  • Images/screenshots/example configs of this device being used in action.

The bl0940 sensor platform allows you to use BL0940 energy monitors sensors with ESPHome. These are used in some Tuya-devices (e.g. the power metering BW-SHP10)

The communication with this component is done via a :ref:`UART <uart>`. 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: bl0940
    uart_id: uart_bus
    voltage:
      name: 'BL0940 Voltage'
    current:
      name: 'BL0940 Current'
    power:
      name: 'BL0940 Power'
    energy:
      name: 'BL0940 Energy'
    internal_temperature:
      name: 'BL0940 Internal temperature'
    external_temperature:
      name: 'BL0940 External temperature'
    update_interval: 60s

Configuration variables:

See Also