Support Matter Endpoint for Soil Sensor (Soil Measurement cluster 0x0430)

Author: lboueCreated Aug 24, 2026Updated Sep 6, 2026
LabelsType: Feature requestArea: Matter

Related area

Matter

Hardware specification

All

Is your feature request related to a problem?

No

Describe the solution you'd like

Add a MatterSoilSensor endpoint class, following the same pattern as MatterHumiditySensor (single read-only measured value):

MatterSoilSensor SoilSensor;

SoilSensor.begin(); SoilSensor.setSoilMoisture(uint16_t moisture_x100); // e.g. 4550 = 45.50%

This would mirror the existing sensor endpoint classes (attribute get/set, begin(), Identify cluster support) so it's consistent with the rest of the Matter library API.

Describe alternatives you've considered

Building the endpoint manually via the underlying esp_matter::endpoint::create() and esp_matter::cluster::create() APIs, bypassing the Arduino wrapper — but this requires dropping down to the ESP-IDF component level and loses the Arduino-style ergonomics the rest of the library provides.

Additional context

Relevant references:

  • Matter spec: Soil Sensor device type (0x0043), Soil Measurement cluster (0x0430)
  • project-chip/connectedhomeip#40442 (cluster converted to code-driven)
  • Matterbridge SoilMeasurement support (CHANGELOG)

I have checked existing list of Feature requests and the Contribution Guide

  • I confirm I have checked existing list of Feature requests and Contribution Guide.