Yesterday, 19:23
Recenlly I bought an iBMS interface for reading data for my home battery system with a JK BMS. Can anyone help me with a basic script? The iBMS has an API which provides data bij HTML. I removed some data, but the structure is:
{
"device": "iBMS-Master",
"board_type": 1,
"charge_current": 100,
"discharge_current": 100,
"capacity_remaining": 79,
"battery_soh": 100,
"batteries": [{
"id": 0,
"total_voltage": 53.12,
"current": -0.48,
"total_runtime": 17388365
}, {
"id": 1,
"total_voltage": 53.06,
"current": 0,
"total_runtime": 27409539
}]
}
{
"device": "iBMS-Master",
"board_type": 1,
"charge_current": 100,
"discharge_current": 100,
"capacity_remaining": 79,
"battery_soh": 100,
"batteries": [{
"id": 0,
"total_voltage": 53.12,
"current": -0.48,
"total_runtime": 17388365
}, {
"id": 1,
"total_voltage": 53.06,
"current": 0,
"total_runtime": 27409539
}]
}