Question about msg.payload to number value for graphs

so here is my question:

I want to pull only the counter data out of the payload, convert to number value and feed to graph node. Im a newbie. What nodes or code should i use? best method?

Payload data below:

{"payload":"oCsiAiYANwUBtziKmvw=","message":{"app_id":"bigmikesnode","dev_id":"mikeh001","port":0,"confirmed":true,"payload_raw":"ug=="},"gateway_id":"eui-b827ebfffe094965","config":{"modulation":"LORA","data_rate":"SF7BW500","airtime":11584000,"counter":1335,"frequency":923900000,"power":20}}

Start by reading the node red docs page Working with Messages. That should get you going.

... and once you have done that you should be able to use a change node to move the counter property to the payload to feed into the chart.

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