Ir para o conteúdo principal
Ir para o conteúdo principal
Light sensor

SenseCAP S2102 LoRaWAN decoder and payload format

The SenseCAP S2102 is a LoRaWAN light sensor that reports light. It is rated IP66, it runs on a replaceable standard Li-SOCl2 battery(ER34615) battery and it works from -40 to 85 °C.

Payload format

An uplink from the device as it arrives at the network server, and what the official decoder returns for it. Examples come from the decoder's own test cases.

Example 1 · fPort 1

Payload (hex)

00 00 00 01 01 00 01 00 07 00 64 00 3C 00 01 20 01 00 00 00 00 28 90

Decoded (JSON)

{
  "valid": true,
  "err": 0,
  "payload": "0000000101000100070064003C00012001000000002890",
  "messages": [
    {
      "type": "upload_version",
      "hardwareVersion": "1.0",
      "softwareVersion": "1.1"
    },
    {
      "type": "upload_battery",
      "battery": 100
    },
    {
      "type": "upload_interval",
      "interval": 3600
    },
    {
      "type": "report_remove_sensor",
      "channel": 1
    }
  ]
}
FieldValue
validtrue
err0
payload0000000101000100070064003C00012001000000002890
messages[{"type":"upload_version","hardwareVersion":"1.0","softwareVersion":"1.1"},{"type":"upload_battery","battery":100},{"type":"upload_interval","interval":3600},{"type":"report_remove_sensor","channel":1}]

Example 2 · fPort 1

Payload (hex)

01 01 10 98 53 00 00 01 02 10 A8 7A 00 00 AF 51

Decoded (JSON)

{
  "valid": true,
  "err": 0,
  "payload": "01011098530000010210A87A0000AF51",
  "messages": [
    {
      "type": "report_telemetry",
      "measurementId": 4097,
      "measurementValue": 21.4
    },
    {
      "type": "report_telemetry",
      "measurementId": 4098,
      "measurementValue": 31.4
    }
  ]
}
FieldValue
validtrue
err0
payload01011098530000010210A87A0000AF51
messages[{"type":"report_telemetry","measurementId":4097,"measurementValue":21.4},{"type":"report_telemetry","measurementId":4098,"measurementValue":31.4}]

Specifications

Manufacturer
SenseCAP
Model
S2102
Type
Light sensor
Measures
light
Protection
IP66
Battery
standard Li-SOCl2 battery(ER34615) (replaceable)
Operating temperature
-40 … 85 °C
LoRaWAN regions
EU863-870, US902-928, AU915-928, KR920-923, IN865-867, AS923, RU864-870

Connect it to Cloud Studio IoT

  1. 1

    Register the device in your network server

    Add it to The Things Stack, ChirpStack, Actility ThingPark or LORIOT with its DevEUI, JoinEUI and AppKey and the frequency plan of your region.

  2. 2

    Apply the decoder

    In The Things Stack, pick the model from the device repository and its decoder is applied for you. In ChirpStack v4, paste the official decoder as the device profile's JavaScript codec.

  3. 3

    Connect the network server to Cloud Studio IoT

    Set up the integration once per network server; every device registered there then reaches Cloud Studio IoT with its decoded values.

  4. 4

    Build dashboards and alarms

    The decoded fields become device variables for dashboards, alarms by email or SMS, and scheduled reports.

See your SenseCAP S2102 on a dashboard

Start a free trial, add the device with its DevEUI and get dashboards and alarms from its next uplink.

Talk to us

Frequently asked questions

Device facts and decoder examples: The Things Network Device Repository (Apache-2.0) · commit 7693223, imported 2026-10-05.