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

[boschshc] Add support for Door/Window Contact II Plus #18201

Merged
merged 5 commits into from
Feb 19, 2025

Conversation

david-pace
Copy link
Member

@david-pace david-pace commented Jan 29, 2025

  • add thing type definition and channel type definitions
  • add constants for thing type and channel types
  • implement new vibration sensor service
  • add handler for Door/Window Contact II Plus
  • register handler in factory
  • add unit tests
  • add documentation

closes #18162

@david-pace david-pace added the enhancement An enhancement or new feature for an existing add-on label Jan 29, 2025
@david-pace david-pace force-pushed the 18162-window-contact-2-plus branch from f30a5fa to 79ddadd Compare January 30, 2025 19:54
@david-pace david-pace added the awaiting other PR Depends on another PR label Jan 30, 2025
Copy link
Contributor

@jlaur jlaur left a comment

Choose a reason for hiding this comment

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

Thanks! I have added a few very minor comments, otherwise LGTM.

@david-pace david-pace added additional testing preferred The change works for the pull request author. A test from someone else is preferred though. work in progress A PR that is not yet ready to be merged labels Feb 5, 2025
* add thing type definition and channel type definitions
* re-generate i18n properties
* add constants for thing type and channel types
* implement new vibration sensor service
* add handler for Door/Window Contact II Plus
* register handler in factory
* add unit tests
* add documentation
* use opportunity to add documentation for developers regarding typical
steps to support new things/channels

Signed-off-by: David Pace <dev@davidpace.de>
@david-pace david-pace force-pushed the 18162-window-contact-2-plus branch from 79ddadd to 603e27a Compare February 6, 2025 21:57
@jlaur jlaur changed the title [boschshc] Support for Door/Window Contact II Plus [boschshc] Add support for Door/Window Contact II Plus Feb 6, 2025
Signed-off-by: David Pace <dev@davidpace.de>
@david-pace david-pace removed the awaiting other PR Depends on another PR label Feb 7, 2025
@david-pace david-pace marked this pull request as ready for review February 7, 2025 20:38
Co-authored-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: David Pace <dev@davidpace.de>
@david-pace
Copy link
Member Author

@GerdZanker do you have a Door/Window Contact II Plus by any chance so that you could test this with the actual hardware?

@GerdZanker
Copy link
Contributor

I'm sorry, I have only "old" hardware and no devices of the second generation. Therefor I can only test if the new code is still working as before.

Also update/enhance developer documentation

Signed-off-by: David Pace <dev@davidpace.de>
Signed-off-by: David Pace <dev@davidpace.de>
@david-pace
Copy link
Member Author

This PR was tested successfully with the actual hardware, see #18162 (comment)

The PR is now open for a final review and can be merged from my side 🚀

@david-pace david-pace removed additional testing preferred The change works for the pull request author. A test from someone else is preferred though. work in progress A PR that is not yet ready to be merged labels Feb 19, 2025
@david-pace david-pace requested a review from jlaur February 19, 2025 11:22
Copy link
Contributor

@jlaur jlaur left a comment

Choose a reason for hiding this comment

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

LGTM

@jlaur jlaur merged commit 778f9f6 into openhab:main Feb 19, 2025
2 checks passed
@jlaur jlaur added this to the 5.0 milestone Feb 19, 2025
@david-pace david-pace deleted the 18162-window-contact-2-plus branch February 19, 2025 16:05
matgroe pushed a commit to matgroe/openhab-addons that referenced this pull request Feb 24, 2025
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.

[boschshc] Support for device Door/Window Contact II Plus
3 participants