How to turn an ESP32 board into a Bluetooth proxy for Home Assistant | ESPHome Bluetooth Proxies

Sdílet
Vložit
  • čas přidán 27. 07. 2024
  • D1 Mini ESP32 (AliExpress affiliate link)- s.click.aliexpress.com/e/_9R1Z6b
    3 pack D1 Mini ESP32 (Amazon affiliate link) - amzn.to/3DowLl1
    Bluetooth has a limited range but you can expand it by using this new method called - #ESPHome #Bluetooth #Proxy. This video will show you how to turn an ESP32 board like the D1 Mini ESP32 into a Bluetooth proxy for Home Assistant. No programming or other software is required.
    ► MY ARTICLE ABOUT THAT TOPIC - peyanski.com/how-to-turn-an-e...
    ► MY HOME ASSISTANT INSTALLATION METHODS FREE WEBINAR - automatelike.pro/webinar
    ► DOWNLOAD MY FREE SMART HOME GLOSSARY - automatelike.pro/glossary
    ► AFFILIATE LINKS
    D1 Mini ESP32 (AliExpress)- s.click.aliexpress.com/e/_9R1Z6b
    3 pack D1 Mini ESP32 (Amazon) - amzn.to/3DowLl1
    M5Stack Official ATOM Lite ESP32 IoT Development Kit - s.click.aliexpress.com/e/_DDj...
    WT32-ETH01 ESP32 Board (AliExpress) - s.click.aliexpress.com/e/_DCg...
    WT32-ETH01 ESP32 Board (Amazon) - amzn.to/3RMZyU0
    Micro USB cable (AliExpress) - s.click.aliexpress.com/e/_DEl...
    Micro USB cable (Amazon) - amzn.to/3x6zkEc
    SwitchBot Flash Deals - switchbot.vip/3BwF221
    Shelly Amazon Store - amzn.to/34d88VR
    Shelly Official Store (main page) - bit.ly/3BwMMn2
    Reolink Flash Deals - shrsl.com/301ih
    Aqara Amazon Store - amzn.to/3EpeCSb
    Tech that I’m using right now - www.amazon.com/shop/kpeyanski
    Get $100 in credit over 60 days for DigitalOcean - m.do.co/c/6dd2caef1f1f
    Register for Kajabi from here app.kajabi.com/r/NetydFAg and I will share half of my commission with you (15%)
    ► CRYPTO AFFILIATE LINKS
    Sign up for Crypto.com and we both get $25 USD (Referral code: xn86atnceg) - crypto.com/app/xn86atnceg
    Deposit more than $50 in Binance and receive 100 USDT cashback voucher - www.binance.com/en/activity/r...
    Binance - One of the biggest Crypto currency exchange - www.binance.com/en/register?r...
    ► SUPPORT MY WORK
    Paypal - www.paypal.me/kpeyanski
    Patreon - / kpeyanski
    Bitcoin - 1GnUtPEXaeCUVWdJxCfDaKkvcwf247akva
    Revolut - revolut.me/kiriltk3x
    ► TIME TABLE
    00:00 Intro
    01:08 In which cases ESPHome Bluetooth Proxy will be a good fit?
    02:27 ESPHome Bluetooth Proxies requirements
    04:46 Installation of ESPHome Bluetooth Proxy
    06:51 Add the ESPHome Bluetooth Proxy to Home Assistant
    ► ESPHOME BLUETOOTH PROXY INSTALLATION PAGE (OPEN IN CHROME OR EDGE)
    esphome.github.io/bluetooth-p...
    ► 3D PRINTED D1 MINI ESP32 ENCLOSURE
    www.thingiverse.com/thing:374...
    ✅ Don't Forget to like 👍 comment ✍ and subscribe to my channel!
    ► DISCLAIMER
    Some of the links above are affiliate links. If you click on these links and purchase an item I will earn a small commission with no additional cost for you. Of course, you don’t have to do so in case you don’t want to support my work!
  • Jak na to + styl

