bimmerconnected / ha_custom_component

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

Not updating since 20220327.1 #35

Closed 21Development closed 2 years ago

21Development commented 2 years ago

The releases after 20220117.1 (327, 331 & 401) seem to have stopped updating the sensors correctly. If I restart HA, the location updates but then if the vehicle is moved, it no longer updates the location, until the next time I restart HA.

I also noticed several switches have been added, including ones that I don’t think are supported such as aircon on/off and hitting “Refresh from cloud” or “Find vehicle” results is server errors.

I have re-installed 20220117.1 and will update to see if that is still working when the car moves again. [confirmed: This version still updates correctly]

example error: Logger: bimmer_connected.account Source: /usr/local/lib/python3.9/site-packages/bimmer_connected/account.py:312 First occurred: 9:44:45 AM (1 occurrences) Last logged: 9:44:45 AM

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

MrFr33man123 commented 2 years ago

bumb same problem recognized.

mibo-wb-gh commented 2 years ago

BMW Connected Drive BETA / 20220401.1 Home Assistant 2022.3.8 BMW 330ex touring

Same problem here:

The My BMW App always shows the correct location Attached please find the error log regarding the "Find Vehicle" function

Error_Log_BMW_FindVehicle.txt

Yixi commented 2 years ago

Same problem..

rikroe commented 2 years ago

Thanks for reporting, both issues (device tracker not updating & unable to execute buttons) are fixed with the latest release ~20220410.2~ 20220410.2.

The 500 Server Error is happening on BMW side, there is nothing we can do about their APIs being unstable.

21Development commented 2 years ago

Thanks - Updated (needed HA restart) I will test next week.

It seemed like the 500 Server errors were as a consequence of there being API calls to unsupported features, i.e. there is no option in the iOS app to switch on/off AirCon but it became available here after 327 version. Other buttons that started showing after 327 were; “Flash Lights, Sound Horn, Find Vehicle & Refresh from cloud”

mibo-wb-gh commented 2 years ago

Thanks a million😉 Update via HACS worked without a problem. Will check the device tracker tomorrow.

Best Regards, Michael

-------- Ursprüngliche Nachricht -------- Von: rikroe @.> Datum: 10.04.22 18:57 (GMT+01:00) An: bimmerconnected/ha_custom_component @.> Cc: mibo-wb-gh @.>, Comment @.> Betreff: Re: [bimmerconnected/ha_custom_component] Not updating since 20220327.1 (Issue #35)

Thanks for reporting, both issues (device tracker not updating & unable to execute buttons) are fixed with the latest release 20220410.1https://github.com/bimmerconnected/ha_custom_component/releases/tag/20220410.1.

— Reply to this email directly, view it on GitHubhttps://github.com/bimmerconnected/ha_custom_component/issues/35#issuecomment-1094325997, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AU276TGWCH4S6JXCUS7L6DDVEMB4ZANCNFSM5SPFPLSA. You are receiving this because you commented.Message ID: @.***>

rikroe commented 2 years ago

Please also update to 20220410.4, as there were some other small bugs introduced.

And thanks for being beta testers :)

mibo-wb-gh commented 2 years ago

device_tracker is functioning again !

Thx, for all your hard work your putting into this !

Best Regards, Michael

Von: rikroe @.> Gesendet: Montag, 11. April 2022 09:38 An: bimmerconnected/ha_custom_component @.> Cc: mibo-wb-gh @.>; Comment @.> Betreff: Re: [bimmerconnected/ha_custom_component] Not updating since 20220327.1 (Issue #35)

Please also update to 20220410.4, as there were some other small bugs introduced.

And thanks for being beta testers :)

— Reply to this email directly, view it on GitHubhttps://github.com/bimmerconnected/ha_custom_component/issues/35#issuecomment-1094655959, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AU276TD3DSRG45ZKSKDE3OLVEPJERANCNFSM5SPFPLSA. You are receiving this because you commented.Message ID: @.**@.>>

mibo-wb-gh commented 2 years ago

What I noticed since yesterday , that the notify push message aren’t coming through.

It seems that Home Assistant send the message on the way, but they don’t get relayed into the car.

