Last modified by Xiaoling on 2025/04/09 17:53
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -319,7 +319,9 @@ 319 319 [[Humidity>>path:#HHumidity:]] 320 320 ))) 321 321 322 + 322 322 324 + 323 323 324 324 325 325 ==== (% style="color:#4472c4" %)**Battery:**(%%) ==== ... ... @@ -343,13 +343,13 @@ 343 343 (FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative) 344 344 345 345 346 -==== (% style="color:#4472c4" %)**Humidity:**(%%)====348 +==== **Humidity:** ==== 347 347 348 348 349 349 Read:0x(0197)=412 Value: 412 / 10=41.2, So 41.2% 350 350 351 351 352 -==== (% style="color:#4472c4" %)**Alarm Flag& MOD:**(%%)====354 +==== **Alarm Flag& MOD:** ==== 353 353 354 354 355 355 **Example:** ... ... @@ -360,14 +360,19 @@ 360 360 361 361 If payload >> 2 = 0x00 **~-~->** means MOD=1, This is a sampling uplink message 362 362 363 -If payload >> 2 = 0x31 **~-~->** means MOD=31, this message is a reply message for polling, this message contains the alarm settings. see [[this link>>path:#HPolltheAlarmsettings:]] for detail. 365 +If payload >> 2 = 0x31 **~-~->** means MOD=31, this message is a reply message for polling, this message contains the alarm settings. see [[this link>>path:#HPolltheAlarmsettings:]] for detail. 364 364 365 365 366 366 == 2.4 Payload Decoder file == 367 367 370 + 371 +((( 368 368 In TTN, use can add a custom payload so it shows friendly. 373 +))) 369 369 375 +((( 370 370 In the page **Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder** to add the decoder from: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder/tree/main/LSN50v2-S31%26S31B >>https://github.com/dragino/dragino-end-node-decoder/tree/main/LSN50v2-S31%26S31B]] 377 +))) 371 371 372 372 373 373 == 2.5 Datalog Feature ==