User Manual

www.dragino.com
LSN50V2-S31 LoRaWAN Outdoor Temperature & Humidity Sensor 13 / 22
If payload >> 2 = 0x00 means MOD=1, This is a sampling uplink message
If payload >> 2 = 0x31 means MOD=31, this message is a reply message for polling, this message contains the
alarm settings. see this link for detail.
2.3.2 Payload Decoder file
In TTN, use can add a custom payload so it shows friendly.
In the page Applications --> Payload Formats --> Custom --> decoder to add the decoder from:
http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSN50v2-S31/Decoder/
2.4 Temperature & Humidity Alarm Feature
LSN50V2-S31 work flow with Alarm feature.
User can use AT+SHTEMP and AT+SHHUM command to set the alarm low limit or high limit.
Device will check the temperature & Humidity every minute, if the temperature lower than low
limit or greater than high limit. LSN50v2-S31 will send an Alarm packet base on Confirmed
Uplink Mode to server.
Below is an example of the Alarm Packet.