Ulrik var så flink at dele hans Node-RED flow,
Tilpas MQTT indstillingerne så de passer med dit setup,
Og ændre SN:XXXXXXXX så det matcher serie nummeret på din el måler.
[
{
"id": "4b1bea36b7dd8584",
"type": "tab",
"label": "NES_El_Meter",
"disabled": false,
"info": "",
"env": []
},
{
"id": "e46932e5e7544d35",
"type": "file in",
"z": "4b1bea36b7dd8584",
"name": "",
"filename": "/var/tmp/BT23",
"filenameType": "str",
"format": "utf8",
"chunk": false,
"sendError": false,
"encoding": "none",
"allProps": false,
"x": 420,
"y": 60,
"wires": [
[
"48c84b39e679e5d2"
]
]
},
{
"id": "7b4137e10f4123b7",
"type": "inject",
"z": "4b1bea36b7dd8584",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "10",
"crontab": "",
"once": false,
"onceDelay": "10",
"topic": "",
"payload": "",
"payloadType": "date",
"x": 110,
"y": 60,
"wires": [
[
"e46932e5e7544d35",
"9a4d7d33704d4e7b"
]
]
},
{
"id": "b0c656868e9b7268",
"type": "debug",
"z": "4b1bea36b7dd8584",
"name": "",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 1230,
"y": 20,
"wires": []
},
{
"id": "9a4d7d33704d4e7b",
"type": "file in",
"z": "4b1bea36b7dd8584",
"name": "",
"filename": "/var/tmp/BT28",
"filenameType": "str",
"format": "utf8",
"chunk": false,
"sendError": false,
"encoding": "none",
"allProps": false,
"x": 420,
"y": 120,
"wires": [
[
"8f0e4d2205140705"
]
]
},
{
"id": "bf22e526b7e230ae",
"type": "mqtt out",
"z": "4b1bea36b7dd8584",
"name": "",
"topic": "",
"qos": "",
"retain": "",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "9dd179a5661933fc",
"x": 1330,
"y": 60,
"wires": []
},
{
"id": "1a4069141545a2f7",
"type": "inject",
"z": "4b1bea36b7dd8584",
"name": "config fwd_Total",
"props": [
{
"p": "topic",
"vt": "str"
},
{
"p": "payload"
}
],
"repeat": "",
"crontab": "00 00 * * *",
"once": false,
"onceDelay": "1",
"topic": "homeassistant/sensor/ELM_Main_fwd_Total/config",
"payload": "{\"name\":\"ELM_Main_fwd_Total\",\"dev\":{\"ids\":\"SN:XXXXXXXX\",\"mf\":\"NES\",\"model\":\"NES_83334\",\"name\":\"ELM_Main\",\"suggested_area\":\"EL_Meter\"},\"stat_t\":\"nodered/sensor/ELM_Main_fwd_Total\",\"uniq_id\":\"ELM_Main_fwd_Total\",\"dev_cla\":\"energy\",\"unit_of_meas\":\"kWh\",\"icon\":\"mdi:home-import-outline\",\"state_class\":\"total_increasing\"}",
"payloadType": "json",
"x": 130,
"y": 200,
"wires": [
[
"88c36857335ec902"
]
]
},
{
"id": "88c36857335ec902",
"type": "mqtt out",
"z": "4b1bea36b7dd8584",
"name": "",
"topic": "",
"qos": "",
"retain": "true",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "9dd179a5661933fc",
"x": 370,
"y": 380,
"wires": []
},
{
"id": "c0a79ffe9fbfcf08",
"type": "inject",
"z": "4b1bea36b7dd8584",
"name": "config fwd_Now",
"props": [
{
"p": "topic",
"vt": "str"
},
{
"p": "payload"
}
],
"repeat": "",
"crontab": "00 00 * * *",
"once": false,
"onceDelay": "1",
"topic": "homeassistant/sensor/ELM_Main_fwd_Now/config",
"payload": "{\"name\":\"ELM_Main_fwd_Now\",\"dev\":{\"ids\":\"SN:XXXXXXXX\",\"mf\":\"NES\",\"model\":\"NES_83334\",\"name\":\"ELM_Main\",\"suggested_area\":\"EL_Meter\"},\"stat_t\":\"nodered/sensor/ELM_Main_fwd_Now\",\"uniq_id\":\"ELM_Main_fwd_Now\",\"dev_cla\":\"power\",\"unit_of_meas\":\"W\",\"state_class\":\"measurement\"}",
"payloadType": "json",
"x": 130,
"y": 280,
"wires": [
[
"88c36857335ec902"
]
]
},
{
"id": "e2d682aa0dbdd432",
"type": "inject",
"z": "4b1bea36b7dd8584",
"name": "config rev_Total",
"props": [
{
"p": "topic",
"vt": "str"
},
{
"p": "payload"
}
],
"repeat": "",
"crontab": "00 00 * * *",
"once": false,
"onceDelay": "1",
"topic": "homeassistant/sensor/ELM_Main_rev_Total/config",
"payload": "{\"name\":\"ELM_Main_rev_Total\",\"dev\":{\"ids\":\"SN:XXXXXXXX\",\"mf\":\"NES\",\"model\":\"NES_83334\",\"name\":\"ELM_Main\",\"suggested_area\":\"EL_Meter\"},\"stat_t\":\"nodered/sensor/ELM_Main_rev_Total\",\"uniq_id\":\"ELM_Main_rev_Total\",\"dev_cla\":\"energy\",\"unit_of_meas\":\"kWh\",\"icon\":\"mdi:home-export-outline\",\"state_class\":\"total_increasing\"}",
"payloadType": "json",
"x": 130,
"y": 240,
"wires": [
[
"88c36857335ec902"
]
]
},
{
"id": "88b3bc2c9b34ecb9",
"type": "change",
"z": "4b1bea36b7dd8584",
"name": "fwd_Total",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "nodered/sensor/ELM_Main_fwd_Total",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.Fwd_KWh",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 960,
"y": 60,
"wires": [
[
"bf22e526b7e230ae"
]
]
},
{
"id": "02e6081042e5ce59",
"type": "change",
"z": "4b1bea36b7dd8584",
"name": "rev_Total",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "nodered/sensor/ELM_Main_rev_Total",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.Rev_KWh",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 960,
"y": 100,
"wires": [
[
"bf22e526b7e230ae"
]
]
},
{
"id": "b57fa75cd651bec7",
"type": "change",
"z": "4b1bea36b7dd8584",
"name": "fwd_Now",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "nodered/sensor/ELM_Main_fwd_Now",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.Fwd_KW",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1100,
"y": 160,
"wires": [
[
"f893c213b438b1fd"
]
]
},
{
"id": "f893c213b438b1fd",
"type": "mqtt out",
"z": "4b1bea36b7dd8584",
"name": "",
"topic": "",
"qos": "",
"retain": "",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "9dd179a5661933fc",
"x": 1330,
"y": 320,
"wires": []
},
{
"id": "e864da4a2b45800e",
"type": "change",
"z": "4b1bea36b7dd8584",
"name": "rev_Now",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "nodered/sensor/ELM_Main_rev_Now",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.Rev_KW",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1100,
"y": 200,
"wires": [
[
"f893c213b438b1fd"
]
]
},
{
"id": "34306870cce63f41",
"type": "inject",
"z": "4b1bea36b7dd8584",
"name": "config rev_Now",
"props": [
{
"p": "topic",
"vt": "str"
},
{
"p": "payload"
}
],
"repeat": "",
"crontab": "00 00 * * *",
"once": false,
"onceDelay": "1",
"topic": "homeassistant/sensor/ELM_Main_rev_Now/config",
"payload": "{\"name\":\"ELM_Main_rev_Now\",\"dev\":{\"ids\":\"SN:XXXXXXXX\",\"mf\":\"NES\",\"model\":\"NES_83334\",\"name\":\"ELM_Main\",\"suggested_area\":\"EL_Meter\"},\"stat_t\":\"nodered/sensor/ELM_Main_rev_Now\",\"uniq_id\":\"ELM_Main_rev_Now\",\"dev_cla\":\"power\",\"unit_of_meas\":\"W\",\"state_class\":\"measurement\"}",
"payloadType": "json",
"x": 130,
"y": 320,
"wires": [
[
"88c36857335ec902"
]
]
},
{
"id": "be02ccf6fdeefee3",
"type": "inject",
"z": "4b1bea36b7dd8584",
"name": "config L1_Amp",
"props": [
{
"p": "topic",
"vt": "str"
},
{
"p": "payload"
}
],
"repeat": "",
"crontab": "00 00 * * *",
"once": true,
"onceDelay": "1",
"topic": "homeassistant/sensor/ELM_Main_L1_Amp/config",
"payload": "{\"name\":\"ELM_Main_L1_Amp\",\"dev\":{\"ids\":\"SN:XXXXXXXX\",\"mf\":\"NES\",\"model\":\"NES_83334\",\"name\":\"ELM_Main\",\"suggested_area\":\"EL_Meter\"},\"stat_t\":\"nodered/sensor/ELM_Main_L1_Amp\",\"uniq_id\":\"ELM_Main_L1_Amp\",\"dev_cla\":\"current\",\"unit_of_meas\":\"A\",\"state_class\":\"measurement\"}",
"payloadType": "json",
"x": 120,
"y": 360,
"wires": [
[
"88c36857335ec902"
]
]
},
{
"id": "b413bc13a2eda78f",
"type": "inject",
"z": "4b1bea36b7dd8584",
"name": "config L1_Volt",
"props": [
{
"p": "topic",
"vt": "str"
},
{
"p": "payload"
}
],
"repeat": "",
"crontab": "00 00 * * *",
"once": true,
"onceDelay": "1",
"topic": "homeassistant/sensor/ELM_Main_L1_Volt/config",
"payload": "{\"name\":\"ELM_Main_L1_Volt\",\"dev\":{\"ids\":\"SN:XXXXXXXX\",\"mf\":\"NES\",\"model\":\"NES_83334\",\"name\":\"ELM_Main\",\"suggested_area\":\"EL_Meter\"},\"stat_t\":\"nodered/sensor/ELM_Main_L1_volt\",\"uniq_id\":\"ELM_Main_L1_volt\",\"dev_cla\":\"voltage\",\"unit_of_meas\":\"V\",\"state_class\":\"measurement\"}",
"payloadType": "json",
"x": 120,
"y": 400,
"wires": [
[
"88c36857335ec902"
]
]
},
{
"id": "5e6bc139645a8852",
"type": "change",
"z": "4b1bea36b7dd8584",
"name": "L1_A",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "nodered/sensor/ELM_Main_L1_Amp",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.L1_A",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1090,
"y": 240,
"wires": [
[
"f893c213b438b1fd"
]
]
},
{
"id": "130fa5bd3255b943",
"type": "change",
"z": "4b1bea36b7dd8584",
"name": "L1_V",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "nodered/sensor/ELM_Main_L1_volt",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.L1_V",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1090,
"y": 280,
"wires": [
[
"f893c213b438b1fd"
]
]
},
{
"id": "38366f5b0a911f05",
"type": "inject",
"z": "4b1bea36b7dd8584",
"name": "config L2_Amp",
"props": [
{
"p": "topic",
"vt": "str"
},
{
"p": "payload"
}
],
"repeat": "",
"crontab": "00 00 * * *",
"once": true,
"onceDelay": "1",
"topic": "homeassistant/sensor/ELM_Main_L2_Amp/config",
"payload": "{\"name\":\"ELM_Main_L2_Amp\",\"dev\":{\"ids\":\"SN:XXXXXXXX\",\"mf\":\"NES\",\"model\":\"NES_83334\",\"name\":\"ELM_Main\",\"suggested_area\":\"EL_Meter\"},\"stat_t\":\"nodered/sensor/ELM_Main_L2_Amp\",\"uniq_id\":\"ELM_Main_L2_Amp\",\"dev_cla\":\"current\",\"unit_of_meas\":\"A\",\"state_class\":\"measurement\"}",
"payloadType": "json",
"x": 120,
"y": 440,
"wires": [
[
"88c36857335ec902"
]
]
},
{
"id": "f50b3b3209c40047",
"type": "inject",
"z": "4b1bea36b7dd8584",
"name": "config L2_Volt",
"props": [
{
"p": "topic",
"vt": "str"
},
{
"p": "payload"
}
],
"repeat": "",
"crontab": "00 00 * * *",
"once": true,
"onceDelay": "1",
"topic": "homeassistant/sensor/ELM_Main_L2_Volt/config",
"payload": "{\"name\":\"ELM_Main_L2_Volt\",\"dev\":{\"ids\":\"SN:XXXXXXXX\",\"mf\":\"NES\",\"model\":\"NES_83334\",\"name\":\"ELM_Main\",\"suggested_area\":\"EL_Meter\"},\"stat_t\":\"nodered/sensor/ELM_Main_L2_volt\",\"uniq_id\":\"ELM_Main_L2_volt\",\"dev_cla\":\"voltage\",\"unit_of_meas\":\"V\",\"state_class\":\"measurement\"}",
"payloadType": "json",
"x": 120,
"y": 480,
"wires": [
[
"88c36857335ec902"
]
]
},
{
"id": "8525223bb3dab9c8",
"type": "inject",
"z": "4b1bea36b7dd8584",
"name": "config L3_Amp",
"props": [
{
"p": "topic",
"vt": "str"
},
{
"p": "payload"
}
],
"repeat": "",
"crontab": "00 00 * * *",
"once": true,
"onceDelay": "1",
"topic": "homeassistant/sensor/ELM_Main_L3_Amp/config",
"payload": "{\"name\":\"ELM_Main_L3_Amp\",\"dev\":{\"ids\":\"SN:XXXXXXXX\",\"mf\":\"NES\",\"model\":\"NES_83334\",\"name\":\"ELM_Main\",\"suggested_area\":\"EL_Meter\"},\"stat_t\":\"nodered/sensor/ELM_Main_L3_Amp\",\"uniq_id\":\"ELM_Main_L3_Amp\",\"dev_cla\":\"current\",\"unit_of_meas\":\"A\",\"state_class\":\"measurement\"}",
"payloadType": "json",
"x": 120,
"y": 520,
"wires": [
[
"88c36857335ec902"
]
]
},
{
"id": "0ab8d96cf700c57a",
"type": "change",
"z": "4b1bea36b7dd8584",
"name": "L2_A",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "nodered/sensor/ELM_Main_L2_Amp",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.L2_A",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1090,
"y": 320,
"wires": [
[
"f893c213b438b1fd"
]
]
},
{
"id": "f48433f7fae8a20c",
"type": "change",
"z": "4b1bea36b7dd8584",
"name": "L2_V",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "nodered/sensor/ELM_Main_L2_volt",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.L2_V",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1090,
"y": 360,
"wires": [
[
"f893c213b438b1fd"
]
]
},
{
"id": "4de8de343e055c68",
"type": "change",
"z": "4b1bea36b7dd8584",
"name": "L3_A",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "nodered/sensor/ELM_Main_L3_Amp",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.L3_A",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1090,
"y": 400,
"wires": [
[
"f893c213b438b1fd"
]
]
},
{
"id": "12c832ab07c97a51",
"type": "change",
"z": "4b1bea36b7dd8584",
"name": "L3_V",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "nodered/sensor/ELM_Main_L3_volt",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.L3_V",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1090,
"y": 440,
"wires": [
[
"f893c213b438b1fd"
]
]
},
{
"id": "6002807b0e30e6e3",
"type": "inject",
"z": "4b1bea36b7dd8584",
"name": "config L3_Volt",
"props": [
{
"p": "topic",
"vt": "str"
},
{
"p": "payload"
}
],
"repeat": "",
"crontab": "00 00 * * *",
"once": false,
"onceDelay": "1",
"topic": "homeassistant/sensor/ELM_Main_L3_Volt/config",
"payload": "{\"name\":\"ELM_Main_L3_Volt\",\"dev\":{\"ids\":\"SN:XXXXXXXX\",\"mf\":\"NES\",\"model\":\"NES_83334\",\"name\":\"ELM_Main\",\"suggested_area\":\"EL_Meter\"},\"stat_t\":\"nodered/sensor/ELM_Main_L3_volt\",\"uniq_id\":\"ELM_Main_L3_volt\",\"dev_cla\":\"voltage\",\"unit_of_meas\":\"V\",\"state_class\":\"measurement\"}",
"payloadType": "json",
"x": 120,
"y": 560,
"wires": [
[
"88c36857335ec902"
]
]
},
{
"id": "c10a2ab2bf5a5a33",
"type": "function",
"z": "4b1bea36b7dd8584",
"name": "decimalpoint",
"func": "msg.payload.Fwd_KWh = parseFloat(msg.payload.Fwd_KWh.toFixed(3)) \n\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 750,
"y": 60,
"wires": [
[
"88b3bc2c9b34ecb9"
]
]
},
{
"id": "6d270160263cc40b",
"type": "function",
"z": "4b1bea36b7dd8584",
"name": "decimalpoint",
"func": "msg.payload.Rev_KWh = parseFloat(msg.payload.Rev_KWh.toFixed(3)) \n\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 750,
"y": 100,
"wires": [
[
"02e6081042e5ce59"
]
]
},
{
"id": "45c6e2edfd4b1e16",
"type": "function",
"z": "4b1bea36b7dd8584",
"name": "decimalpoint",
"func": "msg.payload.L3_V = parseFloat(msg.payload.L3_V.toFixed(1)) \n\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 930,
"y": 440,
"wires": [
[
"12c832ab07c97a51"
]
]
},
{
"id": "72e25875e361ba21",
"type": "function",
"z": "4b1bea36b7dd8584",
"name": "decimalpoint",
"func": "msg.payload.L3_A = parseFloat(msg.payload.L3_A.toFixed(1)) \n\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 930,
"y": 400,
"wires": [
[
"4de8de343e055c68"
]
]
},
{
"id": "1507b567c048198a",
"type": "function",
"z": "4b1bea36b7dd8584",
"name": "decimalpoint",
"func": "msg.payload.L2_V = parseFloat(msg.payload.L2_V.toFixed(1)) \n\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 930,
"y": 360,
"wires": [
[
"f48433f7fae8a20c"
]
]
},
{
"id": "f76a5e5f50d7206e",
"type": "function",
"z": "4b1bea36b7dd8584",
"name": "decimalpoint",
"func": "msg.payload.L2_A = parseFloat(msg.payload.L2_A.toFixed(1)) \n\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 930,
"y": 320,
"wires": [
[
"0ab8d96cf700c57a"
]
]
},
{
"id": "86fc3962fc3b34fc",
"type": "function",
"z": "4b1bea36b7dd8584",
"name": "decimalpoint",
"func": "msg.payload.L1_A = parseFloat(msg.payload.L1_A.toFixed(1)) \n\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 930,
"y": 240,
"wires": [
[
"5e6bc139645a8852"
]
]
},
{
"id": "ccc99cec8855b094",
"type": "function",
"z": "4b1bea36b7dd8584",
"name": "decimalpoint",
"func": "msg.payload.L1_V = parseFloat(msg.payload.L1_V.toFixed(1)) \n\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 930,
"y": 280,
"wires": [
[
"130fa5bd3255b943"
]
]
},
{
"id": "48c84b39e679e5d2",
"type": "buffer-parser",
"z": "4b1bea36b7dd8584",
"name": "BT23",
"data": "payload",
"dataType": "msg",
"specification": "spec",
"specificationType": "ui",
"items": [
{
"type": "int32be",
"name": "Fwd_KWh",
"offset": 0,
"length": 1,
"offsetbit": 0,
"scale": "0.001",
"mask": ""
},
{
"type": "int32be",
"name": "Rev_KWh",
"offset": 4,
"length": 1,
"offsetbit": 0,
"scale": "0.001",
"mask": ""
}
],
"swap1": "swap32",
"swap2": "",
"swap3": "",
"swap1Type": "swap",
"swap2Type": "swap",
"swap3Type": "swap",
"msgProperty": "payload",
"msgPropertyType": "str",
"resultType": "keyvalue",
"resultTypeType": "return",
"multipleResult": false,
"fanOutMultipleResult": false,
"setTopic": true,
"outputs": 1,
"x": 570,
"y": 60,
"wires": [
[
"c10a2ab2bf5a5a33",
"6d270160263cc40b",
"b0c656868e9b7268"
]
]
},
{
"id": "8f0e4d2205140705",
"type": "buffer-parser",
"z": "4b1bea36b7dd8584",
"name": "BT28",
"data": "payload",
"dataType": "msg",
"specification": "spec",
"specificationType": "ui",
"items": [
{
"type": "int32be",
"name": "Fwd_KW",
"offset": 0,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "int32be",
"name": "Rev_KW",
"offset": 4,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "int32be",
"name": "L1_A",
"offset": 16,
"length": 1,
"offsetbit": 0,
"scale": "0.001",
"mask": ""
},
{
"type": "int32be",
"name": "L2_A",
"offset": 20,
"length": 1,
"offsetbit": 0,
"scale": "0.001",
"mask": ""
},
{
"type": "int32be",
"name": "L3_A",
"offset": 24,
"length": 1,
"offsetbit": 0,
"scale": "0.001",
"mask": ""
},
{
"type": "int32be",
"name": "L1_V",
"offset": 28,
"length": 1,
"offsetbit": 0,
"scale": "0.001",
"mask": ""
},
{
"type": "int32be",
"name": "L2_V",
"offset": 32,
"length": 1,
"offsetbit": 0,
"scale": "0.001",
"mask": ""
},
{
"type": "int32be",
"name": "L3_V",
"offset": 36,
"length": 1,
"offsetbit": 0,
"scale": "0.001",
"mask": ""
}
],
"swap1": "swap32",
"swap2": "",
"swap3": "",
"swap1Type": "swap",
"swap2Type": "swap",
"swap3Type": "swap",
"msgProperty": "payload",
"msgPropertyType": "str",
"resultType": "keyvalue",
"resultTypeType": "return",
"multipleResult": false,
"fanOutMultipleResult": false,
"setTopic": true,
"outputs": 1,
"x": 570,
"y": 120,
"wires": [
[
"b57fa75cd651bec7",
"e864da4a2b45800e",
"45c6e2edfd4b1e16",
"72e25875e361ba21",
"1507b567c048198a",
"f76a5e5f50d7206e",
"86fc3962fc3b34fc",
"ccc99cec8855b094"
]
]
},
{
"id": "9dd179a5661933fc",
"type": "mqtt-broker",
"name": "",
"broker": "192.168.1.10",
"port": "1883",
"clientid": "",
"autoConnect": true,
"usetls": false,
"protocolVersion": "4",
"keepalive": "60",
"cleansession": true,
"birthTopic": "",
"birthQos": "0",
"birthPayload": "",
"birthMsg": {},
"closeTopic": "",
"closeQos": "0",
"closePayload": "",
"closeMsg": {},
"willTopic": "",
"willQos": "0",
"willPayload": "",
"willMsg": {},
"userProps": "",
"sessionExpiry": ""
}
]