-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FR] Add Bluetooth support in ESPEasy #5163
Comments
Very similar request, just a few days ago...: #5158 |
Yes, however there are for sure concerns as mentioned in the other issue linked by Ton. I've also looked into the ESPHome BT proxy feature, and as a matter of fact, I got a large packet from Ali yesterday with a number of BT sensors. So it is on my "looking into it" list, however I first need to finish the WiFi/network rewrite. Another 'problem' I have is that we're the only one (next to Tasmota) who are using ESP-IDF5.x, so there is hardly any example code out there and the BT/WiFi code also has changed on IDF5.x, not only for Arduino. |
Thanks!
Thanks!
|
Coming back to SwitchBot, here the API: https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/tree/latest |
We all do, but there has been a massive change between ESP-IDF4.x and ESP-IDF5.x Now that there is PIO-Arduino, I expect other firmwares to follow soon so they can also support ESP32-C6 for example. |
Out of curiosity, why you want to use Bluetooth over Zigbee for sensors? I always thought Zigbee was better in terms of range and power consumption. (In terms on convenience a bluetooth gateway sure is better since all is done by one device. For my setup I run a zigbee2tasmota device with a berry script, that translates and sends commands to ESPEasy.) |
The other large bag was with Zigbee stuff :) And only the C6 and H2 support 802.15.4. The H2 doesn't have WiFi and the C6 is really not that stable when running WiFi along with Thread/Zigbee. When you want devices to operate at really low power, you cannot use WiFi, so for future extensions of ESPEasy, I guess there will be builds for those MCU's as well, where you can configure them via a (WiFi/Ethernet) ESPEasy node and those will then run a very lightweight build communicating with ESPEasy as a kind of gateway/frontend/etc. That's also why I am making plugins as uniform as possible so you can re-use code for other platforms. There are so many things I would like to do in the future... I'm missing like a week of time every day. |
That would be a dream come true :) |
I have this plan already for at least 5 years, even before we had to move to the temporary house (demolision and rebuilding of 30 houses in our street due to earth quakes caused by gas extraction) so that's a good reference point for me to keep track of when things happened. But for this to be done, a number of things have to be separated and restructured or else you can't re-use code on other platforms. |
This is for sure a lot of time consuming work. But for now i am really happy that ESPEasy exists anyway. It makes a lot of things a lot easier.. :) Thank you for your effort! |
Hi!
Ok, maybe this is an hard request and an already "covered" request, but yes I ask for Bluetooth support for ESPEasy.
Personally I'm interested into a Bluetooth gateway/proxy for Bluetooth Low Energy (BLE) sensors/devices in order to pulbish the sensors/devices values via MQTT (so in WiFi).
In my case I have several SwitchBot Meter Plus devices and SwitchBot Indoor/Outdoor Thermo-Hygrometer (Temperature and Humidity sensor with inside the Sensirion chip, so good products) that are Bluetooth Low Energy (BLE).
I have also several SwitchBot Motion Sensor.
Currently I'm using the Bluetooth Proxy feature of ESPHome on an ESP32 board to interface the BLE devices with Home Assistant.
What it will be nice to have in ESPEasy is the possibility to "listen for" all the Bluetooth Low Energy (BLE) available/discovered devices and "manage" the data with the power of ESPEasy.
In other words, read all the values published by the various Bluetooth Low Energy (BLE) devices/Mac-Address and play with them using ESPEasy.
Any chance to have it in a future?
Thanks!
Some (maybe) interested link to starts with:
https://randomnerdtutorials.com/esp32-bluetooth-low-energy-ble-arduino-ide/
https://github.com/devWaves/SwitchBot-MQTT-BLE-ESP32
https://smarthomescene.com/guides/how-to-integrate-switchbot-outdoor-thermo-hygrometer-in-esphome/
https://esphome.io/components/bluetooth_proxy.html
https://smarthomescene.com/diy/diy-the-smallest-bluetooth-proxy-with-esp32-c3-supermini/
https://www.creatingsmarthome.com/index.php/2023/03/27/guide-bluetooth-proxy-to-home-assistant-using-esphome/
The text was updated successfully, but these errors were encountered: