Skip to content

[Worxlandroid] Initial contribution#16893

Merged
lsiepel merged 30 commits intoopenhab:mainfrom
clinique:worxlandroid
Apr 21, 2026
Merged

[Worxlandroid] Initial contribution#16893
lsiepel merged 30 commits intoopenhab:mainfrom
clinique:worxlandroid

Conversation

@clinique
Copy link
Copy Markdown
Contributor

@clinique clinique commented Jun 19, 2024

This binding is used since a while as a standalone - let's get it merged.

@clinique clinique requested a review from a team as a code owner June 19, 2024 13:00
@openhab-bot
Copy link
Copy Markdown
Collaborator

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/worx-landroid-binding/95246/570

@jlaur jlaur added the new binding If someone has started to work on a binding. For a new binding PR. label Jun 19, 2024
Comment thread bundles/org.openhab.binding.worxlandroid/pom.xml Outdated
@openhab-bot
Copy link
Copy Markdown
Collaborator

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/worx-landroid-binding/95246/609

@openhab-bot
Copy link
Copy Markdown
Collaborator

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/worx-landroid-binding/95246/619

Copy link
Copy Markdown
Contributor

@lsiepel lsiepel 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 contributing this binding. This is a partly review, i only looked at the documentation, thing structure and some metadata files. I'll continue my review when i find some more time.
I noticed an images folder, i guess that can be removed as they do not seem to be used anywhere.

Comment thread bundles/org.openhab.binding.worxlandroid/README.md Outdated
Comment thread bundles/org.openhab.binding.worxlandroid/README.md Outdated
Comment thread bundles/org.openhab.binding.worxlandroid/README.md Outdated
Comment thread bundles/org.openhab.binding.worxlandroid/README.md Outdated
Comment thread bundles/org.openhab.binding.worxlandroid/README.md Outdated
Comment thread bundles/org.openhab.binding.worxlandroid/README.md Outdated
Comment thread bundles/org.openhab.binding.worxlandroid/README.md
Comment thread bundles/org.openhab.binding.worxlandroid/README.md
Comment thread bundles/org.openhab.binding.worxlandroid/doc/products.json Outdated
Comment thread bundles/org.openhab.binding.worxlandroid/README.md Outdated
Comment thread bundles/org.openhab.binding.worxlandroid/README.md Outdated
Comment thread bundles/org.openhab.binding.worxlandroid/README.md Outdated
Comment thread bundles/org.openhab.binding.worxlandroid/README.md Outdated
Comment thread bundles/org.openhab.binding.worxlandroid/README.md Outdated
Comment thread bundles/org.openhab.binding.worxlandroid/README.md Outdated
Comment thread bundles/org.openhab.binding.worxlandroid/README.md Outdated
Comment thread bundles/org.openhab.binding.worxlandroid/README.md Outdated
Comment thread bundles/org.openhab.binding.worxlandroid/README.md Outdated
Comment thread bundles/org.openhab.binding.worxlandroid/README.md Outdated
@clinique clinique requested a review from lolodomo as a code owner September 7, 2024 12:51
@clinique clinique self-assigned this Sep 7, 2024
Comment thread bundles/org.openhab.binding.worxlandroid/pom.xml
Signed-off-by: clinique <gael@lhopital.org>
@clinique
Copy link
Copy Markdown
Contributor Author

clinique commented Apr 1, 2026

@lsiepel : do you think it would be possible to give this one another chance targetting v5.2 ?

@lsiepel
Copy link
Copy Markdown
Contributor

lsiepel commented Apr 1, 2026

@lsiepel : do you think it would be possible to give this one another chance targetting v5.2 ?

Yes, I think so. I have a long weekend without work and this was pr was already on the top of my todo list. Similar to the other mqtt/aws pr

Signed-off-by: clinique <gael@lhopital.org>
Copy link
Copy Markdown
Contributor

@lsiepel lsiepel left a comment

Choose a reason for hiding this comment

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

Some more comments i noticed when reading all PR details again.
In the mean whil i look at the AWS part.

Signed-off-by: Gael L'hopital <gael@lhopital.org>
@lsiepel
Copy link
Copy Markdown
Contributor

lsiepel commented Apr 6, 2026

Build error:

[INFO] org.openhab.binding.worxlandroid/README.md:38 error MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]
[INFO] org.openhab.binding.worxlandroid/README.md:197 error MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]

Comment thread bundles/org.openhab.binding.worxlandroid/src/main/resources/icon/landroid.png Outdated
@clinique
Copy link
Copy Markdown
Contributor Author

clinique commented Apr 7, 2026

Build error:

[INFO] org.openhab.binding.worxlandroid/README.md:38 error MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]
[INFO] org.openhab.binding.worxlandroid/README.md:197 error MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]

Corrected.

documentation of provided icons

Signed-off-by: Gael L'hopital <gael@lhopital.org>
Copy link
Copy Markdown
Contributor

