briancmpbll/home_assistant_custom_envoy

Feature request: Show Battery Temperature

GitittomeNow opened this issue · 6 comments

Hello, thank you for your great work on this integration!

My Envoy-S with 5P Batteries has the battery temperature shown when I connect to the local gateway. Are you able to add these sensors to the integration?

I see this data here:

https://x.x.x.x/home#encharge/manage

Battery number (no other text)
Status:
State of Charge: x%
Max Temp: x °C

Thank you!

Hi @GitittomeNow, can't speak for other maintainers here, but I'm in the process of migrating features of this custom integration to the HA new Enphase_Envoy Core integration (Multi-phase by @posixx and net-production and net-consumption by @cddu33 and @testuser7) . I'm limiting activities here to help out with bugs or questions. Having said that, I think that the new HA Enphase Envoy core integration has battery temperature and SOC.

Thank you! You mentioned, migrating features, what features are in the dev version that are not in the core version?

Based on HA 2024.1.5 the core version is missing:

  • 3 phase sensors by @posixx. I recently migrated this, not sure yet in which HA release it will surface.
  • Lifetime net-consumption and net-production ( V0.0.17, v0.0.18, v0.0.19 ) by @cddu33 and @testuser7. I've migrated that to pyenphase, the library used by HA Core, but it still needs to be added to HA Core.
  • Battery Energy charge and discharge in this custom integration is based on change events in % load in the battery. HA Core doesn't provide that and you need to build something for it. It's discussed in a community topic.

The community topic also has experiences in switching from this one to core.

Super helpful! Thank you.

What I forgot to add to the list is that the HA Core does NOT support old Envoy models with firmware BEFORE 3.9. For those, data is coming from an HTML Page and HA does not allow web page scraping in core components.

The pyenphase module used by HA Core module has an options for customhooks and it relatively easy to extend it to get the data for legacy models as well. That extension would be a custom integration with the extension as custom part and using the core component for others. That would support installations with mixed legacy and modern ones like this one does.

This was released in 2024.2.0