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
Conversation
Travis tests were successfulHey @Skinah, |
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.
Thanks for your contribution again! I reviewed your code and here is my feedback.
...es/org.openhab.binding.wled/src/main/java/org/openhab/binding/wled/internal/WLedHandler.java
Outdated
Show resolved
Hide resolved
...es/org.openhab.binding.wled/src/main/java/org/openhab/binding/wled/internal/WLedHandler.java
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.wled/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.wled/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
Thanks @fwolter for the review and help, I think I have now addressed all your comments. |
...es/org.openhab.binding.wled/src/main/java/org/openhab/binding/wled/internal/WLedActions.java
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.wled/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
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.
LGTM
...enhab.binding.wled/src/main/java/org/openhab/binding/wled/internal/WLedBindingConstants.java
Outdated
Show resolved
Hide resolved
...enhab.binding.wled/src/main/java/org/openhab/binding/wled/internal/WLedDiscoveryService.java
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.wled/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
...es/org.openhab.binding.wled/src/main/java/org/openhab/binding/wled/internal/WLedHandler.java
Outdated
Show resolved
Hide resolved
...es/org.openhab.binding.wled/src/main/java/org/openhab/binding/wled/internal/WLedHandler.java
Outdated
Show resolved
Hide resolved
...es/org.openhab.binding.wled/src/main/java/org/openhab/binding/wled/internal/WLedHandler.java
Outdated
Show resolved
Hide resolved
...es/org.openhab.binding.wled/src/main/java/org/openhab/binding/wled/internal/WLedHandler.java
Outdated
Show resolved
Hide resolved
...es/org.openhab.binding.wled/src/main/java/org/openhab/binding/wled/internal/WLedHandler.java
Outdated
Show resolved
Hide resolved
...es/org.openhab.binding.wled/src/main/java/org/openhab/binding/wled/internal/WLedHandler.java
Outdated
Show resolved
Hide resolved
...es/org.openhab.binding.wled/src/main/java/org/openhab/binding/wled/internal/WLedHandler.java
Outdated
Show resolved
Hide resolved
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. |
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>
…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>
...es/org.openhab.binding.wled/src/main/java/org/openhab/binding/wled/internal/WLedHandler.java
Outdated
Show resolved
Hide resolved
...es/org.openhab.binding.wled/src/main/java/org/openhab/binding/wled/internal/WLedHandler.java
Outdated
Show resolved
Hide resolved
...es/org.openhab.binding.wled/src/main/java/org/openhab/binding/wled/internal/WLedHandler.java
Outdated
Show resolved
Hide resolved
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>
...les/org.openhab.binding.wled/src/main/java/org/openhab/binding/wled/internal/WLedHelper.java
Outdated
Show resolved
Hide resolved
...les/org.openhab.binding.wled/src/main/java/org/openhab/binding/wled/internal/WLedHelper.java
Outdated
Show resolved
Hide resolved
...es/org.openhab.binding.wled/src/main/java/org/openhab/binding/wled/internal/WLedHandler.java
Outdated
Show resolved
Hide resolved
…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>
...es/org.openhab.binding.wled/src/main/java/org/openhab/binding/wled/internal/WLedHandler.java
Outdated
Show resolved
Hide resolved
…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>
…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>
…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>
…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>
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