ESP home Bluetooth proxy issue with M5 Atom lite

  1. I flashed my M5 Atom lite with this tool succesfully.
    Ready-Made Projects — ESPHome
  2. HA found the device and it’s added to my ESP home dashboard
    image
  3. When I tried to adopt the device it failed
  4. I then tried to dowload the project so that I’d be able to load it with Web - ESPHome as shown on the instructions.


5. When I try to download I get this error

This is the error that I see when trying to adapt/install or download. Any idea how to resolve this?

Home Assistant 2023.10.0
Supervisor 2023.10.0
Operating System 10.5
Frontend 20231002.0 - latest

    Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
  Collecting typing-extensions>=3.7.4.3
    Downloading typing_extensions-4.8.0-py3-none-any.whl (31 kB)
  Collecting tomli>=1.2.1
    Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
  Collecting semantic-version<3,>=2.8.2
    Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
  Building wheels for collected packages: cffi
    Building wheel for cffi (PEP 517): started
    Building wheel for cffi (PEP 517): finished with status 'error'
    ERROR: Command errored out with exit status 1:
     command: /root/.platformio/penv/.espidf-4.4.5/bin/python /tmp/tmphj7yno7x_in_process.py build_wheel /tmp/tmpti187ly8
         cwd: /tmp/pip-install-1uwda61c/cffi_94b7400fbbfc4e629a64af1f4b96e864
    Complete output (55 lines):
    /tmp/pip-build-env-qjuxafww/overlay/lib/python3.9/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
    !!
  
            ********************************************************************************
            The license_file parameter is deprecated, use license_files instead.
  
            By 2023-Oct-30, you need to update your project and remove deprecated calls
            or your builds will no longer be supported.
  
            See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
            ********************************************************************************
  
    !!
      parsed = self.parsers.get(option_name, lambda x: x)(value)
    running bdist_wheel
    running build
    running build_py
    creating build
    creating build/lib.linux-armv7l-cpython-39
    creating build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/setuptools_ext.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/verifier.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/cffi_opcode.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/__init__.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/_imp_emulation.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/backend_ctypes.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/ffiplatform.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/commontypes.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/_shimmed_dist_utils.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/lock.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/recompiler.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/vengine_gen.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/model.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/api.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/error.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/cparser.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/pkgconfig.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/vengine_cpy.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/_cffi_include.h -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/parse_c_type.h -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/_embedding.h -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/_cffi_errors.h -> build/lib.linux-armv7l-cpython-39/cffi
    warning: build_py: byte-compiling is disabled, skipping.
  
    running build_ext
    building '_cffi_backend' extension
    creating build/temp.linux-armv7l-cpython-39
    creating build/temp.linux-armv7l-cpython-39/src
    creating build/temp.linux-armv7l-cpython-39/src/c
    arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-jS0VHk/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/root/.platformio/penv/.espidf-4.4.5/include -I/usr/include/python3.9 -c src/c/_cffi_backend.c -o build/temp.linux-armv7l-cpython-39/src/c/_cffi_backend.o
    src/c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory

*************************************************************
* Looking for ffi.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:ffi.h"
* Web  > https://registry.platformio.org/search?q=header:ffi.h
*
*************************************************************

       15 | #include <ffi.h>
          |          ^~~~~~~
    compilation terminated.
    error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
    ----------------------------------------
    ERROR: Failed building wheel for cffi
  Failed to build cffi
  ERROR: Could not build wheels for cffi which use PEP 517 and cannot be installed directly
  ----------------------------------------
  Downloading cryptography-3.4.7.tar.gz (546 kB)
WARNING: Discarding https://files.pythonhosted.org/packages/cc/98/8a258ab4787e6f835d350639792527d2eb7946ff9fc0caca9c3f4cf5dcfe/cryptography-3.4.8.tar.gz#sha256=94cc5ed4ceaefcbe5bf38c8fba6a21fc1d365bb8fb826ea1688e3370b2e24a1c (from https://pypi.org/simple/cryptography/) (requires-python:>=3.6). Command errored out with exit status 1: /root/.platformio/penv/.espidf-4.4.5/bin/python /root/.platformio/penv/.espidf-4.4.5/lib/python3.9/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-1koggn8o/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --prefer-binary -- 'setuptools>=40.6.0' wheel 'cffi>=1.12; platform_python_implementation != '"'"'PyPy'"'"'' 'setuptools-rust>=0.11.4' Check the logs for full command output.

