Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions on migrating to new HA Core version #183

Open
catsmanac opened this issue Feb 20, 2024 · 8 comments
Open

Questions on migrating to new HA Core version #183

catsmanac opened this issue Feb 20, 2024 · 8 comments

Comments

@catsmanac
Copy link
Collaborator

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

Originally posted by @GitittomeNow in #176 (comment)

@catsmanac
Copy link
Collaborator Author

Moved over from #176

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.

@catsmanac
Copy link
Collaborator Author

Moved over from #175

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
Copy link
Collaborator Author

Moved over from #175

This was released in 2024.2.0

@catsmanac
Copy link
Collaborator Author

For experiences with migrations see the community blog: https://community.home-assistant.io/t/switching-from-enphase-envoy-dev-back-to-core/611391

@catsmanac
Copy link
Collaborator Author

Grid import/export is now available in HA core 2024.3 as net consumption and net production.

@catsmanac
Copy link
Collaborator Author

For those that want to run the HA core integration but can't because they still have an Envoy legacy with firmware <3.9 there's a custom integration enphase_envoy_legacy_support that does not replace the HA Core but is installed as a separate custom integration with name ha_enphase_envoy_with_legacy and registers the required webscraper with the HA Core Enphase Envoy integration. All communication and processing is done by the HA Core integration and it enables running Legacy Envoy, either alone or in mixed environment with newer models, all served by the HA Core integration.

@testuser7
Copy link
Contributor

So all functionality has been added to core?

@catsmanac
Copy link
Collaborator Author

So all functionality has been added to core?

At a high level yes, but not in same detail.

  • Core doesn't have the options that this one has to change timeouts, retries or not use the production json.
  • Core doesn't have the Power Factor nor Current for the CTs.
  • Core is only using ivp/meters/readings and not ivp/meters/reports
  • Core has Grid Status from different source as this one.
  • Core has support for enpower and encharge including operating switches and modes
  • 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. The current ones can be re-used or re-build the same way but require some work I expect. Integrating battery power is discussed in a community topic.
    • Core will get support for a 3th CT for battery storage if you have this installed and that can be used for energy dashboard.
  • To run core with legacy the additonal custom integration enphase_envoy_legacy_support needs to be installed as well

So see if it suits your needs best try it in a docker container or some other way before switching. And https://community.home-assistant.io/t/switching-from-enphase-envoy-dev-back-to-core/611391 has some experiences on how it was done. And as good habbit, make backups before changing anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants