-
Notifications
You must be signed in to change notification settings - Fork 26
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
Comet Blue BLE valve support #485
Comments
I've started with creating a Comet Blue TRV climate-component. |
@GrumpyMeow do you need to test it on Comet HW or not? :-) thanks anyway! 👍 |
Hi @lwqcz, I'm sincerly bummed out over not being able to complete this component as i love the user-friendlyness of ESPHome itself. For now.. I've paused my work on this component. I'll probably pick it up again in the future. |
@GrumpyMeow Correct, BLE sending APIs (I'm assuming this means BLE GATT) is not supported - only BLE ADV is. But you can use the esp-idf APIs for that if needed. |
@OttoWinter Yeah, it is using BLE GATT. |
If not possible by esphome itself, it must be possible to have esphome connected by I2C to another esp32 device programmed with Arduino IDE code @lwqcz provided |
I recently gave it another try and seem to have made some progress. I found a project on github for controlling eq3 Bluetooth TRVs. Apparently the eq3 uses ble-notifications to retrieve values, while the Comet Blue doesn’t. For this I had to extend the original project a bit. I think I’ll need support of the original developer @ayufan to get my changes aligned. As I have very limited CPP development experience. There are still some other minor issues to iron-out. But I’m now actually able to connect, authenticatie and get/set temperature from Home Assistant. I’ll try to publish the component as soon as possible. I’m hoping that the original developer will adopt my Comet Blue implementation. When I make progress, I’ll post it here. |
I committed my changes to my github repo: https://github.com/GrumpyMeow/esphome-components My configuration:
|
Unfortunately, I didn't know about progress with this device and created my own attempt: It is mostly working but has two big issues:
@GrumpyMeow does your code work with multiple devices? |
Hi Daniel, The BLE range is very limited of the CB devices or Esp32. This is something to keep in mind. The stability is something which I would want to improve. Because at times I see that no connection was made for hours and thus no data is received. At this time I don’t have any clue what the cause is. One thing I learned is to disconnect from the CB devices after the data has been transmitted. |
I am also not happy about the stability but it is shitty with any client software I tested (https://github.com/Hy3n4/ha-cc-cometblue, https://github.com/MrKrabat/Comet-Blue-Thermostat, https://github.com/xrucka/cometblue, ...) So yesterday I opened the device but I got disappointed. |
What about ESP8266/32 board instead original board + eink display? 🤔 |
Hi, I’m not sure if this is the right spot. Was unsure how to message @kerimt-dek directly. I was looking for a way to control my Holman BTX Bluetooth tap timer with home assistant. I found this on GitHub which I think I can get working but not sure how to integrate it into home assistant. https://github.com/scottmckenzie/holman-linux-python Not sure if it could be run on an esp32 though. Hope this helps somewhat. . |
@OttoWinter any chance of getting this sensor type into esphome? Anytime soon? Please let me know. I have valves and ESP8266+32 to test this new feature. |
@GrumpyMeow |
Describe the problem you have/What new integration you would like
A direct support for Comet Blue BLE Thermostat valves as binary sensor (I assume).
Please describe your use case for this integration and alternatives you've tried:
I'm using USB BT 4.0 dongle at my Pine64 to communicate with Comet Blue Thermostat BLE enabled valve controller on my heating radiators.
I would like to have a separate ESP32 to monitor and control these devices and there is even Arduino IDE based code to do so - https://github.com/MrKrabat/Comet-Blue-Thermostat
I would like to have direct support for this in ESPHome.
Additional context
Original product - https://eurotronic.org/produkte/bluetooth-heizkoerperthermostate/comet-blue/
Home-assistant.io discussion thread - https://community.home-assistant.io/t/eurotronic-cometblue-xavax-hama-sygonix/47783
The text was updated successfully, but these errors were encountered: