Hi all,
I am new with Node-red and started with my AhoyDTU solar panels streaming values to an influxdb - worked perfect.
Now I am trying to stream my smart meter values via MQTT. Data are coming in perfect, but I have an issue when I split the values.
I use the function method as follows:
var value1 = { payload: msg.payload.Total };
var value2 = { payload: msg.payload.Supply };
return [value1, value2];
I get the values, but - each time I also get an output message that says undefined.
Anyone can support? Don't know what I do wrong ....

