How to turn an ESP32 board into a Bluetooth proxy for Home Assistant | ESPHome Bluetooth Proxies
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
Thanks for the video! I got the D1 mini configured and setup with HA with no issue! Cheers.
You saved my day !! Best video on this topic ! Thank you ! My USB cable was not a data cable.🤒 Now everything works fine.
Glad to hear. Enjoy!
Thanks man! You just saved my switchbot integrations with this, it works perfect!
Glad I could help!
Great primer video. About to setup one of these. Thanks VM
Ohh yea using it with a RuuviTag to measure Sauna Temps
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.
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.
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.
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.
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.
@@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?
which line has to be added?@@KPeyanski
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?
Cheers mate.
Cheers 🍻
Hi, great video! Can you run in HA on RPi ZigBee Z2M (Sonof dongle P) and have Bluetooth proxy on ESP32 simultaneously? Thanks
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!
Thank you for this tutorial. I have one question. Do I have to add ESPHome to my HA for this to work?
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 ?
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?
Should i configure my exist bluetooth devices again which have bad rssi or will my devices auto connect to best bluetooth receiver?
can I use this as a gatway for example for lidl smart watering ?
Is there anyway to tell if the proxy is being used by a bluetooth device, or which device are connected to the proxy?
Can i connect another esp32 as client via Bluetooth with actual Bluetooth proxy?
meaning connecting two esp32 via Bluetooth?
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?
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?
When i get this Bluetooth proxy setup on my esp32 basic do i plug it into my home assistant yellow to use it?
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
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?
Doubt about Alexa Echo, other than that thanks for the comment
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
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
Thanks for the comment and the additional info that you shared!
Which option would be the best for active connections ATM for an ESP32?
@@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.
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?
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
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.
Hi there, I can suggest the Shelly TRV for the radiators - czcams.com/video/9M1EVjEaHfI/video.html
It works perfectly with Home Assistant
First 😀 My temperature sensor arrived today
Great what is your sensor exactly?
@@KPeyanski It is a Xiaomi Mijia Bluetooth Thermometer
Oh, great choice. Check my video about it
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?
yes, you can do that
How this works for the passive ble integration
nice video! is there a interest to use several ESB32 (bluetooth-proxy) on the same house to extend the ble detection?
absolutely you can use as many as you want/need
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.
esp32 connects to HA via WiFi
Hi Kyril.. can you recommend a Bluetooth temp/humidity sensor to use with proxies?
Yes, sure - czcams.com/video/5BEhAQwM0A0/video.html
@@KPeyanski thanks 👍
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.
Can anyone provide a link for ESP32 case?
I have some esp32 around the house doing their own things (using espHome fw). Is it possible to use them ALSO as a proxy?
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
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?
Yes, Linux should work without any issues and there is no need to install any drivers. Let us know what happened.
@@KPeyanski Thanks. I was able to successfully burn the proxy software using Chromium browser after changing the ttyUSB port permissions.
👍
Do you think that bluetooth blind motors would integrate with home assistant now?
If they are supported, than yes!
Hi mate, me again.. do these boards have batteries or do they have to be usb powered?
have to be USB powered, but batteries are eventually possible, I just never tried that...
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
Seems like it's possible now, I'll give it a try
Hi, using this bluetooth proxy to connect my LD2410 devices is it stable , is there any disconnection and delay ?
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
Hi, I am getting this error while installing. Your ESP8266 board is not supported
Hello. I have a motherboard from esp32-cam. Can I install bluetooth proxy on this board?
Hello & Yes! 😉
@@KPeyanski Thank you
@@KPeyanski I installed it, but it doesn't see homeassistant
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.
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.
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
@@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.
Links to aliexpress do not work
I will double check them. Many thanks
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?
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?
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.
@@KPeyanski Thanks!
The proxy is one way, does not send any Bluetooth data from HA.
The support will come later for sending commands from HA to BT devices
Time will cure this, I hope ;)
65 / 5.000
Oversættelsesresultater
Not so easy, had to find a windows driver and try a few times, but tnx
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.