Apply rounding to CPU Average Load sensors
This commit is contained in:
110
flows.json
110
flows.json
@ -907,10 +907,15 @@
|
||||
"d681fa96683511c1",
|
||||
"e5cc046624cd5453",
|
||||
"7ffbdab6daa40cd9",
|
||||
"d00db0647d1c4034"
|
||||
"d00db0647d1c4034",
|
||||
"7e733e83ceaef1f9",
|
||||
"2d43bf0d5590f6bb",
|
||||
"febc179b34c8cf71"
|
||||
],
|
||||
"x": 34,
|
||||
"y": 39
|
||||
"y": 39,
|
||||
"w": 692,
|
||||
"h": 682
|
||||
},
|
||||
{
|
||||
"id": "46275dd0f9461013",
|
||||
@ -928,7 +933,9 @@
|
||||
"ca88f85ba00a6744"
|
||||
],
|
||||
"x": 34,
|
||||
"y": 739
|
||||
"y": 739,
|
||||
"w": 472,
|
||||
"h": 202
|
||||
},
|
||||
{
|
||||
"id": "ff6d8150e8d5e606",
|
||||
@ -1347,8 +1354,10 @@
|
||||
"9833b2aff0f97ea9",
|
||||
"51d05298561cfddb"
|
||||
],
|
||||
"x": 714,
|
||||
"y": 39
|
||||
"x": 754,
|
||||
"y": 39,
|
||||
"w": 672,
|
||||
"h": 262
|
||||
},
|
||||
{
|
||||
"id": "b708cb6d93f40dee",
|
||||
@ -26218,7 +26227,7 @@
|
||||
"y": 440,
|
||||
"wires": [
|
||||
[
|
||||
"c0813ccdec033370"
|
||||
"7e733e83ceaef1f9"
|
||||
]
|
||||
]
|
||||
},
|
||||
@ -26240,7 +26249,7 @@
|
||||
"y": 500,
|
||||
"wires": [
|
||||
[
|
||||
"d681fa96683511c1"
|
||||
"2d43bf0d5590f6bb"
|
||||
]
|
||||
]
|
||||
},
|
||||
@ -26262,7 +26271,7 @@
|
||||
"y": 560,
|
||||
"wires": [
|
||||
[
|
||||
"e5cc046624cd5453"
|
||||
"febc179b34c8cf71"
|
||||
]
|
||||
]
|
||||
},
|
||||
@ -26574,7 +26583,7 @@
|
||||
"attributes": [],
|
||||
"inputOverride": "allow",
|
||||
"outputProperties": [],
|
||||
"x": 460,
|
||||
"x": 520,
|
||||
"y": 440,
|
||||
"wires": [
|
||||
[]
|
||||
@ -26593,7 +26602,7 @@
|
||||
"attributes": [],
|
||||
"inputOverride": "allow",
|
||||
"outputProperties": [],
|
||||
"x": 460,
|
||||
"x": 520,
|
||||
"y": 500,
|
||||
"wires": [
|
||||
[]
|
||||
@ -26612,7 +26621,7 @@
|
||||
"attributes": [],
|
||||
"inputOverride": "allow",
|
||||
"outputProperties": [],
|
||||
"x": 460,
|
||||
"x": 520,
|
||||
"y": 560,
|
||||
"wires": [
|
||||
[]
|
||||
@ -26700,7 +26709,7 @@
|
||||
"valueType": "entityState"
|
||||
}
|
||||
],
|
||||
"x": 830,
|
||||
"x": 870,
|
||||
"y": 80,
|
||||
"wires": [
|
||||
[
|
||||
@ -26723,7 +26732,7 @@
|
||||
"correl": "",
|
||||
"expiry": "",
|
||||
"broker": "fd29421fc00140a8",
|
||||
"x": 1150,
|
||||
"x": 1190,
|
||||
"y": 80,
|
||||
"wires": []
|
||||
},
|
||||
@ -26771,7 +26780,7 @@
|
||||
"valueType": "entityState"
|
||||
}
|
||||
],
|
||||
"x": 840,
|
||||
"x": 880,
|
||||
"y": 140,
|
||||
"wires": [
|
||||
[
|
||||
@ -26794,7 +26803,7 @@
|
||||
"correl": "",
|
||||
"expiry": "",
|
||||
"broker": "fd29421fc00140a8",
|
||||
"x": 1150,
|
||||
"x": 1190,
|
||||
"y": 140,
|
||||
"wires": []
|
||||
},
|
||||
@ -26842,7 +26851,7 @@
|
||||
"valueType": "entityState"
|
||||
}
|
||||
],
|
||||
"x": 850,
|
||||
"x": 890,
|
||||
"y": 260,
|
||||
"wires": [
|
||||
[
|
||||
@ -26865,7 +26874,7 @@
|
||||
"correl": "",
|
||||
"expiry": "",
|
||||
"broker": "fd29421fc00140a8",
|
||||
"x": 1160,
|
||||
"x": 1200,
|
||||
"y": 260,
|
||||
"wires": []
|
||||
},
|
||||
@ -26913,7 +26922,7 @@
|
||||
"valueType": "entityState"
|
||||
}
|
||||
],
|
||||
"x": 830,
|
||||
"x": 870,
|
||||
"y": 200,
|
||||
"wires": [
|
||||
[
|
||||
@ -26936,7 +26945,7 @@
|
||||
"correl": "",
|
||||
"expiry": "",
|
||||
"broker": "fd29421fc00140a8",
|
||||
"x": 1180,
|
||||
"x": 1220,
|
||||
"y": 200,
|
||||
"wires": []
|
||||
},
|
||||
@ -26970,6 +26979,69 @@
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "7e733e83ceaef1f9",
|
||||
"type": "function",
|
||||
"z": "ffa6a885ac41a5ed",
|
||||
"g": "fbbe69a14cbe0236",
|
||||
"name": "Rounding",
|
||||
"func": "var readout = msg.payload\n\nmsg.payload = +readout.toFixed(2)\n\nreturn msg;",
|
||||
"outputs": 1,
|
||||
"noerr": 0,
|
||||
"initialize": "",
|
||||
"finalize": "",
|
||||
"libs": [],
|
||||
"x": 285,
|
||||
"y": 440,
|
||||
"wires": [
|
||||
[
|
||||
"c0813ccdec033370"
|
||||
]
|
||||
],
|
||||
"l": false
|
||||
},
|
||||
{
|
||||
"id": "2d43bf0d5590f6bb",
|
||||
"type": "function",
|
||||
"z": "ffa6a885ac41a5ed",
|
||||
"g": "fbbe69a14cbe0236",
|
||||
"name": "Rounding",
|
||||
"func": "var readout = msg.payload\n\nmsg.payload = +readout.toFixed(2)\n\nreturn msg;",
|
||||
"outputs": 1,
|
||||
"noerr": 0,
|
||||
"initialize": "",
|
||||
"finalize": "",
|
||||
"libs": [],
|
||||
"x": 285,
|
||||
"y": 500,
|
||||
"wires": [
|
||||
[
|
||||
"d681fa96683511c1"
|
||||
]
|
||||
],
|
||||
"l": false
|
||||
},
|
||||
{
|
||||
"id": "febc179b34c8cf71",
|
||||
"type": "function",
|
||||
"z": "ffa6a885ac41a5ed",
|
||||
"g": "fbbe69a14cbe0236",
|
||||
"name": "Rounding",
|
||||
"func": "var readout = msg.payload\n\nmsg.payload = +readout.toFixed(2)\n\nreturn msg;",
|
||||
"outputs": 1,
|
||||
"noerr": 0,
|
||||
"initialize": "",
|
||||
"finalize": "",
|
||||
"libs": [],
|
||||
"x": 285,
|
||||
"y": 560,
|
||||
"wires": [
|
||||
[
|
||||
"e5cc046624cd5453"
|
||||
]
|
||||
],
|
||||
"l": false
|
||||
},
|
||||
{
|
||||
"id": "e8d2135bb5564a4a",
|
||||
"type": "server-state-changed",
|
||||
|
Reference in New Issue
Block a user