mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-27 18:59:26 +08:00
调试修改MQTT通讯问题
This commit is contained in:
@@ -1,8 +1,34 @@
|
||||
{
|
||||
"debug":0,
|
||||
"launchdate": "2025-09-01",
|
||||
"weburl": "http://127.0.0.1:19601/",
|
||||
"database": {"host": "localhost", "port": 3306, "user": "root", "passwd": "123456", "dbname": "ess"},
|
||||
"token":"",
|
||||
"http": {"port": 19801},
|
||||
|
||||
"http": {"token":0, "port": 19801, "encryption":0, "encryptKey":""},
|
||||
"mqtt": {"host":"mqtt://43.136.119.46:6203","username":"jsyhsec","password":"123456"},
|
||||
"weburl": "http://127.0.0.1:19601/"
|
||||
"topic": {
|
||||
"EMS_YX": {"deviceType":101, "polling":0, "enabled": 1},
|
||||
"EMS_YC": {"deviceType":101, "polling":0, "enabled": 1},
|
||||
"EMS_YT": {"deviceType":101, "polling":0, "enabled": 1},
|
||||
"PCS_YX": {"deviceType":102, "polling":1, "enabled": 1},
|
||||
"PCS_YC": {"deviceType":102, "polling":1, "enabled": 1},
|
||||
"PCU_YX": {"deviceType":103, "polling":0, "enabled": 1},
|
||||
"PCU_YC": {"deviceType":103, "polling":0, "enabled": 1},
|
||||
"BMS_YX": {"deviceType":104, "polling":0, "enabled": 1},
|
||||
"BMS_YC": {"deviceType":104, "polling":0, "enabled": 1},
|
||||
"BCU_YC": {"deviceType":105, "polling":1, "enabled": 1},
|
||||
"BCU_YX": {"deviceType":105, "polling":1, "enabled": 1},
|
||||
"MEM_YC": {"deviceType":3, "polling":0, "enabled": 1},
|
||||
"TH_YC": {"deviceType":10, "polling":1, "enabled": 1},
|
||||
"Fire40_YX": {"deviceType":7, "polling":1, "enabled": 1},
|
||||
"Cooling_YC": {"deviceType":14, "polling":1, "enabled": 1},
|
||||
"Cooling_YX": {"deviceType":14, "polling":1, "enabled": 1},
|
||||
"Gateway_YX": {"deviceType":15, "polling":1, "enabled": 1},
|
||||
"Gateway_YC": {"deviceType":15, "polling":1, "enabled": 1},
|
||||
"Charger_YC": {"deviceType":106, "polling":0, "enabled": 1}
|
||||
},
|
||||
"view": {"latitude":0,"longitude":0,"altitude":0},
|
||||
"video": {
|
||||
"1":{"host":"", "port":9000, "user":"", "passwd":""}
|
||||
}
|
||||
}
|
||||
@@ -866,5 +866,25 @@
|
||||
{"key": "40021", "datatype": "uint16", "remark": "自定时间段"},
|
||||
{"key": "40038", "datatype": "uint16", "remark": "其他参数"}
|
||||
]
|
||||
},
|
||||
"Charger_YC":{
|
||||
"addr":[
|
||||
{"key": "11", "datatype": "uint16", "remark": "枪1:状态"},
|
||||
{"key": "12", "datatype": "uint16", "remark": "枪1:需求电压"},
|
||||
{"key": "13", "datatype": "uint16", "remark": "枪1:需求电流"},
|
||||
{"key": "14", "datatype": "uint16", "remark": "枪1:需求功率"},
|
||||
{"key": "15", "datatype": "uint16", "remark": "枪1:输出电压"},
|
||||
{"key": "16", "datatype": "uint16", "remark": "枪1:输出电流"},
|
||||
{"key": "17", "datatype": "uint16", "remark": "枪1:输出功率"},
|
||||
{"key": "18", "datatype": "uint16", "remark": "枪1:功率限值"},
|
||||
{"key": "21", "datatype": "uint16", "remark": "枪2:状态"},
|
||||
{"key": "22", "datatype": "uint16", "remark": "枪2:需求电压"},
|
||||
{"key": "23", "datatype": "uint16", "remark": "枪2:需求电流"},
|
||||
{"key": "24", "datatype": "uint16", "remark": "枪2:需求功率"},
|
||||
{"key": "25", "datatype": "uint16", "remark": "枪2:输出电压"},
|
||||
{"key": "26", "datatype": "uint16", "remark": "枪2:输出电流"},
|
||||
{"key": "27", "datatype": "uint16", "remark": "枪2:输出功率"},
|
||||
{"key": "28", "datatype": "uint16", "remark": "枪2:功率限值"}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -96,14 +96,15 @@
|
||||
"Charger": {
|
||||
"deviceType":106,
|
||||
"addrYC":[
|
||||
["需求电压", "31071", "0.0", " V"],
|
||||
["需求电流", "31073", "0.0", " A"],
|
||||
["需求功率", "31075", "0.0", " kW"],
|
||||
["功率限值", "31077", "0.0", " kW"],
|
||||
["输出电压", "31079", "0.0", " V"],
|
||||
["输出电流", "31081", "0.0", " A"],
|
||||
["输出功率", "31083", "0.0", " kW"]
|
||||
["工作状态", "11", "空闲", ""],
|
||||
["需求电压", "12", "0.0", " V", "0.1"],
|
||||
["需求电流", "13", "0.0", " A", "0.01"],
|
||||
["需求功率", "14", "0.0", " kW", "0.1"],
|
||||
["输出电压", "15", "0.0", " V", "0.1"],
|
||||
["输出电流", "16", "0.0", " A", "0.01"],
|
||||
["输出功率", "17", "0.0", " kW", "0.1"],
|
||||
["功率限值", "18", "0.0", " kW", "0.1"],
|
||||
],
|
||||
"addrCurve": ["31079", "31081", "31083"]
|
||||
"addrCurve": ["15", "16", "17"]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user