-
-
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
[Broadlink] Initial contribution #16273
Conversation
8264a68
to
9db5bef
Compare
Signed-off-by: AntonJansen <gradius@fmf.nl>
…nes. Signed-off-by: AntonJansen <gradius@fmf.nl>
…will work. Signed-off-by: AntonJansen <gradius@fmf.nl>
633a698
to
3acad3f
Compare
Signed-off-by: AntonJansen <gradius@fmf.nl>
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/oh-4-0-4-broadlink-binding-rm3-mini-error/152173/16 |
- Add new device type to model mapper - Fix bug with mac address being send in wrong order - Added trace logging information to track messages Signed-off-by: AntonJansen <gradius@fmf.nl>
Cleaned up the code. Signed-off-by: AntonJansen <gradius@fmf.nl>
…tion. Signed-off-by: AntonJansen <gradius@fmf.nl>
Signed-off-by: AntonJansen <gradius@fmf.nl>
Signed-off-by: AntonJansen <gradius@fmf.nl>
Signed-off-by: AntonJansen <gradius@fmf.nl>
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.
Please go through all uses of the logger and fix.
Also after you have built the binding look in the target folder where the jar appears.
Folder called target\code-analysis
open the file called report.html
Then try and fix as many as you can whilst you wait for more review comments.
Thanks for taking on the binding.
...inding.broadlink/src/main/java/org/openhab/binding/broadlink/handler/BroadlinkA1Handler.java
Outdated
Show resolved
Hide resolved
...broadlink/src/main/java/org/openhab/binding/broadlink/handler/BroadlinkBaseThingHandler.java
Outdated
Show resolved
Hide resolved
...broadlink/src/main/java/org/openhab/binding/broadlink/handler/BroadlinkBaseThingHandler.java
Outdated
Show resolved
Hide resolved
...broadlink/src/main/java/org/openhab/binding/broadlink/handler/BroadlinkBaseThingHandler.java
Outdated
Show resolved
Hide resolved
...broadlink/src/main/java/org/openhab/binding/broadlink/handler/BroadlinkBaseThingHandler.java
Outdated
Show resolved
Hide resolved
...broadlink/src/main/java/org/openhab/binding/broadlink/handler/BroadlinkBaseThingHandler.java
Outdated
Show resolved
Hide resolved
...broadlink/src/main/java/org/openhab/binding/broadlink/handler/BroadlinkBaseThingHandler.java
Outdated
Show resolved
Hide resolved
...broadlink/src/main/java/org/openhab/binding/broadlink/handler/BroadlinkBaseThingHandler.java
Outdated
Show resolved
Hide resolved
...broadlink/src/main/java/org/openhab/binding/broadlink/handler/BroadlinkBaseThingHandler.java
Outdated
Show resolved
Hide resolved
…b/binding/broadlink/handler/BroadlinkA1Handler.java Reducing trace / debug logging to confirm to logging policy. Co-authored-by: Matthew Skinner <matt@pcmus.com> Signed-off-by: Anton Jansen <AntonJansen@users.noreply.github.com>
…b/binding/broadlink/handler/BroadlinkBaseThingHandler.java Reducing trace / debug logging to confirm to logging policy. Co-authored-by: Matthew Skinner <matt@pcmus.com> Signed-off-by: Anton Jansen <AntonJansen@users.noreply.github.com>
…b/binding/broadlink/handler/BroadlinkBaseThingHandler.java Reducing trace / debug logging to confirm to logging policy. Co-authored-by: Matthew Skinner <matt@pcmus.com> Signed-off-by: Anton Jansen <AntonJansen@users.noreply.github.com>
…b/binding/broadlink/handler/BroadlinkBaseThingHandler.java Reducing trace / debug logging to confirm to logging policy. Co-authored-by: Matthew Skinner <matt@pcmus.com> Signed-off-by: Anton Jansen <AntonJansen@users.noreply.github.com>
…b/binding/broadlink/handler/BroadlinkBaseThingHandler.java Reducing trace / debug logging to confirm to logging policy. Co-authored-by: Matthew Skinner <matt@pcmus.com> Signed-off-by: Anton Jansen <AntonJansen@users.noreply.github.com>
…b/binding/broadlink/handler/BroadlinkBaseThingHandler.java Reducing trace / debug logging to confirm to logging policy. Co-authored-by: Matthew Skinner <matt@pcmus.com> Signed-off-by: Anton Jansen <AntonJansen@users.noreply.github.com>
…b/binding/broadlink/handler/BroadlinkBaseThingHandler.java Ensure actual message is included in logging Co-authored-by: Matthew Skinner <matt@pcmus.com> Signed-off-by: Anton Jansen <AntonJansen@users.noreply.github.com>
…b/binding/broadlink/handler/BroadlinkBaseThingHandler.java Reducing trace / debug logging to confirm to logging policy. Co-authored-by: Matthew Skinner <matt@pcmus.com> Signed-off-by: Anton Jansen <AntonJansen@users.noreply.github.com>
Signed-off-by: AntonJansen <gradius@fmf.nl>
Signed-off-by: AntonJansen <gradius@fmf.nl>
Signed-off-by: AntonJansen <gradius@fmf.nl>
…ing issues. Signed-off-by: AntonJansen <gradius@fmf.nl>
@lsiepel I should have addressed all your comments now. The main thing left is the DCO, which is due to Ricardo Larranaga, which did not use the proper sign-off. I have been trying to reach him the last 6 months, but no luck thus far. |
Signed-off-by: AntonJansen <gradius@fmf.nl>
I’ll try to have another look next week. |
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.
Finished reviewing the last files, also found some other improvements. I think this is the last iteration, a lot of work has been done. Thank you for adapting the improvements regarding the excessive reachability checks. Much better now.
...rc/main/java/org/openhab/binding/broadlink/internal/config/BroadlinkDeviceConfiguration.java
Outdated
Show resolved
Hide resolved
...rc/main/java/org/openhab/binding/broadlink/internal/config/BroadlinkDeviceConfiguration.java
Outdated
Show resolved
Hide resolved
...hab.binding.broadlink/src/main/java/org/openhab/binding/broadlink/internal/NetworkUtils.java
Outdated
Show resolved
Hide resolved
...hab.binding.broadlink/src/main/java/org/openhab/binding/broadlink/internal/NetworkUtils.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/openhab/binding/broadlink/internal/handler/BroadlinkBaseThingHandler.java
Show resolved
Hide resolved
.../src/main/java/org/openhab/binding/broadlink/internal/handler/BroadlinkBaseThingHandler.java
Outdated
Show resolved
Hide resolved
Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Anton Jansen <AntonJansen@users.noreply.github.com>
Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Anton Jansen <AntonJansen@users.noreply.github.com>
…b/binding/broadlink/internal/config/BroadlinkDeviceConfiguration.java Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Anton Jansen <AntonJansen@users.noreply.github.com>
…b/binding/broadlink/internal/config/BroadlinkDeviceConfiguration.java Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Anton Jansen <AntonJansen@users.noreply.github.com>
Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Anton Jansen <AntonJansen@users.noreply.github.com>
…b/binding/broadlink/internal/NetworkUtils.java Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Anton Jansen <AntonJansen@users.noreply.github.com>
…b/binding/broadlink/internal/handler/BroadlinkBaseThingHandler.java Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Anton Jansen <AntonJansen@users.noreply.github.com>
Signed-off-by: AntonJansen <gradius@fmf.nl>
…hab-addons into broadlink-binding-4.2.x
Signed-off-by: AntonJansen <gradius@fmf.nl>
Signed-off-by: AntonJansen <gradius@fmf.nl>
@lsiepel I resolved all the issues apart from one, for which I need a bit more input. |
Signed-off-by: AntonJansen <gradius@fmf.nl>
@lsiepel all known issues should now have been resolved. Let me know what to do next. |
@Skinah All your requested changes should have been completed. Please confirm, so we can wrap-up this pull request. |
Thanks, now this is merged, 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 |
* Initial import of the broadlink binding for openhab 4.2 Signed-off-by: AntonJansen <gradius@fmf.nl> Co-authored-by: lsiepel <leosiepel@gmail.com>
This is the logo for the upcoming broadlink binding, as defined in the PR openhab/openhab-addons#16273 Signed-off-by: AntonJansen <gradius@fmf.nl>
* Initial import of the broadlink binding for openhab 4.2 Signed-off-by: AntonJansen <gradius@fmf.nl> Co-authored-by: lsiepel <leosiepel@gmail.com>
* Initial import of the broadlink binding for openhab 4.2 Signed-off-by: AntonJansen <gradius@fmf.nl> Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
Title
Description
The binding support the following devices:
This pull request is an update of the stalled pull request #14582, updated for 4.2.x
The discussion for this pull request is:
https://community.openhab.org/t/broadlink-binding-4-1-0-4-2-0/154734
Signed-off-by: Anton Jansen mail@antonjansen.com