-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Hi @chemaaa,
as requested some JSON responses coming from my LEGRAND energy meters.
Get Energy Meter's status:
Pragma: no-cache
Cache-Control: no-cache
Set-Cookie: TiPMix=xxxxxxxxxx; path=/; HttpOnly; Domain=cwn-website-prod.azurewebsites.net; Max-Age=3600; Secure,x-ms-routing-name=self; path=/; HttpOnly; Domain=cwn-website-prod.azurewebsites.net; Max-Age=3600; Secure
X-AspNet-Version: 4.0.30319
Request-Context: appId=xxxxxxxxxxxxx
Access-Control-Expose-Headers: Request-Context
Date: Sat, 17 Apr 2021 06:17:43 GMT
Content-Length: 201
Content-Type: application/json; charset=utf-8
Expires: -1
{
"energymeters": [{
"reachable": true,
"consumptions": [{
"unit": "watt",
"value": 33,
"timestamp": "2021-04-17T06:17:44+00:00"
}],
"sender": {
"plant": {
"module": {
"id": "0000000xxxxxxxxxxxxxxxxxxxxxxxxx"
}
}
},
"fw": 54
}]
}
Get energymeter's consumptions:
Pragma: no-cache
Cache-Control: no-cache
Set-Cookie: TiPMix=xxxxx; path=/; HttpOnly; Domain=cwn-website-prod.azurewebsites.net; Max-Age=3600; Secure,x-ms-routing-name=self; path=/; HttpOnly; Domain=cwn-website-prod.azurewebsites.net; Max-Age=3600; Secure
X-AspNet-Version: 4.0.30319
Request-Context: appId=xxxxxxx
Access-Control-Expose-Headers: Request-Context
Date: Sat, 17 Apr 2021 06:24:59 GMT
Content-Length: 1749
Content-Type: application/json; charset=utf-8
Expires: -1
{
"consumptions": [{
"unit": "watt_hour",
"value": 23,
"timestamp": "2021-04-16T05:30:00+00:00"
}, {
"unit": "watt_hour",
"value": 360,
"timestamp": "2021-04-16T06:30:00+00:00"
}, {
"unit": "watt_hour",
"value": 16,
"timestamp": "2021-04-16T07:30:00+00:00"
}, {
"unit": "watt_hour",
"value": 16,
"timestamp": "2021-04-16T08:30:00+00:00"
}, {
"unit": "watt_hour",
"value": 16,
"timestamp": "2021-04-16T09:30:00+00:00"
}, {
"unit": "watt_hour",
"value": 16,
"timestamp": "2021-04-16T10:30:00+00:00"
}, {
"unit": "watt_hour",
"value": 16,
"timestamp": "2021-04-16T11:30:00+00:00"
}, {
"unit": "watt_hour",
"value": 16,
"timestamp": "2021-04-16T12:30:00+00:00"
}, {
"unit": "watt_hour",
"value": 15,
"timestamp": "2021-04-16T13:30:00+00:00"
}, {
"unit": "watt_hour",
"value": 314,
"timestamp": "2021-04-16T14:30:00+00:00"
}, {
"unit": "watt_hour",
"value": 16,
"timestamp": "2021-04-16T15:30:00+00:00"
}, {
"unit": "watt_hour",
"value": 16,
"timestamp": "2021-04-16T16:30:00+00:00"
}, {
"unit": "watt_hour",
"value": 16,
"timestamp": "2021-04-16T17:30:00+00:00"
}, {
"unit": "watt_hour",
"value": 16,
"timestamp": "2021-04-16T18:30:00+00:00"
}, {
"unit": "watt_hour",
"value": 16,
"timestamp": "2021-04-16T19:30:00+00:00"
}, {
"unit": "watt_hour",
"value": 16,
"timestamp": "2021-04-16T20:30:00+00:00"
}, {
"unit": "watt_hour",
"value": 16,
"timestamp": "2021-04-16T21:30:00+00:00"
}, {
"unit": "watt_hour",
"value": 16,
"timestamp": "2021-04-16T22:30:00+00:00"
}, {
"unit": "watt_hour",
"value": 17,
"timestamp": "2021-04-16T23:30:00+00:00"
}, {
"unit": "watt_hour",
"value": 323,
"timestamp": "2021-04-17T00:30:00+00:00"
}, {
"unit": "watt_hour",
"value": 16,
"timestamp": "2021-04-17T01:30:00+00:00"
}, {
"unit": "watt_hour",
"value": 16,
"timestamp": "2021-04-17T02:30:00+00:00"
}, {
"unit": "watt_hour",
"value": 16,
"timestamp": "2021-04-17T03:30:00+00:00"
}, {
"unit": "watt_hour",
"value": 16,
"timestamp": "2021-04-17T04:30:00+00:00"
}]
}
Let me know if you need further info or help.
Thank you in advance.
BR,
Michele