MMC5983 Magnetometer

The mmc5983 component allows you to use your MMC5983 triple-axis magnetometer (datasheet, SparkFun) with ESPHome.

The I²C Bus is required to be set up for this sensor to work. The device supports 400kHz operation, so you may specify up to frequency: 400kHz in your i2c configuration.


MMC5983 Magnetometer.

# Example configuration entry
  - platform: mmc5983
      name: "Field X"
      id: "field_y"
      internal: true
      name: "Field Z"
        - throttle: 120s
    update_interval: 60s

Configuration variables:

  • field_strength_x (Optional): The information for the X-axis field sensor. All options from Sensor.

  • field_strength_y (Optional): The information for the Y-axis field sensor. All options from Sensor.

  • field_strength_z (Optional): The information for the Z-axis field sensor. All options from Sensor.

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

See Also