Skip to content
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

Merged
merged 89 commits into from
Apr 27, 2024
Merged

Conversation

dougculnane
Copy link
Contributor

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...

@dougculnane dougculnane added the new binding If someone has started to work on a binding. For a new binding PR. label Nov 14, 2023
@dougculnane
Copy link
Contributor Author

Summary
Commit sha: a50c49f, Author: Markus Heberling, Committer: dougculnane; The sign-off is missing.
Commit sha: bb94376, Author: Markus Heberling, Committer: dougculnane; The sign-off is missing.
Commit sha: e38ba38, Author: Markus Heberling, Committer: dougculnane; The sign-off is missing.
Commit sha: 1502e8c, Author: Markus Heberling, Committer: dougculnane; The sign-off is missing.

@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.

@tisoft
Copy link
Contributor

tisoft commented Nov 14, 2023

I will have a look. Thanks for taking this over. :)

@dougculnane
Copy link
Contributor Author

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:
"
To add your Signed-off-by line to every commit in this branch:

Ensure you have a local copy of your branch by checking out the pull request locally via command line.
In your local branch, run: git rebase HEAD~38 --signoff
Force push your changes to overwrite the branch: git push --force-with-lease origin saic-ismart-openhab4
"

Then I can update the PR and try to get it merge ready.

@lsiepel lsiepel changed the title [saic_ismart][wip] initial contribution of SAIC iSmart based vehicles plus update for openHAB 4 [saicismart][wip] Initial contribution Nov 15, 2023
@tisoft tisoft force-pushed the saic-ismart-openhab4 branch from aae6082 to 58d9dfe Compare November 18, 2023 07:40
@openhab-bot
Copy link
Collaborator

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

@dougculnane dougculnane marked this pull request as ready for review December 1, 2023 11:33
@dougculnane dougculnane requested a review from a team as a code owner December 1, 2023 11:33
@dougculnane
Copy link
Contributor Author

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.
The info is good and updates.
The force refresh 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.

@tisoft
Copy link
Contributor

tisoft commented Dec 4, 2023

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.

@dougculnane
Copy link
Contributor Author

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.

@dougculnane dougculnane changed the title [saicismart][wip] Initial contribution [saicismart] Initial contribution Dec 9, 2023
@openhab-bot
Copy link
Collaborator

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>
Signed-off-by: dougculnane <doug@culnane.net>
Signed-off-by: dougculnane <doug@culnane.net>
Copy link
Contributor

@lsiepel lsiepel left a 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.

dougculnane and others added 10 commits March 6, 2024 12:56
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>
Copy link
Contributor

@lsiepel lsiepel left a 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>
Copy link
Contributor

@lsiepel lsiepel left a 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

@lsiepel lsiepel merged commit 652845f into openhab:main Apr 27, 2024
5 checks passed
@lsiepel lsiepel added this to the 4.2 milestone Apr 27, 2024
lo92fr pushed a commit to lo92fr/openhab-addons that referenced this pull request Apr 30, 2024
* [saicismart] initial binding creation

Signed-off-by: Markus Heberling <markus@heberling.net>
Signed-off-by: dougculnane <doug@culnane.net>
psmedley pushed a commit to psmedley/openhab-addons that referenced this pull request Jun 15, 2024
* [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>
pgfeller pushed a commit to pgfeller/openhab-addons that referenced this pull request Sep 29, 2024
* [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>
joni1993 pushed a commit to joni1993/openhab-addons that referenced this pull request Oct 15, 2024
* [saicismart] initial binding creation

Signed-off-by: Markus Heberling <markus@heberling.net>
Signed-off-by: dougculnane <doug@culnane.net>
matchews pushed a commit to matchews/openhab-addons that referenced this pull request Oct 18, 2024
* [saicismart] initial binding creation

Signed-off-by: Markus Heberling <markus@heberling.net>
Signed-off-by: dougculnane <doug@culnane.net>
cipianpascu pushed a commit to cipianpascu/openhab-addons that referenced this pull request Jan 2, 2025
* [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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new binding If someone has started to work on a binding. For a new binding PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants