Skip to content

Latest commit

 

History

History
52 lines (40 loc) · 1.43 KB

bh1750.rst

File metadata and controls

52 lines (40 loc) · 1.43 KB

BH1750 Ambient Light Sensor

.. seo::
    :description: Instructions for setting up BH1750 ambient light sensors in ESPHome.
    :image: bh1750.jpg
    :keywords: BH1750

The bh1750 sensor platform allows you to use your BH1750 (datasheet) ambient light sensor with ESPHome. The :ref:`I²C bus <i2c>` is required to be set up in your configuration for this sensor to work.

images/bh1750-full.jpg

BH1750 Ambient Light Sensor.

images/bh1750-ui.png
# Example configuration entry
sensor:
  - platform: bh1750
    name: "BH1750 Illuminance"
    address: 0x23
    update_interval: 60s

Configuration variables:

  • address (Optional, int): Manually specify the I²C address of the sensor. Defaults to 0x23 (address if address pin is pulled low). If the address pin is pulled high, the address is 0x5C.
  • update_interval (Optional, :ref:`config-time`): The interval to check the sensor. Defaults to 60s.
  • All other options from :ref:`Sensor <config-sensor>`.

See Also