-
-
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
[intesis] - added IntesisBox support #8694
Conversation
Signed-off-by: Hans-Jörg Merk <[email protected]>
Travis tests were successfulHey @hmerk, |
Signed-off-by: Hans-Jörg Merk <[email protected]>
...binding.intesis/src/main/java/org/openhab/binding/intesis/internal/IntesisConfiguration.java
Outdated
Show resolved
Hide resolved
...nding.intesis/src/main/java/org/openhab/binding/intesis/internal/api/IntesisBoxIdentity.java
Outdated
Show resolved
Hide resolved
...ding.intesis/src/main/java/org/openhab/binding/intesis/internal/api/IntesisBoxSocketApi.java
Outdated
Show resolved
Hide resolved
...ding.intesis/src/main/java/org/openhab/binding/intesis/internal/api/IntesisBoxSocketApi.java
Outdated
Show resolved
Hide resolved
...ding.intesis/src/main/java/org/openhab/binding/intesis/internal/api/IntesisBoxSocketApi.java
Outdated
Show resolved
Hide resolved
...ng.intesis/src/main/java/org/openhab/binding/intesis/internal/handler/IntesisBoxHandler.java
Outdated
Show resolved
Hide resolved
...ng.intesis/src/main/java/org/openhab/binding/intesis/internal/handler/IntesisBoxHandler.java
Show resolved
Hide resolved
...ng.intesis/src/main/java/org/openhab/binding/intesis/internal/handler/IntesisBoxHandler.java
Outdated
Show resolved
Hide resolved
...ng.intesis/src/main/java/org/openhab/binding/intesis/internal/handler/IntesisBoxHandler.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Hans-Jörg Merk <[email protected]>
Thanks @fwolter |
...nding.intesis/src/main/java/org/openhab/binding/intesis/internal/api/IntesisBoxIdentity.java
Outdated
Show resolved
Hide resolved
...inding.intesis/src/main/java/org/openhab/binding/intesis/internal/api/IntesisBoxMessage.java
Outdated
Show resolved
Hide resolved
...ding.intesis/src/main/java/org/openhab/binding/intesis/internal/api/IntesisBoxSocketApi.java
Outdated
Show resolved
Hide resolved
...ding.intesis/src/main/java/org/openhab/binding/intesis/internal/api/IntesisBoxSocketApi.java
Outdated
Show resolved
Hide resolved
...ding.intesis/src/main/java/org/openhab/binding/intesis/internal/api/IntesisBoxSocketApi.java
Outdated
Show resolved
Hide resolved
this.port = port; | ||
} | ||
|
||
private class IntesisSocket { |
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.
Why is this class needed? It doesn't add any functionality so just keep track of the Socket instead.
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 how I saw it in the energenie Binding, which socket class was written by @Hilbrand . I have no clue of socket handling, so it was simply copy and paste.
...ng.intesis/src/main/java/org/openhab/binding/intesis/internal/handler/IntesisBoxHandler.java
Outdated
Show resolved
Hide resolved
...ng.intesis/src/main/java/org/openhab/binding/intesis/internal/handler/IntesisBoxHandler.java
Show resolved
Hide resolved
...ng.intesis/src/main/java/org/openhab/binding/intesis/internal/handler/IntesisBoxHandler.java
Outdated
Show resolved
Hide resolved
Also please address the build warnings:
|
Signed-off-by: Hans-Jörg Merk <[email protected]>
Thanks @cpmeister for your review, I have addressed most of it, some comments left. |
Failing build is not related to intesis binding but Feed tests... |
The way to fix them is to assign the |
Signed-off-by: Hans-Jörg Merk <[email protected]>
Thanks @cpmeister I have fixed the compiler warnings and the double null check. |
...ng.intesis/src/main/java/org/openhab/binding/intesis/internal/handler/IntesisBoxHandler.java
Outdated
Show resolved
Hide resolved
...ng.intesis/src/main/java/org/openhab/binding/intesis/internal/handler/IntesisBoxHandler.java
Outdated
Show resolved
Hide resolved
...ng.intesis/src/main/java/org/openhab/binding/intesis/internal/handler/IntesisBoxHandler.java
Outdated
Show resolved
Hide resolved
...ng.intesis/src/main/java/org/openhab/binding/intesis/internal/handler/IntesisBoxHandler.java
Show resolved
Hide resolved
...ng.intesis/src/main/java/org/openhab/binding/intesis/internal/handler/IntesisBoxHandler.java
Outdated
Show resolved
Hide resolved
...ng.intesis/src/main/java/org/openhab/binding/intesis/internal/handler/IntesisBoxHandler.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Hans-Jörg Merk <[email protected]>
Thanks @cpmeister I have addressed your comments, the rssi channel will be added later today. |
Signed-off-by: Hans-Jörg Merk <[email protected]>
@cpmeister RSSI is now changed from property to be a system-channel. |
...inding.intesis/src/main/java/org/openhab/binding/intesis/internal/IntesisHandlerFactory.java
Outdated
Show resolved
Hide resolved
...ding.intesis/src/main/java/org/openhab/binding/intesis/internal/api/IntesisBoxSocketApi.java
Outdated
Show resolved
Hide resolved
...ding.intesis/src/main/java/org/openhab/binding/intesis/internal/api/IntesisBoxSocketApi.java
Outdated
Show resolved
Hide resolved
...ng.intesis/src/main/java/org/openhab/binding/intesis/internal/handler/IntesisBoxHandler.java
Outdated
Show resolved
Hide resolved
...ng.intesis/src/main/java/org/openhab/binding/intesis/internal/handler/IntesisBoxHandler.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Hans-Jörg Merk <[email protected]>
Thanks @fwolter all comments addressed. |
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
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
Thanks @fwolter and @cpmeister for your great support !!! |
* Intesis Binding - added IntesisBox support Signed-off-by: Hans-Jörg Merk <[email protected]>
* Intesis Binding - added IntesisBox support Signed-off-by: Hans-Jörg Merk <[email protected]>
Signed-off-by: Hans-Jörg Merk [email protected]
Also Signed-off-by: Rocky Amatulli [email protected]
Also Signed-off-by: Cody Cutrer [email protected]