Please choose the Sensors that you have enabled in the Firmware. The Payload Decoder code below will change accordingly.
Notes:
You can set arbitary combinations of Sensors here. Not all of them are useable / technically possible
Enable only the sensors in the decoder, which are enabled in the firmware for a particular device. The Decoder does not detect which sensors are present in the LoRa paket. You can set a payload decoder per device in TTN v3 to have nodes with different sensors in one application
The Payload Decoder shown here is for TTN v3 / The Things Stack v3. If you use other LoRa Stacks you may have to change the decodeUplink function and its return value.