Open jflefebvre06 opened 10 months ago
On a good bluetooth adapter everything works fine https://github.com/AlexxIT/Jura#bluetooth
I have a good ble adapter : Sena UD100-G03
I know nothing about your model. If it has good and original chip inside. Also you said about ESP proxy. You need to make sure that the connection happens via adapter and not via proxy.
It is referenced as KNOWN WORKING HIGH-PERFORMANCE ADAPTERS
Yes I use ESP proxy tool (Atom lite), I have tried with BLE proxy and direct bluetooth, same result. Do you have implemented the heartbeat ?
I have implemented another version of holding connection. It works great with my model of coffee maker.
It is important that you perform a quality direct connection test through the CSR8510A10 adapter. It must be connected to a USB extension cable and be 1/2 metre away from other devices, including your server. And the range to the coffee machine should be no more than a few metres.
It is advisable to switch off the power of the proxy when doing test.
@AlexxIT Thank you very much for creating and sharing this nice library! =)
As also mentioned in your documentation, I'm using a Bluetooth proxy
(HA Core 2024.3.0, ESP32 with ESPHome Integration 2024.2.1) to the connection to my Jura Giga 10.
If I setup with recommend configuration for an ethernet-connected Bluetooth proxy: https://esphome.io/components/bluetooth_proxy.html, I got an error ERROR (MainThread) [homeassistant.components.config] The bluetooth integration does not support any configuration parameters ...
So I removed those.
It is also possible to use a Bluetooth Proxy with active mode supported.
As seen at others the Connection to the machine is lost after different time periods (minutes):
If I change some entity value (e. g. Product) in HA in the Jura integration the connection is back again. In principle the other communication with the machine is working perfect!
I enabled the setting Enable polling for updates.
.
So my questions:
active
bluetooth connection?Is my bluetooth setup / hardware really supported?
Probably supported, but it is not sure that the operation will be stable.
Is it normal that the connection is lost after some time but reestablished if I change some entity value in the integration?
That's the way it's designed. The component does not maintain a 24/7 connection to the coffee maker. It connects when the user customizes the drink. And disconnects after 2 minutes of idle time.
PS. Disconnecting after 20 seconds (this issue) is a bug. I don't know why it happens and how to fix it.
Hello, Thanks a lot for the job, perfectly works with my Jura S80, the only problem I have is it disconnect every 20 seconds
I use atom bluetooth proxy
Do you have implemented the heartbeat ?