briancmpbll / home_assistant_custom_envoy

176 stars 77 forks source link

Integration does not provide energy in and out of batteries #10

Closed bvndb closed 1 year ago

bvndb commented 2 years ago

When I want to intigrate my battery's in the standaard ha energe panel I got the included message. Is there something i am doing wrong ? https://www.home-assistant.io/more-info/statistics/

briancmpbll commented 2 years ago

This integration does not provide entities that can be used for batteries on the energy panel. The current enphase local API doesn't provide that information. It provides current battery percentage and total capacity, which I'm using to calculate current capacity. I can compare the previous readings to calculate energy in and out, but it's not going to be completely accurate.

I'm doing this right now in my installation in node-red but I also have some code doing this in the integration itself that I can clean up and push. It won't be as good as what you see in the enphase app though. You'd likely need to install CTs on the battery lines to get accurate data.

rborkow commented 2 years ago

@briancmpbll Did you ever end up pushing the energy in/out code? Caveats acknowledged, would like to give it a whirl on the HA Energy dash.

I saw something resembling those sensors in the temp branch - is that it?

briancmpbll commented 1 year ago

@rborkow Thank you for pinging me on this. I got lazy and haven't been doing much with this integration lately, but I went ahead and pushed the energy in/out branch. Please try it out in release 0.0.5

bvndb commented 1 year ago

Just installed it. Value keeps at 0 at the moment. I will give it some time.

Op wo 21 sep. 2022 23:49 schreef Brian Campbell @.***>:

@rborkow https://github.com/rborkow Thank you for pinging me on this. I got lazy and haven't been doing much with this integration lately, but I went ahead and pushed the energy in/out branch. Please try it out in release 0.0.5

— Reply to this email directly, view it on GitHub https://github.com/briancmpbll/home_assistant_custom_envoy/issues/10#issuecomment-1254262970, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWUTO2OJM4ZGNFWS7UBALK3V7N7IHANCNFSM5XX6LJSQ . You are receiving this because you authored the thread.Message ID: @.***>

rborkow commented 1 year ago

@rborkow Thank you for pinging me on this. I got lazy and haven't been doing much with this integration lately, but I went ahead and pushed the energy in/out branch. Please try it out in release 0.0.5

Seeing battery storage on the energy dash - thanks!