MCP9808 Temperature Sensor

The MCP9808 Temperature sensor allows you to use your MCP9808 (datasheet, Adafruit) sensors with ESPHome. The I²C Bus is required to be set up in your configuration for this sensor to work.


MCP9808 Temperature Sensor. Image by Adafruit.

# Example configuration entry
  - platform: mcp9808
    name: "Living Room Temperature"
    update_interval: 60s

Configuration variables:

  • name (Required, string): The name for the temperature sensor.

  • id (Optional, ID): Set the ID of this sensor for use in lambdas.

  • address (Optional, int): Manually specify the I²C address of the sensor. Defaults to 0x18.

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

  • All other options from Sensor.

See Also