-
-
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
[teslapowerwall] Initial contribution #16667
Conversation
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 |
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
I fixed most of the warnings - will investigate the "Redundant null check" ones later in the week. |
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
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
OK - I think I've resolved all concerns. |
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
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>
Signed-off-by: Jan N. Klug <github@klug.nrw>
* [hdpowerview] add SDDP thing discovery Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* wait 1 hour after 429 error Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
* Fix warnings * Fix discovery error logging for offline devices Fixes openhab#6793 Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
…#16846) Signed-off-by: Simon Spielmann <simon.spielmann@gmx.de>
…penhab#16846)" This reverts commit 5e2efda.
This reverts commit 4e3cdba.
…)" This reverts commit 836b8d9.
This reverts commit 854ddbb.
This reverts commit 1ed0635.
openhab#16860)" This reverts commit e6780da.
This reverts commit d8e2ee1.
This reverts commit 4c82598.
This reverts commit e02fb92.
…penhab#16832)" This reverts commit 64b4c92.
…penhab#16848)" This reverts commit b280eaf.
openhab#16838)" This reverts commit 6e77a49.
This reverts commit 51da65b.
…penhab#16845)" This reverts commit 6aa1caa.
This reverts commit d3a884d.
This reverts commit 8eb99ee.
Signed-off-by: Paul Smedley <paul@smedley.id.au>
Sorry, I've completely messed this up trying to rebase :( |
Closing this and will raise new PR :( |
#16876 is the new PR |
No description provided.