-
Hi I'd would love to use this feature, as it would make it possible to charge my 530e at the cheapest possible time using Home Assistant - instead of manually adjusting the charging times in the myBMW-app every day 😀 |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 15 replies
-
You're right, it is missing at the moment. I'll put it into our backlog, shouldn't be a big effort. BTW: Does the MyBMW app also provide a "Stop Charging" service? Don't have an EV so cannot check this with my app. |
Beta Was this translation helpful? Give feedback.
-
Hi @rikroe Did you have an opportunity to work on the backlog regarding the charge_now service? |
Beta Was this translation helpful? Give feedback.
-
Hi @rikroe, Just to clarify that this is not about the remote service 'charge_now'. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi @rikroe, Got it working this morning. Request body when switching to 'charge immediately': {
"servicePack": "ATM",
"chargingMode": {
"type": "CHARGING_IMMEDIATELY",
"startTimeSlot": "0001-01-01T22:05:00.000",
"endTimeSlot": "0001-01-01T06:55:00.000",
"timerChange": "NO_CHANGE",
"chargingPreference": "NO_PRESELECTION"
},
"departureTimer": {
"type": "TWO_DEPARTURE_TIMER",
"weeklyTimers": [
{
"id": 1,
"time": "0001-01-01T09:00:00.000",
"daysOfTheWeek": [],
"timerAction": "ACTIVATE"
},
{
"id": 2,
"time": "0001-01-01T15:00:00.000",
"daysOfTheWeek": [],
"timerAction": "DEACTIVATE"
}
]
},
"isPreconditionForDepartureActive": false
} Switching to 'charge in window': {
"servicePack": "ATM",
"chargingMode": {
"type": "TIME_SLOT",
"startTimeSlot": "0001-01-01T22:05:00.000",
"endTimeSlot": "0001-01-01T18:55:00.000",
"timerChange": "NO_CHANGE",
"chargingPreference": "CHARGING_WINDOW"
},
"departureTimer": {
"type": "TWO_DEPARTURE_TIMER",
"weeklyTimers": [
{
"id": 1,
"time": "0001-01-01T09:00:00.000",
"daysOfTheWeek": [],
"timerAction": "ACTIVATE"
},
{
"id": 2,
"time": "0001-01-01T15:00:00.000",
"daysOfTheWeek": [],
"timerAction": "DEACTIVATE"
}
]
},
"isPreconditionForDepartureActive": false
} Looks like it is the 'chargingMode' block which is modified. The response is an eventId which can be queried for its status. (https://cocoapi.bmwgroup.com/eadrax-vrccs/v3/presentation/remote-commands/eventStatus?eventId=ID) |
Beta Was this translation helpful? Give feedback.
-
Checking with a fingerprint and {
"chargeAndClimateTimerDetail": {
"chargingMode": {
"chargingPreference": "CHARGING_WINDOW",
"endTimeSlot": "0001-01-01T06:55:00",
"startTimeSlot": "0001-01-01T22:05:00",
"type": "TIME_SLOT"
},
"departureTimer": {
"type": "TWO_DEPARTURE_TIMER",
"weeklyTimers": [
{
"daysOfTheWeek": [],
"id": 1,
"time": "0001-01-01T09:00:00",
"timerAction": "ACTIVATE"
},
{
"daysOfTheWeek": [],
"id": 2,
"time": "0001-01-01T15:00:00",
"timerAction": "DEACTIVATE"
}
]
},
"isPreconditionForDepartureActive": false
},
"servicePack": "ATM"
} A |
Beta Was this translation helpful? Give feedback.
-
Could you please provide a full fingerprint? There is no occurrence of |
Beta Was this translation helpful? Give feedback.
-
Sure!
|
Beta Was this translation helpful? Give feedback.
-
Interested in hearing if this effort is still ongoing? It looks like you have gotten quite far! Also seem to be on the wish list for quite a few. I can definitely help with some testing on an i4 if required. One feature I'd be particularly interested in is to be able to control targetSoc. It's recommended setting is 80% but at some times you may want to charge to 100% and other times perhaps lower to get just enough juice. I haven't got access to a rooted phone, so unfortunately I do not know the exact call for this operation, but it is in the fingerprint files that @RutgerBeyen posted. |
Beta Was this translation helpful? Give feedback.
-
Since the myBMW app v2.11 the URLs have changed slightly: Gettting the existing charging settings is now done via The response from this call can be POSTed to |
Beta Was this translation helpful? Give feedback.
-
Following! Would like to give this a whirl testing wise if any further assistance is needed. Located in the EU, driving an iX with a load-balancing charging station that's dumber than the cobblestones it's standing next to. So some automation is definitely needed, especially with the new electricity regulations here. |
Beta Was this translation helpful? Give feedback.
-
Just released a beta that contains most of the desired functionality: https://github.com/bimmerconnected/bimmer_connected/releases/tag/0.13.0b1 |
Beta Was this translation helpful? Give feedback.
You're right, it is missing at the moment.
It was included in the library, but not in the HA component.
I'll put it into our backlog, shouldn't be a big effort.
BTW: Does the MyBMW app also provide a "Stop Charging" service? Don't have an EV so cannot check this with my app.