Hello, I’m getting a Communication Error when I try to set up my bridge thing. I’m in the US, and it appears OH can’t connect to the api URLs that are in the binding. Here are my logs:
09:55:03.992 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'mybmw:account:1234' changed from UNINITIALIZED to INITIALIZING
09:55:03.994 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'mybmw:account:1234' changed from INITIALIZING to UNKNOWN
09:55:03.995 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'mybmw:conv:1234:440i' changed from UNINITIALIZED to INITIALIZING
09:55:03.999 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'mybmw:conv:1234:440i' changed from INITIALIZING to UNKNOWN
09:55:04.442 [WARN ] [ing.mybmw.internal.handler.MyBMWProxy] - Authorization Exception: java.net.UnknownHostException: cocoapi.bmwgroup.us: Name does not resolve
09:55:04.445 [WARN ] [ing.mybmw.internal.handler.MyBMWProxy] - Authorization Exception: java.net.UnknownHostException: cocoapi.bmwgroup.us
09:55:04.445 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'mybmw:conv:1234:440i' changed from UNKNOWN to OFFLINE (COMMUNICATION_ERROR): cocoapi.bmwgroup.us
09:55:05.995 [WARN ] [ing.mybmw.internal.handler.MyBMWProxy] - Authorization Exception: java.net.UnknownHostException: cocoapi.bmwgroup.us
09:55:05.997 [WARN ] [ing.mybmw.internal.handler.MyBMWProxy] - Authorization Exception: java.net.UnknownHostException: cocoapi.bmwgroup.us
09:55:05.999 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'mybmw:account:1234' changed from UNKNOWN to OFFLINE (COMMUNICATION_ERROR): cocoapi.bmwgroup.us
09:55:06.000 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'mybmw:conv:1234:440i' changed from OFFLINE (COMMUNICATION_ERROR): cocoapi.bmwgroup.us to OFFLINE (BRIDGE_OFFLINE)
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.
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
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!
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, …