klatremis/esphome-for-deye

Daily charge of battery

Opened this issue · 4 comments

Hi,

Is it possible to add a daily charge and discharge of battery?

No. To my knowledge there is no Modus register that has that value from the inverter itself.
Assuming you want this in HomeAssistant, then the energydashboard calculates this for you on a hourley/daily/weekly/monthly/quaterly/yearly basis anyway.

What sensor do you use under "Energy - Home battery storage" to make this worke?

I'm not sure if it's being asked to CHARGE or DISCHARGE (like "Actually do it") or just what Amount of Charge/Discharge was done Today or in Total (like "Monitor").

For the latter, you can try
image

No guarantees, I did NOT test this

Actually I was using it for the "Total Charge/Discharge":
https://github.com/luckylinux/esphome-for-deye/blob/main/modules/battery.yaml

So you just would need to adapt that to registers 514 and 515 I guess.

EDIT 1: here it is - luckylinux@bf307f1 - I can see some Values changing in Home Assistant now on these 2 new Registers.