Hi,
I’m trying to create a RESTful sensor to request a JSON, which splits the second names and the values. Essentially, I want to capture the “isv → p” data for the 6 seonsors but the name of the sensors are defined on top.
This is how the JSON looks like:
{
"isn": [
"Internal 1",
"Internal 2",
"Internal 3",
"Internal 4",
"Internal 5",
"Internal 6"
],
"isv": [
{
"i": 0.832045,
"p": 121.4912,
"f": 0.628865
},
{
"i": 1.019667,
"p": 119.2887,
"f": 0.503194
},
{
"i": 0.892657,
"p": 115.116,
"f": 0.552723
},
{
"i": 0.166591,
"p": 6.203034,
"f": 0.160366
},
{
"i": 0.146428,
"p": -1.273628,
"f": -0.037412
},
{
"i": 0.177365,
"p": 0.787893,
"f": 0.01904
}
]
}