I’m not sure about that, I have a codec with a return statement as such:
return {
data: {
serial: serial_number,
soil_val: soil,
battery_v: battery,
hum: humidity,
temp: airtemp
}
};
And it properly decodes the packets:
Couldn’t hurt to try though.