Skip to content

Instantly share code, notes, and snippets.

@milosjovac
Last active December 19, 2017 12:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save milosjovac/ba02adf79c851d7fd9c661531f4778ff to your computer and use it in GitHub Desktop.
Save milosjovac/ba02adf79c851d7fd9c661531f4778ff to your computer and use it in GitHub Desktop.
[{
"id": "4b69ebbb.ef6144",
"type": "modbus-getter",
"z": "a0a135f0.1c2668",
"name": "Hz",
"showStatusActivities": true,
"showErrors": true,
"unitid": "1",
"dataType": "HoldingRegister",
"adr": "272",
"quantity": "2",
"server": "2984ebcd.e9d664",
"x": 402,
"y": 371,
"wires": [
[],
[]
]
}, {
"id": "3d070292.7bf66e",
"type": "modbus-getter",
"z": "a0a135f0.1c2668",
"name": "Volt & Amp",
"showStatusActivities": true,
"showErrors": true,
"unitid": "1",
"dataType": "HoldingRegister",
"adr": "0",
"quantity": "50",
"server": "2984ebcd.e9d664",
"x": 402,
"y": 179,
"wires": [
["91dddf04.b0472"],
[]
]
}, {
"id": "91dddf04.b0472",
"type": "modbus-getter",
"z": "a0a135f0.1c2668",
"name": "kwh",
"showStatusActivities": true,
"showErrors": true,
"unitid": "1",
"dataType": "HoldingRegister",
"adr": "52",
"quantity": "50",
"server": "2984ebcd.e9d664",
"x": 402,
"y": 279,
"wires": [
["4b69ebbb.ef6144"],
[]
]
}, {
"id": "b462160b.4b37c8",
"type": "inject",
"z": "a0a135f0.1c2668",
"name": "1sec",
"topic": "",
"payload": "",
"payloadType": "date",
"repeat": "1",
"crontab": "",
"once": false,
"x": 242,
"y": 179,
"wires": [
["3d070292.7bf66e"]
]
}, {
"id": "749e7a2c.da9d74",
"type": "modbus-queue-info",
"z": "a0a135f0.1c2668",
"name": "",
"unitid": "1",
"lowLowLevel": 25,
"lowLevel": 75,
"highLevel": 150,
"highHighLevel": 300,
"server": "2984ebcd.e9d664",
"errorOnHighLevel": true,
"x": 373.5,
"y": 443,
"wires": [
[]
]
}, {
"id": "2984ebcd.e9d664",
"type": "modbus-client",
"z": "",
"name": "UART-RS485 (EM430)",
"clienttype": "serial",
"bufferCommands": true,
"stateLogEnabled": false,
"tcpHost": "127.0.0.1",
"tcpPort": "502",
"tcpType": "DEFAULT",
"serialPort": "/dev/ttyS0",
"serialType": "RTU-BUFFERD",
"serialBaudrate": "9600",
"serialDatabits": "8",
"serialStopbits": "1",
"serialParity": "none",
"serialConnectionDelay": "100",
"unit_id": 1,
"commandDelay": 1,
"clientTimeout": 1000,
"reconnectTimeout": 2000
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment