dmslabsbr / hoymiles

Hoymiles ADD-ON for Home Assistant
119 stars 30 forks source link

Could it be possible to get 2 more Grid information #148

Closed Wind06 closed 4 months ago

Wind06 commented 4 months ago

Hello,

I would like to know if 2 other data can be collected:

This will be very helpfull for building statistics with HomeAssistant. Below is a screen shot. Of course I will be please to help in case more information or testing requiered.

Thanks.

Capture d’écran 2024-05-11 à 22 57 57

Cosik commented 4 months ago

@Wind06 but those values are already provided by edge version as a readings from meter, other parameters are just calculation.

Wind06 commented 4 months ago

you are right, meter informations are povided. To avoid local calculation I was wondering if the "to Grid" and "From Grid" can be downloaded from the cloud ?

Cosik commented 4 months ago

But to grid and from grid are not reading from meter? If not, I will need access to installation.

Wind06 commented 4 months ago

what is read from grid is negative or positive value depending if From or To grid. To Grid is positive value From Grid is negative value Value are reported in "sensor.hoymiles_gateway_solarh_775030_meter_grid_power"

Capture d’écran 2024-05-12 à 10 22 04

I can give you access to my plant no issue.

Cosik commented 4 months ago

@Wind06 but there are "meter_to_grid" and "meter_from_grid" which are already provided and those are energy values. Those values could be used in HA energy dashboard and it will calculate all details.

Wind06 commented 4 months ago

indeed yes, but the meter_from_grid is always at 0W and the from_grid do have an impressive value which is not the value I have in the hoymiles dashboard.

Cosik commented 4 months ago

Ok, so as I mentioned, I will need access to plant

Cosik commented 4 months ago

I checked and found that probably there is a bug in cloud data getting. Addon is checking total data. On checked installation total data of return to grid value is 0. When I checked month by month return values to grid are non zero. In present implementation it is not possible to fix it. It will required changing type of meter data from constant increasing to something other. Also request has to be changed.

Maybe in new release it will be possible.

Wind06 commented 4 months ago

Ok Cosik, no problem, I will try to do it differently by computing data. Thanks again for your help and dedication.