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
[revogi] Initial contribution - Resubmitted for OH3 #8534
Conversation
Signed-off-by: Andreas Bräu <ab@andi95.de>
Hey @andibraeu, TravisCI finished with status TravisBuddy Request Identifier: 8da1e560-14ac-11eb-aff7-dd8cbeb067cc |
Signed-off-by: Andreas Bräu <ab@andi95.de>
BTW: the Jenkins build doesn't seem to checkout the PR branch. It builds for another commit and these changes aren't included. The build is failing because of another binding. @kaikreuzer, I'm not sure if you're the right person to address this. |
All checks green! |
Thank you! |
That's indeed weird. I have changed the build configuration now in the hope that it works as expected - let's have a try and see! |
nice, now it worked! |
Are you sure? Why did it fail with static analysis errors on Astro tests...? |
oh I see.. maybe I was a bit too fast. will my PR be applied to the HEAD of this branch during the build? Or is it build based on the commit I used when I created my branch? |
I've now cleaned the workspace of the build job and will try again.
Yes, it is merged with the head of the main branch. |
Unfortunately it still fails because of the Astro Binding Integration tests |
On other PRs, this has meanwhile disappeared. I'll try one more... |
Now we've got a successful build, but it was aborted in the end:
|
On the older pr build @wborn had recently increased the timeout to 4 hours because a lot of pr builds did timeout. |
I've increased it on this build job as well. |
Signed-off-by: Andreas Bräu <ab@andi95.de>
Signed-off-by: Andreas Bräu <ab@andi95.de>
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.
There are some checkstyle warnings left. You could take a look at target/code-analysis/report.html
.
.../src/main/java/org/openhab/binding/revogi/internal/RevogiSmartStripControlConfiguration.java
Outdated
Show resolved
Hide resolved
...revogi/src/main/java/org/openhab/binding/revogi/internal/RevogiSmartStripControlHandler.java
Outdated
Show resolved
Hide resolved
...revogi/src/main/java/org/openhab/binding/revogi/internal/RevogiSmartStripControlHandler.java
Outdated
Show resolved
Hide resolved
...b.binding.revogi/src/main/java/org/openhab/binding/revogi/internal/udp/UdpSenderService.java
Show resolved
Hide resolved
bundles/org.openhab.binding.revogi/src/main/resources/OH-INF/binding/binding.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.revogi/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
...ding.revogi/src/main/java/org/openhab/binding/revogi/internal/udp/DatagramSocketWrapper.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Andreas Bräu <ab@andi95.de>
Signed-off-by: Andreas Bräu <ab@andi95.de>
Signed-off-by: Andreas Bräu <ab@andi95.de>
Signed-off-by: Andreas Bräu <ab@andi95.de>
Signed-off-by: Andreas Bräu <ab@andi95.de>
Signed-off-by: Andreas Bräu <ab@andi95.de>
Signed-off-by: Andreas Bräu <ab@andi95.de>
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
Signed-off-by: Andreas Bräu <ab@andi95.de>
unfortunately the build fails at the moment, it is cause by https://ci.openhab.org/job/PR-openHAB-Addons/612/org.openhab.addons.itests$org.openhab.binding.modbus.tests/consoleFull |
Signed-off-by: Andreas Bräu <ab@andi95.de>
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 a few minor changes and I think we are good to go. I'll merge as soon as it is done.
...vogi/src/main/java/org/openhab/binding/revogi/internal/RevogiSmartStripDiscoveryService.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/openhab/binding/revogi/internal/RevogiSmartStripControlHandlerFactory.java
Outdated
Show resolved
Hide resolved
...vogi/src/main/java/org/openhab/binding/revogi/internal/RevogiSmartStripDiscoveryService.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Andreas Bräu <ab@andi95.de>
Signed-off-by: Andreas Bräu <ab@andi95.de>
Signed-off-by: Andreas Bräu <ab@andi95.de>
Signed-off-by: Andreas Bräu <ab@andi95.de>
* Rename binding and resubmit to OH3
* Rename binding and resubmit to OH3 Signed-off-by: Andreas Bräu <ab@andi95.de>
* Rename binding and resubmit to OH3 Signed-off-by: Andreas Bräu <ab@andi95.de>
Signed-off-by: Andreas Bräu ab@andi95.de
Revogi Binding
Due to the move to OH3 I transformed the binding, and it's now based on the OH3 main branch. The previous PR was #7029
This PR will add a new binding for Revogi's Smart Strip (SOW019). I added a thread at https://community.openhab.org/t/binding-for-revogi-smart-strip-sow019/92923
Description
If you use the Smart Strip with the Revogi Home App, you always need internet access to use this device. With this binding you can control the Smart Strip without the need of a cloud based solution in the internet.
The binding supports to switch every 6 plugs separately, retrieve statistics for each plug or switch all 6 plugs together. All of this works by sending UDP packets.
Testing
Let's wait for a first build, then I can provide a link to the built jar!