04-05-2023, 07:45 PM
Hi,
use $C1_Vx.value instead of $C1_Vx1
like this:
{
"CID":
{
"deviceID":"SN23030001"
},
"measurments":
{
"weight":{"value":$C1_V1.value,"valid":$C1_V5.value},
"tempe1":{"value":23,"valid":true},
"tempe2":{"value":14,"valid":true}
},
"status":
{
"power":
{
"Battery":$C1_V2.value,
"mains":$C1_V4.value,
"devicePower":$C1_V3.value},
"health":
{
"code":0
}}}
I have checked. It works fine!
use $C1_Vx.value instead of $C1_Vx1
like this:
{
"CID":
{
"deviceID":"SN23030001"
},
"measurments":
{
"weight":{"value":$C1_V1.value,"valid":$C1_V5.value},
"tempe1":{"value":23,"valid":true},
"tempe2":{"value":14,"valid":true}
},
"status":
{
"power":
{
"Battery":$C1_V2.value,
"mains":$C1_V4.value,
"devicePower":$C1_V3.value},
"health":
{
"code":0
}}}
I have checked. It works fine!