-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[WIP] [dirigera] Initial contribution #17719
base: main
Are you sure you want to change the base?
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
<label>Custom Name</label> | ||
<description>Name given from IKEA home smart</description> | ||
</channel> | ||
<channel id="ota-status" typeId="ota-status"> |
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.
What is the difference between state and status in this case?
Applies to multiple Things
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.
<description>Window or door blind</description> | ||
|
||
<channels> | ||
<channel id="blind-state" typeId="blind-state"> |
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.
Is this state
id future proof? Currently it only seems to accept up/down/stopped, but would it also be usable for top-down / bottom-up or other variants? Not sure if this makes sense.
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.
That's why it's designed as a number with mappings which can be extended.
Also here these values are not coming out of the blue.
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 |
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
Signed-off-by: Bernd Weymann <[email protected]>
@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. |
Signed-off-by: Bernd Weymann <[email protected]>
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.