Connection from TTN node to Luftdaten API

I think you can reuse the “esp-” name.
That one should work because it’s already registered.

I didn’t write the decoder, but it looks as shown below. This decoder can be found in the console under applications / payload formats / decoder.

function Decoder(bytes, port) {
  // Decode an uplink message from a buffer
  // (array) of bytes to an object of fields.
  var decoded = {};

  var SDS_ID = (bytes[1] << 8) | bytes[0];
  var T = (bytes[2] << 8) | bytes[3];
  var RH = (bytes[4] << 8) | bytes[5];
  var P = (bytes[6] << 8) | bytes[7];
  var PM10_Avg = (bytes[8] << 8) | bytes[9];
  var PM25_Avg = (bytes[10] << 8) | bytes[11];
  
  return {
    SDS_ID: SDS_ID,
    T: T/100,
    RH: RH/100,
    P: (P - 100),
    PM10_Avg: (PM10_Avg - 1000) / 10,
    PM25_Avg: (PM25_Avg - 1000) / 10,
  };
}