Open abmantis opened 5 years ago
Quick question: are you guys using (or OK with using) the espidf framework from platformio? I'm working on a classic BT device tracker for the ESP32, which could probably be included in esphome, but it requires that framework.
ESPHome uses the arduino framework, but that uses esp-idf internally, so yes that can be used (see ble_tracker implementation for example)
@OttoWinter cool, thanks! I'll try to do something then!
If this would be implemented, does it mean we can use an ESP32 and Esphome to set up Room tracking like: https://www.home-assistant.io/components/sensor.mqtt_room/ ? That would be awesome :)
@runevad yes, that was my plan. Unfortunately I'm finding it hard to do without having an impact on the phone's baterry, since the classic bluetooth discovery APIs from espressif are incomplete at the moment.
Would be great if you could detect regular Bluetooth devices as easily as Bluetooth LE device.
Any alternative is to make your phone a Bluetooth LE beacon. This should use less power? I am going to try https://play.google.com/store/apps/details?id=net.alea.beaconsimulator&rdid=net.alea.beaconsimulator and will report.
Any developments on this ?
Hi,
Any developments on this please?
Not that I know of - also BLE is already enough of a headache to support (lots of bugs bubbling up from esp-idf, mostly crashing the device at random times). So the appetite for me to implement a second BLE-like system is rather low.
Any progress?
It's been years. And I have a device that requires pairing before BLE can work. I am seeing a status=133 error code, and I can't seem to get the ESP32 to pair with the BLE device.
Describe the problem you have/What new integration you would like
It would be great to be able to scan classic bluetooth (not BLE) devices, like phones.
Please describe your use case for this integration and alternatives you've tried:
A device tracker for phones.
Additional context
I'm not sure if there's a high-level API for this yet, but it is possible: https://techtutorialsx.com/2018/03/04/esp32-arduino-bluetooth-classic-getting-started/
The PR mentioned on that article is already merged, so it should be simpler.