I would like to convert that into a number, but if I use a function with
msg.payload = new Number(msg.payload.vars.1.value); return msg;
it gives me an error. Any idea why that doesn't work?
It seems the function cannot fetch the value from the JSON object
Finally I would like a Gauge to display the value