MyBMW Binding

Hi, I wonder whether there have been some changes in the API because the status of my car doesn’t seem to be updated whereas the MyBMW app on my Android phone works. MyBMW was updated with some new features.

EDIT: Now the MyBMW binding is working so no problems with it. I haven’t looked at the log-file yet so it may indicate what problems there were earlier today.

Is there a currently a general problem with the MyBMW API? My thing is offline (Status forbidden). evcc receives permanent HTTP 403 error codes. The MyBMW app does work.

I was just about to report the same. BMW just can’t help themselves from making changes all the time.

Same here

Same here - so annoying :frowning:
bimmer_connected reports the same problem http-error 403(forbidden), when logging in to BMW. · Issue #444 · bimmerconnected/bimmer_connected · GitHub

Issue: [MyBMW] Authorization fails · Issue #12840 · openhab/openhab-addons · GitHub

This fix looks good on my side

2 Likes

Do i have do update it manually or comes the fix to ther marketplace version, too?

I checked manually but Marketplace is adapted too. Please check and provide some feedback if it’s working on Marketplace

Actually i still got the forbidden error (even after pause/restart the bridge thing).
Binding seems up to date, i am not sure if it updated automatically?
Do i have to restart openhab maybe?

To be honest I’m not that familiar with Community Marketplace updates. As you can see the kar file was updated today with the newest changes.
Please check restart if it does any changes otherwise you can try manually exchanging the jar / kar in update folder. For me it’s working so far

Restart (simple and with cleaning cache) did not work for me.

I just removed the binding and installed it again in the marketplace. Now it is working again. Upgrade an restart is not enough.
Thanks again for your great and fast support!

3 Likes

Tried it this way, too - and it worked. Thank you!

1 Like

I filed a feature enhancement on the MyBMW binding here:

Bernd @Weymann - what do you think of this?

You need a rule anyway. So you can calculate distance from home everytime the location item is changing and write the result into an Item in your own rule.
In my opinion the binding should only provide data but should not calculate what you can do in rules if you really need it.

You will anyway discover that you need to spend more effort in rules. E.g. you might want to identify if your vehicle is approaching or leaving, doors get unlocked => car stopped, …

Thanx for the bugfix :slight_smile:
Although, for the i3 i now get electric range and milage in meters instead of kilometers. Does anybody else see this happen?

I have same problem with my 330e, everything is in meters, not in kilometers.

Still km delivered on my side. But maybe for some vehicles the data changed.

Either provide a fingerprint from the debug logs or check the values by yourself from the raw channel which is available in Show Advanced

I added my comment in the request directly. Please have a look [myBMW] Provide 'DistanceFromHome' channel · Issue #12783 · openhab/openhab-addons · GitHub

Dear BMW drivers - some sad news from my side. My BMW is sold and will be picked up the next days. So I’m not able to implement and test further changes in this binding.

Is there somebody willing to take up the maintenance?