Komentáře • 91

  • @robtaylor-shaw2374
    @robtaylor-shaw2374 Před 9 měsíci

    Thanks for the video! I got the D1 mini configured and setup with HA with no issue! Cheers.

  • @doubleu2170
    @doubleu2170 Před rokem +3

    You saved my day !! Best video on this topic ! Thank you ! My USB cable was not a data cable.🤒 Now everything works fine.

  • @eduardosaavedra2413
    @eduardosaavedra2413 Před 10 měsíci +1

    Thanks man! You just saved my switchbot integrations with this, it works perfect!

  • @ravisawhney3111
    @ravisawhney3111 Před rokem

    Great primer video. About to setup one of these. Thanks VM

    • @ravisawhney3111
      @ravisawhney3111 Před rokem

      Ohh yea using it with a RuuviTag to measure Sauna Temps

  • @emms-place
    @emms-place Před rokem

    Great video. Thank you for a very clear and easy to understand explanation. I have one question what do you power the board (power supply) with when it is not connected to your PC.

  • @RocketBoom1966
    @RocketBoom1966 Před rokem +4

    Brilliant video as always. I have been using your previously described method for integrating my Xiaomi temperature and humidity sensors, but I think I will migrate to this new one. I have some Switchbot Meters which I can now bring into Home Assistant using this method. For people that already have some ESP32 devices integrated as ESPHome devices, it can simply be a matter of adding the bluetooth proxy component in the setup to make those devices multipurpose.

    • @KPeyanski
      @KPeyanski  Před rokem

      Thank you very much for the good words and yes, you just have to add one line in your existing ESPHome configuration to enable the Bluetooth Proxy functionality.

    • @12345michcio
      @12345michcio Před rokem

      So I did. Unfortunately, adding bluetooth_proxy causes regular disconnection from WIFI. For now, I have to use another ESP32 for this purpose and I have removed this configuration from the previous ones.

    • @12345michcio
      @12345michcio Před rokem

      After updating the Home Assistant Operating System to version 9.0 yesterday, it looks like the ESP32 disconnection from HA problem is gone or less frequent. I'll be watching the devices.

    • @fabiocopani8311
      @fabiocopani8311 Před rokem

      @@KPeyanski hi there, I'm struggling to integrate switchbot smart lock to HA. It does not show in any way. I checked Bluetooth logs and I see its MAC BLE but can't add in my integration since I don't see it in HA. Setted a Bluetooth Proxy with Esp32 but nothing. Any help?

    • @florianengelhardt630
      @florianengelhardt630 Před 9 měsíci +1

      which line has to be added?@@KPeyanski

  • @squalazzo
    @squalazzo Před rokem +5

    can it be used for people presence detection? i mean, can they measure if a bt device like a smartphone is near or far a GW and then trigger automations?

  • @KrispKiwi
    @KrispKiwi Před rokem

    Cheers mate.

  • @JakubKosik
    @JakubKosik Před rokem +1

    Hi, great video! Can you run in HA on RPi ZigBee Z2M (Sonof dongle P) and have Bluetooth proxy on ESP32 simultaneously? Thanks

  • @topski2139
    @topski2139 Před 4 měsíci

    Tx very much for this excellent explanation! Question, is the esp32-c6 supported at this moment? And how can I connect an external antenna? I hear very varying stories about coverage and mainly distances… tx!

  • @ericilkwatson5557
    @ericilkwatson5557 Před 6 měsíci

    Thank you for this tutorial. I have one question. Do I have to add ESPHome to my HA for this to work?

  • @botialoach1
    @botialoach1 Před rokem

    This is another excellent Video, my D1Mini arrived today and started work installing it, one question, I have removed it from my C after I finish and installed it in a room with limited Bluetooth coverage, I connected only power to the D1Mini from a USB phone charger is this setup okay ?

  • @schrodingersmechanic7622

    New to HA, I'm wondering if this can be used with a media player to make a whole house sound system with Bluetooth speakers. Possibly the speaker light bulbs by philips?

  • @Aletzi1
    @Aletzi1 Před rokem +1

    Should i configure my exist bluetooth devices again which have bad rssi or will my devices auto connect to best bluetooth receiver?

  • @mincaEURO
    @mincaEURO Před rokem

    can I use this as a gatway for example for lidl smart watering ?

  • @EvilWombatBaby
    @EvilWombatBaby Před rokem +1

    Is there anyway to tell if the proxy is being used by a bluetooth device, or which device are connected to the proxy?

  • @user-jk6fx1pk9r
    @user-jk6fx1pk9r Před 7 měsíci +1

    Can i connect another esp32 as client via Bluetooth with actual Bluetooth proxy?
    meaning connecting two esp32 via Bluetooth?

  • @spiraltamer
    @spiraltamer Před měsícem

    Can an esphome bluetooth proxy be used to stream music to blietooth speakers or is it only designed to send simple commands to bluetooth devices like fans and lights?

  • @familiespongebob8694
    @familiespongebob8694 Před rokem

    Thanks!
    Can I also flash an ESP32 so that it sends my sensor data to HomeAssistant via Bluetooth and thus deactivate the WLAN module to save electricity?

  • @shawnchristensen6506
    @shawnchristensen6506 Před 9 měsíci

    When i get this Bluetooth proxy setup on my esp32 basic do i plug it into my home assistant yellow to use it?

  • @luispichardo374
    @luispichardo374 Před rokem

    I successfully installed ESPHome. However, the Bluetooth range is super low (around the -70 to even -100 dBm). Any thoughts as to why this is? I have installed 4 of them

  • @JesseG2573
    @JesseG2573 Před rokem

    Great “step-by-step. I’m gonna install this. Do you think it can be used with Alexa Echo speakers for better sync if BT is enabled on them?

    • @KPeyanski
      @KPeyanski  Před rokem

      Doubt about Alexa Echo, other than that thanks for the comment

  • @smoker2000
    @smoker2000 Před rokem +1

    Hey guys, I am trying to install the firmware but it does not go past the "Preparing installation" screen... Any advice? I am trying to install on generic ESP32 board

  • @avkulikoff
    @avkulikoff Před rokem +1

    it's a super solution. i checked as soon as 2022.9 was released. works perfect. but now proxy support only passive connections, so motion and doors sensors didn't works. lets wait for active connectons support

    • @KPeyanski
      @KPeyanski  Před rokem

      Thanks for the comment and the additional info that you shared!

    • @user-ve4mv1wi1s
      @user-ve4mv1wi1s Před rokem

      Which option would be the best for active connections ATM for an ESP32?

    • @avkulikoff
      @avkulikoff Před rokem

      @@user-ve4mv1wi1s As for native Home Assistant bluetooth integration - "Bluetooth proxies are currently limited to forwarding passive data. Active connections are coming in a future release." But now you still can use ESP32 as a gate with esphome's components.

    • @LCMilstein
      @LCMilstein Před rokem

      I've been trying to understand this part also... The main devices i'm looking to connect via Bluetooth are govee bt LEDs. Are those supported? I assume since I'm seeking to control them that they're NOT passive, right?

  • @miguelavello7493
    @miguelavello7493 Před rokem

    KPeyanski, great video, can you the process to add to the ESP32 BLE Proxy an additional sensor ? I have tried and I get errors.
    Let me know if you are interested to reply here or add to your video. Thank you

  • @Hiberniust
    @Hiberniust Před rokem

    Hi Kiril, I have a combi gas heater and some radiators. I would like to set the temp in each room separately. Could you recommend some smart solution for this?
    I will definitely try the BT range extender, for my Xiaomi temperature sensors.

    • @KPeyanski
      @KPeyanski  Před rokem

      Hi there, I can suggest the Shelly TRV for the radiators - czcams.com/video/9M1EVjEaHfI/video.html
      It works perfectly with Home Assistant

  • @JonasHerkel
    @JonasHerkel Před rokem +1

    First 😀 My temperature sensor arrived today

    • @KPeyanski
      @KPeyanski  Před rokem

      Great what is your sensor exactly?

    • @JonasHerkel
      @JonasHerkel Před rokem

      @@KPeyanski It is a Xiaomi Mijia Bluetooth Thermometer

    • @KPeyanski
      @KPeyanski  Před rokem

      Oh, great choice. Check my video about it

  • @LeiChat
    @LeiChat Před rokem

    Thanks for the video. Apologies if this is a silly question but may a single ESP32 device be used for multiple functions? Could I use one as both a HA bluetooth proxy and as a WLED controller?

  • @jonastohr6526
    @jonastohr6526 Před 11 měsíci

    How this works for the passive ble integration

  • @edouardandyromero
    @edouardandyromero Před 5 měsíci

    nice video! is there a interest to use several ESB32 (bluetooth-proxy) on the same house to extend the ble detection?

    • @KPeyanski
      @KPeyanski  Před 5 měsíci

      absolutely you can use as many as you want/need

  • @simonknight2973
    @simonknight2973 Před 7 měsíci

    Thanks for the video. One thing I’m not clear on is does the esp32 device connect to home assistant via wifi or Bluetooth? I’m not sure how many I need to buy. I need range to 2nd floor loft and my home assistant server is in ground floor living room. Over 12metres and 5 walls away.

    • @KPeyanski
      @KPeyanski  Před 7 měsíci +1

      esp32 connects to HA via WiFi

  • @davecl35
    @davecl35 Před rokem

    Hi Kyril.. can you recommend a Bluetooth temp/humidity sensor to use with proxies?

    • @KPeyanski
      @KPeyanski  Před rokem +1

      Yes, sure - czcams.com/video/5BEhAQwM0A0/video.html

    • @davecl35
      @davecl35 Před rokem

      @@KPeyanski thanks 👍

  • @12345michcio
    @12345michcio Před rokem

    I have been using bluetooth proxy for several days. Installed via ESPHome. It works fine, but my device disconnects from WIFI every few seconds, even though it is close to the router.

  • @johannbeckham
    @johannbeckham Před rokem +1

    Can anyone provide a link for ESP32 case?

  • @AlessandroTischer
    @AlessandroTischer Před rokem

    I have some esp32 around the house doing their own things (using espHome fw). Is it possible to use them ALSO as a proxy?

    • @KPeyanski
      @KPeyanski  Před rokem +1

      Yes, sure you just have to add one line in the ESPHome configuration and I think the line is:
      bluetooth_proxy:
      But you better check this in the ESPHome documentation

  • @timthornburn5587
    @timthornburn5587 Před rokem

    Great video. Having trouble with Windows driver preventing connection. Wondering if it's possible to flash the proxy software from LInux. I can see the device and a 'ttyusb' port has been assigned. Any ideas?

    • @KPeyanski
      @KPeyanski  Před rokem

      Yes, Linux should work without any issues and there is no need to install any drivers. Let us know what happened.

    • @timthornburn5587
      @timthornburn5587 Před rokem +1

      @@KPeyanski Thanks. I was able to successfully burn the proxy software using Chromium browser after changing the ttyUSB port permissions.

    • @KPeyanski
      @KPeyanski  Před rokem

      👍

  • @DMillsy79
    @DMillsy79 Před rokem

    Do you think that bluetooth blind motors would integrate with home assistant now?

    • @KPeyanski
      @KPeyanski  Před rokem

      If they are supported, than yes!

  • @davecl35
    @davecl35 Před rokem

    Hi mate, me again.. do these boards have batteries or do they have to be usb powered?

    • @KPeyanski
      @KPeyanski  Před rokem +1

      have to be USB powered, but batteries are eventually possible, I just never tried that...

  • @TwanJaarsveld1
    @TwanJaarsveld1 Před rokem

    Would it be possible to run this along side Esphome
    I have a esp32 Doorbell already installed and want to use this esp as the Bluetooth proxy

    • @TwanJaarsveld1
      @TwanJaarsveld1 Před rokem

      Seems like it's possible now, I'll give it a try

  • @infotechcsvn
    @infotechcsvn Před rokem

    Hi, using this bluetooth proxy to connect my LD2410 devices is it stable , is there any disconnection and delay ?

    • @KPeyanski
      @KPeyanski  Před rokem

      No delays & disconnections from my side. My sensor is working great, but it is very close to the BT receiver 2meters with no big obstacles. I guess you have to test it for your case and see by yourself

  • @gurkanyesilgun
    @gurkanyesilgun Před rokem

    Hi, I am getting this error while installing. Your ESP8266 board is not supported

  • @Costel8294
    @Costel8294 Před rokem

    Hello. I have a motherboard from esp32-cam. Can I install bluetooth proxy on this board?

    • @KPeyanski
      @KPeyanski  Před rokem

      Hello & Yes! 😉

    • @Costel8294
      @Costel8294 Před rokem

      @@KPeyanski Thank you

    • @Costel8294
      @Costel8294 Před rokem

      @@KPeyanski I installed it, but it doesn't see homeassistant

  • @irtibatkisileri222
    @irtibatkisileri222 Před rokem

    well documented. when flashing is on the table I am too lazy. I should go find one board blah blah. It always seem cumbersome to me. but end result is of course fruitful.

    • @irtibatkisileri222
      @irtibatkisileri222 Před rokem

      by the way you made a content on monitor bluetooth presence. I noticed there is an addon for room-assistant. and it may require a tutorial. You might want to consider to teach us all about room-assistant addon. Thanks.

    • @KPeyanski
      @KPeyanski  Před rokem

      Hi there I have a room-assistant video, but I'm not so sure if it is still up to date, as I stopped using room-assistant from some time. You can check it out here - czcams.com/video/QbOez63XlFs/video.html

    • @irtibatkisileri222
      @irtibatkisileri222 Před rokem

      @@KPeyanski we should follow you master. if you stopped using RA we will not bother.
      please tell us what you are using. better you may make a tutorial about what you are using now.

  • @AviDarks
    @AviDarks Před rokem

    Links to aliexpress do not work

    • @KPeyanski
      @KPeyanski  Před rokem

      I will double check them. Many thanks

    • @KPeyanski
      @KPeyanski  Před rokem

      HI Avi, I checked all AliExpress links and they are all working. For the D1 Mini ESP32 you have to choose it from the possible options. At the time of checking it the D1 Mini ESP32 was first product (far left) on the second row.
      Could you please tell me which link is not working for you?

  • @causticfo
    @causticfo Před rokem +1

    Great info, thanks! For controlling switchbots, is there any advantage of using this rather than using the method you covered before here : czcams.com/video/ZskFhma8atc/video.html . Am I right in thinking if I switch to the esphome method I can then use one esp32 to connect switchbots as well as other Bluetooth devices?

    • @KPeyanski
      @KPeyanski  Před rokem

      It depends of the SB products that you have, but after releasing of the HA 2022.10 there shouldn't be big differences in the methods. It is even possible the esp32 method to be faster. And yes, you can connect every Bluetooth compatible device.

    • @causticfo
      @causticfo Před rokem

      @@KPeyanski Thanks!

  • @Tntdruid
    @Tntdruid Před rokem

    The proxy is one way, does not send any Bluetooth data from HA.

    • @obl620
      @obl620 Před rokem

      The support will come later for sending commands from HA to BT devices

    • @KPeyanski
      @KPeyanski  Před rokem

      Time will cure this, I hope ;)

  • @kimgnavpot
    @kimgnavpot Před rokem

    65 / 5.000
    Oversættelsesresultater
    Not so easy, had to find a windows driver and try a few times, but tnx

  • @KrispKiwi
    @KrispKiwi Před 10 měsíci

    Just note there appears to be an issue with ESP Home when doing this now. latformio/framework-arduinoespressif32 @ ~3.20005.0 won't fully unpack when adopting. It'll get stuck.