-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[modbus.lambda] Lambda Heat Pump #17595
Conversation
Thank you for this contribution. It would be nice if you could perform a self review see the checklist here: https://github.com/openhab/openhab-addons/wiki/Review-Checklist Once these are done, me or another maintainer will review this. Just ping if you need anything. |
I added the changes to
After some fiddling with git to signoff my commits and annoying problems with VS formatting pom.xml etc. the project was compiled without errors in github. |
b1c9241
to
528d406
Compare
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/add-heatpump-binding-to-modbus-binding-help-needed/157725/10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for contributing to openHAB, greatly appreciated. This is a partly review, I looked at 33/38 files. I left some comments, the most important one is about getting the openHAB side of the moddeling right. From there on i can look at the rest of the files. Let me know if you need anything
...bus.lambda/src/main/java/org/openhab/binding/modbus/lambda/internal/LambdaConfiguration.java
Outdated
Show resolved
Hide resolved
...lambda/src/main/java/org/openhab/binding/modbus/lambda/internal/handler/LambdaException.java
Outdated
Show resolved
Hide resolved
...s/org.openhab.binding.modbus.lambda/src/main/resources/OH-INF/config/config-descriptions.xml
Outdated
Show resolved
Hide resolved
...s/org.openhab.binding.modbus.lambda/src/main/resources/OH-INF/config/config-descriptions.xml
Outdated
Show resolved
Hide resolved
I am lost. |
If you click details next to the DCO issue, there are 4 commits that lack the signoff. That page also lists some actions to take to fix it. (you have to rewrite the commit message). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for fixing most comments quicly. When looking at the other files i got some new ones. Only the handler is left to review. But that is only usefull after we finished the modelling of things and channels.
...nhab.binding.modbus.lambda/src/main/resources/OH-INF/thing/lambda-heatpump-channel-types.xml
Outdated
Show resolved
Hide resolved
...nhab.binding.modbus.lambda/src/main/resources/OH-INF/thing/lambda-heatpump-channel-types.xml
Outdated
Show resolved
Hide resolved
...nhab.binding.modbus.lambda/src/main/resources/OH-INF/thing/lambda-heatpump-channel-types.xml
Outdated
Show resolved
Hide resolved
...nhab.binding.modbus.lambda/src/main/resources/OH-INF/thing/lambda-heatpump-channel-types.xml
Outdated
Show resolved
Hide resolved
....lambda/src/main/java/org/openhab/binding/modbus/lambda/internal/LambdaBindingConstants.java
Outdated
Show resolved
Hide resolved
I think I am finished with the necessary changes. |
Some commits got accidently added to this PR. Please rebase / undo excess commits |
@lsiepel |
Could you fix the excess commits and conflicts? I guess something went wrong with rebasing. |
I tried again, but I guess I failed again. In vscode the merging now looks like: |
You have to merge openHAB main into your GitHub main. And from there in your feature branch. It looks like you updated your feature branch straight from openHAB main |
I am lost... |
As from there you pull in the changes from upstream straight into your local branch this can be expected.
|
I went back to a really old version, did a git pull and used my local backup to change the project. Then I pushed my local fork to github and opened up a new pull request: But ... Could you have a look at the new pull request? |
I fixed the DCO failures and the compilations worked out. |
I'll look into the new PR, let's continue there. |
This is my first contribution on github!
Based on the Stiebel Eltron bundle by Paul Frank I contribute a bundle to manage Lambda Heat Pumps as a OSG addon to the Modbus Binding.
I did some testing by adding my jar to the local addon directory.
See the README.md for restrictions on usage.
The binding is based on the Modbus description of the manufacturer:
(https://lambda-wp.at/wp-content/uploads/2022/01/Modbus-Protokoll-und-Beschreibung.pdf)
Compressed directory:
org.openhab.binding.modbus.lambda.zip