-
-
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
[volvooncall] Extend battery channels #10991
Conversation
...b.binding.volvooncall/src/main/java/org/openhab/binding/volvooncall/internal/dto/Status.java
Outdated
Show resolved
Hide resolved
...b.binding.volvooncall/src/main/java/org/openhab/binding/volvooncall/internal/dto/Status.java
Outdated
Show resolved
Hide resolved
...b.binding.volvooncall/src/main/java/org/openhab/binding/volvooncall/internal/dto/Status.java
Outdated
Show resolved
Hide resolved
...b.binding.volvooncall/src/main/java/org/openhab/binding/volvooncall/internal/dto/Status.java
Outdated
Show resolved
Hide resolved
...b.binding.volvooncall/src/main/java/org/openhab/binding/volvooncall/internal/dto/Status.java
Outdated
Show resolved
Hide resolved
...b.binding.volvooncall/src/main/java/org/openhab/binding/volvooncall/internal/dto/Status.java
Outdated
Show resolved
Hide resolved
...b.binding.volvooncall/src/main/java/org/openhab/binding/volvooncall/internal/dto/Status.java
Outdated
Show resolved
Hide resolved
...inding.volvooncall/src/main/java/org/openhab/binding/volvooncall/internal/dto/HvBattery.java
Show resolved
Hide resolved
Long term it looks like Volvo are releasing a properly managed API: https://developer.volvocars.com/volvo-api/ I expect we'll need to switch to that in the future, but there are no battery values in there at all at the moment :( |
It would be good because it was quite difficult to grab some specific informations on some aspects of the API answer. But unfortunately, I do not currently own a Volvo car anymore, so you'll have to take over on this. |
Do you want me to update codeowners to take it over, or add myself, or are you happy still providing reviews? |
I'm still happy to provide reviews but will not initiate evolutions nor be able to test, so if you want to add yourself to codeowners you're more than welcome. |
I'll drop myself on there to help out, I get enough back from openhab that I should be doing some of the work :) Not sure I'll find time to work with the new API - looks like we'd need to switch to an OIDC flow too, and I don't know how that fits with the openhab ui today - we must be doing it somewhere. |
4444561
to
3b3f894
Compare
3b3f894
to
ad41ebc
Compare
...b.binding.volvooncall/src/main/java/org/openhab/binding/volvooncall/internal/dto/Status.java
Outdated
Show resolved
Hide resolved
ad41ebc
to
d440494
Compare
Sorry, forgot about that comment! |
d440494
to
608d93e
Compare
Add some convenience channels for charging status and handle the battery level carefully because the API can be misleading. Signed-off-by: James Hewitt-Thomas <james.hewitt@gmail.com>
Signed-off-by: James Hewitt-Thomas <james.hewitt@gmail.com>
608d93e
to
6a66ade
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
bundles/org.openhab.binding.volvooncall/src/main/resources/OH-INF/thing/vehicle.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.volvooncall/src/main/resources/OH-INF/thing/vehicle.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.volvooncall/src/main/resources/OH-INF/thing/vehicle.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.volvooncall/src/main/resources/OH-INF/thing/vehicle.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.volvooncall/src/main/resources/OH-INF/thing/vehicle.xml
Outdated
Show resolved
Hide resolved
3d3d9ca
to
6d77a55
Compare
Signed-off-by: James Hewitt-Thomas <james.hewitt@gmail.com>
6d77a55
to
5af9036
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.
Many thanks!
* [volvooncall] Extend battery channels Add some convenience channels for charging status and handle the battery level carefully because the API can be misleading. Signed-off-by: James Hewitt-Thomas <james.hewitt@gmail.com> Signed-off-by: dw-8 <davy.wong.on+github@gmail.com>
* [volvooncall] Extend battery channels Add some convenience channels for charging status and handle the battery level carefully because the API can be misleading. Signed-off-by: James Hewitt-Thomas <james.hewitt@gmail.com> Signed-off-by: dw-8 <davy.wong.on+github@gmail.com>
This reverts commit b3c4bee.
* [volvooncall] Extend battery channels Add some convenience channels for charging status and handle the battery level carefully because the API can be misleading. Signed-off-by: James Hewitt-Thomas <james.hewitt@gmail.com> Signed-off-by: dw-8 <davy.wong.on+github@gmail.com>
This reverts commit b3c4bee. Signed-off-by: dw-8 <davy.wong.on+github@gmail.com>
* [volvooncall] Extend battery channels Add some convenience channels for charging status and handle the battery level carefully because the API can be misleading. Signed-off-by: James Hewitt-Thomas <james.hewitt@gmail.com>
* [volvooncall] Extend battery channels Add some convenience channels for charging status and handle the battery level carefully because the API can be misleading. Signed-off-by: James Hewitt-Thomas <james.hewitt@gmail.com>
* [volvooncall] Extend battery channels Add some convenience channels for charging status and handle the battery level carefully because the API can be misleading. Signed-off-by: James Hewitt-Thomas <james.hewitt@gmail.com>
Add some convenience channels for charging status and handle the battery level carefully because the API can be misleading.