-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[teslapowerwall] Initial contribution #16667
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Paul Smedley <paul@smedley.id.au>
Signed-off-by: Paul Smedley <paul@smedley.id.au>
Signed-off-by: Paul Smedley <paul@smedley.id.au>
Signed-off-by: Paul Smedley <paul@smedley.id.au>
Signed-off-by: Paul Smedley <paul@smedley.id.au>
Signed-off-by: Paul Smedley <paul@smedley.id.au>
Signed-off-by: Paul Smedley <paul@smedley.id.au>
Signed-off-by: Paul Smedley <paul@smedley.id.au>
Signed-off-by: Paul Smedley <paul@smedley.id.au>
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/tesla-powerwall-2-integration/63516/280 |
Signed-off-by: Paul Smedley <paul@smedley.id.au>
Signed-off-by: Paul Smedley <paul@smedley.id.au>
Signed-off-by: Paul Smedley <paul@smedley.id.au>
Signed-off-by: Paul Smedley <paul@smedley.id.au>
Signed-off-by: Paul Smedley <paul@smedley.id.au>
I added the tag "work in progress" as "WIP" is still in the PR title. |
I think the code is as good as it's going to get, the readme perhaps still needs some work |
If it is ready/finished, please remove "WIP" from PR title. |
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.
Thank you for this contribution. I did a full review. There are some things to fix.
Please also fix any remaining SAT errors and compile warnings.
...werwall/src/main/java/org/openhab/binding/teslapowerwall/internal/TeslaPowerwallHandler.java
Show resolved
Hide resolved
...werwall/src/main/java/org/openhab/binding/teslapowerwall/internal/TeslaPowerwallHandler.java
Outdated
Show resolved
Hide resolved
...werwall/src/main/java/org/openhab/binding/teslapowerwall/internal/TeslaPowerwallHandler.java
Outdated
Show resolved
Hide resolved
...werwall/src/main/java/org/openhab/binding/teslapowerwall/internal/TeslaPowerwallHandler.java
Outdated
Show resolved
Hide resolved
...werwall/src/main/java/org/openhab/binding/teslapowerwall/internal/TeslaPowerwallHandler.java
Outdated
Show resolved
Hide resolved
Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Paul Smedley <paul@smedley.id.au>
…penhab/binding/teslapowerwall/internal/TeslaPowerwallHandler.java Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Paul Smedley <paul@smedley.id.au>
…penhab/binding/teslapowerwall/internal/TeslaPowerwallHandler.java Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Paul Smedley <paul@smedley.id.au>
…penhab/binding/teslapowerwall/internal/TeslaPowerwallHandler.java Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Paul Smedley <paul@smedley.id.au>
Signed-off-by: Paul Smedley <paul@smedley.id.au>
Signed-off-by: Paul Smedley <paul@smedley.id.au>
Signed-off-by: Paul Smedley <paul@smedley.id.au>
I fixed most of the warnings - will investigate the "Redundant null check" ones later in the week. |
Signed-off-by: Paul Smedley <paul@smedley.id.au>
All warnings resolved, I believe this is ready for re-review now. |
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 the quick response. Found some more issues, also some comments from the previous round are not fixed. I guess those are missed becase they are behind the 'show more' button.
...werwall/src/main/java/org/openhab/binding/teslapowerwall/internal/TeslaPowerwallHandler.java
Outdated
Show resolved
Hide resolved
...werwall/src/main/java/org/openhab/binding/teslapowerwall/internal/TeslaPowerwallHandler.java
Outdated
Show resolved
Hide resolved
...werwall/src/main/java/org/openhab/binding/teslapowerwall/internal/TeslaPowerwallHandler.java
Outdated
Show resolved
Hide resolved
...werwall/src/main/java/org/openhab/binding/teslapowerwall/internal/TeslaPowerwallHandler.java
Outdated
Show resolved
Hide resolved
Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Paul Smedley <paul@smedley.id.au>
Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Paul Smedley <paul@smedley.id.au>
Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Paul Smedley <paul@smedley.id.au>
Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Paul Smedley <paul@smedley.id.au>
Signed-off-by: Paul Smedley <paul@smedley.id.au>
…penhab/binding/teslapowerwall/internal/TeslaPowerwallHandler.java Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Paul Smedley <paul@smedley.id.au>
…penhab/binding/teslapowerwall/internal/TeslaPowerwallCommunicationException.java Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Paul Smedley <paul@smedley.id.au>
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.
It seems I have some old pending comment, I'll take the chance and post it to publish my new comment. :)
bundles/org.openhab.binding.teslapowerwall/src/main/resources/OH-INF/update/instructions.xml
Outdated
Show resolved
Hide resolved
...wall/src/main/java/org/openhab/binding/teslapowerwall/internal/TeslaPowerwallWebTargets.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Paul Smedley <paul@smedley.id.au>
Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Paul Smedley <paul@smedley.id.au>
Signed-off-by: Paul Smedley <paul@smedley.id.au>
Signed-off-by: Paul Smedley <paul@smedley.id.au>
OK - I think I've resolved all concerns. |
Signed-off-by: Paul Smedley <paul@smedley.id.au>
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 think these are my final comments. Thanks for addressing all issues quick. With this pace we can merge this binding before next stable.
...rc/main/java/org/openhab/binding/teslapowerwall/internal/TeslaPowerwallBindingConstants.java
Outdated
Show resolved
Hide resolved
...werwall/src/main/java/org/openhab/binding/teslapowerwall/internal/TeslaPowerwallHandler.java
Outdated
Show resolved
Hide resolved
...werwall/src/main/java/org/openhab/binding/teslapowerwall/internal/TeslaPowerwallHandler.java
Outdated
Show resolved
Hide resolved
...wall/src/main/java/org/openhab/binding/teslapowerwall/internal/TeslaPowerwallWebTargets.java
Show resolved
Hide resolved
bundles/org.openhab.binding.teslapowerwall/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.teslapowerwall/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.teslapowerwall/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.teslapowerwall/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
…penhab/binding/teslapowerwall/internal/TeslaPowerwallHandler.java Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Paul Smedley <paul@smedley.id.au>
Signed-off-by: Paul Smedley <paul@smedley.id.au>
Signed-off-by: Paul Smedley <paul@smedley.id.au>
No description provided.