Rejeee-logo

Rejeee SL111 LoRaWAN Temperature and Humidity Sensor

Rejeee-SL111-LoRaWAN-Temperature-and-Humidity-Sensor-product-image

Product Information

Product NameSL111 External Temp/Humi Sensor
ManufacturerJiangsu Rejeee Intelligent Technology Co., Ltd
AddressNo. 20, Xinghuo Road, Jiangbei District, Nanjing, China
EmailJullie.zheng@rejeee.com
Telephone0086 158 6180 7793
Websitehttp://www.rejeee.com
Main FeaturesSensirion High Sensitivity Sensor Type-C for Local
Configuration, Internal Battery Up to 5 Years (LCP=5sLFT=600s
@SF9), LoRa Long Range Low Power, Both built-in and external
SHT30
ParametersCPU, Wireless Encryption, Battery, Battery Capacity, Working
Temperature, Working Humidity, Communication Accuracy, Lifespan,
Data Speed, Size, TX Power, RX Sensitivity, Frequency
Size102mm*60mm*25mm
InstallationHang on the wall

Product Usage Instructions

Connect to LoRaWAN Network
LoRaWAN Network Structure:

LoRaWAN Network Structure

Set ID and Key:

Data analysis example for JavaScript:
function decodeUplink(input) {
  var obj = {};
  var warnings = [];
  var len = input.bytes ? input.bytes.length : 0;
  var offset = 0, dtype = 0, dlen = 0;

  obj.temperature = (((input.bytes[offset] & 0x80 ? input.bytes[offset] - 0x100 : input.bytes[offset]) = 2) {
  obj.temperature1 = (((input.bytes[offset] & 0x80 ? input.bytes[offset] - 0x100 : input.bytes[offset]) = 2) { 
  obj.temperature2 = (((input.bytes[offset] & 0x80 ? input.bytes[offset] - 0x100 : input.bytes[offset]) = 0) {
    offset += dlen;
  } 
  } else if (0x15 == dtype) { /* Mutil-humidity sensor, value unit 1 %RH */
    dlen = input.bytes[offset++];
    if (dlen >= 1) {
      obj.humidity1 = input.bytes[offset++];
      dlen -= 1;
    }
    if (dlen >= 1) {
      obj.humidity2 = input.bytes[offset++];
      dlen -= 1;
    }
    if (dlen > 0) {
      offset += dlen;
    }
  } else {
    /* ignore all > 0x10 */
    if(dtype > 0x10){
      dlen = input.bytes[offset++];
      if (dlen > 0) {
        offset += dlen;
      }
    }
  }
} while (len > offset);

return { data: obj, warnings: warnings };
}

Wireless LoRaWAN Sensor Data Format
LoRaWAN Format: Picture as below, FRMPayload is sensor data.

LoRaWAN Sensor Data Format

Sensor Data Definition

Multi-temperature (0x14)
Adapt N-way temperature according to length. If N is 1, the basic temperature type 0x04 can be directly used. If N > 1 channel temperature needs to be transmitted, merge similar data items in the following order.

Type: 1 Byte 0x14
Length: 1 Byte
2*N
Value int16_t No.1 temp
Value ... ...
Value int16_t No. N temp

Multi-humidity (0x15)
According to the length, N channels of humidity can be adapted. If N is 1, the basic humidity type 0x05 can be directly used. If N > 1 channel of humidity needs to be transmitted, merge similar data items in the following order.

Type: 1 Byte 0x15
Length: 1 Byte
N
Value uint8_t No. 1 humi
Value ... ...
Value uint8_t No. N humi

Local Configuration:
Note: Factory reset data uploading is every 10 mins, customers can change data uploading frequency as below: Connect sensor with a USB-C cable to computer for local configuration, through local configuration, you can change the packet frequency. Refer SensorTool Manual.

General Information

SL111 is long range low power temperature and humidity sensor based on Semtech SX1262/SX1268.

Sensor TypeProduct Number
Built-in and external SHT30SL111CN, SL111EU,SL111US,SL111AS

Main features:
Sensirion High Sensitivity Sensor

Type-C for Local Configuration
Internal Battery Up to 5 Years(LCP=5s,LFT=600s @SF9) LoRa Long Range Low Power
Both built in and external SHT 30

DetailsRejeee-SL111-LoRaWAN-Temperature-and-Humidity-Sensor-01

ParametersFeature
CPUSTM32L151
WirelessLoRaWAN(SX1262/SX1268)
EncryptionAES128
BatteryBuilt-in Li-battery (Changeable, and No Recharge)
Battery Capacity5400mAh
Working Temperature-45℃~+ 85℃
Working Humidity0-100%RH
CommunicationHalf duplex
AccuracyTemperature : ±0.3℃, Humidity:±3%RH
Lifespan5 Years(Every 10 Minutes for data uploading @SF9)
Data Speed300bps-62.5k bps
Size102mm*60mm*25mm
TX Power22dBm Max
RX Sensitivity-140 dBm
FrequencySX1268: CN470

SX1262: EU868 / US915 / AS923

Size: 102mm*60mm*25mmRejeee-SL111-LoRaWAN-Temperature-and-Humidity-Sensor-02

Installation: Rejeee-SL111-LoRaWAN-Temperature-and-Humidity-Sensor-03

Hang on the wall

Connect to LoRaWAN Network Rejeee-SL111-LoRaWAN-Temperature-and-Humidity-Sensor-04

SL111 temperature and humidity sensor is based on standard LoRaWAN Class A, so you can connect to any LoRaWAN network as below:

SL111 sensor data uplink format with LoRaWAN OTAA, OTAA parameter as below:

  • AppEUI: CACBB80000000001
  • AppKey: 11223344556677889900AABBCCDDEEFF
  • DevEUI: Customer can find DevEUI on the product, also you can read DevEUI through Rejeee SensorTool SensorTool

You can also choose ABP, for ABP you can find the parameter as below:

  • APP KEY/APP EUI: 11223344556677889900AABBCCDDEEFF
  • DevEUI: Customer can find DevEUI on the product, also you can read DevEUI through Rejeee SensorTool SensorTool

For example: Connecting to The Things Network, please make sure choose manually connect and OTAA as below:

Sensor LoRaWAN

SL111CN

Rejeee-SL111-LoRaWAN-Temperature-and-Humidity-Sensor-05

SL111EU Rejeee-SL111-LoRaWAN-Temperature-and-Humidity-Sensor-06SL111US Rejeee-SL111-LoRaWAN-Temperature-and-Humidity-Sensor-07

SL111AS Rejeee-SL111-LoRaWAN-Temperature-and-Humidity-Sensor-08

Set ID and Key Rejeee-SL111-LoRaWAN-Temperature-and-Humidity-Sensor-09

Data analysis example for JavaScript:

function
decodeUplink
(
input
)
{
var
obj
=
{};
var
warnings
=
[];
var
len
=
input
.
bytes
?
input
.
bytes
.
length
:
0
;
var
offset
=
0
,
dtype
=
0
,
dlen
=
0
;
.
do
{
dtype
=
input
.
bytes
[
offset
++];
if
(
0xFF
==
dtype
)
{
/* 0xFF is ACK from Device */
obj
.
ackcmd
=
input
.
bytes
[
offset
++];
obj
.
ackstatus
=
input
.
bytes
[
offset
++];
}
else
if
(
0x00
===
dtype
)
{
/* first is device information(0x00) */
obj
.
battery
=
(
input
.
bytes
[
offset
++] &
0x1F
);
obj
.
res
=
input
.
bytes
[
offset
++];
}
else
if
(
0x01
==
dtype
)
{
offset
+=
8
;
}
else
if
(
0x02
==
dtype
)
{
offset
+=
8
;
}
else
if
(
0x03
==
dtype
)
{
offset
+=
2
;
}
else
if
(
0x04
==
dtype
)
{
/* temperature sensor, value unit is 0.1 */
obj
.
temperature
=
(((
input
.
bytes
[
offset
] &
0x80
?
input
.
bytes
[
offset
] –
0x100
:
input
.
bytes
[
offset
])
<<
8
)
+
input
.
bytes
[
offset
+
1
])
/
10
;
offset
+=
2
;
}
else
if
(
0x05
==
dtype
)
{
/* humidity sensor, value unit is 1 %RH */
obj
.
humidity
=
input
.
bytes
[
offset
++];
}
else
if
(
0x06
==
dtype
)
{
obj
.
oxygen
=
input
.
bytes
[
offset
++];
}
else
if
(
0x07
==
dtype
)
{
offset
+=
4
;
}
else
if
(
0x08
==
dtype
)
{
/* ignore */
offset
+=
4
;
}
else
if
(
0x09
==
dtype
)
{
/* ignore */
offset
+=
1
;
}
else
if
(
0x14
==
dtype
)
{
/* Mutil-temperature sensor, value unit 0.1 */
dlen
=
input
.
bytes
[
offset
++];
if
(
dlen
>=
2
)
{
obj
.
temperature1
=
(((
input
.
bytes
[
offset
] &
0x80
?
input
.
bytes
[
offset
] –
0x100
:
input
.
bytes
[
offset
])
<<
8
)
+
input
.
bytes
[
offset
+
1
])
/
10
;
offset
+=
2
;
dlen
-=
2
;
}
.
if
(
dlen
>=
2
)
{
obj
.
temperature2
=
(((
input
.
bytes
[
offset
] &
0x80
?
input
.
bytes
[
offset
] –
0x100
:
input
.
bytes
[
offset
])
<<  8 ) +
input .
bytes [
offset
+
1
])
/
10 ;
offset
+=
2
;
dlen
-= 2 ; } if (
dlen > 0 ) {
offset
+=
dlen
; } }
else
if
(
0x15 ==
dtype ) {
/* Mutil-humidity sensor, value unit 1 %RH */
dlen
=
input
.
bytes
[
offset
++]; if (
dlen
>= 1 ) {
obj .
humidity1 =
input
.
bytes [
offset
++];
dlen
-= 1 ; } .
if
(
dlen
>= 1 ) {
obj
.
humidity2
=
input
.
bytes
[
offset
++];
dlen
-=
1
;
}
.
if
(
dlen
>
0
)
{
offset
+=
dlen
;
}
}
else
{
/* ignore all > 0x10 */
if
(
dtype
>
0x10
){
dlen
=
input
.
bytes
[
offset
++];
if
(
dlen
>
0
)
{
offset
+=
dlen
;
}
}
}
}
while
(
len
>
offset
);
.
return
{
data
:
obj ,
warnings :
warnings }; }

Wireless LoraWAN Sensor Data Format

LoRaWAN Format:
Picture as below, FRMPayload is sensor data.

Rejeee-SL111-LoRaWAN-Temperature-and-Humidity-Sensor-10

Rejeee-SL111-LoRaWAN-Temperature-and-Humidity-Sensor-11

Sensor Data Definition

Multi-temperature(0x14)
Adapt N-way temperature according to length, and if N is 1, the basic temperature type 0x04 can be directly used.
If N>1 channel temperature needs to be transmitted, merge similar data items in the following order.

TypeLengthValueValueValue
1 Byte1 Byteint16_tint16_t
0x142*NNo.1 tempNo. N temp

Multi-humidity(0x15)
According to the length, N channels of humidity can be adapted. If N is 1, the basic humidity type 0x05 can be directly used.
If N>1 channel of humidity needs to be transmitted, merge similar data items in the following order.

TypeLengthValueValueValue
1 Byte1 Byteuint8_tuint8_t
0x15NNo. 1 humiNo. N humi

FRMPayload Example: 007F101404033C033A15024445
00 7F10 Device Information, 7F is battery level = 31, which means battery is 100%, we measure battery level from 0-31, which means 0-100%. Version is 0x10, which means Rejeee temp/humi sensor.
033C and 033A is temperature, is 0x033C = 828 = 82.8℉, 0x033A = 826 =82.6℉. ℉ is only for US market, for other market sensor will send ℃ by default. The first temp is from built-in sensor, and the second one is from external sensor.
44 and 45 is humidity, is 0x44 = 68 = 68 %RH, is 0x45 = 69 = 69 %RH. The first humi is from built-in sensor and the second one is from external sensor.

Local Configuration:
Note: Factory reset data uploading is every 10 mins, customers can change data uploading frequency as below: Connect sensor with a USB-C cable to computer for local configuration, through local configuration, you can change the packet frequency. Refer [SensorTool Manual](http://doc.rejeee.com/web/#/32?page_id=339

Documents / Resources

Rejeee SL111 LoRaWAN Temperature and Humidity Sensor [pdf] User Manual
SL111CN, SL111EU, SL111US, SL111AS, SL111, SL111 LoRaWAN Temperature and Humidity Sensor, LoRaWAN Temperature and Humidity Sensor, Temperature and Humidity Sensor, Humidity Sensor, Sensor

References

Leave a comment

Your email address will not be published. Required fields are marked *