2CMC489001M0201
186
G13
Revision: A
User Manual
JSON Communication
Description
pulse[Array of Objects]
•
length[int] - Pulse length in milliseconds
•
frequency[int] - Pulse frequency in impulses per second
•
energytype[string] - Pulse energy type
Energy types are:
active_import = 0
active_export = 1
reactive_import = 2
reactive_export = 3
turned_off = 4
invalid = 0xff
•
port[int] - Port number[1...4 or 255(Turned Off)]
•
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."
}
6.3.66 POST /meters/<serial>/io
A POST call to /meters/<serial>/io updates Input Output state.
Protected
Yes (Authentication required)