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

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024

Комментарии • 91

  • @eduardosaavedra2413
    @eduardosaavedra2413 Год назад +1

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

  • @doubleu2170
    @doubleu2170 Год назад +3

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

  • @robtaylor-shaw2374
    @robtaylor-shaw2374 11 месяцев назад

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

  • @RocketBoom1966
    @RocketBoom1966 2 года назад +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  2 года назад

      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 2 года назад

      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 2 года назад

      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 Год назад

      @@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 11 месяцев назад +1

      which line has to be added?@@KPeyanski

  • @squalazzo
    @squalazzo 2 года назад +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?

  • @avkulikoff
    @avkulikoff 2 года назад +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  2 года назад

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

    • @user-ve4mv1wi1s
      @user-ve4mv1wi1s 2 года назад

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

    • @avkulikoff
      @avkulikoff 2 года назад

      @@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 2 года назад

      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?

  • @user-jk6fx1pk9r
    @user-jk6fx1pk9r 9 месяцев назад +1

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

  • @JakubKosik
    @JakubKosik Год назад +1

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

  • @ravisawhney3111
    @ravisawhney3111 Год назад

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

    • @ravisawhney3111
      @ravisawhney3111 Год назад

      Ohh yea using it with a RuuviTag to measure Sauna Temps

  • @Aletzi1
    @Aletzi1 Год назад +1

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

  • @emms-place
    @emms-place Год назад

    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.

  • @topski2139
    @topski2139 5 месяцев назад

    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!

  • @EvilWombatBaby
    @EvilWombatBaby 2 года назад +1

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

  • @ericilkwatson5557
    @ericilkwatson5557 7 месяцев назад

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

  • @spiraltamer
    @spiraltamer 3 месяца назад

    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?

  • @edouardandyromero
    @edouardandyromero 7 месяцев назад

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

    • @KPeyanski
      @KPeyanski  7 месяцев назад

      absolutely you can use as many as you want/need

  • @mincaEURO
    @mincaEURO Год назад

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

  • @smoker2000
    @smoker2000 Год назад +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

  • @familiespongebob8694
    @familiespongebob8694 Год назад

    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?

  • @botialoach1
    @botialoach1 Год назад

    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
    @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?

  • @johannbeckham
    @johannbeckham Год назад +1

    Can anyone provide a link for ESP32 case?

  • @miguelavello7493
    @miguelavello7493 Год назад

    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

  • @JonasHerkel
    @JonasHerkel 2 года назад +1

    First 😀 My temperature sensor arrived today

    • @KPeyanski
      @KPeyanski  2 года назад

      Great what is your sensor exactly?

    • @JonasHerkel
      @JonasHerkel 2 года назад

      @@KPeyanski It is a Xiaomi Mijia Bluetooth Thermometer

    • @KPeyanski
      @KPeyanski  2 года назад

      Oh, great choice. Check my video about it

  • @JesseG2573
    @JesseG2573 2 года назад

    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  2 года назад

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

  • @simonknight2973
    @simonknight2973 9 месяцев назад

    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  9 месяцев назад +1

      esp32 connects to HA via WiFi

  • @shawnchristensen6506
    @shawnchristensen6506 10 месяцев назад

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

  • @KrispKiwi
    @KrispKiwi 11 месяцев назад

    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.

  • @jonastohr6526
    @jonastohr6526 Год назад

    How this works for the passive ble integration

  • @KrispKiwi
    @KrispKiwi Год назад

    Cheers mate.

  • @Hiberniust
    @Hiberniust 2 года назад

    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  2 года назад

      Hi there, I can suggest the Shelly TRV for the radiators - ruclips.net/video/9M1EVjEaHfI/видео.html
      It works perfectly with Home Assistant

  • @LeiChat
    @LeiChat Год назад

    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?

  • @12345michcio
    @12345michcio 2 года назад

    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.

  • @gurkanyesilgun
    @gurkanyesilgun Год назад

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

  • @davecl35
    @davecl35 Год назад

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

    • @KPeyanski
      @KPeyanski  Год назад +1

      Yes, sure - ruclips.net/video/5BEhAQwM0A0/видео.html

    • @davecl35
      @davecl35 Год назад

      @@KPeyanski thanks 👍

  • @luispichardo374
    @luispichardo374 Год назад

    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

  • @timthornburn5587
    @timthornburn5587 2 года назад

    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  2 года назад

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

    • @timthornburn5587
      @timthornburn5587 2 года назад +1

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

    • @KPeyanski
      @KPeyanski  2 года назад

      👍

  • @TwanJaarsveld1
    @TwanJaarsveld1 Год назад

    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 Год назад

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

  • @DMillsy79
    @DMillsy79 2 года назад

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

    • @KPeyanski
      @KPeyanski  2 года назад

      If they are supported, than yes!

  • @AlessandroTischer
    @AlessandroTischer 2 года назад

    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  2 года назад +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

  • @infotechcsvn
    @infotechcsvn Год назад

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

    • @KPeyanski
      @KPeyanski  Год назад

      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

  • @davecl35
    @davecl35 Год назад

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

    • @KPeyanski
      @KPeyanski  Год назад +1

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

  • @irtibatkisileri222
    @irtibatkisileri222 2 года назад

    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 2 года назад

      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  2 года назад

      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 - ruclips.net/video/QbOez63XlFs/видео.html

    • @irtibatkisileri222
      @irtibatkisileri222 2 года назад

      @@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.

  • @Costel8294
    @Costel8294 Год назад

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

    • @KPeyanski
      @KPeyanski  Год назад

      Hello & Yes! 😉

    • @Costel8294
      @Costel8294 Год назад

      @@KPeyanski Thank you

    • @Costel8294
      @Costel8294 Год назад

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

  • @AviDarks
    @AviDarks 2 года назад

    Links to aliexpress do not work

    • @KPeyanski
      @KPeyanski  2 года назад

      I will double check them. Many thanks

    • @KPeyanski
      @KPeyanski  2 года назад

      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?

  • @Tntdruid
    @Tntdruid 2 года назад

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

    • @obl620
      @obl620 2 года назад

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

    • @KPeyanski
      @KPeyanski  2 года назад

      Time will cure this, I hope ;)

  • @kimgnavpot
    @kimgnavpot Год назад

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

  • @causticfo
    @causticfo Год назад +1

    Great info, thanks! For controlling switchbots, is there any advantage of using this rather than using the method you covered before here : ruclips.net/video/ZskFhma8atc/видео.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  Год назад

      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 Год назад

      @@KPeyanski Thanks!