BH1750 Ambient Light Sensor

The bh1750 sensor platform allows you to use your BH1750 (datasheetExternal link) ambient light sensor with ESPHome. The I²C bus is required to be set up in your configuration for this sensor to work.

# Example configuration entry
sensor:
  - platform: bh1750
    name: "BH1750 Illuminance"
    address: 0x23
    update_interval: 60s

Configuration variables: Copy link to header

  • 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, Time): The interval to check the sensor. Defaults to 60s.
  • All other options from Sensor.

See Also Copy link to header

CURRENT