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

[WLed] Initial contribution - Binding for LED strings with a large range of built in FX. #8669

Merged
merged 51 commits into from Nov 3, 2020

Conversation

Skinah
Copy link
Contributor

@Skinah Skinah commented Oct 5, 2020

This new openHAB binding allows you to auto discover (using mDNS) and control LED strings based on the opensource WLED project:
https://github.com/Aircoookie/WLED

It uses a Jetty HttpClientFactory instance and needs no dependencies and a number of users are reporting the 2.5.9 version is working here on the forum:
https://community.openhab.org/t/wled-a-binding-for-controlling-led-strips-and-strings-from-an-opensource-esp8266-project/87286

Precompiled jar for 2.5.9
https://github.com/Skinah/wled/releases/download/2020-10-05/wled-2.5.9.zip

Precompiled jar for 3.0.0
http://www.pcmus.com/openhab/wled/org.openhab.binding.wled-3.0.0-SNAPSHOT.zip

Signed-off-by: Matthew Skinner matt@pcmus.com

@Skinah Skinah requested a review from a team as a code owner October 5, 2020 10:19
@TravisBuddy
Copy link

TravisBuddy commented Oct 5, 2020

Travis tests were successful

Hey @Skinah,
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 Oct 5, 2020
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.

Thanks for your contribution again! I reviewed your code and here is my feedback.

@Skinah
Copy link
Contributor Author

Skinah commented Oct 24, 2020

Thanks @fwolter for the review and help, I think I have now addressed all your comments.

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.

LGTM

@fwolter fwolter added the cre Coordinated Review Effort label Oct 27, 2020
@cpmeister
Copy link
Contributor

looks like something went wrong with your branch, there are conflicts and a lot of unrelated changes...

@Skinah
Copy link
Contributor Author

Skinah commented Oct 30, 2020

looks like something went wrong with your branch, there are conflicts and a lot of unrelated changes...

Yes I am not good with git when things go wrong, don’t know why as they are unrelated to this binding with no conflicts to my binding and it got late last night so will look into it soon.

Skinah and others added 19 commits October 30, 2020 18:25
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
V3.x

Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
…ding/wled/internal/WLedHandler.java


Signed-off-by: Matthew Skinner <matt@pcmus.com>

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
…ding/wled/internal/WLedHandler.java


Signed-off-by: Matthew Skinner <matt@pcmus.com>

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
…ng/thing-types.xml


Signed-off-by: Matthew Skinner <matt@pcmus.com>

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
…ding/wled/internal/WLedDiscoveryService.java


Signed-off-by: Matthew Skinner <matt@pcmus.com>

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
…ding/wled/internal/WLedHandler.java


Signed-off-by: Matthew Skinner <matt@pcmus.com>

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
…ding/wled/internal/WLedHandler.java


Signed-off-by: Matthew Skinner <matt@pcmus.com>

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Skinah and others added 11 commits October 30, 2020 18:25
…ng/thing-types.xml


Signed-off-by: Matthew Skinner <matt@pcmus.com>

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
…ding/wled/internal/WLedActions.java


Signed-off-by: Matthew Skinner <matt@pcmus.com>

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
…ding/wled/internal/WLedBindingConstants.java


Signed-off-by: Matthew Skinner <matt@pcmus.com>

Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
…ng/thing-types.xml


Signed-off-by: Matthew Skinner <matt@pcmus.com>

Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
…ding/wled/internal/WLedHandler.java


command.toString()

Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
…ding/wled/internal/WLedHandler.java


Signed-off-by: Matthew Skinner <matt@pcmus.com>

Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
…ding/wled/internal/WLedHandler.java


Signed-off-by: Matthew Skinner <matt@pcmus.com>

Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
…ding/wled/internal/WLedHandler.java


Signed-off-by: Matthew Skinner <matt@pcmus.com>

Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Skinah and others added 4 commits November 1, 2020 10:51
Signed-off-by: Matthew Skinner <matt@pcmus.com>
…ding/wled/internal/WLedHandler.java


Signed-off-by: Matthew Skinner <matt@pcmus.com>

Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Skinah and others added 3 commits November 2, 2020 12:05
…ding/wled/internal/WLedHelper.java


Signed-off-by: Matthew Skinner <matt@pcmus.com>

Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Skinah and others added 2 commits November 3, 2020 20:44
…ding/wled/internal/WLedHandler.java


Signed-off-by: Matthew Skinner <matt@pcmus.com>

Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
@cpmeister cpmeister merged commit c49eeb2 into openhab:main Nov 3, 2020
@cpmeister cpmeister added this to the 3.0.0.M3 milestone Nov 3, 2020
@Skinah Skinah mentioned this pull request Nov 6, 2020
nowaterman pushed a commit to nowaterman/openhab-addons that referenced this pull request Jan 19, 2021
…nge of built in FX. (openhab#8669)

* V3
* Fix null compiler warnings.


Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
boehan pushed a commit to boehan/openhab-addons that referenced this pull request Apr 12, 2021
…nge of built in FX. (openhab#8669)

* V3
* Fix null compiler warnings.

Signed-off-by: Matthew Skinner <matt@pcmus.com>

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
marcfischerboschio pushed a commit to bosch-io/openhab-addons that referenced this pull request May 5, 2022
…nge of built in FX. (openhab#8669)

* V3
* Fix null compiler warnings.

Signed-off-by: Matthew Skinner <matt@pcmus.com>

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
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.

None yet

4 participants