JSON Communication
G13
167
2CMC489001M0201
User Manual
Revision: A
Response
•
200 OK
HTTP/1.1 200 OK
Content-Type: application/json
Server: embOS/IP
Transfer-Encoding: chunked
Link:/lasterror/0
{
"resetcounter": {
"activeexport": "0.00",
"activeimport": "0.00"
}
}
• 500 Internal Server Error
HTTP/1.1 500 Internal Server Error
Server: embOS/IP
Accept-Ranges: bytes
Content-Length: 64
Content-Type: application/json
{
"status":"error",
"des":"received invalid response from COSEM."
}
Description
reset counter: combination of active import and export energy reset counts
• activeimport[array] - value of active import
• activeexport[array] - value of active export
6.3.59 GET /meters/<serial>/powers
A GET call to /meters/<serial>/power returns realtime power values of requested
meter.
Protected
Yes (Authentication required)
Request
GET /meters/<serial>/power HTTP/1.1
Authorization: Basic XXXXXXXXXXXXXXX=
Examples
• https://192.168.1.12/meters/ABB_8/power