@Colin
Oke, found it ! It is becoming clear now.
The 'crap-filter' removal did the trick.
So, apparently when the msg coming into the chart has a lot more 'crap' which is not actively used in the chart itself, it is generating cpu load...
Just to again give the example as what in my case is being sent towards the chart:
{
"payload": -433,
"topic": "M3 (Measured)",
"mac": "3C1ACCBAA19D",
"data_type": "int16",
"property": "battery_power",
"communication_status": "operational",
"scale": 1,
"unit": "W",
"precision": 1,
"friendly_name": "Battery Power",
"device_class": "power",
"state_class": "measurement",
"entry_type": "SENSOR_DEFINITIONS",
"_msgid": "16df34e86e841df2",
"messageId": "6a3d7abd40cb157a90acc984",
"modbusRequest": {
"unitid": 1,
"fc": 3,
"address": 30001,
"quantity": 1,
"emptyMsgOnFail": true,
"keepMsgProperties": true,
"enableDeformedMessages": false,
"messageId": "6a3d7abd40cb157a90acc984"
},
"responseBuffer": {
"data": [
65103
],
"buffer": [
254,
79
]
},
"parse_buffer": [
254,
79
],
"specification": {
"options": {
"byteSwap": false,
"resultType": "keyvalue",
"singleResult": true,
"msgProperty": "translated_payload",
"setTopic": true
},
"items": [
{
"name": "value",
"type": "int16be",
"offset": 0,
"length": 1,
"mask": "",
"scale": "1",
"offsetbit": 0,
"id": 0,
"value": -433
}
]
},
"originalPayload": [
65103
],
"values": [
-433
],
"objectResults": {
"value": {
"name": "value",
"type": "int16be",
"offset": 0,
"length": 1,
"mask": "",
"scale": "1",
"offsetbit": 0,
"id": 0,
"value": -433
}
},
"keyvalues": {
"value": -433
},
"arrayResults": [
{
"name": "value",
"type": "int16be",
"offset": 0,
"length": 1,
"mask": "",
"scale": "1",
"offsetbit": 0,
"id": 0,
"value": -433
}
],
"buffer": [
254,
79
],
"translated_payload": {
"value": -433
},
"_event": "node:53ebc095797a50fc"
}
This is a copy of the entire and full content of the object.
*And just to remind again. this is it. there are is no massive object inside something. *
"data":[65103] means "data" holds the value [65103]. This is not an object.
,"buffer":[254,79] holds the value 254 and 79. This is not an object with data or something.
It is the output of the Modbus node. node-red-contrib-modbus (node) - Node-RED