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

Add Support for Q.VOLT HYB-G3-3P #57

Merged

Conversation

VadimKraus
Copy link
Contributor

The "Q.VOLT HYB-G3-3P" is part of the "Q.HOME+ ESS HYB-G3-3P" Set, which is a clone/relabel of X ESS G4 and contains a "X3 Hybrid G4".

Since I only have access to the QCells variante, this PR adds an inverter with the name "QVOLTHYBG33P".
The mapping was done by best effort, however, there are still some data points in the repose which I could not identify.

@squishykid
Copy link
Owner

I think it makes sense to add it to the library. We might want to split it out into a separate discovery mechanism though, so that home-assistant users don't get confused. For now we can just add it here and cross that bridge when they do get confused :)

solax/utils.py Outdated
@@ -1,3 +1,25 @@
INVERTER_OPERATION_MODES = {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My only comment would be: Could you please move these added constants and functions inside the QVOLTHYBG33P class? The new class is the only class which currently uses these values.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like that?

@squishykid
Copy link
Owner

Should just be a small change and then it's ready to merge!

@squishykid squishykid merged commit eefc446 into squishykid:master Feb 21, 2022
@squishykid
Copy link
Owner

Nice work! Thanks for your contribution!

@VadimKraus VadimKraus deleted the feature/QVOLTHYBG33P-Inverter branch April 22, 2022 09:59
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

Successfully merging this pull request may close these issues.

2 participants