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

"Platform solax does not generate unique IDs." for X3 Hybrid G4 due to duplicate run mode on idx 19 #112

Open
jurahudak opened this issue Apr 14, 2023 · 1 comment

Comments

@jurahudak
Copy link

Hi.

I'm experiencing the error below, causing stop on processing fully all the returned data = only data until index 19 are stored and displayed. "Run mode" showing 2.0.

2023-04-14 16:57:03.789 ERROR (MainThread) [homeassistant.components.sensor] Platform solax does not generate unique IDs. ID XXX-19 already exists - ignoring sensor.solax_XXX_run_mode

Leaving only one of the rows in the inverters/x3_hybrid_g4.py file solves the issue.

            "Run mode": (19, Units.NONE),
            "Run mode text": (19, Units.NONE, X3HybridG4._decode_run_mode),

In the Solax overview there is "Run mode" even if I leave "Run mode text" in the file.

Guess, either remove one of the lines, preferable the raw value line. Or fix the ID generation for this case.

@squishykid
Copy link
Owner

squishykid commented Jun 10, 2023

I think this is something we will need to fix on our side, as well as adding a test. Thank you for bringing this to our attention.

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