Open stumpylog opened 2 years ago
In case anyone would like to roll their own so to speak, I have a working version: https://github.com/stumpylog/bthome-weather-station
It uses a BME280 and an ESP32 to send values to Home Assistant. It's nowhere near the user-friendly ESPHome, but it also isn't so hard to use.
Wonder why this is not a thing yet.
Combined with the XIAO ESP32C3 we could then make tiny door/window sensors with very low power consumption which can even fit inside the window frame.
Really interested in this feature☝🏻
Edit: seems consumption in BLE mode is higher than WiFi ??
Indeed, I built a similar solution using ESP-IDF: https://github.com/konistehrad/esp32-bthomev2-espidf
That said, this kind of "broadcast-bthome-packets-then-deep-sleep" routine seems like a good fit for ESPHome's current declarative structure. Would love to get the ball rolling on this, but consuming the sensor data seems to require some kind of python interaction, which is definitely jamming me up. Would love it if someone could point me in the right direction on this.
Really interested to see this too. One step further, we could consider Home Assistant App being able to proxy BTHome advertisements through to HA also (my use case is a CANbus board to broadcast the current car charge status). Some interesting relevant work here - just missing the BLE transmitter
Would be really cool feature
Describe the problem you have/What new integration you would like
It would be awesome to be able to configure an ESP device with only Bluetooth, which sends sensor data using the BTHome data format for relay to Home Assistant using the new proxies.
This would be very beneficial for battery powered devices, while still leveraging the YAML configuration and existing components (probably just sensors).
Please describe your use case for this integration and alternatives you've tried:
The only current alternative is writing a BTHome and BLE setup with the ESP-IDF or Arduino libraries manually.
Additional context
This may not fit into the normal ESPHome setup, but be better as another project, which shares as much as possible with ESPHome's already existing code.