I use a serialport Node to receive ascii messages from an rs232 power inverter.
Everything works fine and I got informations in one payload string:
00.00.0000 01:21:40 3 124.9 0.23 29 236.2 0.12 28 23
Now I want to seperate each value into one payload object. Like payload.voltage, payload.power etc
My js knowledge is limited and I absolutely have no idea how to split this string.
I appreciate your help,