SATEC provide a REST API (Application Programming Interface) for advanced connectivity to electrical energy metering and power quality analysers.
eXpertpower provides a RESTful API receiving HTTP requests in standard actions such as: GET, POST, PUT, etc.
The response type is controlled via ACCEPT header (application/XML, application/JSON).
Through use of TCP/IP communications direct for SATEC meters, data availability becomes more reliable and transparent through eXpertpower’s REST API.
Below is an limited example of a script/syntax used to connect to Energy (kWh) consumption data.
Request example:
/api/Consumption/GetConsumption?startDate=2022-01-01&endDate=2022-01-02&usageType=ActiveEnergyExport&periodType=Hours
Reply example:
[
{
“deviceID”: 2022101,
“consumptions”: [
{
“readingDate”: “2022-01-01T01:00:00”,
“value”: 0
},
{
“readingDate”: “2022-01-01T02:00:00”,
“value”: 0
},