I’ve looked for months to bring this together. Your video has delivered, with the detail of the boot button solving the last little frustration. Now have the LD2410 communicating with Home Assistant. Thanks very much, you’ve helped me achieve what I’ve been seeking.
Thanks Travis for all this great info. Did a brand new install and thing got pulled in to home assistant after adding your esp32-ble-tracker script (minute 7:23). Tuffest part is trying to flash the xiaomi to send BThome signal, after that everything worked great. Really love your explanations and video subjects.
I did this a while back to pickup those small temperature sensors, its worked flawlessly since. this reminds me to find other sensors that'll work with it, such as motion/presence
Thanks again Travis. I have an InkBird BT Thermometer in my Hot Tub, it says the range is 100ft, but I could not pick it up with the Inkbird App at anything greater than 30ft. Even after setting up the BT Proxy (NodeMCU), I had to locate it pretty close to the InkBird. I guess I will have to sprinkle some more around my property. Nice video.
@@digiblurDIY Until I saw your video I thought it was me, so I installed the one from HACS, so now I'm not sure if I should walk it back. Look for me on your discord :)
Wow - that is an really easy installation process 🥳 I am impressed and exited what comes next. The Live with Paulus was great because of so many details regarding the roadmap of BT support in HA 🤩
Leave it to me to still drag it out in a "quick" video..hahah... I knew I forgot something...added the link to that stream in the description for folks instead of making them dig for it.
Just wow 👌 👏 I have been searching for a way to connect more than one bluetooth speaker to a raspberry pi running on bullseye and play music on these connected Bluetooth speakers. Could you please do a tutorial on how to do this !!! 🙏
There is a feature in the upcoming Bluetooth standard to sync multiple Bluetooth speakers. To be clear it's the upcoming Bluetooth standard not a HomeAssistant feature and it won't be compatible with current devices. Till then you may be out of luck.
Not over bluetooth, but devices like AudioPro and other LinkPlay based devices allow streaming and synchronizing music over the network, with HA integration
Helpful vid. I hadn't paid a lot of attention to bluetooth devices but this makes things look a bit more manageable. So, you don't have to pair the devices - all of that is automatic?
Yup...that was pretty much in realtime that I showed them popping in, all depends on their advertising rates but it is usually no longer than a minute. These are passive devices, the active stuff is coming later with the 2 way comms.
One thing to remember if you add a Bluetooth proxy to an existing device; you may have to rebuild the firmware with the esp-idf framework instead of Arduino to make sure you can fit everything in the onboard memory. If you do, you will have to manually reflash the device, as there are differences that an OTA upgrade won't be able to fix.
This is what I have been waiting for... If I don't have any other ESP sensors and just want to use this instead of USB Bluetooth so home assistant can control Bluetooth LEDs, would I also have to set up esphome container and start there first?
@@digiblurDIY I’ve spent more than enough time trying to get it right in Nextion/ Yaml I suppose I don’t need that to mess it up hah. Looks pretty sweet with zigbee wind/temp sensors etc displayed on it though
Just set one of these up myself, it was super simple. Only question I have is how do I tell which proxy if any is being used by a particular device? I have a bluetooth usb on my nuc that is a bit spotty for my switchbot and want to verify if it is connected direct or via the proxy now.
Sorry, it is me again. May I please have two more questions? 1/ I have two blue tooth proxies. Is there any way to see which sensors are connected to which proxy or even manage to which sensor will be connected to which proxy? 2/ Would you please have some universal .yaml file for ESP32S ESP32 ESP-WROOM-32 board used as a Home Assistant Proxy? Thank you very much
What sort of error are you getting? I have a a standard TTGO TDisplay and have: Flash: [======== ] 84.5% (used 1551006 bytes from 1835008 bytes) and yet the module enters some sort of boot loop.
Nice Video many thanks for the info question I guessing you can do BT phone presence detection with this setup so the question I have. Is how many BT proxy device like the ESP32-POE-ISO can you have in home assistance so you know were or when someone is each room ? And again many thanks
I know someone asked about this on the stream but IIRC more would have to be done on the room presence stuff. We don't always carry phones around with us so I never looked into it myself.
That looks promising. So at the moment I have the Bluetooth integration and the Passive BLE monitor to pull in the devices into HA. Are you saying with the Bluetooth proxy I should be able to get rid of the Passive BLE monitor integration?
i would love to know how to add extra BLE devices , since Australia has a fair few smart home stuff that is BLE (and alot of the time its cheap). Plus.. why cant get finally get decent BLE tracking.. Something like esppresense mixed with esphome ble proxy..
I would dig into the other device BLE integrations to see how those were added as the base groundwork is here now. Lots of issues with BLE tracking so I get it. Rolling MAC IDs, not carrying the device with you, etc.
Great video, thanks for making it easy. I have a couple Home Depot window blinds that are controlled via BT. Is there a way to integrate them into Home Assistant with this?
Hi there , Thanks for your great videos, Just a question, Is this Bluetooth Proxy are supporting Tuya devices? (I need something like this for fingerBot, if no, any other solution?) Thanks again
What if I don't want to erase the ESP32 and keep the existing Arduino code loaded onto it? And what if you don't use Wi-Fi but only Ethernet connected ESP32's?
So, is this essentially a Bluetooth gateway that uses the esp’s WiFi to bring into HA? Sounds great for the extra needed range I need for my InkBird grill thermometer where the pi’s Bluetooth doesn’t quite cut it.
Thanks for the nice video! My "weird idea" is to have a bluetooth button (or rather a remote with several buttons) integrated into Home Assistant. I'd be interested for example in using it at my office desk to quickly pause the music on my smart speakers (already integrated into home assistant) when someone calls me, or for example to change the volume or play the next track. Only issue is that I haven't found out how to accomplish this yet :-P any advice is most welcome.
I know you can attach buttons to the GPIO pins on the little Xiaomi sensors but not sure if that is supported in the HA side though. Might be more suited for something in the Zigbee world or really if you have it mains powered just do a simple button on an ESP chip if you have a 3D printer.
If you have the companion app installed you can use the relevant sensor as a trigger for an automation to pause the music and restart it when the call ends.
Hi, thanks for the great video. I still have a question regarding the connectivity. I'm using 4 Govee h5075 and the ones connecting over the esp proxys are loosing connection all the time. I'm using 2 Proxys with generic esp32 without an ethernet port. I can't seem to find the problem. Is it a connection issue because of the shared wlan/bt antenna, or has it cause by something else. I saw a tutorial about soldering an antenna to esp32 board which amplifies the connection.
I would probably just add more proxies as needed. Also upgrade to the latest HA. The current Esphome December beta has a lot of great fixes as well. They do make proxies with antennas. www.tubeszb.com/product/BT/53 www.olimex.com/Products/IoT/ESP32/
Thanks for the video. What ESP device would be capable of providing both a Bluetooth proxy for home assistant via wifi and also an mmWave presence detector on the same board? Are there any off the shelf cased sensors that do this currently?
I would probably split those with most of the mmwave sensors due to how much traffic the esp has to process on both the BT Proxy side and mmwave side. BT proxy on something simple like a smart switch or plug would be a better option.
Thanks for all that you do! I'm using the Olimex ESP32-POE-ISO and cannot get the power over ethernet. It does pick up my Bluetooth devices but I need to power it via the micro USB. ANy thoughts?
Thanks for this Travis. I did not get form live stream or this video can you use this with multiple esp32 boards as mesh? I want to have failover devices.
I've been running Home Assistant via HassIO - built in rasp-pi bluetooth just started picking things up by itself without and of the additional hardware. I can see how it would be super helpful if your rasp-pi was remote though.
Very much so as the range on that is limited and some could have them stuck in a metal cabinet as well. Not to mention I don't have bluetooth on my HA at all as many others do not have this adapter either.
Yes, as of the latest HA release I saw the notes stating you could use the stock shelly plus firmware as a proxy. I haven't tried it myself as I don't have any left on stock. Never used room assistant myself.
Hello. I am Vietnamese. Please tell me why when I enter the IP address (taken from the router and set it as static) in the "Host" field and then send it it says "Failed to connect to the ESP. Please make sure that your YAML file contains the 'api:' line". Therefore, the ESP32 cannot be included in the integration site. Help me. Thank you!
Do you have api: set? That's all I do when adding one manually is put the IP in and that's it. Try to make sure you don't have the API key messing you up, remove the encryption if the device isn't exposed on a unsafe network.
Travis, thank you for great explanation in this and other tutorials . I can't make this proxy to pick up signal from LD2410B. Is it even compatible with bluetooth proxy? Thank you in advanced
Seems simple enough with a couple pins to connect up whatever sensors. I'd keep it pretty light though as bluetooth traffic can be quite a bit in some areas for the processor to dig through so adding like PWM, serial comms, etc might not be a good idea. I don't know if ESPHome has a cpu average load sensor?
Nice video, thanks. A question though, is there a way to utilize this with custom_components? To explain further, some custom integrations require connecting to Bluetooth devices manually using bluetoothctl or hcitiool. This means essentially that the main adapter will be used instead of the proxy which renders it useless.
i have 4 Switchbot Hygrometer Thermometer however when connected most of the time it says unavailable or if its detected it says Retrying setup: Switchbot hygrometer with mac add is not ready
Ble_Proxy: Hi Where and how can i select bthome for the ATC_Themometer?. Ble_ESP_Gateway: Can i select multiple sensors in one normal ble proxy /esphome ( 2 atc sensor on one gateway?
will this work with homekit devices that use bluetooth? I have a door lock that is JUST barely inside the range of my bluetooth dongle and I can low response times and connectivity issues from it through HA. Being able to put an extender right next to it would be massively useful!
Would this work for Bluetooth headphones for when you are on the phone using a iPhone you can walk around the house and not have to carry the phone with you all over?
If I add more than one Bluetooth proxy, will HA sort out getting multiple BLE advertisements without manual intervention? Also, will this coexist with Blerry over Tasmota MQTT gateways or should I use only one or the other?
@@digiblurDIY I've configured devices in Blerry but I thought there was no device configuration step with Bluetooth proxies and that all BLE devices would be autodiscovered, hence the question about coexistence. Long term, I would like to switch BLE sensors over to proxies but there will be a transitional period.
@@digiblurDIY I've ordered some Switchbot Plug Mini's to install Tasmota/Blerry and replace my ESP32 dev kits which are my current gateways. Can I reprogram them from Tasmota to ESPhome per this video or would I have to somehow take them back to factory state first?
@@digiblurDIY I have originally installed my two boards through ESP home web. This time I have loaded the boards again but from HA ESP Home and it works. I have two BT Proxy in the house but it looks like all sensors are connected to the one which is much further than the one just next to the sensor? Do you know by any chance why is that?
@@digiblurDIY How did you accomplish that? I`m ending up with a boot loop with this config: esp32: board: esp32dev framework: type: esp-idf version: latest sdkconfig_options: CONFIG_FREERTOS_UNICORE: y esp32_ble_tracker: scan_parameters: interval: 1100ms window: 1100ms active: true bluetooth_proxy: active: true
Does the Xiaomi Mi Scale 2 work with this bluetooth proxy? I added the proxy and then stepped on the scale and I don't see it show up as another device. Thanks!
How do I know if the ESP32 is actually picking up BT devices and not the onboard Bluetooth on my Raspberry Pi? Tried checking the logs in ESPHome and I can't really find anything that would help me confirm if these are working as intended.
@@digiblurDIYwould it be possible to see the yaml code you have for a device? I'm assuming that if there was an issue it would be based on the yaml code?
I just built 3 bluetooth proxy devices based on the Mini ESP32 ESP-WROOM-32. They all work throughout the house, as I tested them with a Switchbot thermometer. My purpose in all of this was to utilize a Level bolt lock in my front & back doors. I received one today and got it working in HA, but it won't work beyond about 15' of my bluetooth dongle. This tells me that the lock is not working through the proxy. Any idea why this would be so?
So i can just add the code from above to the yaml of an existing esp32 device (currently running as an LED controller with neopixel) and it can double up as a BT proxy? So i can pick up my Mi Flora devices with the existing esp32s, and dont have to configure additional ones to just run BT Proxy?
@@digiblurDIY awesome. I have no idea how much of the CPU the LED controller takes, but im going to test this out. Ive got 9 mi floras i need to set up, so i can wrap that into the LED project im working on and see how it works! thanks for the video, great info!
Hi again Travis. Are there any ESP32 bluetooth boards available that are bluetooth only? I don't want my HAOS connecting to my network by wifi as well as wired internet. That will cause network issues.
@@digiblurDIY sure that’s the bit I don’t understand. Why do the boards have to be connected to the internet (once configured) just to run Bluetooth (given its a unique Bluetooth to Bluetooth protocol? I guess what I’m asking is do you know a simple USB Bluetooth dongle (without wifi) which “just works” (there’s that phrase again!) plugging into that Dell micro PC/ HAOS build you did like 6 months ago. I’ve followed that build and it’s been awesome rock solid for months now. I don’t need ESP home and all that mesh Bluetooth stuff - just a stable signal in my garage for a Shelly Plus relay to control my garage door. You rock mate. W.
None of this connects to the internet. It is using the local network as backhaul to extend your Bluetooth range. You can use USB based dongle if your Bluetooth device is close enough. Something like this amzn.to/3Bp2e4J
After few hiccups I was able to add esp32 device in esphome dashboard. Using 'visit' link, i can open device web page, But it is always 'offline' in homeassistant esphome dashboard.
Only way I could add this device to esphome dashboard was using 'assign it a static IP'. Device webpage does show logs of (re-) flashing and 'Home Logs 2022.8.3 (::FFFF:C0A8:C86B): Connected successfully' - but no BLE entities, just 'button.safe_mode_boot' button. Looks like it just sees as Unifi device. (ps" When flashed with Tasmota32-blutooth bin, it picks up BLE devices.)
@@digiblurDIY Using it for the Bluetooth sensor. I thought maybe changing it give another gives me another proxy? I kind of hate changing stuff that has worked for a long time.
@@billschatzow9919 I reflashed one of my nodemcu devices and it works though there seems to a bug somewhere because of which the sensor shows as unavailable some of the time whereas Blerry seems to extend the last reported value if it misses an advertisement
I have added esp32_ble_tracker: scan_parameters: active: true bluetooth_proxy: but no new entities appeared for the device after recompiling and reuploading firmware
Thanks Travis for your nice work. I’m using Bluetooth proxy to extend coverage of Bluetooth devices (Alarm Clock Qingping (CGD1), Xiaomi Smart Kettle (YM-K1501) and Xiaomi Temperature/Humidity Sensor (LYWSDCGQ)). For me most important to use the proxy for Xiaomi MiFlora (Plant monitor - HHCCJCY01. But so far it is only possible through Bluetooth integration (connected to Raspberry Pi 4 B+ directly). Is it possible to use MiFlora with the proxy? REPLY
Has anyone tried such a Bluetooth device with air quality sensors included? Closest I've found are B0B616VGQJ or B09YQ2HGVB, but I highly doubt they work outside their respective apps.