Closed wcwong closed 2 years ago
I thought most of this was in vitals
already, but there are several good gems here! I would say that for verbose we combine the battery data from system_status
and vitals
(TETHC, TEPOD and TEPINV), per battery. For non-verbose, as you say with perhaps the addition of something like instant_apparent_power per battery as well. It shows up on the TEG installer portal so it must be broken down in some of the api's (but not in vitals unless I'm just missing it).
Take a look at the PR I just put in for what I was thinking for this.
I only did TETHC but created issue #11 for integrating TPOD and TEPINV data.
You can get detailed battery information from the 'system_status' api call. In particular, you get
What do you think of having a
detailed_battery()
call that returns this information plus adds atemperature
value from thevitals()
data?The parameters would follow the the verbose=True to return the JSON. Otherwise, return a dict structure per battery with the two nominal energy readings and the temperature.