Need help on msgpayload


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:


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