I'm struggling to get some info from an mqtt message parsed as json, as I'm unable to retrieve one of the particular values I need to further build a dashboard.
I've made different approaches with no success.
There’s a great page in the docs that will explain how to use the debug panel to find the right path to any data item.
Pay particular attention to the part about the buttons that appear under your mouse pointer when you over hover a debug message property in the sidebar.
Thank you @Steve-Mcl but that was one approach with no success. I've tried many different ones reading different sources and I'm here asking for help, so if you could develop your answer in a more helpful way I'll really appreciate it
Reading many different posts, I finally set my MQTT Output as "a parsed JSON object" and then with a function (msg.payload = msg.payload.ENERGY.Power
return msg;) sent to Debug outputting "msg.payload".
I get the wanted result but also I get an unexpected error I'm unable figure out where it comes from stating "Invalid JSONata expression: Argument 1 of function "split" does not match function signature"