node-red-contrib-huawei-solar
Version:
Node-RED nodes for reading data from Huawei SmartLogger 3000 and SUN2000 inverters via Modbus TCP
81 lines • 1.98 kB
JSON
[
{
"id": "smartlogger-example",
"type": "tab",
"label": "SmartLogger Basic Example",
"disabled": false,
"info": "Basic example showing how to read data from a Huawei SmartLogger 3000"
},
{
"id": "inject1",
"type": "inject",
"z": "smartlogger-example",
"name": "Read SmartLogger Data",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{}",
"payloadType": "json",
"x": 160,
"y": 100,
"wires": [
[
"smartlogger1"
]
]
},
{
"id": "smartlogger1",
"type": "smartlogger",
"z": "smartlogger-example",
"name": "SmartLogger 3000",
"operation": "readData",
"dataCategories": [
"system",
"power",
"environmental",
"alarms"
],
"namingConvention": "descriptive",
"host": "192.168.1.10",
"port": 502,
"unitId": 3,
"timeout": 5000,
"retries": 3,
"discoveryRange": "1-247",
"discoveryTimeout": 2000,
"parallelScans": 10,
"continueOnFail": false,
"x": 400,
"y": 100,
"wires": [
[
"debug1"
]
]
},
{
"id": "debug1",
"type": "debug",
"z": "smartlogger-example",
"name": "SmartLogger Output",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 640,
"y": 100,
"wires": []
}
]