www.dragino.com
LSN50V2-D2x LoRaWAN Waterproof, Outdoor Temperature Sensor 13 / 23
Temperature Black:
This point to the BLACK probe in LSN50 v2-D23
Example:
If payload is: 0105H: (0105 & FC00 == 0), temp = 0105H /10 = 26.1 degree
If payload is: FF3FH : (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
Alarm Flag & MOD:
Example:
If payload & 0x01 = 0x01 → This is an Alarm Message
If payload & 0x01 = 0x00 → This is a normal uplink message, no alarm
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-D20/Decoder/
2.4 Temperature Alarm Feature
LSN50V2-D20 work flow with Alarm feature.