-
-
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
[studer] Initial contribution #8163
Conversation
983db27
to
0fec996
Compare
Travis tests were successfulHey @giovannimirulla, |
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 your contribution! Great that you used Units of Measure so consequently! I reviewed your code and here is my feedback.
The pictures under doc/
are acutally JPEGs, but the file extension is PNG.
There are some checkstyle warnings left. You could take a look at target/code-analysis/report.html
.
There are some formatting issues. You can view them with mvn spotless:check -Dspotless.check.skip=false
and fix them with mvn spotless:apply
.
...bus.studer/src/main/java/org/openhab/binding/modbus/studer/internal/StuderConfiguration.java
Outdated
Show resolved
Hide resolved
...les/org.openhab.binding.modbus.studer/src/main/resources/ESH-INF/thing/BSP-channel-types.xml
Outdated
Show resolved
Hide resolved
...les/org.openhab.binding.modbus.studer/src/main/resources/ESH-INF/thing/BSP-channel-types.xml
Outdated
Show resolved
Hide resolved
...ng.modbus.studer/src/main/java/org/openhab/binding/modbus/studer/internal/StuderHandler.java
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.modbus.studer/src/main/resources/ESH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
...us.studer/src/main/java/org/openhab/binding/modbus/studer/internal/StuderHandlerFactory.java
Outdated
Show resolved
Hide resolved
Travis tests have failedHey @giovannimirulla, |
Travis tests have failedHey @giovannimirulla, |
1 similar comment
Travis tests have failedHey @giovannimirulla, |
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.
Your changes look good! I found a few minor things I overlooked during the first review. Sorry for that.
...ng.modbus.studer/src/main/java/org/openhab/binding/modbus/studer/internal/StuderHandler.java
Outdated
Show resolved
Hide resolved
...ng.modbus.studer/src/main/java/org/openhab/binding/modbus/studer/internal/StuderHandler.java
Outdated
Show resolved
Hide resolved
...ng.modbus.studer/src/main/java/org/openhab/binding/modbus/studer/internal/StuderHandler.java
Outdated
Show resolved
Hide resolved
...ng.modbus.studer/src/main/java/org/openhab/binding/modbus/studer/internal/StuderHandler.java
Show resolved
Hide resolved
bundles/org.openhab.binding.modbus.studer/src/main/resources/ESH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
Travis tests were successfulHey @giovannimirulla, |
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
@fwolter thank you for your help and your time! |
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 you contribution. Here is my review. Some comments also apply on other places, but I didn't comment each occurrence.
bundles/org.openhab.binding.modbus.studer/src/main/resources/ESH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
...bus.studer/src/main/java/org/openhab/binding/modbus/studer/internal/StuderConfiguration.java
Outdated
Show resolved
Hide resolved
...ing.modbus.studer/src/main/java/org/openhab/binding/modbus/studer/internal/StuderParser.java
Outdated
Show resolved
Hide resolved
...ng.modbus.studer/src/main/java/org/openhab/binding/modbus/studer/internal/StuderHandler.java
Outdated
Show resolved
Hide resolved
...ng.modbus.studer/src/main/java/org/openhab/binding/modbus/studer/internal/StuderHandler.java
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.modbus.studer/src/main/resources/ESH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
...penhab.binding.modbus.studer/src/main/resources/ESH-INF/thing/VariotString-channel-types.xml
Show resolved
Hide resolved
...ing.modbus.studer/src/main/java/org/openhab/binding/modbus/studer/internal/StuderParser.java
Show resolved
Hide resolved
@giovannimirulla if you are able to fix my review comments on short notice wwe will be able to merge this in 2.5.9, otherwise it will be for openHAB 3.0 |
Signed-off-by: Giovanni Mirulla <[email protected]>
This reverts commit 43bfe04. Signed-off-by: Giovanni Mirulla <[email protected]>
Signed-off-by: Giovanni Mirulla <[email protected]>
Signed-off-by: Giovanni Mirulla <[email protected]>
Signed-off-by: Giovanni Mirulla <[email protected]>
Signed-off-by: Giovanni Mirulla <[email protected]>
Signed-off-by: Giovanni Mirulla <[email protected]>
Signed-off-by: Giovanni Mirulla <[email protected]>
3d558da
to
bd8046e
Compare
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 1 comment related to the rename of refresh
.
You also need to rebase due to conflicts, see here on GitHub.
To make sure the style is correct run mvn spotless:apply
on your binding code.
bundles/org.openhab.binding.modbus.studer/src/main/resources/ESH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
Signed-off-by: Giovanni Mirulla <[email protected]>
c6ca2f1
to
9e79a63
Compare
Signed-off-by: Giovanni Mirulla <[email protected]>
82d4ede
to
a771929
Compare
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
@Hilbrand thank you for your help and your time! |
Travis tests were successfulHey @giovannimirulla, |
1 similar comment
Travis tests were successfulHey @giovannimirulla, |
Signed-off-by: Giovanni Mirulla <[email protected]>
Signed-off-by: Giovanni Mirulla <[email protected]>
Signed-off-by: Giovanni Mirulla <[email protected]>
Hi,
this is the initial contribution for Studer binding. Four things for four type of devices:
Studer Innotec is an ISO certified company that develops and manufactures inverters, inverter/chargers and MPPT solar charge controllers. Goal of the binding is to support Studer devices.
Giovanni Mirulla