-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
120 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,4 @@ | ||
substitutions: | ||
friendly_name: "ESP32 Tesla BLE" | ||
devicename: "esp32-tesla-ble" | ||
device_description: "ESP32" | ||
|
||
esp32: | ||
board: esp32dev | ||
variant: esp32 | ||
flash_size: 4MB | ||
framework: | ||
type: esp-idf | ||
version: 5.3.0 | ||
platform_version: 6.8.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
substitutions: | ||
espidf_version: "5.3.0" | ||
platformio_version: "6.8.1" | ||
|
||
esp32: | ||
board: $board | ||
variant: $variant | ||
flash_size: $flash_size | ||
framework: | ||
type: esp-idf | ||
version: $espidf_version | ||
platform_version: $platformio_version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- components: [tesla_ble_vehicle, tesla_ble_listener] | ||
source: github://yoziru/esphome-tesla-ble/components@main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
external_components: | ||
- components: [tesla_ble_vehicle, tesla_ble_listener] | ||
source: components | ||
- components: [tesla_ble_vehicle, tesla_ble_listener] | ||
source: components |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
substitutions: | ||
tesla_vin: !secret tesla_vin | ||
|
||
# Enable this to scan for BLE devices | ||
tesla_ble_listener: | ||
vin: !secret tesla_vin | ||
vin: $tesla_vin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
esp32_ble_tracker: | ||
scan_parameters: | ||
# Depending on the model and state, BLE advertisements come every 20ms or every 150ms. | ||
interval: 150ms | ||
# Activate scan only after wifi connect, see https://github.com/esphome/issues/issues/2941#issuecomment-1842369092 | ||
continuous: false | ||
|
||
wifi: | ||
# Activate scan only after wifi connect, see https://github.com/esphome/issues/issues/2941#issuecomment-1842369092 | ||
on_connect: | ||
- esp32_ble_tracker.start_scan: | ||
continuous: true | ||
on_disconnect: | ||
- esp32_ble_tracker.stop_scan: |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<<: !include tesla-ble-esp32-generic.yml | ||
|
||
# override external_components to use the dashboard version | ||
external_components: !include packages/external_components.dashboard.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
external_components: !include packages/external_components.yml | ||
|
||
packages: | ||
device_base: !include boards/esp32-generic.yml | ||
base: !include packages/base.yml | ||
common: !include packages/common.yml | ||
device_base: !include boards/esp32-generic.yml | ||
client: !include packages/client.yml | ||
# listener: !include packages/listener.yml # Uncomment this to scan find your VIN BLE MAC address | ||
external_components: !include packages/external_components.yml | ||
|
||
dashboard_import: | ||
package_import_url: github://yoziru/esphome-tesla-ble/tesla-ble-dashboard.yml | ||
package_import_url: github://yoziru/esphome-tesla-ble/tesla-ble-esp32-generic.dashboard.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<<: !include tesla-ble-m5stack-atoms3.yml | ||
|
||
# override external_components to use the dashboard version | ||
external_components: !include packages/external_components.dashboard.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
external_components: !include packages/external_components.yml | ||
|
||
packages: | ||
device_base: !include boards/m5stack-atoms3.yml | ||
base: !include packages/base.yml | ||
common: !include packages/common.yml | ||
device_base: !include boards/m5stack-atoms3.yml | ||
client: !include packages/client.yml | ||
# listener: !include packages/listener.yml # Uncomment this to scan find your VIN BLE MAC address | ||
external_components: !include packages/external_components.yml | ||
# for ESPHome Dashboard, use this instead of external_components | ||
|
||
dashboard_import: | ||
package_import_url: github://yoziru/esphome-tesla-ble/tesla-ble-dashboard.yml | ||
package_import_url: github://yoziru/esphome-tesla-ble/tesla-ble-m5stack-atoms3.dashboard.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<<: !include tesla-ble-m5stack-nanoc6.yml | ||
|
||
# override external_components to use the dashboard version | ||
external_components: !include packages/external_components.dashboard.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
external_components: !include packages/external_components.yml | ||
|
||
packages: | ||
device_base: !include boards/m5stack-nanoc6.yml | ||
base: !include packages/base.yml | ||
common: !include packages/common.yml | ||
device_base: !include boards/m5stack-nanoc6.yml | ||
client: !include packages/client.yml | ||
# listener: !include packages/listener.yml # Uncomment this to scan find your VIN BLE MAC address | ||
external_components: !include packages/external_components.yml | ||
|
||
dashboard_import: | ||
package_import_url: github://yoziru/esphome-tesla-ble/tesla-ble-dashboard.yml | ||
package_import_url: github://yoziru/esphome-tesla-ble/tesla-ble-nanoc6.dashboard.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
substitutions: | ||
# all substitutions for this project | ||
espidf_version: 5.3.0 | ||
platformio_version: 6.8.1 | ||
friendly_name: Tesla BLE | ||
device_name: tesla-ble | ||
device_description: Tesla BLE | ||
board: esp32dev | ||
variant: esp32 | ||
flash_size: 4MB | ||
ble_mac_address: "A0:B1:C2:D3:E4:F5" # vehicle BLE MAC address | ||
tesla_vin: "5YJ30123456789ABC" # vehicle VIN | ||
charging_amps_max: "32" | ||
|
||
external_components: !include packages/external_components.dashboard.yml | ||
|
||
packages: | ||
base: !include packages/base.yml | ||
client: !include packages/client.yml | ||
common: !include packages/common.yml | ||
# listener: !include packages/listener.yml # Uncomment this to scan find your VIN BLE MAC address | ||
# for ESPHome Dashboard, use this instead of external_components | ||
|
||
dashboard_import: | ||
package_import_url: github://yoziru/esphome-tesla-ble/tesla-ble.example.yml |