bimmerconnected / ha_custom_component

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

Notify Push Messages into the car are not working since 20220410.4 #39

Closed mibo-wb-gh closed 2 years ago

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:

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

rikroe commented 2 years ago

With MyBMW it is unfortunatly not possible to send normal "text messages" anymore. That shouldn't be possible since around November 2021.

mibo-wb-gh commented 2 years ago

That why I am sending POI ! Here one oft he automations I use, with the notify.bmw_c…… I always send LAT and LON with it so it pops up like a travel destination and the message states Garage Closed, Door Locked etc.

alias: Push Garagentor zu description: '' trigger:

rikroe commented 2 years ago

Hi Michael,

I did remove something in the SendPoi functionality when converting it to async. Although I thought I tested it and it didn't work. Will check tomorrow or friday, not sure when I have time to send a couple of tests to the car.

rikroe commented 2 years ago

Unfortunately, I am unable to reproduce your issue on my car...

Using 20220410.4, I did send multiple values through Home Assistant, e.g.:

service: notify.bmw_connected_drive_320d_xdrive
data:
  message: Garage Zu
  title: WB HA
  data:
    location:
      latitude: xx.xxxxx
      longitude: x.xxxx

And all showed up in the car as desired (notice it's only the message, not the title): image

rikroe commented 2 years ago

Is this still an issue with the latest custom component?

mibo-wb-gh commented 2 years ago

Issue is resolved!

Best Regards, Michael

-------- Ursprüngliche Nachricht -------- Von: rikroe @.> Datum: 24.05.22 22:12 (GMT+01:00) An: bimmerconnected/ha_custom_component @.> Cc: mibo-wb-gh @.>, Author @.> Betreff: Re: [bimmerconnected/ha_custom_component] Notify Push Messages into the car are not working since 20220410.4 (Issue #39)

Is this still an issue with the latest custom component?

— Reply to this email directly, view it on GitHubhttps://github.com/bimmerconnected/ha_custom_component/issues/39#issuecomment-1136386296, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AU276TGGJVISXNEZI6UK32DVLUZYVANCNFSM5TF22WIA. You are receiving this because you authored the thread.Message ID: @.***>