GivTCP SOC vs GivTCP Battery SOC

7 comments started 2022-05-26 last 2022-05-27
APIsHome Automation
S
#1 SpeakToTheGeek

Hi,

Does anyone know the difference between "GivTCP SOC" and "GivTCP Battery SOC"? I'm getting these two entities auto-generated by GivTCP in Home Assistant and they are 1-2% apart from each other. I'm sure one is supposed to be the 'fake' value which hides the buffer capacity from me, and the other is the real value, but they're so close and in different directions from each other at times that I can't figure it out. Just wondering what the official declaration of these values are.

Thanks.

D
#2 DeanoC75

There is loads of SOC within all the data, battery SOC, Target SOC, charge and discharge SOC, battery reserve SOC, discharge SOC, force adjust SOC, the list is endless.

For my Loxone home automation I just use the battery SOC, seems to be the best one to work from for me.

A
#3 anglefire

I've just looked and the battery is reporting 27% SOC and 23% SOC in the power section.
{
"Battery_Details": {
"xxxxxxxxx": {
"Battery_Capacity": 201.23,
"Battery_Cell_10_Voltage": 3.204,
"Battery_Cell_11_Voltage": 3.2,
"Battery_Cell_12_Voltage": 3.2,
"Battery_Cell_13_Voltage": 3.201,
"Battery_Cell_14_Voltage": 3.2,
"Battery_Cell_15_Voltage": 3.201,
"Battery_Cell_16_Voltage": 3.201,
"Battery_Cell_1_Temperature": 20.7,
"Battery_Cell_1_Voltage": 3.2,
"Battery_Cell_2_Temperature": 20.1,
"Battery_Cell_2_Voltage": 3.201,
"Battery_Cell_3_Temperature": 19.9,
"Battery_Cell_3_Voltage": 3.203,
"Battery_Cell_4_Temperature": 20.6,
"Battery_Cell_4_Voltage": 3.203,
"Battery_Cell_5_Voltage": 3.203,
"Battery_Cell_6_Voltage": 3.201,
"Battery_Cell_7_Voltage": 3.201,
"Battery_Cell_8_Voltage": 3.2,
"Battery_Cell_9_Voltage": 3.201,
"Battery_Cells": 16,
"Battery_Cycles": 90,
"Battery_Design_Capacity": 158.72,
"Battery_Firmware_Version": 3005,
"Battery_Remaining_Capcity": 53.73,
"Battery_SOC": 27,
"Battery_Serial_Number": "xxxxxxxxxx",
"Battery_Temperature": 28.1,
"Battery_USB_present": true,
"Battery_Voltage": 51.215
}

"Power": {
  "AC_Charge_Power": 0,
  "Battery_Power": 2507,
  "Charge_Power": 0,
  "Discharge_Power": 2507,
  "EPS_Power": 1947,
  "Export_Power": 0,
  "Grid_Power": -453,
  "Import_Power": 453,
  "Invertor_Power": 2536,
  "Load_Power": 2994,
  "PV_Power": 347,
  "PV_Power_String_1": 179,
  "PV_Power_String_2": 168,
  "PV_Voltage_String_1": 221.2,
  "PV_Voltage_String_2": 227.1,
  "SOC": 23,
  "Self_Consumption_Power": 2541
#4 hoggy

Would battery SOC not be the individual battery state per serial number if you had more than 1 and GivTCP SOC be aggregated figure of the lot of them?

A
#5 anglefire

hoggy yes the battery one will be per battery as is is serial number specific.
It is also the full SOC with the 4% reserve included.
The power one (which is the only other one that I could find that relates to the actual state of charge rather than any targets) is the usable SOC.
If I were to do anything to control the system that needed to know the SOC I’d use that one.
And I would assume it’s the aggregate of a multi battery system.

#6 hoggy

Just to be even more confusing, I'm on an older 80% DOD 8.2 so my SOC figures don't follow quite the same pattern!
Battery Capacity : 153.34
Battery Cells : 16
Battery Cycles : 582
Battery Design Capacity : 160
Battery Firmware Version : 3005
Battery Remaining Capcity : 127.64
Battery SOC : 83
Battery Serial Number : BA123456
Battery Temperature : 18.8
Battery USB present : true
Battery Voltage : 54.065

VS
Power {14}
Battery Power : 732
Charge Power : 0
Discharge Power : 732
EPS Power : 0
Export Power : 31
Grid Power : 31
Import Power : 0
Invertor Power : 649
Load Power : 577
PV Power : 3
PV Power String 1 : 0
PV Power String 2 : 3
SOC : 85
Self Consumption Power : 577

A
#7 anglefire

hoggy Wonder if in your case the battery SOC is based on the 80% DOD and the Power one the "true" one based on usable SOC?