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

added support for multiple wallboxes #155

Merged
merged 2 commits into from
Jul 2, 2024

Conversation

bullitt186
Copy link
Contributor

Based on the first feedback, I added multi-wallbox capability rightaway.

According to E3DC RSCP spec, up to 8 Wallboxes are supported.

If there's only one wallbox, WB entities are names "Wallbox ...", if there are more, they are numbered starting with 1.
WB name/key/index is kept in a central list of Dict, so more advanced naming conventions could be introduced easily.

As this can become a very long list of wallbox entities, ideally each wallbox would be a own device.
I explored this a little bit but i'm afraid this would be a bigger refactoring of this integration or something, which requires a deeper understanding of HA.

As i only have one wallbox at home, i could only verify, that the behaviour of that one is still correct, for the other wallboxes, i could just verify that namings, keys and calling python-e3dc works as intended but of course i could not verify if correct data is returned.

However I'd suggest to update the Beta in order to get feedback from e.g. @Thomansky to test the multi-wallbox-functions.

@torbennehmer torbennehmer merged commit 01cf975 into torbennehmer:main Jul 2, 2024
5 checks passed
@torbennehmer torbennehmer added the enhancement New feature or request label Jul 2, 2024
@bullitt186
Copy link
Contributor Author

Thanks for merging! I am curious to get some real users feedback :)

@bullitt186 bullitt186 deleted the multiple-wallboxes branch July 2, 2024 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants