found a solution:
I've added a switch node after the Chart node and my function node:
that states if msg.payload is undefined don't save it.
thank you very much for your help.
found a solution:
I've added a switch node after the Chart node and my function node:
that states if msg.payload is undefined don't save it.