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] Support for Door/Window Contact II #16093
Conversation
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! Just one very quick comment for now from reading the README.
bundles/org.openhab.binding.boschshc/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
f1916bc
to
9427a02
Compare
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.
Many thanks! I have now done a full review, and have only a few additional comments.
bundles/org.openhab.binding.boschshc/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.boschshc/src/main/resources/OH-INF/i18n/boschshc.properties
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.boschshc/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.
Just a few comments to not forget about the signal-strength
rename change.
...hc/src/main/java/org/openhab/binding/boschshc/internal/devices/BoschSHCBindingConstants.java
Outdated
Show resolved
Hide resolved
.../java/org/openhab/binding/boschshc/internal/devices/windowcontact/WindowContact2Handler.java
Outdated
Show resolved
Hide resolved
.../java/org/openhab/binding/boschshc/internal/devices/windowcontact/WindowContact2Handler.java
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.boschshc/src/main/resources/OH-INF/thing/thing-types.xml
Show resolved
Hide resolved
Hi @mike-bike, I think you mentioned that you have a Door/Window Contact II, right? Maybe you can help me to test the pull request code. The Door/Window Contact II has a bypass/break feature (Pause in German), that allows to ignore the sensor signals for a specified amount of time (or also an unlimited amount of time). This can be activated in the Bosch Smart Home app in the device settings. I have activated the feature for a certain sensor, but I can't activate it for some reason. The app and the manual says it is activated with a double press on the button, and then the LED should blink orange as long as specified. But this does not work for me. Could you please verify if you can activate this break/Pause function on your Sensor? Thanks 👍 |
Hi, this is working for me. I’ll send details via PM.
… Am 30.12.2023 um 15:22 schrieb David Pace ***@***.***>:
Hi @mike-bike <https://github.com/mike-bike>, I think you mentioned that you have a Door/Window Contact II, right? Maybe you can help me to test the pull request code.
The Door/Window Contact II has a bypass/break feature (Pause in German), that allows to ignore the sensor signals for a specified amount of time (or also an unlimited amount of time). This can be activated in the Bosch Smart Home app in the device settings in the app. I have activated the feature for a certain sensor, but I can't activate it for some reason. The app and the manual says it is activated with a double press on the button, and then the LED should blink orange as long as specified. But this does not work for me. Could you please verify if you can activate this break/Pause function on your Sensor? Thanks 👍
—
Reply to this email directly, view it on GitHub <#16093 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AHVH7GB4HJ5VH4NPM56ESG3YMAPQ5AVCNFSM6AAAAABA5RDS46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGUZTMOJYGA>.
You are receiving this because you were mentioned.
|
Thank you @mike-bike 👍 Actually I think I found out what the problem is: it only works when the door/window is closed. I tested it with an unmounted sensor and therefore it was considered "open". Thank you for your help 👍 Do you want a test JAR to test the openHAB support for the sensor before it is released? Not sure if you are testing another JAR for the long polling at the moment, in which case this might not make sense. Or maybe you don't want to mess up your system further with more SNAPSHOT JARs 😉 Anyway, let me know if you want to still test it on your system 👍 |
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. Can be merged when the conflict is resolved.
* add new thing type for Door/Window Sensor II * add channel types for bypass state and communication quality * add handler extending the basic Door/Window Sensor handler * add service implementations * register handler in discovery service * add unit tests * re-generate i18n properties file * add documentation closes openhab#15954 Signed-off-by: David Pace <dev@davidpace.de>
Signed-off-by: David Pace <dev@davidpace.de>
Co-authored-by: Jacob Laursen <jacob-github@vindvejr.dk> Signed-off-by: David Pace <dev@davidpace.de>
* rename channel * rename constants * update README for signal-strength channel * change bypass channel item type to Switch * enhance bypass state descriptions * add method to convert from Bosch bypass state to openHAB switch state * enhance README for bypass channel * add/enhance unit tests * re-generate i18n property file Signed-off-by: David Pace <dev@davidpace.de>
Signed-off-by: David Pace <dev@davidpace.de>
Signed-off-by: David Pace <dev@davidpace.de>
Signed-off-by: David Pace <dev@davidpace.de>
Signed-off-by: David Pace <dev@davidpace.de>
Signed-off-by: David Pace <dev@davidpace.de>
3c4badc
to
6045ff0
Compare
Signed-off-by: David Pace <dev@davidpace.de>
Commits were rebased on |
* [boschshc] Support for Door/Window Sensor II * add new thing type for Door/Window Sensor II * add channel types for bypass state and communication quality * add handler extending the basic Door/Window Sensor handler * add service implementations * register handler in discovery service * add unit tests * re-generate i18n properties file * add documentation closes openhab#15954 Signed-off-by: David Pace <dev@davidpace.de>
* [boschshc] Support for Door/Window Sensor II * add new thing type for Door/Window Sensor II * add channel types for bypass state and communication quality * add handler extending the basic Door/Window Sensor handler * add service implementations * register handler in discovery service * add unit tests * re-generate i18n properties file * add documentation closes openhab#15954 Signed-off-by: David Pace <dev@davidpace.de>
* [boschshc] Support for Door/Window Sensor II * add new thing type for Door/Window Sensor II * add channel types for bypass state and communication quality * add handler extending the basic Door/Window Sensor handler * add service implementations * register handler in discovery service * add unit tests * re-generate i18n properties file * add documentation closes openhab#15954 Signed-off-by: David Pace <dev@davidpace.de> Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
closes #15954