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

[siemenshvac] Initial contribution #14263

Merged
merged 214 commits into from
Jun 29, 2024
Merged

[siemenshvac] Initial contribution #14263

merged 214 commits into from
Jun 29, 2024

Conversation

lo92fr
Copy link
Contributor

@lo92fr lo92fr commented Jan 22, 2023

Title

Add a binding for siemens Hvac interface (OZW672)

Description

This pull request is about adding a binding for siemens Hvac interface OZW672 (https://hit.sbt.siemens.com/RWD/app.aspx?rc=FR&lang=fr&module=Catalog&action=ShowProduct&key=BPZ:OZW672.01)

The OZW672 is a ethernet bridge for the LSB bus of Hvac device.
It implements a web interface that enable reading and setting of differents hvac parameters.
OZW672 also support a REST api.

This binding use this REST api to integrate OZW672 into openhab.

Testing

The binding support autodiscovery of the OZW672 interface using upnp.
After a few minutes, you should see the OZW672 bridge into your Inbox.
If not, power off and up OZW672.
You can also add the bridge manually.

After adding the bridge, you will have to go to bridge parameters, setting the password for the OZW672, and then restart openhab.
On restart, OZW672 will do autodiscovery phase from you installation during initialization.
This can be a little long : ~2 to 5 minutes depending of your installation.

After OZW672 bridge come up again, go back again to the "things" page of openhab.
Click on the add button, then click on the "siemensHvac" binding, and on the next page click on the "scan" button.
After a few second, openhab should list all you devices connect to the LSB bus.
If you have a simple home Hvac installation, it will generally find only one device.
Most common name for this device are something like "RVS41xxx.yyy".
This device represents the main controler inside your Hvac device.

After you add this RVS to your system, you can go into it, and Channels tabs will expose all your hvac settings.
Structure of the Channels should be the same as the one on the LCD screen of your Hvac device.
You may have a lot more of items that on your LCD screen because the device exposte all items, even the one for "specialist" guys.

@lo92fr lo92fr requested a review from a team as a code owner January 22, 2023 19:28
@lo92fr lo92fr force-pushed the 14262-siemensHvac branch 2 times, most recently from dc1076f to 737f2f3 Compare January 22, 2023 19:41
@lo92fr
Copy link
Contributor Author

lo92fr commented Jan 22, 2023

Hello,

Not sure to understand the error message on the build.
The compilation is working on my side, if you can give me some advice about this error.

@lsiepel lsiepel changed the title Add a binding for siemens Hvac interface (OZW672) [siemenshvac] Initial contribution - interface (OZW672) Jan 22, 2023
@lsiepel lsiepel added new binding If someone has started to work on a binding. For a new binding PR. rebuild Triggers Jenkins PR build and removed rebuild Triggers Jenkins PR build labels Jan 22, 2023
@lsiepel
Copy link
Contributor

lsiepel commented Jan 23, 2023

Hope the rebuild helps, don't see anything obvious wrong with the POM etc. You might want to look at the readme.md and the i18n files as they seem to be just the placeholders.

@lsiepel lsiepel linked an issue Jan 24, 2023 that may be closed by this pull request
Copy link
Contributor

@clinique clinique left a comment

Choose a reason for hiding this comment

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

Partial review

Copy link
Contributor

@clinique clinique left a comment

Choose a reason for hiding this comment

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

Partial review.

@lo92fr
Copy link
Contributor Author

lo92fr commented Jan 24, 2023

Hello Gael,

Thanks for your review.
I've just updated the pull request with the requested modifications.

Laurent.

@lo92fr lo92fr force-pushed the 14262-siemensHvac branch 2 times, most recently from bc727ff to 66445a4 Compare January 24, 2023 18:50
@lo92fr
Copy link
Contributor Author

lo92fr commented Jan 24, 2023

I also manage to fix the build.
Was missing a reference in bom/openhab-addons/pom.xml.

Laurent.

Copy link
Contributor

@clinique clinique left a comment

Choose a reason for hiding this comment

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

Second review

@lo92fr lo92fr force-pushed the 14262-siemensHvac branch from 2b83f89 to 0c8f02f Compare February 4, 2023 13:57
@lo92fr lo92fr requested a review from clinique February 11, 2023 17:07
@freichen
Copy link

freichen commented Apr 4, 2023

@lo92fr Amazing binding - thank you ! I tested it with an OZW672.01 connected to a RVP350 and the only issue I found was that Enumeration channels are auto-discovered as Number - for example:

image

@lo92fr
Copy link
Contributor Author

lo92fr commented Apr 16, 2023

hannels are auto-discovered as Number - for example:

Hello Freichen,

Not sure what are the good way to fix this.
Do you have some guidlines, or some other example binding I can look to fix this.

@lo92fr
Copy link
Contributor Author

lo92fr commented Apr 16, 2023

Hello Gaël,

@clinique : I'm not sure what are the current state of this pull request.
Do you wait more change from my side ?

@lo92fr lo92fr force-pushed the 14262-siemensHvac branch from 81d5e7d to 992ebe1 Compare April 16, 2023 11:00
@larnalcegid
Copy link

Hello,

Can some one can give an update about the integration of this pull request in main stream.

Thanks,
Laurent.

@larnalcegid
Copy link

@lo92fr Amazing binding - thank you ! I tested it with an OZW672.01 connected to a RVP350 and the only issue I found was that Enumeration channels are auto-discovered as Number - for example:

image

I've commit a fix for this, should be working as excepted now.

@larnalcegid
Copy link

Hello Gaël, Hello Freichen,

Any update on this ?
Let me know if any more changed is need.

Laurent.

lo92fr added 4 commits June 25, 2024 11:12
Signed-off-by: Laurent ARNAL <laurent@clae.net>
Signed-off-by: Laurent ARNAL <laurent@clae.net>
add uid to logging in case of conversion error

Signed-off-by: Laurent ARNAL <laurent@clae.net>
Signed-off-by: Laurent ARNAL <laurent@clae.net>
@lo92fr
Copy link
Contributor Author

lo92fr commented Jun 25, 2024

or geting it merged for 4.2, I jus

Ok, look great.
I think at this time it could be a good thing if it's go in production so more people can test it in real case.
I would certainly work in most situation, but having more tester would enable to verify it on more various devices.

Laurent.

lo92fr added 2 commits June 25, 2024 13:04
Signed-off-by: Laurent ARNAL <laurent@clae.net>
Signed-off-by: Laurent ARNAL <laurent@clae.net>
@jlaur
Copy link
Contributor

jlaur commented Jun 27, 2024

I went through my list of open comments, and have reduced it to:

The last milestone will be built on Saturday, so if you are able to have a look before then, that would be awesome. I don't know if you plan to provide French translations, but there would then be a few days left to provide those at Crowdin.

@lo92fr
Copy link
Contributor Author

lo92fr commented Jun 28, 2024

I went through my list of open comments, and have reduced it to:

The last milestone will be built on Saturday, so if you are able to have a look before then, that would be awesome. I don't know if you plan to provide French translations, but there would then be a few days left to provide those at Crowdin.

Hello @jlaur,

I take a look to your last review.
About the open comment:

Signed-off-by: Laurent ARNAL <laurent@clae.net>
@lo92fr
Copy link
Contributor Author

lo92fr commented Jun 28, 2024

st milestone will be built on Saturday, so if you a

I've checked your last comment, and commit some minor modifications.
For french translations, I've already have them ready on my side, so it should be ok to provide them in Crowdin at the beginning of next week.

Laurent.

@jlaur jlaur changed the title [siemenshvac] Initial contribution - interface (OZW672) [siemenshvac] Initial contribution Jun 28, 2024
Signed-off-by: Laurent ARNAL <laurent@clae.net>
@jlaur
Copy link
Contributor

jlaur commented Jun 29, 2024

@lo92fr - just to be sure, do you plan on looking closer a the few remaining comments here today? We can still merge, but if you are actively working on something, I would hold back the merge for a bit to avoid follow-up PR's.

@lo92fr
Copy link
Contributor Author

lo92fr commented Jun 29, 2024

@lo92fr - just to be sure, do you plan on looking closer a the few remaining comments here today? We can still merge, but if you are actively working on something, I would hold back the merge for a bit to avoid follow-up PR's.

Hello @jlaur,

No, I'm not there this afternoon, so I will not do other modification.
You can merge when you want.

Laurent.

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 again for your contribution, and also for addressing review comments and enduring this long review process we've been through.

Now, you could add your binding's logo to the openHAB website. See https://next.openhab.org/docs/developer/addons/#add-your-add-on-s-logo-to-the-openhab-website-and-the-ui

@jlaur jlaur merged commit 80bd5bf into openhab:main Jun 29, 2024
5 checks passed
@jlaur jlaur added this to the 4.2 milestone Jun 29, 2024
psmedley pushed a commit to psmedley/openhab-addons that referenced this pull request Jul 12, 2024
Signed-off-by: Laurent ARNAL <laurent@clae.net>
pgfeller pushed a commit to pgfeller/openhab-addons that referenced this pull request Sep 29, 2024
Signed-off-by: Laurent ARNAL <laurent@clae.net>
Signed-off-by: Patrik Gfeller <patrik.gfeller@proton.me>
joni1993 pushed a commit to joni1993/openhab-addons that referenced this pull request Oct 15, 2024
Signed-off-by: Laurent ARNAL <laurent@clae.net>
matchews pushed a commit to matchews/openhab-addons that referenced this pull request Oct 18, 2024
Signed-off-by: Laurent ARNAL <laurent@clae.net>
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.

Add a binding for siemens Hvac interface (OZW672)
8 participants