@lsiepel lsiepel left a comment

Choose a reason for hiding this comment

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

I finally had some time to look into the osgifying the SDK. I tried it before, but at the time i thought the mechanism worked different.
This is corrected in: openhab/openhab-osgiify#116
When that PR is merged and the suggested changes here are done, i expect this to work as intended.

Comment thread bundles/org.openhab.binding.worxlandroid/pom.xml Outdated
Comment thread bundles/org.openhab.binding.worxlandroid/pom.xml Outdated
Signed-off-by: clinique <gael@lhopital.org>
@clinique
Copy link
Copy Markdown
Contributor Author

clinique commented Apr 9, 2026

@lsiepel : pom and feature files modified upon your directions.

Comment thread bundles/org.openhab.binding.worxlandroid/pom.xml Outdated
lsiepel added 2 commits April 9, 2026 14:55
Signed-off-by: lsiepel <leosiepel@gmail.com>
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
Copy link
Copy Markdown
Contributor

@lsiepel lsiepel left a comment

Choose a reason for hiding this comment

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

Just pushed a small commit to sort the dependency troubles. It should all be sorted now. @clinique could you verify all works as expected?

I reviewed the binding. LGTM

Would be nice if @jlaur can review the dependency changes i made and/or trust @clinique test's, so we can merge this.

You could add the addon's logo to the openHAB website. See https://www.openhab.org/docs/developer/addons/#add-your-add-on-s-logo-to-the-openhab-website-and-the-ui

@clinique
Copy link
Copy Markdown
Contributor Author

@lsiepel : unfortunately this does not seem to work at the moment. I updated demo.app, cleaned project, mvn clean install. Same thing for worxlandroid binding, pulling your last update. When I try to resolve dependencies, I get:

Resolution failed. Capabilities satisfying the following requirements could not be found:
    [<<INITIAL>>]
      ⇒ osgi.identity: (osgi.identity=org.openhab.binding.worxlandroid)
          ⇒ [org.openhab.binding.worxlandroid version=5.2.0.202604130831]
              ⇒ osgi.wiring.package: (osgi.wiring.package=software.amazon.awssdk.crt)

@clinique
Copy link
Copy Markdown
Contributor Author

In the meantime, I'm sure we'll succeed, I created the PR for the logo

@lsiepel
Copy link
Copy Markdown
Contributor

lsiepel commented Apr 13, 2026

When the jar is dropped in the addon folder, you also need to provide the dependency's that are not bundled in the jar itself. You can download the aws-crt dependency file here:
https://1drv.ms/u/c/70ea7ac46bc61c73/IQCG8KkDQICiTopiSvcTwzxtAbkDcj1XWXjRfiuSuBn1OkU?e=NyMCFg

Shipped bindings will do this automatically by karaf/felix. While troubleshooting i discovered something was wrong with the osiified library. I'll create a PR right away to fix that, it is already included in the linked file above.
Please continue your test with this file.

@clinique
Copy link
Copy Markdown
Contributor Author

When the jar is dropped in the addon folder, you also need to provide the dependency's that are not bundled in the jar itself. You can download the aws-crt dependency file here: https://1drv.ms/u/c/70ea7ac46bc61c73/IQCG8KkDQICiTopiSvcTwzxtAbkDcj1XWXjRfiuSuBn1OkU?e=NyMCFg

Shipped bindings will do this automatically by karaf/felix. While troubleshooting i discovered something was wrong with the osiified library. I'll create a PR right away to fix that, it is already included in the linked file above. Please continue your test with this file.

I did put your provided jar along with the binding jar in /usr/share/openhab/addons and it works:
image

Good job @lsiepel

@lsiepel
Copy link
Copy Markdown
Contributor

lsiepel commented Apr 14, 2026

The comment #16893 (review) has been burried a little bit, so just for @jlaur a repost. Feel free to merge whenever you are ready.

@lsiepel lsiepel requested review from a team and removed request for wborn April 14, 2026 09:26
@jlaur
Copy link
Copy Markdown
Contributor

jlaur commented Apr 18, 2026

The comment #16893 (review) has been burried a little bit, so just for @jlaur a repost. Feel free to merge whenever you are ready.

Sorry for the slow response, read it on my phone and forgot it a few times, since I needed to look at this proper from a computer. 🙂 If you mean ebdd5ec, then that LGTM. 👍

@lsiepel
Copy link
Copy Markdown
Contributor

lsiepel commented Apr 18, 2026

Yes, that was what i meant. In the meanwhile the osgified dependency had an optimization that marked the graalvm dependency optional, so i'll remove it here and merge the PR as is.
Give me a day

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
@lsiepel lsiepel added this to the 5.2 milestone Apr 21, 2026
@lsiepel lsiepel merged commit d21e43c into openhab:main Apr 21, 2026
2 checks passed
@clinique clinique deleted the worxlandroid branch April 21, 2026 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

10 participants