Files
HP_InHand_IG502/APPS/config.ini
2025-04-13 18:36:28 -05:00

309 lines
6.2 KiB
INI

{
"controllers": [],
"measures": [],
"alarms": [],
"alarmLables": ["default"],
"groups": [
{
"_id":"group59b64649c93",
"name": "default",
"uploadInterval": 10,
"LwTSDBSize": 1000,
"strategy": 1,
"enablePerOnchange": 0,
"historyDataMode": "gateway",
"historyDataPath": "/var/user/data/dbhome/device_supervisor/LwTSDB"
}
],
"misc": {
"maxAlarmRecordSz": 2000,
"logLvl": "INFO",
"coms": [
{
"name": "rs232",
"baud": 9600,
"bits": 8,
"stopbits": 1,
"parityChk": "n"
},
{
"name": "rs485",
"baud": 9600,
"bits": 8,
"stopbits": 1,
"parityChk": "n"
}
],
"cachePath": "/var/user/data/dbhome/device_supervisor/offlinedata",
"cacheSize": 10000,
"debugLogPath": "/var/user/data/dbhome/device_supervisor/debugLog",
"debugLogSize": 2000,
"cacheMode": "gateway",
"cacheUploadPeriod": 200,
"cacheStrategy": 0,
"pubTimeout": 1000,
"pubRepeatNum": 3,
"debugLogMode": "gateway",
"logNum": 2,
"logSize": 1
},
"clouds": [
{
"_id": "cloud59b6464bd03",
"cacheSize": 10000,
"enable": 0,
"name": "default",
"type": "Standard MQTT",
"args": {
"host": "",
"port": 1883,
"clientId": "",
"auth": 0,
"tls": 0,
"tlsAuth": "caSelfSigned",
"groupId": "",
"cleanSession": 0,
"mqttVersion": "v3.1.1",
"keepalive": 60,
"key": "",
"cert": "",
"rootCA": "",
"verifyServer": 0,
"verifyClient": 0,
"username": "",
"passwd": "",
"willQos": 0,
"willRetain": 0,
"willTopic": "",
"willPayload": ""
},
"uploadRules": []
}
],
"labels": [],
"quickfaas": {
"genericFuncs": [],
"uploadFuncs": [],
"downloadFuncs": []
},
"mindspheres": [
{
"name": "mindsphere",
"enable": 0,
"_id": "mindsphereeafcdf",
"args": {
"hostEnvironment": "eu1",
"hostDomain": "mindsphere.io",
"appName": "",
"appVersion": "",
"clientId": "",
"clientSecret": "",
"authType": "tenant",
"hostTenant": "",
"userTenant": "",
"timeout": 10,
"statusTimeout": 300,
"enableOfflinePut": 0
},
"mindsphereputs": []
}
],
"modbusSlave": {
"enable": 0,
"protocol": "Modbus-TCP",
"port": 502,
"slaveAddr": 1,
"useRawvalue": 1,
"int16Ord": "ab",
"int32Ord": "abcd",
"float32Ord": "abcd",
"maxConnection": 5,
"mapping_table":[],
"mappingTable": [
{
"name": "1",
"slaveAddr": 1,
"_id": "modbusTCPSlave01",
"measures": []
}
]
},
"modbusRTUSlave": {
"enable": 0,
"protocol": "Modbus-RTU",
"coms": "rs485",
"useRawvalue": 1,
"slaveAddr": 1,
"int16Ord": "ab",
"int32Ord": "abcd",
"float32Ord": "abcd",
"mapping_table":[],
"mappingTable": [
{
"name": "1",
"slaveAddr": 1,
"_id": "modbusRTUSlave01",
"measures": []
}
]
},
"iec104Server": {
"enable": 0,
"cotSize": 2,
"port": 2404,
"asduLen": 2,
"connectMode": "tcpServer",
"enableSpontaneous": 1,
"useRawvalue": 1,
"serverList": [
{
"asduAddr": 1
}
],
"kValue": 12,
"wValue": 8,
"t0": 30,
"t1": 15,
"t2": 10,
"t3": 20,
"maximumLink" : 5,
"timeSet": 1,
"byteOrder": "abcd",
"mapping_table":[]
},
"iec101Server": {
"enable": 0,
"coms": "rs485",
"mode": "UnBalance",
"enableSpontaneous": 1,
"protocolMode": 0,
"useRawvalue": 1,
"linkLen": 2,
"linkAddr": 1,
"asduLen": 2,
"ioaLen": 3,
"cotLen": 2,
"serverList": [
{
"asduAddr": 1
}
],
"linkTimeOut": 2000,
"timeSet": 1,
"idleTimeOut": 10000,
"byteOrder": "abcd",
"mappingTable": {
"YX": [],
"YC": [],
"YK": []
}
},
"iec104Client": {
"enable": 0,
"connectType": 2,
"serverAddr": "ipower.inhandcloud.cn",
"serverPort": 2406,
"communicationCode": "",
"protocol": 1,
"asduAddr": 1,
"tls": 1,
"verification": 1,
"mapping_table": {
"YX": [],
"YC": [],
"YK": []
}
},
"opcuaServer": {
"enable": 0,
"port": 4840,
"maximumLink" : 5,
"securityMode": 0,
"certificate": "None",
"privateKey": "None",
"useRawvalue": 1,
"identifierType": "String",
"pubsub": 0,
"mapping_table":[]
},
"iec61850Server": {
"enable": 0,
"protocol": "iec61850Server",
"port": 102,
"iedName": "INHAND",
"LDName": "Gateway",
"ctrlMode": 1,
"authentication": 0,
"password": "123456",
"useRawvalue": 1,
"dataSet": [],
"mapping_table": []
},
"sl651Slave": {
"enable": 0,
"centerAaddr": 1,
"remoteAddr": "",
"addrCode": "",
"password": "",
"platform_list": [],
"useRawvalue": 1,
"mapping_table": []
},
"hj212Client": {
"enable": 0,
"useRawvalue": 1,
"platform_list": [],
"block_list": [],
"mapping_table": []
},
"bacnetServer": {
"enable": 0,
"protocol": "BACnet/IP",
"deviceId": 0,
"port": 47808,
"bbmdEnable": 0,
"useRawvalue": 1,
"mapping_table": []
},
"Dnp3Server": {
"enable": 0,
"protocol": "Dnp3-TCP",
"slaveAddr": 1,
"masterAddr": 2,
"port": 20000,
"useRawvalue": 1,
"enableUnsol": 0,
"maxFrasize": 4096,
"layerTimeout": 1000,
"linkRetry": 5,
"enableLink": 0,
"mapping_table": []
},
"snmpAgent": {
"enable": 0,
"port": 161,
"useRawvalue": 1,
"version": 3,
"userName": "",
"enableAuth": 0,
"readWrite": "ro",
"enable_trap": 0,
"mapping_table": []
},
"templates": {},
"bindConfig": {
"enable": 0,
"bind":{
"modelId": "",
"modelName": "",
"srcId": "",
"srcName": "",
"devId": "",
"devName": ""
},
"varGroups": [],
"variables": [],
"alerts":[]
}
}