Page
42 of 52
King Pigeon Communication Co., Ltd.
www.iot-solution.com
Wireless Data Acquisition System - LoRa Gateway BL280
//Alarm & recovery: the character is "
state
", followed by "alarm" or "recovery" (alarm represents
alarm data, recovery represents recovery data)
//Historical data mark: the character is "
retransmit
", followed by "enable", data during network
disconnection will be saved in the device temporarily. Once network is connected, it will be
published with “
retransmit
” mark to represent historical data (MQTT re-transmission function must
be enabled in configuration software)
(5) Data Format of Valid Payload in Device Subscribed Message
Subscribe Topic: Device serial (same as the one set in configuration software)
(King Pigeon Cloud 2.0 use“device serial number/sensor ID”as message publish topic. Thus
device subscribe topic must add wildcard “/+” so that cloud can send data to control device)
{
"sensorDatas":
[
{
"
sensorsId
": 211267, //Cloud platform sensor ID
"
switcher
":1,
//Data type & value
"
flag
":"DO3_1"
//Read-write mark
}
],
"
down
":"down"
//Data mark sent from cloud platform
}
Note”
//Cloud platform sensor ID: the character is "
sensorsID
", followed by ID number (ID is automatically
generated by cloud platform)
//Data type & value. It has following data types:
1. Digital datat: the character is "
switcher
", followed by "0" or "1"(0 represents open, 1
represents closed)
2. Numeric data: the character is "
value
", followed by "actual value"
//Read-write mark, the character is "
flag
", followed by "read-write mark of IO datapoints"
//Mark of message sent from cloud platform: the character is "
down
", followed by "down", it
represents data sent from cloud platform
(6) Read-write Mark of Node Collecting Datapoints
Data Name
Read-write
Mark
①
Data Type
Read-Write
Type
Remark
③
Air Temperature
TEMPx
Value
Read only
True Value=Original
Value / 10
Air Humidity
HUMIx
Value
Read only
True Value=Original
Value / 10
Light Intensity
ILLUx
Value
Read only
True Value=Original
Value
Co2 Concentration
CO2x
Value
Read only
True Value=Original
Value
TVOC Concentration
TVOCx
Value
Read only
True Value=Original
Value
Soil Temperature
SOILTEMPx
Value
Read only
True Value=Original
Value / 10
Soil Humidity
SOILHUMIx
Value
Read only
True Value=Original
Value / 10