I use http in node & post method to receive esp 32 data as in figure 1.
I am getting msg.payload in debug as in figure 2.
My requirement is to create two separate array to display in two gauges.
As an example in first gauge value should be 51 and next gauge value should be 29.
So please help me to convert above msg.payload values to two seperated arrays.
Hi.. yes that data show in debug messages and it is updating after few moments. So that I want to display that values in a two separate gauges as I mentioned earlier.
Surely I will try Http-request node.
Thanks for helping me.
It depends on the code you have written for the ESP32
You have written a program on it to make a POST request to http://<node-red-ip>:1880/update-sensor ?
then check the code on your ESP why its sending the data fragmented.
if this is how you setup the communication .. then maybe it would be better to do the opposite
the ESP to be the Webserver and Node-red making requests to it with the http-request node.