-
-
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
[saicismart] Initial contribution #15894
Conversation
Summary @tisoft these commits do not have a --signoff. So I think I can not get your code into openhab without claiming it as mine (which I do not want to do).... Are you able to checkout this branch and rebase it and signoff? I am happy for you to claim my code as yours and then I can complete the PR, or we can work on this together to get it done. |
I will have a look. Thanks for taking this over. :) |
I invited you to my repo: https://github.com/dougculnane/openhab-addons so you can push to it. I think you can do this: Ensure you have a local copy of your branch by checking out the pull request locally via command line. Then I can update the PR and try to get it merge ready. |
aae6082
to
58d9dfe
Compare
e11e57c
to
600cd66
Compare
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/new-binding-integration-of-saic-mg-ismart-based-vehicles/140136/31 |
I have been testing this and it works (but I think my car has some connectivity problems in the valley where I live...) The AC on works. So this is usable for home energy automation and information. Also it is great to be able to pre-warm the car in the mornings... I will do more testing and fixing as needed but I think this is ready for a review and feedback. |
I think the security code can be removed completely. All Interactions that need it in the official App, don't seem to need it when called directly by the API. The MQTT bindings don't use it either. |
Thanks for the feedback Markus. I was having update issues but I think this is due to car <-> mg-server connection issues. Sending the PIN seamed to help but maybe it was a change in the weather... I will remove this and test it. If we do not need it then I will get rid of it. Thanks again. |
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/volvo-oncall-binding/59605/132 |
Signed-off-by: Markus Heberling <markus@heberling.net>
…usage) Signed-off-by: Markus Heberling <markus@heberling.net>
Signed-off-by: Markus Heberling <markus@heberling.net>
Signed-off-by: Markus Heberling <markus@heberling.net>
Signed-off-by: Markus Heberling <markus@heberling.net>
Signed-off-by: Markus Heberling <markus@heberling.net>
Signed-off-by: Markus Heberling <markus@heberling.net>
Signed-off-by: Markus Heberling <markus@heberling.net>
Signed-off-by: Markus Heberling <markus@heberling.net>
Signed-off-by: Markus Heberling <markus@heberling.net>
Signed-off-by: Markus Heberling <markus@heberling.net>
Signed-off-by: Markus Heberling <markus@heberling.net>
Signed-off-by: Markus Heberling <markus@heberling.net>
Signed-off-by: Markus Heberling <markus@heberling.net>
Signed-off-by: dougculnane <doug@culnane.net>
Signed-off-by: dougculnane <doug@culnane.net>
…pdate method. Signed-off-by: dougculnane <doug@culnane.net>
Signed-off-by: dougculnane <doug@culnane.net>
...ing.saicismart/src/main/java/org/openhab/binding/saicismart/internal/ChargeStateUpdater.java
Show resolved
Hide resolved
Signed-off-by: dougculnane <doug@culnane.net>
Signed-off-by: dougculnane <doug@culnane.net>
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.
Went through the last files and changes. Left some comments related to status updates, i18n and minor code improvements. Allmost there.
...aicismart/src/main/java/org/openhab/binding/saicismart/internal/SAICiSMARTBridgeHandler.java
Outdated
Show resolved
Hide resolved
...aicismart/src/main/java/org/openhab/binding/saicismart/internal/SAICiSMARTBridgeHandler.java
Outdated
Show resolved
Hide resolved
...aicismart/src/main/java/org/openhab/binding/saicismart/internal/SAICiSMARTBridgeHandler.java
Outdated
Show resolved
Hide resolved
...aicismart/src/main/java/org/openhab/binding/saicismart/internal/SAICiSMARTBridgeHandler.java
Show resolved
Hide resolved
...ding.saicismart/src/main/java/org/openhab/binding/saicismart/internal/SAICiSMARTHandler.java
Outdated
Show resolved
Hide resolved
...ding.saicismart/src/main/java/org/openhab/binding/saicismart/internal/SAICiSMARTHandler.java
Outdated
Show resolved
Hide resolved
...ding.saicismart/src/main/java/org/openhab/binding/saicismart/internal/SAICiSMARTHandler.java
Show resolved
Hide resolved
...ding.saicismart/src/main/java/org/openhab/binding/saicismart/internal/SAICiSMARTHandler.java
Outdated
Show resolved
Hide resolved
...ding.saicismart/src/main/java/org/openhab/binding/saicismart/internal/SAICiSMARTHandler.java
Outdated
Show resolved
Hide resolved
Signed-off-by: dougculnane <doug@culnane.net>
Signed-off-by: dougculnane <doug@culnane.net>
…ab/binding/saicismart/internal/SAICiSMARTBridgeHandler.java Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Doug Culnane <32482395+dougculnane@users.noreply.github.com>
…ab/binding/saicismart/internal/SAICiSMARTBridgeHandler.java Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Doug Culnane <32482395+dougculnane@users.noreply.github.com>
…ab/binding/saicismart/internal/SAICiSMARTHandler.java Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Doug Culnane <32482395+dougculnane@users.noreply.github.com>
Signed-off-by: dougculnane <doug@culnane.net>
Signed-off-by: dougculnane <doug@culnane.net>
Signed-off-by: dougculnane <doug@culnane.net>
Signed-off-by: dougculnane <doug@culnane.net>
...aicismart/src/main/java/org/openhab/binding/saicismart/internal/SAICiSMARTBridgeHandler.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.
Two comments left.
Signed-off-by: dougculnane <doug@culnane.net>
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! LGTM
Now, you could add your binding's logo to the openHAB website. See https://www.openhab.org/docs/developer/addons/#add-your-add-on-s-logo-to-the-openhab-website
* [saicismart] initial binding creation Signed-off-by: Markus Heberling <markus@heberling.net> Signed-off-by: dougculnane <doug@culnane.net>
* [saicismart] initial binding creation Signed-off-by: Markus Heberling <markus@heberling.net> Signed-off-by: dougculnane <doug@culnane.net> Signed-off-by: Paul Smedley <paul@smedley.id.au>
* [saicismart] initial binding creation Signed-off-by: Markus Heberling <markus@heberling.net> Signed-off-by: dougculnane <doug@culnane.net> Signed-off-by: Patrik Gfeller <patrik.gfeller@proton.me>
* [saicismart] initial binding creation Signed-off-by: Markus Heberling <markus@heberling.net> Signed-off-by: dougculnane <doug@culnane.net>
* [saicismart] initial binding creation Signed-off-by: Markus Heberling <markus@heberling.net> Signed-off-by: dougculnane <doug@culnane.net>
* [saicismart] initial binding creation Signed-off-by: Markus Heberling <markus@heberling.net> Signed-off-by: dougculnane <doug@culnane.net> Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This PR is a revival of the PR here: #13573
I have updated for openHAB 4. The binding runs but needs some more testing, documentation etc...