2022-04-11 19:38:57 DEBUG (SyncWorker_0) [custom_components.bmw_connected_drive.notify] Sending message to 330e xDrive 2022-04-11 19:39:44 DEBUG (SyncWorker_9) [custom_components.bmw_connected_drive.notify] Sending message to 330e xDrive 2022-04-11 19:43:06 DEBUG (SyncWorker_5) [custom_components.bmw_connected_drive.notify] Sending message to 330e xDrive 2022-04-12 09:21:07 DEBUG (SyncWorker_7) [custom_components.bmw_connected_drive.notify] Sending message to 330e xDrive 2022-04-12 09:24:44 DEBUG (SyncWorker_5) [custom_components.bmw_connected_drive.notify] Sending message to 330e xDrive

I use the notify method in automations to get the information that the garage door or the house door has been locked, e.g.

alias: Push Garagentor zu description: '' trigger:

Worked until Sunday without any problems.

Running Home Assistant 2022.3.8 / HACS BMW Connected Drive Custom Component 20220410.4

Best Regards, Michael

Mit freundlichen Grüßen / with best regards

Michael Bosch


Wir bieten Ihnen Lösungen für Ihre IT-Infrastruktur. Von der Erfassung der vorhandenen Anlage, über die Erarbeitung des Anforderungsprofils und der Umsetzung optimierter Strukturen. Wir setzen praxiserprobte Systemlösungen um, die auf Ihre Größe und Strukturen angepasst sind. Zu unseren Kernkompetenzen zählen die Virtualisierung, Datensicherheit und Datenschutz, E-Mail und Hosted Exchange, Fernwartungen und VPN sowie Server und PC Hardware, Telekommunikation und VoIP.


Computer Upgrade Store Zentrale Kreuz und Oehring GmbH & Co. KG Große Gasse 104 71101 Schönaich

Tel: 07031 2319133 (Geschäftskunden) Fax: 07031 2319150 Mail: @.**@.> Internet: www.upg.dehttp://www.upg.de/

R e g i s t e r g e r i c h t Amtsgericht Stuttgart HRA Nr.: 242471 Ust.Id.-Nr.: DE172 365 535

K o m p l e m e n t ä r i n Kreuz, Oehring und Bosch Beteiligungs GmbH Amtsgericht Stuttgart HRB Nr.: 245314

G e s c h ä f t s f ü h r u n g Gregor Kreuz Marcus Oehring Michael Bosch

Von: rikroe @.> Gesendet: Montag, 11. April 2022 09:38 An: bimmerconnected/ha_custom_component @.> Cc: mibo-wb-gh @.>; Comment @.> Betreff: Re: [bimmerconnected/ha_custom_component] Not updating since 20220327.1 (Issue #35)

Please also update to 20220410.4, as there were some other small bugs introduced.

And thanks for being beta testers :)

— Reply to this email directly, view it on GitHubhttps://github.com/bimmerconnected/ha_custom_component/issues/35#issuecomment-1094655959, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AU276TD3DSRG45ZKSKDE3OLVEPJERANCNFSM5SPFPLSA. You are receiving this because you commented.Message ID: @.**@.>>

rikroe commented 2 years ago

Closing this as the notify issue is tracked it #39

mibo-wb-gh commented 2 years ago

Update 20220410.4

@.***

Looks good !

At the moment my car has zero electric power left, that is why it shows „Unbekannt“ for „…remaining_range_electric“ and „…remaining_battery_percent“

It would be great if it showed „0 km“ and „0%“ but that would just be „nice to have“ 😊

Best Regards,

Michael

Von: rikroe @.> Gesendet: Montag, 11. April 2022 09:38 An: bimmerconnected/ha_custom_component @.> Cc: mibo-wb-gh @.>; Comment @.> Betreff: Re: [bimmerconnected/ha_custom_component] Not updating since 20220327.1 (Issue #35)

Please also update to 20220410.4, as there were some other small bugs introduced.

And thanks for being beta testers :)

— Reply to this email directly, view it on GitHubhttps://github.com/bimmerconnected/ha_custom_component/issues/35#issuecomment-1094655959, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AU276TD3DSRG45ZKSKDE3OLVEPJERANCNFSM5SPFPLSA. You are receiving this because you commented.Message ID: @.**@.>>