briancmpbll / home_assistant_custom_envoy

171 stars 76 forks source link

Feature request: Show Battery Temperature #176

Closed GitittomeNow closed 4 months ago

GitittomeNow commented 5 months ago

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!

catsmanac commented 5 months ago

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.

GitittomeNow commented 5 months ago

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

catsmanac commented 5 months ago

Based on HA 2024.1.5 the core version is missing:

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

GitittomeNow commented 5 months ago

Super helpful! Thank you.

catsmanac commented 5 months ago

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.

catsmanac commented 5 months ago
  • 3 phase sensors by @posixx. I recently migrated this, not sure yet in which HA release it will surface.

This was released in 2024.2.0