[APP][Pro] BMW Connected

How do you do to open the garage by itself?

The latest test version supports basic charging control. Will appreciate feedback on it. Preferably in the github.com issue. Start and stop charging · Issue #25 · lsiddiquee/com.rexwel.bmwconnected · GitHub

Please find attached a screenshot of my advanced flow, how to open my garage, after the car left home…. sorry, it is in German, but should be easy to translate.

It works as follows:
If the car is not at home, the new variable “BMW is on the way” is set to Yes.
If the car is plugged in, the variable is set to No.
If the car is back home more than 3 minutes, the variable is set to No.

If the driver comes back home and the variable is set to Yes, the Garage will open. (but only if it was not already open).

If the driver leaves home and the garaga is open, close the Garage.

Hi Likhan, I cannot complete the action defined under “6”. I do not have the possibility to paste in the captcha field in the settings view, What do I do wrong? I have “settings, Log and developer” Under settings there is only location information where I can add or change data. Who can help me further to get this app installed in my Homey Pro device. Thanks in advance.

@Henk_van_Breugel just try adding device. The login now happens when attempting to add device and the captcha now is in the app you no longer need to copy paste it.

Thanks so much for sharing this. How do you make sure the location tracker is responsive enough to trigger the flow in a timely manner?

Since a few hours the device is unavailable (v.0.8.3) and URL is blocked. Anything I can do?

Same here

Please read the first post.

1 Like

Hmm very sad news for Home Automation users, found this announcement:

BMW had some issues, they discovered irregularities in how one of their service providers was handling DCS (digital charging solutions that is) data records, and they sent out emails to affected users (unfortunately, I got one too).

Looks like they’ve now taken a drastic step to fix it by cutting off all third-party access to the cars and the charging process.

That said, it’s still possible to integrate the car for charging control, you just have to do it through the charging box instead.

It is worse for other things though, like climate control, doors and windows.. Back to using official app for those things.

A read-only option is still available via the cardata api : BMW Open Data Platform . Did anyone already considered this option ?

That would be enough for me, hopefully the app can be converted to read-only.

2 Likes

Same for me. - Hope @Likhan is willing to refactor this great app…

Hi @Likhan
First of all thank you very very much for making this great app so quickly work again. Good work!
It, however, seems that not all events (e.g. lat, lon, Drive session completed, …) do work yet. Could you pls give a brief list, what is implemented and should work and what not?

1 Like

Hi all i am trying to find slots to get it up and running again with basic info asap. There are still glitches happening and i am ironing them out as i go along. As I keep adjusting and fixing issues, will keep pushing update on the test version, anyone interested can use that, but please do not post this is not working and that is not working, as once I have at least the basics covered I will update here.

11 Likes

Can’t connect to https://customer.bmwgroup.com/cardata but I have a Client-ID for my Mini and enabled the CarData API and CarData stream in the Mini portal.

Then successfully added the Mini device using the Client-ID but with any values for Battery, Charging status etc. Which steps I’m missing?

@eovermeer You should be able to navigate to MyBMW then

then scroll to

And you should be able to select the data points.
FYI Client id is in the same page:

Currently if i am not mistaken, adding a new car probably will not work. but if you already had a car added you should be able to repair it.

Once you go to repair, add the client id and in the next page you will get a code. Copy that code and then select “Authenticate Device” and enter the code. The logging in should be complete, and you will start to receive the stream.

Keep in mind that the stream send data points only on change. so you will not see any data. lock/unlock to get some, and as you drive other info will start to appear. This is why I do still want to implement the fallback to read the datapoints using the API, but that is still on my list. Once I have the datapoints properly mapped, then will work on that.

The following MQTT streaming keys are now being tracked in the app, ensure they are selected.

  • vehicle.vehicle.travelledDistance
  • vehicle.driveTrain.lastRemainingRange
  • vehicle.cabin.infotainment.navigation.currentLocation.latitude
  • vehicle.cabin.infotainment.navigation.currentLocation.longitude
  • vehicle.cabin.door.status
  • vehicle.driveTrain.batteryManagement.header
  • vehicle.driveTrain.electricEngine.kombiRemainingElectricRange
  • vehicle.driveTrain.electricEngine.charging.status
  • vehicle.powertrain.electric.battery.stateOfCharge.target
  • vehicle.driveTrain.fuelSystem.remainingFuel
1 Like

Thanks, that was very helpful information. I now understand the Authenticate Device procedure using the generated token from the Homey BMW/Mini app. Everything is configured in the Mini portal, but unfortunately, I removed the Mini device from Homey to start fresh with the reconfiguration.

Repair isn’t possible at the moment. Instead of the Client-ID prompt, a BMW login screen appears, requiring credentials and a Captcha, but unfortunately, the login attempt failed.

BMW/Mini Connected app v1.0.3.

My next coding session will try to address the device add flow.