yoziru / esphome-tesla-ble

Interact with Tesla vehicles over BLE using ESPHome and Home Assistant
GNU Affero General Public License v3.0
88 stars 17 forks source link

cant figure out how to compile the listener thing #60

Closed itiotdk closed 3 months ago

itiotdk commented 3 months ago

hi. the insctructions are unclear i need someone to explain excatly what to do. as there is nothing in base to change...

i can compile the final code. but i just dont get the listenser part and cant get my mac...

thanks. andy

janchrillesen commented 3 months ago

In the file packages/base.yml you need to add the following line under packages:

listener: !include listener.yml

After the addition the packages section will look like:

packages:
  board: !include board.yml
  common: !include common.yml
  project: !include project.yml
  listener: !include listener.yml
itiotdk commented 3 months ago

ok so i did that and uncommeted the listener line in tesla-ble-esp32-generic.yml, compiled and i get:

[W][ble_rssi_sensor:061]: [BLE Signal] Cannot poll, not connected

i feel stupid. ihave like 50 esphome devices but this confusses me as i usally use the esphome dashboard to compile...

i use a genecric esp32 wroom board and i used make clean after each edit to make sure nothing is cached

janchrillesen commented 3 months ago

Now make sure that the ESP is within BLE range of your vehicle and wake up the car (open the app on your phone) and you should see messages in the log with the MAC address of your vehicle

itiotdk commented 3 months ago

i am sitting in the car and using the big screen. maybe my car is to old. 2015 model s with mcu2 upgrade.

software version 2024.20.9.

itiotdk commented 3 months ago

and it seem that i wasted my time as the 2015 model s is not using BLE. just classic bluetooth.

i will close the door behind me...