bimmerconnected / ha_custom_component

Home Assistant Custom Component of BMW Connected Drive
34 stars 13 forks source link

No attributes / states for some entities any more #34

Closed arboeh closed 2 years ago

arboeh commented 2 years ago

I don't recieve attributes for lock.i3s_120_lock and binary_sensor.i3s_120_condition_based_services any more. States "unknown" and "off" are shown as states now. Screenshots attached. 2022-03-31 07_14_02-Window 2022-03-31 07_12_56-Window .

rikroe commented 2 years ago

Lock should be fixed with 20220331.1.

Will have a look at the condition based services as well.

EDIT: Regarding condition_based_services, OFF should be the correct state if there are no condition based services for your vehicle. Does the MyBMW app show any?

arboeh commented 2 years ago

There have been the attributes brake_fluid_date, vehicle_check_date and vehicle_tuv_date for me and there are no attributes any more. Seems to be a problem with i3s_120_check_control_messages also. There have been detailed messages and now the state "off" is shown all the time.

MyBMW app shows the following:

servicecheck

rikroe commented 2 years ago

Could you please provide a fingerprint (bimmerconnected fingerprint <username> <password> <region> on the command line) so I can debug this a little more?

arboeh commented 2 years ago

Seems API is completely down at the moment, but worked a few hours ago.

MyBMW API error '500 Server Error: Internal Server Error for url: https://cocoapi.bmwgroup.com/eadrax-vcs/v1/vehicles?apptimezone=120.0&appDateTime=1648834570010&tireGuardMode=ENABLED': {"error":{"statusCode":500,"error":"Internal Server Error","message":"An unknown exception occurred"},"correlationId":"12345......."}

Maybe the fingerprint files will help you anyway.

charging-sessions_0.txt charging-statistics_0.txt vehicles_v2_bmw_0.txt vehicles_v2_mini_0.txt

rikroe commented 2 years ago

Thanks! Yeah, the API is a bit flaky.

But I found the culprit, please try the latest release!

arboeh commented 2 years ago

Yup. Its working again. Thanks very much!