[SOLVED] Enphase Battery: Charge and discharge entities

Hi everyone,

I am running the latest HA version

  • Core 2024.6.4
  • Supervisor 2024.06.2
  • Operating System 12.4
  • Frontend 20240610.1

and just got my enphase system :slight_smile:

Everything seems to be working fine, but I donā€™t see the battery charge and discharge entities as mentioned in the docs:

  • For Energy going into the battery, use the the Envoy Lifetime battery energy charged entity.
  • For Energy coming out off the battery, use the the Envoy Lifetime battery energy discharged entity.4

My HA instance is using German and I also checked the hidden entities.
But charged or dischaged is nowhere to be found.

Anyone with the same issue?
Thanks!

And I donā€™t see any switch to charge the battery manually:

  • A switch allowing you to enable or disable charging the Encharge/IQ Batteries from the power grid.

I found a solution:

My batteries show the current charge / discharge Wattage:
sensor.encharge_122327105880_leistung (Leistung = German for power)

I created templates converting negative values to positive (charging) and use the positive for discharging.

From these I created a Riemann left integral to get the total for both in kWh.
These are used in the Energy dashboard then.

1 Like

Is anyone out there who has these switches?
I recently upgraded my account to DIY installer and I should be able to see these switches now, I suppose.
Where can I find these? On the envoy or the batteries?
I canā€™t find them anywhere even after I restart.
Any help would be greatly appreciated

Hi everyone,

Just for the record.
Recently the switch showed up at the envoy gateway.
I did not test it yet, but itā€™s there. :blush:

1 Like

Hi @NCO3,

I was looking for the same mentioned initially, here by you and managed to solve it before reading your post. However, did you have any issues or did you need to set anything else up, to actually charge/discharge the batteries? As it doesnā€™t even reflect in the Enlighten app (so showing as charging/discharging)? For me, it seems as though just the HA UI switch ā€˜Laden vom Netzā€™ (ā€˜Charge from gridā€™) is toggled. My batteries also are not charging when my automation runs at a given time. Anything you have that maybe I am missing?

Hi @phillll

you are right. I did not try to run this yet (too many other things at the moment :wink:
It seems that the switch is in HA even though itā€™s not supported by enphase yet.

I am monitoring the release notes and a few months ago ā€œcharge from gridā€ was released for NL, BE (see SW 8.2.4225):
Documentation Center | Enphase
Dynamic Tariff (DT) includes charge from grid AFAIK.

I guess we need the switch to show up in the enphase App (which is confusing from my POV).

With firmware > 8.3.42xx, lots of things seems to have changed with regard to controlling battery modes through the local API. HA issue 123216 contains lotā€™s of findings, although for Ensemble configurations, this impacts EU battery configurations as well. It seems you can only control battery modes from the app and these modes are no longer reflected in the know API locations. :frowning:

Having said that, Iā€™ve learned the switch ā€˜charge from gridā€™ kind of works the reverse way. If not enabled, any tariff configuration will be prohibit from charging from the grid. If set, it is allowed to charge from grid, but the tariff configuration must have a schedule for it. As said, probably only working before fw 8.2.42xx

Thank you for the link @catsmanac.

I wonder if the battery would charge if I could set the profile / mode to ā€œFull backupā€.
Unfortunately, this mode is not available in Germany.

If the enphase API is limited / not updated with the new FW releases, I wonder if my activities on using evcc with my wallbox / enphase PV system will ever work properly.
:frowning:

Is there this kind of switch in the enphase App as well?
Where do I find this (in case I have this in my FW).
The enphase App is confusing IMHO.