85 lines
2.2 KiB
JSON
85 lines
2.2 KiB
JSON
{
|
|
"common": {
|
|
"name": "rsonoff",
|
|
"version": "2.0.9",
|
|
"title": "RSonoff",
|
|
"desc": {
|
|
"en": "RSonoff",
|
|
"cn": "串口开关控制器"
|
|
},
|
|
"license": "MIT",
|
|
"platform": "Javascript/Node.js",
|
|
"mode": "daemon",
|
|
"loglevel": "info",
|
|
"messagebox": true,
|
|
"icon": "modbus.png",
|
|
"keywords": [
|
|
"RSonoff"
|
|
],
|
|
"enabled": true,
|
|
"extIcon": "https://git.spacen.net/yunkong2/yunkong2.rsonoff/raw/master/admin/modbus.png",
|
|
"type": "protocols",
|
|
"config": {
|
|
"minWidth": 1024,
|
|
"width": 1224,
|
|
"height": 600
|
|
}
|
|
},
|
|
"native": {
|
|
"params": {
|
|
"type": "tcp",
|
|
"bind": "127.0.0.1",
|
|
"port": 502,
|
|
"comName": "",
|
|
"baudRate": 9600,
|
|
"dataBits": 8,
|
|
"stopBits": 1,
|
|
"parity": "none",
|
|
"deviceId": 1,
|
|
"timeout": 5000,
|
|
"slave": 0,
|
|
"poll": 1000,
|
|
"recon": 60000,
|
|
"maxBlock": 100,
|
|
"maxBoolBlock": 128,
|
|
"multiDeviceId": false,
|
|
"pulsetime": 1000,
|
|
"disInputsOffset": 10001,
|
|
"coilsOffset": 1,
|
|
"inputRegsOffset": 30001,
|
|
"holdingRegsOffset": 40001,
|
|
"showAliases": true,
|
|
"directAddresses": false,
|
|
"round": 2,
|
|
"doNotRoundAddressToWord": false
|
|
},
|
|
"disInputs": [],
|
|
"coils": [],
|
|
"inputRegs": [],
|
|
"holdingRegs": []
|
|
},
|
|
"instanceObjects": [
|
|
{
|
|
"_id": "info",
|
|
"type": "channel",
|
|
"common": {
|
|
"name": "Information"
|
|
},
|
|
"native": {}
|
|
},
|
|
{
|
|
"_id": "info.connection",
|
|
"type": "state",
|
|
"common": {
|
|
"role": "indicator.connected",
|
|
"name": "If master connected",
|
|
"type": "boolean",
|
|
"read": true,
|
|
"write": false,
|
|
"def": false
|
|
},
|
|
"native": {}
|
|
}
|
|
]
|
|
}
|