Proposal: Use of pysolarmanv5 library instead of current embedded communications implementation #271
charles-sd
started this conversation in
Ideas
Replies: 3 comments 2 replies
-
Maybe this is related? jmccrohan/pysolarmanv5#1 |
Beta Was this translation helpful? Give feedback.
1 reply
-
Good news, it seems @StephanJoubert had some time to integrate with the library. The changes are already in the repository, waiting a few days before a realease. See #338 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello, Unfortunately it's a way a less stable than previous internal implementation found in <v1.5.0
and...
I don't have a luxury to find a time fighting with these and I am going to stick with older version. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey folks
First of all, I would like to express my gratitude and appreciation to @StephanJoubert and contributors for creating a great Home Assistant component that has been very useful and valuable to many of us! Thank you also for your hard work and dedication to keep this project moving forward.
I hope you will consider this proposal as my constructive suggestion on how to improve the project.
I think that the project could benefit from a greater separation of concerns - in particular by separating the implementation of the inverter communications protocol from the functional HA component with HA Integration, Sensors and UX components. There is much potential for expanding on the latter and this approach would allow for more focused and efficient development.
After getting into the code today to squash a bug, I noticed that the implementation of the communications protocol to the inverter is still feature limited and challenging to easily grow new features on top of. (Such as updating inverter settings for example.) Enhancing this would require significant time and effort.
New and improved HA features are what I would expect the main focus of this project to be, not in refining the current inverter protocol implementation. It has already been developed to a high level of maturity in the pysolarmanv5 library led by @jmccrohan. Protocol efforts could be better consolidated under that project, instead of duplicating them here.
For this reason I'd like to propose that the code be refactored to replace the current embedded inverter protocol implementation with use of the pysolarmanv5 library. This library is well documented, feature rich and technically very well implemented.
I would love to hear your thoughts on this proposal. (And I am especially interested in hearing from the project maintainers…)
Cheers
Beta Was this translation helpful? Give feedback.
All reactions