Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hangs after receiving charging-set-amps CMD when car is not home #67

Open
hallsbyra opened this issue Dec 28, 2024 · 7 comments
Open

Hangs after receiving charging-set-amps CMD when car is not home #67

hallsbyra opened this issue Dec 28, 2024 · 7 comments

Comments

@hallsbyra
Copy link

I've used the BLE MQTT Docker with a Model 3 since its conception and it's been rock solid. A couple of weeks ago I replaced the Model 3 with a Model Y and since then I have experienced multiple "hangs" of the server.

When it is hanged it does not detect car presence (always OFF) nor reponds to MQTT commands.

After reviewing the logs from a couple of hangs, I believe this is what happens:

  1. Car is home. Everything works.
  2. Car leaves home. Presence OFF just as it should.
  3. While the car is gone, the server receives an MQTT charging-set-amps command. (Obviously a bug in my automation system, but hey, it shouldn't cause any trouble?)
  4. Server enters a loop trying to wake the car.
  5. After about 30 minutes, the server stops trying to wake the car.
  6. At this time the server is "hanged". When car comes home, presence is still OFF. When sending MQTT commands, server does not respond.

Here are my logs for the last time this happened.

#
# Car is home and everything is OK
#
2024-12-28T11:54:58.270465011Z vin:XXXXXXXXXXXXXXX ble_ln:xxxxxxxxxxxxxxxxxxx match:(xxxxxxxxxxxxxxxxxxx|XX:XX:XX:XX:XX:XX) presence detected
2024-12-28T11:57:08.689426194Z vin:XXXXXXXXXXXXXXX ble_ln:xxxxxxxxxxxxxxxxxxx match:(xxxxxxxxxxxxxxxxxxx|XX:XX:XX:XX:XX:XX) presence detected
2024-12-28T11:59:19.107579824Z vin:XXXXXXXXXXXXXXX ble_ln:xxxxxxxxxxxxxxxxxxx match:(xxxxxxxxxxxxxxxxxxx|XX:XX:XX:XX:XX:XX) presence detected
2024-12-28T12:01:29.524649071Z vin:XXXXXXXXXXXXXXX ble_ln:xxxxxxxxxxxxxxxxxxx match:(xxxxxxxxxxxxxxxxxxx|XX:XX:XX:XX:XX:XX) presence detected
#
# Car leaves home
#
2024-12-28T12:03:39.941065548Z vin:XXXXXXXXXXXXXXX ble_ln:xxxxxxxxxxxxxxxxxxx presence not expired
2024-12-28T12:05:50.357973012Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T12:08:00.796911236Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T12:10:11.226176503Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T12:12:21.655454838Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T12:14:32.084902503Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T12:16:42.514437730Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T12:18:52.988929567Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T12:21:03.422406496Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T12:23:13.851375179Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T12:25:24.279953304Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T12:27:34.708008779Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T12:29:45.138534771Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T12:31:55.566005066Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T12:34:05.994961370Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T12:36:16.428326689Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T12:38:26.855834889Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T12:40:37.286944052Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T12:42:47.717762499Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T12:44:58.146458432Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T12:47:08.575259238Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T12:49:19.002206277Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T12:51:29.438974742Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T12:53:39.875217083Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T12:55:50.309143360Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T12:58:00.738579712Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T13:00:11.167666345Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T13:02:21.595129916Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T13:04:32.032660869Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T13:06:42.463248430Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T13:08:52.893397127Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T13:11:03.325021445Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T13:13:13.755417150Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T13:15:24.184643551Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T13:17:34.614514791Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T13:19:45.043526621Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T13:21:55.473417834Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T13:24:05.911243328Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T13:26:16.340535180Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T13:28:26.766529447Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T13:30:37.201658074Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T13:32:47.632243788Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T13:34:58.059401534Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T13:37:08.491658119Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T13:39:18.960713117Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T13:41:29.389706604Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T13:43:39.819020935Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T13:45:50.248640446Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T13:48:00.677674754Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T13:50:11.106053669Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T13:52:21.534559015Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T13:54:31.962783840Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T13:56:42.392383700Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T13:58:52.823373627Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T14:01:03.255498068Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T14:03:13.685746865Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T14:05:24.118040980Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T14:07:34.546038260Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T14:09:44.975820630Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T14:11:55.404318633Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T14:14:05.834610854Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T14:16:16.264842238Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T14:18:26.693886639Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T14:20:37.122248106Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T14:22:47.550921516Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T14:24:57.985577767Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T14:27:08.415393539Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T14:29:18.844881469Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T14:31:29.282098581Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T14:33:39.717718047Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T14:35:50.147703977Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T14:38:00.575670378Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T14:40:11.004489386Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T14:42:21.432704468Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T14:44:31.870495218Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T14:46:42.301444552Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T14:48:52.729516382Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T14:51:03.160186253Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T14:53:13.590372486Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T14:55:24.020628255Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T14:57:34.451206870Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T14:59:44.921423134Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T15:01:55.361091024Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T15:04:05.790106105Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T15:06:16.220468810Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T15:08:26.650030186Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T15:10:37.080528925Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T15:12:47.516937492Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T15:14:57.946683527Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T15:17:08.377054462Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T15:19:18.808457700Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T15:21:29.235593456Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T15:23:39.665097552Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF

#
# Spurious command received from my home automation system.
#

2024-12-28T15:23:48.090973665Z Received MQTT message; topic:tesla_ble/XXXXXXXXXXXXXXX/charging-set-amps msg:7 vin:XXXXXXXXXXXXXXX cmd:charging-set-amps
2024-12-28T15:23:48.091505646Z Attempt 1/5 sending Set charging Amps to 7 to vin:XXXXXXXXXXXXXXX command:charging-set-amps 7
2024-12-28T15:24:08.101629410Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:24:08.101668132Z Vehicle might be asleep
2024-12-28T15:24:08.101675725Z Trying to wake up car then launch the command again
2024-12-28T15:24:08.102273205Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:24:28.116981485Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:24:28.117031596Z Vehicle might be asleep
2024-12-28T15:24:28.117039911Z Trying to wake up car then launch the command again
2024-12-28T15:24:28.117664743Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:24:48.133910712Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:24:48.133954546Z Vehicle might be asleep
2024-12-28T15:24:48.133962472Z Trying to wake up car then launch the command again
2024-12-28T15:24:48.134910970Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:25:08.151840834Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:25:08.151892408Z Vehicle might be asleep
2024-12-28T15:25:08.151901371Z Trying to wake up car then launch the command again
2024-12-28T15:25:08.152623462Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:25:28.169501538Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:25:28.169552649Z Vehicle might be asleep
2024-12-28T15:25:28.169561649Z Trying to wake up car then launch the command again
2024-12-28T15:25:28.170602277Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:25:48.181094241Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:25:48.181139334Z Vehicle might be asleep
2024-12-28T15:25:48.181147037Z Trying to wake up car then launch the command again
2024-12-28T15:25:48.182947257Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:25:50.089103667Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T15:26:08.191300345Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:26:08.191358364Z Vehicle might be asleep
2024-12-28T15:26:08.191371327Z Trying to wake up car then launch the command again
2024-12-28T15:26:08.192083918Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:26:28.198770039Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:26:28.198818409Z Vehicle might be asleep
2024-12-28T15:26:28.198826465Z Trying to wake up car then launch the command again
2024-12-28T15:26:28.200272574Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:26:48.208797704Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:26:48.208840055Z Vehicle might be asleep
2024-12-28T15:26:48.208848241Z Trying to wake up car then launch the command again
2024-12-28T15:26:48.209586128Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:27:08.218169365Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:27:08.218224809Z Vehicle might be asleep
2024-12-28T15:27:08.218233624Z Trying to wake up car then launch the command again
2024-12-28T15:27:08.218814234Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:27:28.235727084Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:27:28.235775102Z Vehicle might be asleep
2024-12-28T15:27:28.235784991Z Trying to wake up car then launch the command again
2024-12-28T15:27:28.237003212Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:27:48.245036125Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:27:48.245091570Z Vehicle might be asleep
2024-12-28T15:27:48.245101218Z Trying to wake up car then launch the command again
2024-12-28T15:27:48.245790606Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:28:00.513496808Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T15:28:08.261435506Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:28:08.261486302Z Vehicle might be asleep
2024-12-28T15:28:08.261493247Z Trying to wake up car then launch the command again
2024-12-28T15:28:08.262268227Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:28:28.277896200Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:28:28.277947941Z Vehicle might be asleep
2024-12-28T15:28:28.277957367Z Trying to wake up car then launch the command again
2024-12-28T15:28:28.280255512Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:28:48.285433757Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:28:48.285490998Z Vehicle might be asleep
2024-12-28T15:28:48.285503572Z Trying to wake up car then launch the command again
2024-12-28T15:28:48.286420756Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:29:08.298194788Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:29:08.298246492Z Vehicle might be asleep
2024-12-28T15:29:08.298254288Z Trying to wake up car then launch the command again
2024-12-28T15:29:08.299874397Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:29:28.309876655Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:29:28.309924951Z Vehicle might be asleep
2024-12-28T15:29:28.309934266Z Trying to wake up car then launch the command again
2024-12-28T15:29:28.311643671Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:29:48.327861236Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:29:48.327947902Z Vehicle might be asleep
2024-12-28T15:29:48.327961735Z Trying to wake up car then launch the command again
2024-12-28T15:29:48.328926160Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:30:08.335876146Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:30:08.335924535Z Vehicle might be asleep
2024-12-28T15:30:08.335962276Z Trying to wake up car then launch the command again
2024-12-28T15:30:08.336590738Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:30:10.938369509Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T15:30:28.345763076Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:30:28.345815909Z Vehicle might be asleep
2024-12-28T15:30:28.345823168Z Trying to wake up car then launch the command again
2024-12-28T15:30:28.346506186Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:30:48.363246591Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:30:48.363298109Z Vehicle might be asleep
2024-12-28T15:30:48.363306905Z Trying to wake up car then launch the command again
2024-12-28T15:30:48.364095238Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:31:08.382407865Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:31:08.382458495Z Vehicle might be asleep
2024-12-28T15:31:08.382468976Z Trying to wake up car then launch the command again
2024-12-28T15:31:08.383283457Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:31:28.389934179Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:31:28.389985383Z Vehicle might be asleep
2024-12-28T15:31:28.389995087Z Trying to wake up car then launch the command again
2024-12-28T15:31:28.390819752Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:31:48.406503022Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:31:48.406551744Z Vehicle might be asleep
2024-12-28T15:31:48.406561151Z Trying to wake up car then launch the command again
2024-12-28T15:31:48.407305965Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:32:08.426752012Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:32:08.426804420Z Vehicle might be asleep
2024-12-28T15:32:08.426814253Z Trying to wake up car then launch the command again
2024-12-28T15:32:08.428119084Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:32:21.361284065Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T15:32:28.442534942Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:32:28.442578757Z Vehicle might be asleep
2024-12-28T15:32:28.442584701Z Trying to wake up car then launch the command again
2024-12-28T15:32:28.443329941Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:32:48.459703894Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:32:48.459759561Z Vehicle might be asleep
2024-12-28T15:32:48.459771061Z Trying to wake up car then launch the command again
2024-12-28T15:32:48.460617615Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:33:08.468444735Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:33:08.468493235Z Vehicle might be asleep
2024-12-28T15:33:08.468501235Z Trying to wake up car then launch the command again
2024-12-28T15:33:08.469371919Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:33:28.485122040Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:33:28.485175355Z Vehicle might be asleep
2024-12-28T15:33:28.485184133Z Trying to wake up car then launch the command again
2024-12-28T15:33:28.485907187Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:33:48.497908166Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:33:48.497956314Z Vehicle might be asleep
2024-12-28T15:33:48.497963702Z Trying to wake up car then launch the command again
2024-12-28T15:33:48.498965256Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:34:08.507775717Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:34:08.508517993Z Vehicle might be asleep
2024-12-28T15:34:08.508554271Z Trying to wake up car then launch the command again
2024-12-28T15:34:08.508833993Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:34:28.516001540Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:34:28.516054781Z Vehicle might be asleep
2024-12-28T15:34:28.516063540Z Trying to wake up car then launch the command again
2024-12-28T15:34:28.517583908Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:34:31.785706164Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T15:34:48.523792075Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:34:48.523841020Z Vehicle might be asleep
2024-12-28T15:34:48.523856983Z Trying to wake up car then launch the command again
2024-12-28T15:34:48.525044259Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:35:08.541658416Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:35:08.541711730Z Vehicle might be asleep
2024-12-28T15:35:08.541822804Z Trying to wake up car then launch the command again
2024-12-28T15:35:08.542207470Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:35:28.557766485Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:35:28.557815577Z Vehicle might be asleep
2024-12-28T15:35:28.557825503Z Trying to wake up car then launch the command again
2024-12-28T15:35:28.558524502Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:35:48.574396220Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:35:48.574446831Z Vehicle might be asleep
2024-12-28T15:35:48.574456776Z Trying to wake up car then launch the command again
2024-12-28T15:35:48.575788625Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:36:08.592461860Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:36:08.592502175Z Vehicle might be asleep
2024-12-28T15:36:08.592509119Z Trying to wake up car then launch the command again
2024-12-28T15:36:08.593314822Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:36:28.608936277Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:36:28.608975314Z Vehicle might be asleep
2024-12-28T15:36:28.608982166Z Trying to wake up car then launch the command again
2024-12-28T15:36:28.609350813Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:36:42.209332387Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T15:36:48.615575648Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:36:48.615629259Z Vehicle might be asleep
2024-12-28T15:36:48.615636407Z Trying to wake up car then launch the command again
2024-12-28T15:36:48.617225219Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:37:08.623727954Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:37:08.623790880Z Vehicle might be asleep
2024-12-28T15:37:08.623801435Z Trying to wake up car then launch the command again
2024-12-28T15:37:08.624845674Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:37:28.639221110Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:37:28.639280536Z Vehicle might be asleep
2024-12-28T15:37:28.639325369Z Trying to wake up car then launch the command again
2024-12-28T15:37:28.640078312Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:37:48.649223042Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:37:48.650598947Z Vehicle might be asleep
2024-12-28T15:37:48.650638965Z Trying to wake up car then launch the command again
2024-12-28T15:37:48.650646965Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:38:08.665985765Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:38:08.666096117Z Vehicle might be asleep
2024-12-28T15:38:08.666113246Z Trying to wake up car then launch the command again
2024-12-28T15:38:08.666902653Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:38:28.682486938Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:38:28.682541512Z Vehicle might be asleep
2024-12-28T15:38:28.682549901Z Trying to wake up car then launch the command again
2024-12-28T15:38:28.683562917Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:38:48.699228168Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:38:48.699265039Z Vehicle might be asleep
2024-12-28T15:38:48.699271279Z Trying to wake up car then launch the command again
2024-12-28T15:38:48.699718594Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:38:52.643288205Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T15:39:08.709633984Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:39:08.709676187Z Vehicle might be asleep
2024-12-28T15:39:08.709682428Z Trying to wake up car then launch the command again
2024-12-28T15:39:08.711362185Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:39:28.717425433Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:39:28.717476433Z Vehicle might be asleep
2024-12-28T15:39:28.717485470Z Trying to wake up car then launch the command again
2024-12-28T15:39:28.719134486Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:39:48.735654050Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:39:48.736525622Z Vehicle might be asleep
2024-12-28T15:39:48.736561956Z Trying to wake up car then launch the command again
2024-12-28T15:39:48.737557658Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:40:08.745930657Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:40:08.745991453Z Vehicle might be asleep
2024-12-28T15:40:08.746001564Z Trying to wake up car then launch the command again
2024-12-28T15:40:08.746775397Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:40:28.763667212Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:40:28.764549451Z Vehicle might be asleep
2024-12-28T15:40:28.764572692Z Trying to wake up car then launch the command again
2024-12-28T15:40:28.766156078Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:40:48.773845568Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:40:48.774075142Z Vehicle might be asleep
2024-12-28T15:40:48.774127864Z Trying to wake up car then launch the command again
2024-12-28T15:40:48.774794345Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:41:03.069248306Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T15:41:08.792274109Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:41:08.792325424Z Vehicle might be asleep
2024-12-28T15:41:08.792341017Z Trying to wake up car then launch the command again
2024-12-28T15:41:08.793194941Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:41:28.808820591Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:41:28.808870091Z Vehicle might be asleep
2024-12-28T15:41:28.808880461Z Trying to wake up car then launch the command again
2024-12-28T15:41:28.810912921Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:41:48.825944617Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:41:48.825994968Z Vehicle might be asleep
2024-12-28T15:41:48.826002228Z Trying to wake up car then launch the command again
2024-12-28T15:41:48.826920189Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:42:08.843753558Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:42:08.843810373Z Vehicle might be asleep
2024-12-28T15:42:08.843823188Z Trying to wake up car then launch the command again
2024-12-28T15:42:08.844547686Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:42:28.854957424Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:42:28.855002238Z Vehicle might be asleep
2024-12-28T15:42:28.855011461Z Trying to wake up car then launch the command again
2024-12-28T15:42:28.856318181Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:42:48.863352930Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:42:48.863556670Z Vehicle might be asleep
2024-12-28T15:42:48.863565818Z Trying to wake up car then launch the command again
2024-12-28T15:42:48.863673133Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:43:08.873401753Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:43:08.873454439Z Vehicle might be asleep
2024-12-28T15:43:08.873462642Z Trying to wake up car then launch the command again
2024-12-28T15:43:08.874414807Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:43:13.493958203Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T15:43:28.892199920Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:43:28.892252549Z Vehicle might be asleep
2024-12-28T15:43:28.892260123Z Trying to wake up car then launch the command again
2024-12-28T15:43:28.893042863Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:43:48.909931944Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:43:48.909983296Z Vehicle might be asleep
2024-12-28T15:43:48.909991777Z Trying to wake up car then launch the command again
2024-12-28T15:43:48.911082313Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:44:08.927594230Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:44:08.927646193Z Vehicle might be asleep
2024-12-28T15:44:08.927655878Z Trying to wake up car then launch the command again
2024-12-28T15:44:08.929101747Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:44:28.945406592Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:44:28.945453074Z Vehicle might be asleep
2024-12-28T15:44:28.945461222Z Trying to wake up car then launch the command again
2024-12-28T15:44:28.946153276Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:44:48.956840835Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:44:48.956893095Z Vehicle might be asleep
2024-12-28T15:44:48.956901169Z Trying to wake up car then launch the command again
2024-12-28T15:44:48.958443555Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:45:08.974542533Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:45:08.974589014Z Vehicle might be asleep
2024-12-28T15:45:08.974597755Z Trying to wake up car then launch the command again
2024-12-28T15:45:08.975156884Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:45:23.917983223Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T15:45:28.990822380Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:45:28.990876602Z Vehicle might be asleep
2024-12-28T15:45:28.990888750Z Trying to wake up car then launch the command again
2024-12-28T15:45:28.991698878Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:45:49.011732478Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:45:49.011777070Z Vehicle might be asleep
2024-12-28T15:45:49.011784311Z Trying to wake up car then launch the command again
2024-12-28T15:45:49.012167792Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:46:09.023786681Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:46:09.024467624Z Vehicle might be asleep
2024-12-28T15:46:09.024493883Z Trying to wake up car then launch the command again
2024-12-28T15:46:09.026311362Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:46:29.043793777Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:46:29.043838925Z Vehicle might be asleep
2024-12-28T15:46:29.043847332Z Trying to wake up car then launch the command again
2024-12-28T15:46:29.044687590Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:46:49.062231594Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:46:49.062286520Z Vehicle might be asleep
2024-12-28T15:46:49.062294501Z Trying to wake up car then launch the command again
2024-12-28T15:46:49.062587667Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:47:09.069772053Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:47:09.069861534Z Vehicle might be asleep
2024-12-28T15:47:09.069874738Z Trying to wake up car then launch the command again
2024-12-28T15:47:09.070769422Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:47:29.087366308Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:47:29.087417216Z Vehicle might be asleep
2024-12-28T15:47:29.087425253Z Trying to wake up car then launch the command again
2024-12-28T15:47:29.088110141Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:47:34.343150144Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T15:47:49.097638589Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:47:49.097688496Z Vehicle might be asleep
2024-12-28T15:47:49.097715700Z Trying to wake up car then launch the command again
2024-12-28T15:47:49.099201939Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:48:09.108404826Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:48:09.108445530Z Vehicle might be asleep
2024-12-28T15:48:09.108452437Z Trying to wake up car then launch the command again
2024-12-28T15:48:09.108661215Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:48:29.119498131Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:48:29.119552372Z Vehicle might be asleep
2024-12-28T15:48:29.119563223Z Trying to wake up car then launch the command again
2024-12-28T15:48:29.120239463Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:48:49.136841253Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:48:49.136886050Z Vehicle might be asleep
2024-12-28T15:48:49.136894235Z Trying to wake up car then launch the command again
2024-12-28T15:48:49.137817826Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:49:09.155243016Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:49:09.155288609Z Vehicle might be asleep
2024-12-28T15:49:09.155296035Z Trying to wake up car then launch the command again
2024-12-28T15:49:09.155679867Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:49:29.166252746Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:49:29.166302413Z Vehicle might be asleep
2024-12-28T15:49:29.166312932Z Trying to wake up car then launch the command again
2024-12-28T15:49:29.167046616Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:49:44.767120189Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T15:49:49.186469103Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:49:49.186508973Z Vehicle might be asleep
2024-12-28T15:49:49.186517751Z Trying to wake up car then launch the command again
2024-12-28T15:49:49.188033360Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:50:09.198006204Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:50:09.198053704Z Vehicle might be asleep
2024-12-28T15:50:09.198062445Z Trying to wake up car then launch the command again
2024-12-28T15:50:09.198840796Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:50:29.215829066Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:50:29.215876399Z Vehicle might be asleep
2024-12-28T15:50:29.215883121Z Trying to wake up car then launch the command again
2024-12-28T15:50:29.216583602Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:50:49.232204143Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:50:49.232252069Z Vehicle might be asleep
2024-12-28T15:50:49.232261180Z Trying to wake up car then launch the command again
2024-12-28T15:50:49.233378308Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:51:09.241952110Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:51:09.242078240Z Vehicle might be asleep
2024-12-28T15:51:09.242091129Z Trying to wake up car then launch the command again
2024-12-28T15:51:09.243184849Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:51:29.259334576Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:51:29.259378780Z Vehicle might be asleep
2024-12-28T15:51:29.259387613Z Trying to wake up car then launch the command again
2024-12-28T15:51:29.260566611Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:51:49.270947688Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:51:49.270984725Z Vehicle might be asleep
2024-12-28T15:51:49.270991466Z Trying to wake up car then launch the command again
2024-12-28T15:51:49.272052094Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:51:55.191178408Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T15:52:09.287923356Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:52:09.288778503Z Vehicle might be asleep
2024-12-28T15:52:09.288805448Z Trying to wake up car then launch the command again
2024-12-28T15:52:09.289999853Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:52:29.300165594Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:52:29.300212131Z Vehicle might be asleep
2024-12-28T15:52:29.300221983Z Trying to wake up car then launch the command again
2024-12-28T15:52:29.302030054Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:52:49.308525160Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:52:49.308583104Z Vehicle might be asleep
2024-12-28T15:52:49.308593364Z Trying to wake up car then launch the command again
2024-12-28T15:52:49.309385159Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:53:09.326499422Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:53:09.326552256Z Vehicle might be asleep
2024-12-28T15:53:09.326560089Z Trying to wake up car then launch the command again
2024-12-28T15:53:09.327164922Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:53:29.344114267Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:53:29.344173045Z Vehicle might be asleep
2024-12-28T15:53:29.344199545Z Trying to wake up car then launch the command again
2024-12-28T15:53:29.344689248Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:53:49.361623138Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:53:49.361673786Z Vehicle might be asleep
2024-12-28T15:53:49.361682842Z Trying to wake up car then launch the command again
2024-12-28T15:53:49.363359265Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:54:05.615792162Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T15:54:09.371660971Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:54:09.371703786Z Vehicle might be asleep
2024-12-28T15:54:09.371713841Z Trying to wake up car then launch the command again
2024-12-28T15:54:09.373005024Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:54:29.380086351Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:54:29.380135499Z Vehicle might be asleep
2024-12-28T15:54:29.380149110Z Trying to wake up car then launch the command again
2024-12-28T15:54:29.381024942Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:54:49.387861348Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:54:49.387896978Z Vehicle might be asleep
2024-12-28T15:54:49.387903422Z Trying to wake up car then launch the command again
2024-12-28T15:54:49.388113162Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:55:09.396882257Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:55:09.396921460Z Vehicle might be asleep
2024-12-28T15:55:09.396929219Z Trying to wake up car then launch the command again
2024-12-28T15:55:09.397934051Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:55:29.412928085Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:55:29.412972400Z Vehicle might be asleep
2024-12-28T15:55:29.412981270Z Trying to wake up car then launch the command again
2024-12-28T15:55:29.414755416Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:55:49.431934785Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:55:49.431987526Z Vehicle might be asleep
2024-12-28T15:55:49.431997859Z Trying to wake up car then launch the command again
2024-12-28T15:55:49.432629155Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:56:09.448441050Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:56:09.448503068Z Vehicle might be asleep
2024-12-28T15:56:09.448511994Z Trying to wake up car then launch the command again
2024-12-28T15:56:09.449069697Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:56:16.039983468Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T15:56:29.466197705Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:56:29.466245613Z Vehicle might be asleep
2024-12-28T15:56:29.466255242Z Trying to wake up car then launch the command again
2024-12-28T15:56:29.467353519Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:56:49.484193014Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:56:49.484235348Z Vehicle might be asleep
2024-12-28T15:56:49.484243200Z Trying to wake up car then launch the command again
2024-12-28T15:56:49.484626199Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:57:09.492886268Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:57:09.492937046Z Vehicle might be asleep
2024-12-28T15:57:09.492945583Z Trying to wake up car then launch the command again
2024-12-28T15:57:09.493647323Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:57:29.504354226Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:57:29.504415004Z Vehicle might be asleep
2024-12-28T15:57:29.504424485Z Trying to wake up car then launch the command again
2024-12-28T15:57:29.505050781Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:57:49.519980590Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:57:49.520034071Z Vehicle might be asleep
2024-12-28T15:57:49.520043867Z Trying to wake up car then launch the command again
2024-12-28T15:57:49.521154607Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:58:09.528670301Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:58:09.528721894Z Vehicle might be asleep
2024-12-28T15:58:09.528730875Z Trying to wake up car then launch the command again
2024-12-28T15:58:09.529397504Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:58:26.464925519Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T15:58:29.537937423Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:58:29.537980609Z Vehicle might be asleep
2024-12-28T15:58:29.537987627Z Trying to wake up car then launch the command again
2024-12-28T15:58:29.538544515Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:58:49.554326632Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:58:49.554362706Z Vehicle might be asleep
2024-12-28T15:58:49.554369151Z Trying to wake up car then launch the command again
2024-12-28T15:58:49.554705410Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:59:09.570579141Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:59:09.570634585Z Vehicle might be asleep
2024-12-28T15:59:09.570645363Z Trying to wake up car then launch the command again
2024-12-28T15:59:09.571583658Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:59:29.581482957Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:59:29.581515254Z Vehicle might be asleep
2024-12-28T15:59:29.581522161Z Trying to wake up car then launch the command again
2024-12-28T15:59:29.581773957Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T15:59:49.598290360Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T15:59:49.598352471Z Vehicle might be asleep
2024-12-28T15:59:49.598364693Z Trying to wake up car then launch the command again
2024-12-28T15:59:49.599481840Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T16:00:09.607256112Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T16:00:09.607312482Z Vehicle might be asleep
2024-12-28T16:00:09.607322704Z Trying to wake up car then launch the command again
2024-12-28T16:00:09.608791332Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T16:00:29.623824614Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T16:00:29.623881707Z Vehicle might be asleep
2024-12-28T16:00:29.623892207Z Trying to wake up car then launch the command again
2024-12-28T16:00:29.624800150Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T16:00:36.887587705Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T16:00:49.642176635Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T16:00:49.642244006Z Vehicle might be asleep
2024-12-28T16:00:49.642256395Z Trying to wake up car then launch the command again
2024-12-28T16:00:49.642261728Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T16:01:09.660861158Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T16:01:09.660918529Z Vehicle might be asleep
2024-12-28T16:01:09.660937621Z Trying to wake up car then launch the command again
2024-12-28T16:01:09.660958825Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T16:01:29.677062558Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T16:01:29.677114855Z Vehicle might be asleep
2024-12-28T16:01:29.677122225Z Trying to wake up car then launch the command again
2024-12-28T16:01:29.677897391Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T16:01:49.686906915Z teslaCtrlSendCommand; Error: context deadline exceeded
2024-12-28T16:01:49.686960433Z Vehicle might be asleep
2024-12-28T16:01:49.686972137Z Trying to wake up car then launch the command again
2024-12-28T16:01:49.687164378Z Attempt 1/5 sending Wake up vehicule to vin:XXXXXXXXXXXXXXX command:-domain vcsec wake
2024-12-28T16:02:47.319251221Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T16:04:57.742884383Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T16:07:08.174243188Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T16:09:18.598995271Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
2024-12-28T16:11:29.021228647Z vin:XXXXXXXXXXXXXXX presence has expired, set presence OFF
...
#
# The server is now "hanged". It goes on setting presence to OFF every 2 minutes, but it does not detect the car
# returning home, nor react to further MQTT commands.
#

@iainbullock
Copy link
Collaborator

Useful information thanks.

According to comments in the code it might be possible to get stuck like this. I'm currently working on a new release which will add reading of state functionality. I might not get time for a while to look at this issue. @baylanger Pierre do you have time to look at it?

Why it happens on your new car not your old is a mystery.

@hallsbyra
Copy link
Author

Why it happens on your new car not your old is a mystery.

Might very well be my own mistake. When switching cars I also reconfigured a lot in Home Assistant. Might (even likely when I think about it) be that this scenario (sending charging-set-amps when not home) never occurred before.

I'll work around by fixing "my" bug in HA. Just wanted you to know so you can make your server resilient to this scenario.

@raphmur
Copy link
Contributor

raphmur commented Jan 4, 2025

@iainbullock could you implement the "failsafe" mode with reading the stdout of teslaCtrlSendCommand?
@hallsbyra I use a condition "car is home" in my automation. workaround that works...

@iainbullock
Copy link
Collaborator

Raphael What's the failsafe mode sorry?

You can definately cause the system to hang by continuing to send commands if the car is away as the timeouts are long and repeat several times, there is soon a massive backlog of commands which I believe eventually causes a crash or the bluetooth to hang

@raphmur
Copy link
Contributor

raphmur commented Jan 12, 2025

I suggest, in the sendCommand code to:
1/ Try to send the command...
2/ If an error is received (BLE beacon ...), then try to wake (which is what is done now)
3/ If it fails again, try "bodyControllerState" and see if this command answers. Display message pending the answer:

  • car is probably out of range, cannot be reached (no success of wake, no feedback from bodyControllerState) and stop the loop
  • car is there (bodyControllerState succeeded) but cannot be woken up. Though I doubt it happens. and stop the loop

@iainbullock
Copy link
Collaborator

Ah right I see what you mean. As per my comment in the PR tesla-local-control/tesla_ble_mqtt_core#141 (review)

I think we should rewrite this function. You will notice I copied and did a partial re-write to support reading of state see sendBLECommand() function in read-state.sh.

More work required and it depends on the success of body-controller-state in actual use. I'd prefer to release now without changing it yet, see what feedback we get, then introduce in a future release. What do you think?

@iainbullock
Copy link
Collaborator

I have implemented changes in v0.4.3b-dev which is on DockerHub. Main changes are robustness improvements, see the CHANGELOG., also tesla-local-control/tesla_ble_mqtt_core#142

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants