Here is what I have now
[
{
"id": "3ec696660ec8b9b4",
"type": "ncd-ads1115",
"z": "f672d0ac69fd5b97",
"name": "ADC",
"connection": "f4775f0f8553a862",
"addr": "72",
"interval": "1000",
"outputs": 2,
"output_all": true,
"output_mult": "0.000628",
"channel_1": "4",
"channel_2": "_none",
"channel_3": "_none",
"channel_4": "_none",
"gain": "2",
"mode": "2",
"rate": "0",
"compMode": 0,
"compPol": 0,
"compLat": 0,
"compQueue": 3,
"delay": "100",
"x": 230,
"y": 100,
"wires": [
[
"bc632c21a3802b42"
],
[]
]
},
{
"id": "8d1b7ccc55bc9acc",
"type": "ui_text",
"z": "f672d0ac69fd5b97",
"group": "8ee0bb75fa4e2113",
"order": 3,
"width": 0,
"height": 0,
"name": "",
"label": "AC Current",
"format": "{{msg.payload | number : 2}} A",
"layout": "row-center",
"className": "",
"style": false,
"font": "",
"fontSize": 16,
"color": "#000000",
"x": 610,
"y": 100,
"wires": []
},
{
"id": "bc632c21a3802b42",
"type": "function",
"z": "f672d0ac69fd5b97",
"name": "function 2",
"func": "msg.payload = (msg.payload / 1000) - 0.02\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 420,
"y": 100,
"wires": [
[
"8d1b7ccc55bc9acc",
"37caa9e1987b0a76"
]
]
},
{
"id": "519b0ad02b478075",
"type": "ui_gauge",
"z": "f672d0ac69fd5b97",
"name": "",
"group": "8ee0bb75fa4e2113",
"order": 4,
"width": 0,
"height": 0,
"gtype": "gage",
"title": "Kilo Watts",
"label": "KW",
"format": "{{value | number : 2}}",
"min": 0,
"max": "4",
"colors": [
"#00b500",
"#e6e600",
"#ca3838"
],
"seg1": "0.8",
"seg2": "2",
"diff": false,
"className": "",
"x": 760,
"y": 140,
"wires": []
},
{
"id": "37caa9e1987b0a76",
"type": "function",
"z": "f672d0ac69fd5b97",
"name": "function 3",
"func": "msg.payload = (msg.payload * 120) / 1000\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 600,
"y": 140,
"wires": [
[
"519b0ad02b478075"
]
]
},
{
"id": "ec55e34653b1d418",
"type": "ui_text",
"z": "f672d0ac69fd5b97",
"group": "8ee0bb75fa4e2113",
"order": 5,
"width": 0,
"height": 0,
"name": "",
"label": "Total KWH",
"format": "{{msg.payload}}",
"layout": "col-center",
"className": "",
"style": false,
"font": "",
"fontSize": 16,
"color": "#000000",
"x": 770,
"y": 180,
"wires": []
},
{
"id": "c166e46294bf507d",
"type": "function",
"z": "f672d0ac69fd5b97",
"name": "function 4",
"func": "msg.payload = (msg.payload / 3600000)\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 600,
"y": 180,
"wires": [
[
"ec55e34653b1d418"
]
]
},
{
"id": "f4775f0f8553a862",
"type": "ncd-comm",
"name": "I2C",
"bus": "1",
"busManual": "",
"commType": "standard",
"addr": "0",
"useMux": false,
"muxAddr": "112",
"muxPort": "0"
},
{
"id": "8ee0bb75fa4e2113",
"type": "ui_group",
"name": "Main",
"tab": "9d03c9290d696c27",
"order": 1,
"disp": false,
"width": "6",
"collapse": false,
"className": ""
},
{
"id": "9d03c9290d696c27",
"type": "ui_tab",
"name": "Solar Power Stats",
"icon": "dashboard",
"disabled": false,
"hidden": false
}
]