-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[dirigera] Initial contribution #17719
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
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.
Only looked at the thing-structure.xml files as you wanted early feedback.
I did not repeat the same comments for multiple Things. As this seems a well strucutered binding, i think it would be easy for you to project my comments on the other Things.
Extra note, please user system state channels where possible:
https://www.openhab.org/docs/developer/bindings/thing-xml.html#system-state-channel-types
bundles/org.openhab.binding.dirigera/src/main/resources/OH-INF/thing/air-purifier.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.dirigera/src/main/resources/OH-INF/thing/air-purifier.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.dirigera/src/main/resources/OH-INF/thing/blind.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.dirigera/src/main/resources/OH-INF/thing/blind.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.dirigera/src/main/resources/OH-INF/thing/channel-types.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.dirigera/src/main/resources/OH-INF/thing/channel-types.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.dirigera/src/main/resources/OH-INF/thing/sound-controller.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.dirigera/src/main/resources/OH-INF/thing/speaker.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.dirigera/src/main/resources/OH-INF/thing/speaker.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.dirigera/src/main/resources/OH-INF/thing/temperature-light.xml
Outdated
Show resolved
Hide resolved
@lsiepel |
@lsiepel I don't forsee changes in architecture, class structure and general behavior. Only in specific device handlers if bugfixes are necessary. So I would ask to extend the review on code. Leave logging out of scope, this is still messy and I'm still working on that. |
...dirigera/src/main/java/org/openhab/binding/dirigera/internal/handler/scene/SceneHandler.java
Show resolved
Hide resolved
@lsiepel @jlaur First log: String got from device json - ok
|
...g.dirigera/src/test/java/org/openhab/binding/dirigera/internal/handler/scene/TestScenes.java
Outdated
Show resolved
Hide resolved
Hopefully nothing is wrong - see #17719 (comment)
I assume it's your test throwing an error? Otherwise please be more specific. See #17719 (comment) regarding the test. |
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.
....openhab.binding.dirigera/src/main/java/org/openhab/binding/dirigera/internal/Constants.java
Outdated
Show resolved
Hide resolved
...ing.dirigera/src/main/java/org/openhab/binding/dirigera/internal/DirigeraHandlerFactory.java
Show resolved
Hide resolved
...rigera/src/main/java/org/openhab/binding/dirigera/internal/exception/NoGatewayException.java
Show resolved
Hide resolved
For color temperature #17754 since the beginning it was no option to set |
FYI @lsiepel
From community I don't get further problem reports and I don't intent to change this PR. |
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 looking at the comments and move this forward. Looked at 142/169 files. I think i need one more partial review to have everything covered. Overall the codes looks good, so i expect we can finish this soon.
bundles/org.openhab.binding.dirigera/doc/Info_Note_VOC_Index.pdf
Outdated
Show resolved
Hide resolved
.../src/main/java/org/openhab/binding/dirigera/internal/discovery/DirigeraDiscoveryManager.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/openhab/binding/dirigera/internal/discovery/DirigeraDiscoveryManager.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/openhab/binding/dirigera/internal/discovery/DirigeraDiscoveryRunnable.java
Outdated
Show resolved
Hide resolved
...igera/src/main/java/org/openhab/binding/dirigera/internal/handler/plug/PowerPlugHandler.java
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.dirigera/src/test/resources/coverart/sonos-radio-cocktail-hour.avif
Show resolved
Hide resolved
bundles/org.openhab.binding.dirigera/src/main/resources/OH-INF/addon/addon.xml
Outdated
Show resolved
Hide resolved
....binding.dirigera/src/main/java/org/openhab/binding/dirigera/internal/network/Websocket.java
Outdated
Show resolved
Hide resolved
....binding.dirigera/src/main/java/org/openhab/binding/dirigera/internal/network/Websocket.java
Outdated
Show resolved
Hide resolved
Spotless must be applied after #18318. |
15a8685
to
e4b7680
Compare
Any ideas why build doesn't work?
|
It is spotless for sure. Some xml line breaks. Are all changes (upstream merges) pulled into your local branch? As you say that builds fine. |
Just pushed the solved review comments so far. On debug actions I would really like to have an opionion from e.g. core maintainers. |
Added an example for the CLI command and pinged another maintainer to look at the debug logging. There are also a few burried comments left. |
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
...c/main/java/org/openhab/binding/dirigera/internal/handler/light/TemperatureLightHandler.java
Show resolved
Hide resolved
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
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
It is ready to merge when there is agreement / follow-up on two comments, i really appreciate it when another @openhab/add-ons-maintainers can comment: |
I tried to answer to the two comments. |
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Comments from @lolodomo corrected. |
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, LGTM
Do you need additional testing time or community members to verify the latest changes are all good?
Is there a 4.3.x version to test, I'd be glad to. Best, Jay |
@lsiepel @jaywiseman1971 |
Thanks again! Now, you could add the binding's logo to the openHAB website. See https://www.openhab.org/docs/developer/addons/#add-your-add-on-s-logo-to-the-openhab-website |
* feature-squash Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
* feature-squash Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com> Signed-off-by: Paul Smedley <paul@smedley.id.au>
Binding for IKEA DIRIGERA hub for smart products.
The work ist still in progress but I would like to start the review to find breaking changes right now and not at the end, e.g.thing
andchannel
names.The binding is published on Marketplace and Community Discussion is active.