-
Autor
Hi
We are using a couple of Shelly Pro 3 EM here at work and plan to use them to follow up energy consumption in different parts of the building. We use the api (https://shelly-api-docs.shelly.cloud/gen2/Devices/Gen2/ShellyPro3EM/) and get something like this out for one of the Shellys:
{
"isok": true,
"data": {
"online": true,
"device_status": {
"ble": [],
"emdata:0": {
"id": 0,
"a_total_act_energy": 547364.08,
"a_total_act_ret_energy": 0,
"b_total_act_energy": 341619.5,
"b_total_act_ret_energy": 0,
"c_total_act_energy": 437629.07,
"c_total_act_ret_energy": 0,
"total_act": 1326612.66,
"total_act_ret": 0
},
"cloud": {
"connected": true
},
"eth": {
"ip": null
},
"sys": {
"available_updates": {
"beta": {
"version": "1.1.0-beta2"
}
},
"mac": "3CE90E706484",
"restart_required": false,
"time": "13:10",
"unixtime": 1701691834,
"uptime": 7,
"ram_size": 241508,
"ram_free": 106204,
"fs_size": 524288,
"fs_free": 192512,
"cfg_rev": 10,
"kvs_rev": 0,
"schedule_rev": 0,
"webhook_rev": 0
},
"ws": {
"connected": false
},
"em:0": {
"id": 0,
"a_act_power": 3850.7,
"a_aprt_power": 4044.1,
"a_current": 17.48,
"a_freq": 50,
"a_pf": 0.95,
"a_voltage": 230.8,
"b_act_power": 3949.4,
"b_aprt_power": 4216.1,
"b_current": 18.229,
"b_freq": 50,
"b_pf": 0.94,
"b_voltage": 230.6,
"c_act_power": 3911.1,
"c_aprt_power": 4186.4,
"c_current": 18.096,
"c_freq": 50,
"c_pf": 0.94,
"c_voltage": 230.9,
"n_current": null,
"total_act_power": 11711.186,
"total_aprt_power": 12446.599,
"total_current": 53.805,
"user_calibrated_phase": []
},
"id": "3ce90e706484",
"serial": 1701768040.89,
"temperature:0": {
"id": 0,
"tC": 43.1,
"tF": 109.5
},
"mqtt": {
"connected": false
},
"wifi": {
"sta_ip": "10.83.218.146",
"status": "got ip",
"ssid": "risa-iot",
"rssi": -81
},
"modbus": [],
"code": "SPEM-003CEBEU400",
"_updated": "2023-12-05 09:20:55"
}
}
}
What would be the Kwh or similar here? Never recieved this type of energy data before and was trying to find it in the documentation, but no luck