demo.dtu/dtu_config.json

67 lines
1.3 KiB
JSON
Raw Normal View History

2022-04-21 14:03:11 +08:00
{
"plate": 1,
"password": "123",
"conf": {
"3": {
"protocol": "txyun",
"type": "mos",
"keepAlive": "",
"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,
"work_mode": "modbus",
2022-04-21 14:03:11 +08:00
"auto_connect": 1,
"offline_storage": false,
"modbus":{
"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
}
}