I am trying to extract the number part of a JSON string to send in a http request, when I just have a number going into my http request I use {{{payload}}} which works fine, with the JSON string, I can feed this into a debug node with the output as msg.payload.combined_charge_current and it outputs the value of this as a number into the debug window, all I want is this same number that is output from my debug window to feed into a http request node, I have tried various things such as {{{payload.combined_charge_current}}} with various combinations of brackets all which fail and tried to go through a change node which also fails!
I am guessing that this should be very easy but I can’t seem to find out how!
I am very new to NODE RED so be gentle
I did sort this out (finally) using the “change” node and as expected, it was quite simple in the end!
Hi, welcome to the forum.
Glad you got sorted in the end.
There are a ton of great tips that will help you massively in the this playlist: Node-RED Essentials. The videos are done by the developers of node-red. They're nice & short and to the point. You will understand a whole lot more in about 1 hour. A small investment for a lot of gain.
Thanks