Emilv2 / huawei_solar

Home Assistant custom component for Huawei inverters
Apache License 2.0
174 stars 41 forks source link

Meaning state and attributes #53

Open johanvh83 opened 2 years ago

johanvh83 commented 2 years ago

This morning an electrician commissioned my brand new Huawei SUN2000-4.6KTL-L1 with 10 kWh battery (2 x 5 kWh). I installed successfully your custom integration and I have the State and 69 other attributes. Can you tell me where I can find a description or the meaning of these 70 values? I checked the user manual from Huawei but couldn't find any information. Thanks in advance.

JacoboSanchez commented 2 years ago

Data obtained from this integration is the one provided by the inverter reading modbus tcp registers. You can find their definition in the Modbus Interface Definitions document. There is no real description but for some registers you have some info about the values. For example for power_meter_active_power: image

You don't really have the entity and 69 attributes as this integration provides some of the old attributes as entities that can be directly used by HA, you can read it in the integration description: image

For most common uses of the integration (power flows and HA energy system) the most useful are:

Energy:

Power:

You can look to this comment in other issue for some more info on those values.

johanvh83 commented 2 years ago

Thank you very much. This was exactly I was looking for! Great job!