-
-
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
[enocean] enable usage of Nodon roller-shutter repeater mode #12133
[enocean] enable usage of Nodon roller-shutter repeater mode #12133
Conversation
Signed-off-by: Marcel Eckert <mrcleckert@aol.com>
Signed-off-by: Marcel Eckert <mrcleckert@aol.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.
Just 2 minor comments
...ing.enocean/src/main/java/org/openhab/binding/enocean/internal/eep/D2_05/D2_05_00_NodON.java
Outdated
Show resolved
Hide resolved
...ing.enocean/src/main/java/org/openhab/binding/enocean/internal/eep/D2_05/D2_05_00_NodON.java
Outdated
Show resolved
Hide resolved
…ments Signed-off-by: Marcel Eckert <mrcleckert@aol.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
@fruggy83 ; is it ok for you? |
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.
@SoCsOnFPGAsGuy thanks a lot for your work and sorry for my late review. Maybe my comments are helpful for another PR in the future :)
@lolodomo Thanks a lot for your review and pushing this PR. Sorry, I just came back from a short trip today.
| | broadcastMessages | | true, false | | ||
| | receivingEEPId¹ | | A5_3F_7F_EltakoFSB, A5_3F_7F_EltakoFRM, A5_11_03, D2_05_00 | | ||
| | receivingEEPId¹ | | A5_3F_7F_EltakoFSB, A5_3F_7F_EltakoFRM, A5_11_03, D2_05_00_NODON | |
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.
According to the rollershutter.xml the D2_05_00 EEP is still valid.
@Override | ||
protected void convertFromCommandImpl(String channelId, String channelTypeId, Command command, | ||
Function<String, State> getCurrentStateFunc, Configuration config) { | ||
if (channelId.equals(CHANNEL_REPEATERMODE)) { |
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.
I know that channelId should currently never be NULL, however I would just switch the comparision.
…#12133) * [enocean] enable repeater mode selection for NODON rollershutter * [enocean] adds new EEP definition for NODON rollershutter to README.md Signed-off-by: Marcel Eckert <mrcleckert@aol.com> Signed-off-by: Nick Waterton <n.waterton@outlook.com>
…#12133) * [enocean] enable repeater mode selection for NODON rollershutter * [enocean] adds new EEP definition for NODON rollershutter to README.md Signed-off-by: Marcel Eckert <mrcleckert@aol.com>
…#12133) * [enocean] enable repeater mode selection for NODON rollershutter * [enocean] adds new EEP definition for NODON rollershutter to README.md Signed-off-by: Marcel Eckert <mrcleckert@aol.com>
…#12133) * [enocean] enable repeater mode selection for NODON rollershutter * [enocean] adds new EEP definition for NODON rollershutter to README.md Signed-off-by: Marcel Eckert <mrcleckert@aol.com> Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
…#12133) * [enocean] enable repeater mode selection for NODON rollershutter * [enocean] adds new EEP definition for NODON rollershutter to README.md Signed-off-by: Marcel Eckert <mrcleckert@aol.com>
For NODONs in Wall Modules SIN-2-2-00 and SIN-2-1-0x it is already possible to adjust the repeater mode. For NODONs roller-shutter (SIN-2-RS-01) this wasn't possibly with openhab so far - this series of commits enables the repeater mode setting in openhab also for NODONs roller-shutter modules, the same way it is done for the other two in Wall Modules.
Correctness also tested physically with some of the roller-shutter modules in my own house.