Address: https://www.iammeter.com/api/v1/user/login
Method: Post
{
"data": {
"id": 2025,
"token": "349df48ccfd3415b885ca86252ac5169",
"refreshToken": "8adf75e5da10424985f3b83855133982"
},
"successful": true,
"message": null
}
In order to identify the current user, all subsequent requests need to set the header as below:
Coming soon....
Address: https://www.iammeter.com/api/v1/site/meterdata/{sn}
Method: GET
Header:
Single Phase Meter
{
"data": {
"values": [
[
230.220,
1.300,
119.000,
1766.590,
0.000
]
],
"localTime": "2020/8/28 15:27:33",
"gmtTime": "2020/8/28 5:27:33"
},
"successful": true,
"message": null
}
**Three Phase Meter **
{
"data": {
"values": [
[
242.600,
1.000,
216.000,
32354.600,
0.000
],
[
242.600,
1.000,
1986.000,
30536.410,
17704.720
],
[
0.000,
0.000,
0.000,
0.000,
0.000
]
],
"localTime": "2020/8/28 15:30:48",
"gmtTime": "2020/8/28 5:30:48"
},
"successful": true,
"message": null
}
Description: The data are voltage, current, active power, power consumption, feed-in energy. The data sequence of the three-phase meter is A,B,C.
Coming soon....