I get something similar when using the Olimex ESP32 POE ISO, again flashed through the Ready-Made Projects page. After failing to install that version of cryptography 3.4.8 it then starts to step back through each version of the same attempting to do the same thing…

INFO ESPHome 2023.9.3
INFO Reading configuration /config/esphome/olimex-bluetooth-proxy-3af624.yaml...
WARNING GPIO12 is a Strapping PIN and should be avoided.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
INFO Generating C++ source...
INFO Compiling app...
Processing olimex-bluetooth-proxy-3af624 (board: esp32-poe-iso; framework: espidf; platform: platformio/[email protected])
--------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
 - framework-espidf @ 3.40405.230623 (4.4.5) 
 - tool-cmake @ 3.16.9 
 - tool-ninja @ 1.10.2 
 - toolchain-esp32ulp @ 2.35.0-20220830 
 - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
Installing ESP-IDF's Python dependencies
Collecting urllib3<2
  Downloading urllib3-1.26.17-py2.py3-none-any.whl (143 kB)
Collecting cryptography<35.0.0,>=2.1.4
  Downloading cryptography-3.4.8.tar.gz (546 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /root/.platformio/penv/.espidf-4.4.5/bin/python /root/.platformio/penv/.espidf-4.4.5/lib/python3.9/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-w0ic0bkg/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --prefer-binary -- 'setuptools>=40.6.0' wheel 'cffi>=1.12; platform_python_implementation != '"'"'PyPy'"'"'' 'setuptools-rust>=0.11.4'
       cwd: None
  Complete output (90 lines):
  Collecting setuptools>=40.6.0
    Downloading setuptools-68.2.2-py3-none-any.whl (807 kB)
  Collecting wheel
    Downloading wheel-0.41.2-py3-none-any.whl (64 kB)
  Collecting cffi>=1.12
    Downloading cffi-1.16.0.tar.gz (512 kB)
    Installing build dependencies: started
    Installing build dependencies: finished with status 'done'
    Getting requirements to build wheel: started
    Getting requirements to build wheel: finished with status 'done'
    Installing backend dependencies: started
    Installing backend dependencies: finished with status 'done'
      Preparing wheel metadata: started
      Preparing wheel metadata: finished with status 'done'
  Collecting setuptools-rust>=0.11.4
    Downloading setuptools_rust-1.7.0-py3-none-any.whl (25 kB)
  Collecting pycparser
    Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
  Collecting typing-extensions>=3.7.4.3
    Downloading typing_extensions-4.8.0-py3-none-any.whl (31 kB)
  Collecting tomli>=1.2.1
    Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
  Collecting semantic-version<3,>=2.8.2
    Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
  Building wheels for collected packages: cffi
    Building wheel for cffi (PEP 517): started
    Building wheel for cffi (PEP 517): finished with status 'error'
    ERROR: Command errored out with exit status 1:
     command: /root/.platformio/penv/.espidf-4.4.5/bin/python /tmp/tmpe_zo92kk_in_process.py build_wheel /tmp/tmpovsr3sa7
         cwd: /tmp/pip-install-6tlebp97/cffi_6be5075e6f8d4953abdb2f1361e9d12f
    Complete output (55 lines):
    /tmp/pip-build-env-1tdw8d2l/overlay/lib/python3.9/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
    !!
  
            ********************************************************************************
            The license_file parameter is deprecated, use license_files instead.
  
            By 2023-Oct-30, you need to update your project and remove deprecated calls
            or your builds will no longer be supported.
  
            See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
            ********************************************************************************
  
    !!
      parsed = self.parsers.get(option_name, lambda x: x)(value)
    running bdist_wheel
    running build
    running build_py
    creating build
    creating build/lib.linux-armv7l-cpython-39
    creating build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/ffiplatform.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/pkgconfig.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/__init__.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/_imp_emulation.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/_shimmed_dist_utils.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/recompiler.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/cparser.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/model.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/vengine_cpy.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/verifier.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/backend_ctypes.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/cffi_opcode.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/lock.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/setuptools_ext.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/api.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/error.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/commontypes.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/vengine_gen.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/_cffi_include.h -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/parse_c_type.h -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/_embedding.h -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/_cffi_errors.h -> build/lib.linux-armv7l-cpython-39/cffi
    warning: build_py: byte-compiling is disabled, skipping.
  
    running build_ext
    building '_cffi_backend' extension
    creating build/temp.linux-armv7l-cpython-39
    creating build/temp.linux-armv7l-cpython-39/src
    creating build/temp.linux-armv7l-cpython-39/src/c
    arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-jS0VHk/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/root/.platformio/penv/.espidf-4.4.5/include -I/usr/include/python3.9 -c src/c/_cffi_backend.c -o build/temp.linux-armv7l-cpython-39/src/c/_cffi_backend.o
    src/c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory

*************************************************************
* Looking for ffi.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:ffi.h"
* Web  > https://registry.platformio.org/search?q=header:ffi.h
*
*************************************************************

       15 | #include <ffi.h>
          |          ^~~~~~~
    compilation terminated.
    error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
    ----------------------------------------
    ERROR: Failed building wheel for cffi
  Failed to build cffi
  ERROR: Could not build wheels for cffi which use PEP 517 and cannot be installed directly
  ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/cc/98/8a258ab4787e6f835d350639792527d2eb7946ff9fc0caca9c3f4cf5dcfe/cryptography-3.4.8.tar.gz#sha256=94cc5ed4ceaefcbe5bf38c8fba6a21fc1d365bb8fb826ea1688e3370b2e24a1c (from https://pypi.org/simple/cryptography/) (requires-python:>=3.6). Command errored out with exit status 1: /root/.platformio/penv/.espidf-4.4.5/bin/python /root/.platformio/penv/.espidf-4.4.5/lib/python3.9/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-w0ic0bkg/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --prefer-binary -- 'setuptools>=40.6.0' wheel 'cffi>=1.12; platform_python_implementation != '"'"'PyPy'"'"'' 'setuptools-rust>=0.11.4' Check the logs for full command output.
  Downloading cryptography-3.4.7.tar.gz (546 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /root/.platformio/penv/.espidf-4.4.5/bin/python /root/.platformio/penv/.espidf-4.4.5/lib/python3.9/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-nnw45ywr/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --prefer-binary -- 'setuptools>=40.6.0' wheel 'cffi>=1.12; platform_python_implementation != '"'"'PyPy'"'"'' 'setuptools-rust>=0.11.4'
       cwd: None
  Complete output (90 lines):
  Collecting setuptools>=40.6.0
    Downloading setuptools-68.2.2-py3-none-any.whl (807 kB)
  Collecting wheel
    Downloading wheel-0.41.2-py3-none-any.whl (64 kB)
  Collecting cffi>=1.12
    Downloading cffi-1.16.0.tar.gz (512 kB)
    Installing build dependencies: started
    Installing build dependencies: finished with status 'done'
    Getting requirements to build wheel: started
    Getting requirements to build wheel: finished with status 'done'
    Installing backend dependencies: started
    Installing backend dependencies: finished with status 'done'
      Preparing wheel metadata: started
      Preparing wheel metadata: finished with status 'done'
  Collecting setuptools-rust>=0.11.4
    Downloading setuptools_rust-1.7.0-py3-none-any.whl (25 kB)
  Collecting pycparser
    Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
  Collecting tomli>=1.2.1
    Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
  Collecting typing-extensions>=3.7.4.3
    Downloading typing_extensions-4.8.0-py3-none-any.whl (31 kB)
  Collecting semantic-version<3,>=2.8.2
    Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
  Building wheels for collected packages: cffi
    Building wheel for cffi (PEP 517): started
    Building wheel for cffi (PEP 517): finished with status 'error'
    ERROR: Command errored out with exit status 1:
     command: /root/.platformio/penv/.espidf-4.4.5/bin/python /tmp/tmpndn10p5y_in_process.py build_wheel /tmp/tmpr3emwtvx
         cwd: /tmp/pip-install-l09aqrjz/cffi_8c4222ba2de74ca19128430f15f6e89b
    Complete output (55 lines):
    /tmp/pip-build-env-snq9as0z/overlay/lib/python3.9/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
    !!
  
            ********************************************************************************
            The license_file parameter is deprecated, use license_files instead.
  
            By 2023-Oct-30, you need to update your project and remove deprecated calls
            or your builds will no longer be supported.
  
            See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
            ********************************************************************************
  
    !!
      parsed = self.parsers.get(option_name, lambda x: x)(value)
    running bdist_wheel
    running build
    running build_py
    creating build
    creating build/lib.linux-armv7l-cpython-39
    creating build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/ffiplatform.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/pkgconfig.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/__init__.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/_imp_emulation.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/_shimmed_dist_utils.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/recompiler.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/cparser.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/model.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/vengine_cpy.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/verifier.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/backend_ctypes.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/cffi_opcode.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/lock.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/setuptools_ext.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/api.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/error.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/commontypes.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/vengine_gen.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/_cffi_include.h -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/parse_c_type.h -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/_embedding.h -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/_cffi_errors.h -> build/lib.linux-armv7l-cpython-39/cffi
    warning: build_py: byte-compiling is disabled, skipping.
  
    running build_ext
    building '_cffi_backend' extension
    creating build/temp.linux-armv7l-cpython-39
    creating build/temp.linux-armv7l-cpython-39/src
    creating build/temp.linux-armv7l-cpython-39/src/c
    arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-jS0VHk/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/root/.platformio/penv/.espidf-4.4.5/include -I/usr/include/python3.9 -c src/c/_cffi_backend.c -o build/temp.linux-armv7l-cpython-39/src/c/_cffi_backend.o
    src/c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory

*************************************************************
* Looking for ffi.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:ffi.h"
* Web  > https://registry.platformio.org/search?q=header:ffi.h
*
*************************************************************

       15 | #include <ffi.h>
          |          ^~~~~~~
    compilation terminated.
    error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
    ----------------------------------------
    ERROR: Failed building wheel for cffi
  Failed to build cffi
  ERROR: Could not build wheels for cffi which use PEP 517 and cannot be installed directly
  ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/9b/77/461087a514d2e8ece1c975d8216bc03f7048e6090c5166bc34115afdaa53/cryptography-3.4.7.tar.gz#sha256=3d10de8116d25649631977cb37da6cbdd2d6fa0e0281d014a5b7d337255ca713 (from https://pypi.org/simple/cryptography/) (requires-python:>=3.6). Command errored out with exit status 1: /root/.platformio/penv/.espidf-4.4.5/bin/python /root/.platformio/penv/.espidf-4.4.5/lib/python3.9/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-nnw45ywr/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --prefer-binary -- 'setuptools>=40.6.0' wheel 'cffi>=1.12; platform_python_implementation != '"'"'PyPy'"'"'' 'setuptools-rust>=0.11.4' Check the logs for full command output.
  Downloading cryptography-3.4.6.tar.gz (546 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /root/.platformio/penv/.espidf-4.4.5/bin/python /root/.platformio/penv/.espidf-4.4.5/lib/python3.9/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-5h428h5g/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --prefer-binary -- 'setuptools>=40.6.0' wheel 'cffi>=1.12; platform_python_implementation != '"'"'PyPy'"'"'' 'setuptools-rust>=0.11.4'
       cwd: None
  Complete output (90 lines):
  Collecting setuptools>=40.6.0
    Downloading setuptools-68.2.2-py3-none-any.whl (807 kB)
  Collecting wheel
    Downloading wheel-0.41.2-py3-none-any.whl (64 kB)
  Collecting cffi>=1.12
    Downloading cffi-1.16.0.tar.gz (512 kB)
    Installing build dependencies: started
    Installing build dependencies: finished with status 'done'
    Getting requirements to build wheel: started
    Getting requirements to build wheel: finished with status 'done'
    Installing backend dependencies: started
    Installing backend dependencies: finished with status 'done'
      Preparing wheel metadata: started
      Preparing wheel metadata: finished with status 'done'
  Collecting setuptools-rust>=0.11.4
    Downloading setuptools_rust-1.7.0-py3-none-any.whl (25 kB)
  Collecting pycparser
    Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
  Collecting tomli>=1.2.1
    Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
  Collecting typing-extensions>=3.7.4.3
    Downloading typing_extensions-4.8.0-py3-none-any.whl (31 kB)
  Collecting semantic-version<3,>=2.8.2
    Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
  Building wheels for collected packages: cffi
    Building wheel for cffi (PEP 517): started
    Building wheel for cffi (PEP 517): finished with status 'error'
    ERROR: Command errored out with exit status 1:
     command: /root/.platformio/penv/.espidf-4.4.5/bin/python /tmp/tmpl6s124z0_in_process.py build_wheel /tmp/tmpii2w9yvb
         cwd: /tmp/pip-install-c8_zxlxd/cffi_34001471b04548c1b3e054aac31863ea
    Complete output (55 lines):
    /tmp/pip-build-env-2ppmaevj/overlay/lib/python3.9/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
    !!
  
            ********************************************************************************
            The license_file parameter is deprecated, use license_files instead.
  
            By 2023-Oct-30, you need to update your project and remove deprecated calls
            or your builds will no longer be supported.
  
            See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
            ********************************************************************************
  
    !!
      parsed = self.parsers.get(option_name, lambda x: x)(value)
    running bdist_wheel
    running build
    running build_py
    creating build
    creating build/lib.linux-armv7l-cpython-39
    creating build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/ffiplatform.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/pkgconfig.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/__init__.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/_imp_emulation.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/_shimmed_dist_utils.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/recompiler.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/cparser.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/model.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/vengine_cpy.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/verifier.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/backend_ctypes.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/cffi_opcode.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/lock.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/setuptools_ext.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/api.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/error.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/commontypes.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/vengine_gen.py -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/_cffi_include.h -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/parse_c_type.h -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/_embedding.h -> build/lib.linux-armv7l-cpython-39/cffi
    copying src/cffi/_cffi_errors.h -> build/lib.linux-armv7l-cpython-39/cffi
    warning: build_py: byte-compiling is disabled, skipping.
  
    running build_ext
    building '_cffi_backend' extension
    creating build/temp.linux-armv7l-cpython-39
    creating build/temp.linux-armv7l-cpython-39/src
    creating build/temp.linux-armv7l-cpython-39/src/c
    arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/build/python3.9-jS0VHk/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/root/.platformio/penv/.espidf-4.4.5/include -I/usr/include/python3.9 -c src/c/_cffi_backend.c -o build/temp.linux-armv7l-cpython-39/src/c/_cffi_backend.o
    src/c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory

*************************************************************
* Looking for ffi.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:ffi.h"
* Web  > https://registry.platformio.org/search?q=header:ffi.h
*
*************************************************************

       15 | #include <ffi.h>
          |          ^~~~~~~
    compilation terminated.
    error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
    ----------------------------------------
    ERROR: Failed building wheel for cffi
  Failed to build cffi
  ERROR: Could not build wheels for cffi which use PEP 517 and cannot be installed directly
  ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/fa/2d/2154d8cb773064570f48ec0b60258a4522490fcb115a6c7c9423482ca993/cryptography-3.4.6.tar.gz#sha256=2d32223e5b0ee02943f32b19245b61a62db83a882f0e76cc564e1cec60d48f87 (from https://pypi.org/simple/cryptography/) (requires-python:>=3.6). Command errored out with exit status 1: /root/.platformio/penv/.espidf-4.4.5/bin/python /root/.platformio/penv/.espidf-4.4.5/lib/python3.9/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-5h428h5g/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --prefer-binary -- 'setuptools>=40.6.0' wheel 'cffi>=1.12; platform_python_implementation != '"'"'PyPy'"'"'' 'setuptools-rust>=0.11.4' Check the logs for full command output.
  Downloading cryptography-3.4.5.tar.gz (546 kB)
  Installing build dependencies: started

For what it’s worth when I press stop it seems to work as a bluetooth proxy anyway, which seems a little odd…

It looks like the error has been picked up and there is a proposed fix at the bottom of the issue.

GitHub Issue