I receive a csv-file from the HTTP IN POST node. It is a Buffer so I use a msg.payload.toString() function.
Then I pass it into the CSV-node.
This is the original csv that is POSTed to Node-Red:
apparaat;datetime;Vx;Vy;Vz;fx;fy;fz;temp1;temp2;temp3;lat;lon A3203001;2022-12-20T21:03:04.000Z;0.07;11.0;0.89;8.0;0.00;0.0;0.04;0.48;0.00;51.123;5.123 A3203001;2022-12-20T21:03:34.000Z;0.71;93.5;1.53;8.0;0.00;0.0;0.26;0.84;0.00;51.123;5.123
And this is the SVV debugnode:
I have "Skip first 0 lines" in the CSV-node. Because when I skip 1 line then SVV-debug is empty. So this looks like msg.payload from Payload to String results in one line and does not take into account the CR and or LF?
I am sure I lack some basic understanding. But where do I go wrong?
Thanks in advance!