Jetlun REST Web Service Interface

REST API: Data Access

Get usage data

Description: Get the raw usage data of gateway

Method: GET

Arguments: myjetlun_id, api_key, timestamp, start_time, end_time, time_type (minute, quarterhour, halfhour, hour, day), sign, format, mac

Limitation: the maximum interval in day is 30, in hour is 24, in quarterhour is 96, in halfhour are 48, in minute is 60.

IMPORTANT: Frequent requests to get the Jetlun data impact the system performance. It is recommended to keep a 5 minutes interval between every API request.

Format: JSON, XML

URL: "[mac]&api_key=[apikey]&myjetlun_id=[myjetlun-id]&timestamp=[time]&start_time=[start_time]&end_time=[end_time]&time_type=day&sign=[signature]"

Example Response:

Sensor attrs:

  c2: positive kWh

  c4: negative kWh

  ca: current

  cd: voltage

  cf: power factor

  da: temperature

  db: humidity

"device_list": {
"device": [
"type": "Panel Meter",
"sn": "000100002F0001000000000000004EAE",
"sensor_list": {
"sensor": [
"sid": "4003",
"kwh+": [0.00,0.01,0.00,0.00,0.00],
"kwh-": [0.00,0.01,0.00,0.00,0.00],
"kwvah": [0.00,0.01,0.00,0.00,0.00],
"voltage": [0.00,0.01,0.00,0.00,0.00],
"current": [0.00,0.01,0.00,0.00,0.00]
"name": "kichen"
"type": "Circuit Meter | Appliance Module",
"sn": "000100002F0001000000000000004EB1",
"sensor": [
"sid": "6008",
"kwh+": [0.00,0.01,0.00,0.00,0.00]