2025年1月19日星期日 上午10:37:59

ESPHome install esp32-bluetooth-proxy-58d270.yaml on your device - via WireLessly

4 个月 前
#46529 引用
esp32-bluetooth-proxy-58d270.yaml

board: esp32dev; framework: espidf; platform: platformio/[email protected]



https://esphome.io/projects/?type=bluetooth

The YAML configuration is on GitHub:https://github.com/esphome/bluetooth-proxies/blob/main/esp32-generic/esp32-generic.yaml

Useful links
https://www.simplysmart.house/blog/bluetooth-proxy-home-assistant-epshome
0
2 个月 前
#47717 引用
Discoved


Take Control
Taking control of Bluetooth Proxy 58d270 will create a local ESPHome configuration for this device. This gives you full control over the configuration. You will lose access to vendor-provided firmware updates and will have to manually compile and update the device in the ESPHome dashboard. You can always revert to vendor-provided updates, but this will require re-installing the device.




Configuration created
To finish taking control of Bluetooth Proxy 58d270, the new configuration needs to be installed on the device.


配置文件需要重新写入到esp32

install esphome-web-58d270.yaml on your device - via WireLessly



Compiling .pioenvs/esphome-esp32-58d270/FrameworkArduino/wiring_shift.c.o
Archiving .pioenvs/esphome-esp32-58d270/libFrameworkArduino.a
Linking .pioenvs/esphome-esp32-58d270/firmware.elf
RAM:   [==        ]  16.1% (used 52824 bytes from 327680 bytes)
Flash: [========= ]  85.5% (used 1568429 bytes from 1835008 bytes)
Building .pioenvs/esphome-esp32-58d270/firmware.bin
Creating esp32 image...
Successfully created esp32 image.
esp32_create_combined_bin([".pioenvs/esphome-esp32-58d270/firmware.bin"], [".pioenvs/esphome-esp32-58d270/firmware.elf"])
Wrote 0x190540 bytes to file /data/build/esphome-esp32-58d270/.pioenvs/esphome-esp32-58d270/firmware.factory.bin, ready to flash to offset 0x0
esp32_copy_ota_bin([".pioenvs/esphome-esp32-58d270/firmware.bin"], [".pioenvs/esphome-esp32-58d270/firmware.elf"])
======================== [SUCCESS] Took 212.15 seconds ========================

********************************************************************************
We found 1.04GB of unnecessary PlatformIO system data (temporary files, unnecessary packages, etc.).
Use `pio system prune --dry-run` to list them or `pio system prune` to save disk space.
INFO Successfully compiled program.
INFO Connecting to 192.168.2.123
INFO Uploading /data/build/esphome-esp32-58d270/.pioenvs/esphome-esp32-58d270/firmware.bin (1574208 bytes)


0
1 个月 前
#55804 引用
packages:
  #  shorthand form github://username/repository/[folder/]file-path.yml[@branch-or-tag]
  # https://github.com/esphome/bluetooth-proxies/blob/main/esp32-generic/esp32-generic.yaml
  esphome.bluetooth-proxy: github://esphome/bluetooth-proxies/esp32-generic/esp32-generic.yaml@main




https://github.com/esphome/bluetooth-proxies/blob/main/esp32-generic/esp32-generic.yaml
0
3 天 前
#60034 引用
run ok

esphome:
  name: esp32-bluetooth-proxy-58d270
  friendly_name: Bluetooth Proxy
  min_version: 2024.6.0
  name_add_mac_suffix: true

esp32:
  board: esp32dev
  framework:
    type: esp-idf

wifi:
  ap:

api:
logger:

ota:
  - platform: esphome
    id: ota_esphome

esp32_ble_tracker:
  scan_parameters:
    # We currently use the defaults to ensure Bluetooth
    # can co-exist with WiFi In the future we may be able to
    # enable the built-in coexistence logic in ESP-IDF
    active: true

bluetooth_proxy:
  active: true

button:
  - platform: safe_mode
    id: button_safe_mode
    name: Safe Mode Boot

  - platform: factory_reset
    id: factory_reset_btn
    name: Factory reset



come from:https://github.com/esphome/bluetooth-proxies/blob/main/esp32-generic/esp32-generic.yaml
0
3 天 前
#60035 引用
202501

INFO ESPHome 2024.12.2
INFO Reading configuration /config/esphome/bluetooth-proxy-58d270.yaml...
INFO Generating C++ source...
INFO Updating https://github.com/espressif/[email protected]
INFO Compiling app...
Processing bluetooth-proxy-58d270 (board: esp32dev; framework: espidf; platform: https://github.com/pioarduino/platform-espressif32.git#51.03.07)
--------------------------------------------------------------------------------
Platform Manager: Installing git+https://github.com/pioarduino/platform-espressif32.git#51.03.07
INFO Installing git+https://github.com/pioarduino/platform-espressif32.git#51.03.07
git version 2.39.5
Cloning into '/data/cache/platformio/cache/tmp/pkg-installing-sipz88ho'...
Note: switching to 'ec17486ffa451374e108b72be07e9c8fa83338e8'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

Platform Manager: [email protected]+sha.ec17486 has been installed!
INFO [email protected]+sha.ec17486 has been installed!
Tool Manager: Installing https://github.com/pioarduino/esp-idf/releases/download/v5.1.5/esp-idf-v5.1.5.zip
INFO Installing https://github.com/pioarduino/esp-idf/releases/download/v5.1.5/esp-idf-v5.1.5.zip
Downloading  [####################################]  100%          
Unpacking  [####################################]  100%          
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Tool Manager: Installing espressif/toolchain-xtensa-esp32 @ 12.2.0+20230208
INFO Installing espressif/toolchain-xtensa-esp32 @ 12.2.0+20230208
Tool Manager: Error: Please read https://bit.ly/package-manager-ioerror
ERROR Error: Please read https://bit.ly/package-manager-ioerror
Tool Manager: Warning! Package Mirror: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
WARNING Warning! Package Mirror: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
Tool Manager: Looking for another mirror...
WARNING Looking for another mirror...
Downloading  [####################################]  100%          
Unpacking  [####################################]  100%          
Tool Manager: [email protected]+20230208 has been installed!
INFO [email protected]+20230208 has been installed!
Tool Manager: Installing espressif/toolchain-esp32ulp @ 2.35.0-20220830
INFO Installing espressif/toolchain-esp32ulp @ 2.35.0-20220830
Downloading  [#######-----------------------------]   20%  00:04:49


0