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

Make bindings discoverable on system startup #15817

Merged
merged 25 commits into from
Dec 7, 2023

Conversation

andrewfg
Copy link
Contributor

@andrewfg andrewfg commented Oct 28, 2023

In relation to the PRs listed below, this PR adds discovery method XML to 70 existing bindings, and thus makes them discoverable on system startup.

Addons with Issues

There are some bindings where issues have been identified, so these have not yet been included in this PR.

  • 'tapocontrol' binding

Signed-off-by: Andrew Fiddian-Green software@whitebear.ch

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
@andrewfg andrewfg added enhancement An enhancement or new feature for an existing add-on work in progress A PR that is not yet ready to be merged awaiting other PR Depends on another PR labels Oct 28, 2023
@andrewfg andrewfg requested a review from mherwege October 28, 2023 21:30
@andrewfg andrewfg self-assigned this Oct 28, 2023
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
@andrewfg andrewfg requested a review from mvalla as a code owner December 2, 2023 12:27
@andrewfg
Copy link
Contributor Author

andrewfg commented Dec 2, 2023

you may want to include openwebnet binding here?

@mvalla many thanks for the suggestion. Done.

@lolodomo
Copy link
Contributor

lolodomo commented Dec 5, 2023

@kaikreuzer : I will review this one. But it can't be merged before core stuff.

@kaikreuzer
Copy link
Member

Thanks @lolodomo! I plan to merge openhab/openhab-core#3865 asap and then update the xsds on the website. I guess this should then be enough for this PR to correctly build and to be mergeable.

@andrewfg
Copy link
Contributor Author

andrewfg commented Dec 5, 2023

update the xsds on the website.
this should then be enough for this PR to correctly build

I think so. (It does build already with -DskipChecks)

@andrewfg andrewfg added rebuild Triggers Jenkins PR build and removed awaiting other PR Depends on another PR rebuild Triggers Jenkins PR build labels Dec 5, 2023
@andrewfg
Copy link
Contributor Author

andrewfg commented Dec 5, 2023

@lolodomo just to report that @kaikreuzer merged the core dependency, so this PR does indeed now build properly. And I just synchronized this PR with openhab-addons:main so everything should now be clean.

@andrewfg andrewfg changed the title Add discovery methods xml to bindings Make bindings discoverable on system startup Dec 6, 2023
Copy link
Contributor

@lolodomo lolodomo 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 question

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
@andrewfg andrewfg requested a review from lolodomo December 7, 2023 17:47
Copy link
Contributor

@lolodomo lolodomo left a comment

Choose a reason for hiding this comment

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

LGTM
I have of course not checked that the criteria are correct for all bindings.

@lolodomo lolodomo merged commit 3814f37 into openhab:main Dec 7, 2023
3 checks passed
@lolodomo lolodomo added this to the 4.1 milestone Dec 7, 2023
@lolodomo
Copy link
Contributor

lolodomo commented Dec 7, 2023

Thank you @andrewfg (and @mherwege edit: and @J-N-K ) for all your efforts to introduce this new great feature (I mean this PR but also all the others). Even if it is useless for my own usage, it should help a lot of new OH users.

austvik pushed a commit to austvik/openhab-addons that referenced this pull request Mar 27, 2024
* [discovery-methods] mDNS discovery methods
* [discovery-methods] UPnP discovery methods

---------

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
@andrewfg andrewfg deleted the discovery-mthods-xml branch August 25, 2024 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.