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

[gridbox] Initial contribution #16664

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Open

Conversation

benediktkuntz
Copy link

Viessmann GridBox Binding

Initial contribution for a new binding for connecting to the Viessmann GridBox, see README.MD for information about it

Description

My first contribution, be merciful ;) Only tested with my private setup, any comments or testing highly appreciated...

Signed-off-by: Benedikt Kuntz <benkuntz@web.de>
@benediktkuntz benediktkuntz requested a review from a team as a code owner April 19, 2024 12:43
@jlaur jlaur added the new binding If someone has started to work on a binding. For a new binding PR. label Apr 19, 2024
Signed-off-by: Benedikt Kuntz <benkuntz@web.de>
Copy link
Contributor

@jlaur jlaur left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution!

Just one quick comment: The CI build might work better if you add your binding to this POM:
https://github.com/openhab/openhab-addons/blob/main/bom/openhab-addons/pom.xml

.gitattributes Outdated Show resolved Hide resolved
Signed-off-by: Benedikt Kuntz <benkuntz@web.de>
Signed-off-by: Benedikt Kuntz <benkuntz@web.de>
Signed-off-by: Benedikt Kuntz <benkuntz@web.de>
@benediktkuntz
Copy link
Author

Should be done now 👍 I think the build error was because I messed up the bundles/pom.xml formatting... But I added the binding to the bom pom.xml as well. Maybe this would be an improvement to the create_openhab_binding_skeleton skripts?

Signed-off-by: Benedikt Kuntz <benkuntz@web.de>
Copy link
Contributor

@lsiepel lsiepel left a comment

Choose a reason for hiding this comment

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

Nice contribution, thanks. Many comments are the same issue, so it is allready in a good shape.
You could also consider to support i18n with the updatestatus detail text. But that is up to you, updateStatus example here: https://www.openhab.org/docs/developer/utils/i18n.html#using-custom-keys

Also unit tests are highly appreciated (not mandatory). See other bindings for some examples.

@lsiepel lsiepel changed the title [gridbox] Add binding for Viessmann GridBox - Initial contribution [gridbox] Initial contribution Apr 27, 2024
Signed-off-by: Benedikt Kuntz <benkuntz@web.de>
Signed-off-by: Benedikt Kuntz <benkuntz@web.de>
Signed-off-by: Benedikt Kuntz <benkuntz@web.de>
Signed-off-by: Benedikt Kuntz <benkuntz@web.de>
Signed-off-by: Benedikt Kuntz <benkuntz@web.de>
Copy link
Contributor

@lsiepel lsiepel left a comment

Choose a reason for hiding this comment

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

Some new comments, things i missed earlier. Thanks for addressing this quick. Very nice you also adapted to the i18n labels.

Signed-off-by: Benedikt Kuntz <benkuntz@web.de>
Signed-off-by: Benedikt Kuntz <benkuntz@web.de>
Signed-off-by: Benedikt Kuntz <benkuntz@web.de>
Signed-off-by: Benedikt Kuntz <benkuntz@web.de>
Signed-off-by: Benedikt Kuntz <benkuntz@web.de>
Copy link
Contributor

@lsiepel lsiepel left a comment

Choose a reason for hiding this comment

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

Thanks again for the contribution. LGTM. as many changes have been made , let me know that it was tested enough to merge.

Signed-off-by: Benedikt Kuntz <benkuntz@web.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new binding If someone has started to work on a binding. For a new binding PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants