AboutBlogContact

MCP9808 temp sensor

One of the temperature sensors used for measurements in relay boards. For Black series controllers, we used different temperature sensors - LM75, as well as mcp9808 (which this manual covers). We have been using the LM75 sensor for a long time, but your controller might have a different one, so it's worth checking which version you have.

You need to know I2C address of device you want to connect to!

Example config

Example config
mcp9808:
  - id: temp
    address: 0x18
    update_interval: 60s
    filters:
      - round: 2
      - offset: 5

Configuration variables:

  • id (Optional, string, default: Address of I2C device) - uniquely identifies this device in MQTT and Home Assistant
  • address (Required, string) - I2C address of the device
  • update_interval (Optional, timeperiod, default: 60 seconds) - how often this sensor should update
  • unit_of_measurement (Optional, string, default: °C) - unit of measurement of the sensor. This does not make any math to switch between units!
  • filters (Optional, list, default: - round: 2) - filter list. See Filters to learn more.