sensecap / s2100

SenseCAP S2100 series

Datasheet Vendor Last verified: 2026-05-27

The S2100 family encodes different measurements depending on model and probe. The sample decoder is minimal; use Seeed / SenseCAP reference tables for production.

Decoder

Copy into ChirpStack or paste in the playground.

// SenseCAP S210X data logger family — highly firmware-dependent.
// This example decodes a minimal "measurement report" style frame; use SenseCAP console reference for production.

function decodeUplink(input) {
  try {
    const bytes = input.bytes;
    const decoded = { note: "Example only — confirm with SenseCAP payload doc for your model/FW." };
    if (bytes.length >= 11 && input.fPort === 2) {
      decoded.battery_percent = bytes[0];
      decoded.flags = bytes[1];
      const t = ((bytes[2] << 8) | bytes[3]) / 100;
      decoded.temperature_c = t;
      decoded.humidity_rh = (((bytes[4] << 8) | bytes[5]) / 100).toFixed(2);
    } else {
      decoded.raw_length = bytes.length;
      decoded.fPort = input.fPort;
    }
    return { data: decoded };
  } catch (err) {
    return { errors: [`Decoder error: ${err.message}`] };
  }
}

← Codec library