alangibson / homeassistant-sungrow

Sungrow Inverter integration for Home Assistant
4 stars 2 forks source link

Discussion: fork #17

Open AlexanderLanin opened 6 months ago

AlexanderLanin commented 6 months ago

I've started a fork to create some pull requests. Which was fine for a while. But much sooner than anticipated my code diverged significantly. I've also addressed this in Discord with @mkraiser and @bohdan-s, so far there is no clear statement on their side. From the looks of it @bohdan-s doesn't have much time either way, while @mkaiser might jump on. Anyway, back to our repos: by now there is not a single line in common between them. That's not intentional! But a byproduct of many many refactorings.

Differences:

Link: https://github.com/AlexanderLanin/homeassistant-sungrow

bohdan-s commented 6 months ago

Sounds good. Sungather was never going to be a HA integration as it does lots of other things (like PVOutput). So happy to support a native integration in any way. As for updates I have been working on a rewrite fixing lots of things but it's taking longer than expected.

mkaiser commented 6 months ago

My YAML-only approach was meant to be a quick integration at first. But it cannot fulfil the requirements most users want to address. A proper HA Integration will also solve most of the current issues in an elegant and scalable way. So I am all-in with my limited ( :/ )time. I can't help much with the coding, but I have gained a quiet good overview of the sugrow systems and their quirks ;)

@AlexanderLanin Do you want to open a discord chan for further discussions?

alangibson commented 6 months ago

I'm going to start a long term project starting tomorrow so I'm happy letting @AlexanderLanin take the lead.

I have a couple of notes:

FHoevi commented 1 month ago

Dear all, do I get it right that AlexanderLanin's fork is currently the most up-to-date one and furthermore the one which will be maintained in the future?

AlexanderLanin commented 1 month ago

@FHoevi Those are very different questions. The fork at https://github.com/AlexanderLanin/homeassistant-sungrow is slightly more advanced than the version here. However future maintenance... I'm honestly not sure at the moment. I'm working on a full rewrite on a branch. Actually, it's like the 5th rewrite... and nothing is working anymore....

For a real productive system, you are better off with either one:

I do believe that the version I have "in progress" has the most features. But I'm not sure if/when I'll invest sufficient time to release it. This is more for contributions than for usage: https://github.com/AlexanderLanin/homeassistant-sungrow/tree/temp