-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Solax] Changes in values parser for X3-Hybrid-G4 #17549
Conversation
This pull request has been mentioned on openHAB Community. There might be relevant details there: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These comments are probably the main reason to create this PR, so consider it as a double check. As you mention this might be breaking to users on current version, do you have some kind of information available (by API or otherwise) to determine the right indices like a version or schema string?
...nding.solax/src/main/java/org/openhab/binding/solax/internal/model/local/X3HybridG4Data.java
Show resolved
Hide resolved
...nding.solax/src/main/java/org/openhab/binding/solax/internal/model/local/X3HybridG4Data.java
Show resolved
Hide resolved
Unfortunately everything is taken from other reverse-engineered implementations (python mostly). The problem is that the QVolt and X3-Hybrid-G4 return the same inverter type - 14. This leads me to believe that the API should be the same but changing indexes is indeed worrying. I will confirm that with users first (that's why the WIP flag). |
In general there are two scenario's (may be more):
|
Some values in the unit test are suspicious so need to clarify if they behave correct on his system. Probably not compatible with QVolt's initial implementation Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
f8af901
to
19d61d0
Compare
Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
OK. It has been discussed with the community. It seems that QVolt and X3 Hybrid are the same inverter after all. The values in the initial parser were never correct and now they seem to be correct for both these inverters, so I would say that this change also contains a fixes for a non-working parse of some channels. We don't have to make any backwards compatibility magic... |
@lsiepel not sure why the build has failed here. It seems that it never ran for the last commit I pushed. Do you know how we can retrigger it? I'm not sure how to login on the Jenkins and if I have the rights to do so... |
I got all the confirmations that the changes work well. The PR is ready for a review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks LGTM
* Fixes in indexes from Ruepert openhab#1 Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
* Fixes in indexes from Ruepert openhab#1 Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
* Fixes in indexes from Ruepert openhab#1 Signed-off-by: Konstantin Polihronov <polychronov@gmail.com> Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
Some indexes were changed in the parsing based on user feedback.
It has been confirmed with the users that the changes do not affect the QVolt implementation and we can proceed with the review process.