gluap / pyess

Python library for communication with LG ESS power converters
MIT License
31 stars 10 forks source link

Improve documentation on statuses #5

Open gluap opened 4 years ago

gluap commented 4 years ago

@fu-zhou brought this up in #3: currently there is no knowledge what the statues mean: E.g. when pcs_status=3, what does the 3 stand for? That also applies to e.g. mqtt.0.ess.common.BATT.status and the like. The values come out of the API but we don't know what they mean. Find out and add it to the documentation. A way to approach the issue would be to compare app readings when the status changes or plotting the status value together with the power flows. Likely status changes can be seen when powerflow directions change (e.g. Charging battery vs no current to battery vs battery discharging.)

fu-zhou commented 4 years ago

mqtt.0.ess.common.BATT.status: 0=stand by 1=charging 2=discharging

more to follow...

thomasfoxl commented 4 years ago

UPDATE 2020-09-05: a new feature for "weather forecast based charging" was implemented!

ess/common/PCS_operation_mode: 0=Economic Mode 1=Fast Charging Mode 2=Weather Forecast

Even though _PCS_operationmode doesn't sound like it's belonging to the battery, it's actually used to indicate batterie's charging behavior.