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

[teleinfo] Initial contribution #7744

Merged
merged 182 commits into from
Sep 7, 2020
Merged

[teleinfo] Initial contribution #7744

merged 182 commits into from
Sep 7, 2020

Conversation

olivierkeke
Copy link
Contributor

Related to #680 issue (titled "Add Teleinfo Binding") and Community thread: https://community.openhab.org/t/new-teleinfo-binding-tester-and-feedback-welcome/77857

Clean rebase of #7516

@olivierkeke olivierkeke requested a review from a team as a code owner May 22, 2020 20:29
@TravisBuddy
Copy link

Travis tests were successful

Hey @olivierkeke,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

@cpmeister cpmeister added the new binding If someone has started to work on a binding. For a new binding PR. label May 23, 2020
@TravisBuddy
Copy link

Travis tests were successful

Hey @olivierkeke,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

2 similar comments
@TravisBuddy
Copy link

Travis tests were successful

Hey @olivierkeke,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

@TravisBuddy
Copy link

Travis tests were successful

Hey @olivierkeke,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

@olivierkeke olivierkeke changed the title [teleinfo] intial contribution [teleinfo] Initial contribution May 28, 2020
@olivierkeke olivierkeke mentioned this pull request Jun 3, 2020
@TravisBuddy
Copy link

Travis tests have failed

Hey @olivierkeke,
please read the following log in order to understand the failure reason. There might also be some helpful tips along the way.
It will be awesome if you fix what is wrong and commit the changes.

@fwolter
Copy link
Member

fwolter commented Jun 10, 2020

Seems like you managed to fix the mixed-up sign offs. @nokyyz If everything is fine, can you close your PR #7516? I will then review this PR.

@TravisBuddy
Copy link

Travis tests were successful

Hey @olivierkeke,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

@nokyyz
Copy link

nokyyz commented Jun 10, 2020

Seems like you managed to fix the mixed-up sign offs. @nokyyz If everything is fine, can you close your PR #7516? I will then review this PR.

Hi @fwolter, everything is fine for me. I have closed my PR #7516. Thx

Copy link
Member

@fwolter fwolter left a comment

Choose a reason for hiding this comment

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

I saw that you put a lot of effort into this binding and you have my full respect to handle this complex protocol. I also like that you attached an UML diagram for documentation.

Here are some general points I found in the review:

There are several methods which log on entry and on exit. You could use the debugger for that purpose. See point 4 https://www.openhab.org/docs/developer/guidelines.html#f-logging

There are several checkstyle and compiler warnings left. You could take a look at target/code-analysis/report.html.

There are some formatting issues. You can view them with mvn spotless:check -Dspotless.check.skip=false and fix them with mvn spotless:apply.

Please use null annotations. See https://www.openhab.org/docs/developer/guidelines.html#null-annotations The data classes can be moved into a package called dto to prevent the missing null annotations.

@TravisBuddy
Copy link

Travis tests were successful

Hey @olivierkeke,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

5 similar comments
@TravisBuddy
Copy link

Travis tests were successful

Hey @olivierkeke,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

@TravisBuddy
Copy link

Travis tests were successful

Hey @olivierkeke,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

@TravisBuddy
Copy link

Travis tests were successful

Hey @olivierkeke,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

@TravisBuddy
Copy link

Travis tests were successful

Hey @olivierkeke,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

@TravisBuddy
Copy link

Travis tests were successful

Hey @olivierkeke,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

@TravisBuddy
Copy link

Travis tests have failed

Hey @olivierkeke,
please read the following log in order to understand the failure reason. There might also be some helpful tips along the way.
It will be awesome if you fix what is wrong and commit the changes.

@TravisBuddy
Copy link

Travis tests were successful

Hey @olivierkeke,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

5 similar comments
@TravisBuddy
Copy link

Travis tests were successful

Hey @olivierkeke,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

@TravisBuddy
Copy link

Travis tests were successful

Hey @olivierkeke,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

@TravisBuddy
Copy link

Travis tests were successful

Hey @olivierkeke,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

@TravisBuddy
Copy link

Travis tests were successful

Hey @olivierkeke,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

@TravisBuddy
Copy link

Travis tests were successful

Hey @olivierkeke,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

@TravisBuddy
Copy link

Travis tests have failed

Hey @olivierkeke,
please read the following log in order to understand the failure reason. There might also be some helpful tips along the way.
It will be awesome if you fix what is wrong and commit the changes.

1 similar comment
@TravisBuddy
Copy link

Travis tests have failed

Hey @olivierkeke,
please read the following log in order to understand the failure reason. There might also be some helpful tips along the way.
It will be awesome if you fix what is wrong and commit the changes.

Co-authored-by: Hilbrand Bouwkamp <[email protected]>
Signed-off-by: Olivier Marceau <[email protected]>
@TravisBuddy
Copy link

Travis tests were successful

Hey @olivierkeke,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

Signed-off-by: Olivier Marceau <[email protected]>
@TravisBuddy
Copy link

Travis tests were successful

Hey @olivierkeke,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

1 similar comment
@TravisBuddy
Copy link

Travis tests were successful

Hey @olivierkeke,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

Signed-off-by: Olivier Marceau <[email protected]>
@TravisBuddy
Copy link

Travis tests were successful

Hey @olivierkeke,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

Signed-off-by: Olivier Marceau <[email protected]>
@TravisBuddy
Copy link

Travis tests were successful

Hey @olivierkeke,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

Signed-off-by: Olivier Marceau <[email protected]>
Signed-off-by: Olivier Marceau <[email protected]>
Signed-off-by: Olivier Marceau <[email protected]>
Signed-off-by: Olivier Marceau <[email protected]>
Signed-off-by: Olivier Marceau <[email protected]>
@olivierkeke
Copy link
Contributor Author

@Hilbrand Thank you for the review. I think I've made the requested changes.

@TravisBuddy
Copy link

Travis tests were successful

Hey @olivierkeke,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

Copy link
Member

@Hilbrand Hilbrand left a comment

Choose a reason for hiding this comment

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

Just one issue left related to the change of using ThingHandlerService.

@TravisBuddy
Copy link

Travis tests were successful

Hey @olivierkeke,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

@olivierkeke
Copy link
Contributor Author

@Hilbrand Done!

Copy link
Member

@Hilbrand Hilbrand left a comment

Choose a reason for hiding this comment

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

LGTM

@Hilbrand Hilbrand merged commit 73102b6 into openhab:2.5.x Sep 7, 2020
@Hilbrand Hilbrand added this to the 2.5.9 milestone Sep 7, 2020
@nokyyz
Copy link

nokyyz commented Sep 7, 2020

Great ! Many thanks for all !

CSchlipp pushed a commit to CSchlipp/openhab-addons that referenced this pull request Sep 12, 2020
Also-by: Nicolas SIBERIL <[email protected]>
Signed-off-by: Olivier Marceau <[email protected]>
markus7017 pushed a commit to markus7017/openhab-addons that referenced this pull request Sep 19, 2020
Also-by: Nicolas SIBERIL <[email protected]>
Signed-off-by: Olivier Marceau <[email protected]>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Oct 8, 2020
Also-by: Nicolas SIBERIL <[email protected]>
Signed-off-by: Olivier Marceau <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cre Coordinated Review Effort 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.

6 participants