Need help on msgpayload

Hi,

I am a newbie.

My data not showing in dashboard gauge as I think the payload is in this format
batt_val: 3.54

How do i change it to send value only?

Thank you

Change the last line to:

msg.payload = batt_val;
return msg;

Thank you Nick it works now. :slightly_smiling_face:

image

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.