bimmerconnected / bimmer_connected

🚘 Library to query the status of your BMW or Mini from the ConnectedDrive portal
Apache License 2.0
373 stars 81 forks source link

Update of charging sessions and statistics URLs to v2 #622

Closed Gr3yh0und closed 5 months ago

Gr3yh0und commented 5 months ago

Proposed change

The charging statistics and charging sessions URLs have changed in April 2024. Although they are not yet used in this project, this is probably helpful for other projects to be aware of.

Type of change

Checklist

rikroe commented 5 months ago

Thanks! I've also seen that some other endpoints have been updated, but haven't had the chance to go through everything. This PR is a good reminder to do that though.

Gr3yh0und commented 5 months ago

No worries. I was just playing around with it and started building my own Python scripts to collect data and forward it to my TIG stack while I was coming along the statistics stuff and saw, that also other integrations of openHAB, HA, ioBroker and so on always seem to reference here as well. So probably tackling it in the point of truth might help also the other maintainers.

Are there any plans on having a look into the sessions/statistics from your side on the roadmap or should I maybe give it a try?

rikroe commented 5 months ago

I don't have an EV, so don't need it personally and cannot test it.

There was #569 which implemented a lot but then it got stale. I would still prefer this as a type of remote service (https://github.com/bimmerconnected/bimmer_connected/pull/569#issuecomment-1902630313) as we don't need to get this every 5 minutes with the rest of the state.

So yeah, if you want to look at it, sure!