2022-04-21 14:03:11 +08:00
|
|
|
{
|
|
|
|
"plate": 1,
|
|
|
|
"password": "123",
|
|
|
|
"conf": {
|
2022-05-07 16:56:15 +08:00
|
|
|
"3": {
|
2022-05-08 15:21:00 +08:00
|
|
|
"protocol": "txyun",
|
|
|
|
"type": "mos",
|
2022-04-29 13:40:59 +08:00
|
|
|
"keepAlive": "",
|
2022-05-08 15:21:00 +08:00
|
|
|
"clientID": "0",
|
|
|
|
"Devicename": "dtu_device1",
|
|
|
|
"ProductKey": "I81T7DUSFF",
|
|
|
|
"DeviceSecret": "wF+b5NwEHI53crHmOqdyQA==",
|
|
|
|
"ProductSecret": "",
|
|
|
|
"cleanSession": "0",
|
|
|
|
"qos": "1",
|
|
|
|
"subscribe": {"0": "I81T7DUSFF/dtu_device1/control"},
|
|
|
|
"publish": {"0": "I81T7DUSFF/dtu_device1/event"},
|
|
|
|
"serialID": 2
|
2022-04-21 14:03:11 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"reg": 0,
|
|
|
|
"convert": 0,
|
|
|
|
"version": 100,
|
|
|
|
"nolog": 0,
|
|
|
|
"message": {},
|
|
|
|
"uconf": {
|
|
|
|
"2": {
|
|
|
|
"baudrate": "115200",
|
|
|
|
"databits": "8",
|
|
|
|
"parity": "0",
|
|
|
|
"stopbits": "1",
|
|
|
|
"flowctl": "0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"fota": 1,
|
|
|
|
"pins": [
|
|
|
|
"1",
|
|
|
|
"2",
|
|
|
|
"3"
|
|
|
|
],
|
|
|
|
"direction_pin": {},
|
|
|
|
"apn": [
|
|
|
|
"",
|
|
|
|
"",
|
|
|
|
""
|
|
|
|
],
|
|
|
|
"service_acquire": 0,
|
2022-05-06 19:47:27 +08:00
|
|
|
"work_mode": "modbus",
|
2022-04-21 14:03:11 +08:00
|
|
|
"auto_connect": 1,
|
|
|
|
"offline_storage": false,
|
|
|
|
"modbus":{
|
2022-05-06 19:47:27 +08:00
|
|
|
"groups":[
|
|
|
|
{
|
|
|
|
"device_type": "temp_humid_sensor",
|
|
|
|
"device_model": "TH10S-B",
|
|
|
|
"slave_address":["0x01"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"device_type": "light_sensor",
|
|
|
|
"device_model": "YGC-BG-M",
|
|
|
|
"slave_address":["0x02", "0x03"]
|
|
|
|
}
|
|
|
|
]
|
2022-04-21 14:03:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|