Hi, yes I discovered myself the bracket was the issue so I removed it. So that’s now OK. But I have run into another problem and it might be similar to some of the other peoples problems. I don’t seem to be able to connect to the nespresso and it keeps timing out. Using bluetoothctl I can see the nespresso MAC from HA with a pretty good signal strength. But the connection keeps timing out in the HA logs:
2021-06-04 15:52:43 ERROR (SyncWorker_6) [pygatt.backends.gatttool.gatttool] Timed out connecting to 10:98:c3:f5:8c:6f after 5.0 seconds.
2021-06-04 15:52:43 ERROR (SyncWorker_6) [custom_components.nespresso.nespresso]
Traceback (most recent call last):
File “/usr/local/lib/python3.8/site-packages/pygatt/backends/gatttool/gatttool.py”, line 415, in connect
self.sendline(cmd)
File “/usr/local/lib/python3.8/contextlib.py”, line 120, in exit
next(self.gen)
File “/usr/local/lib/python3.8/site-packages/pygatt/backends/gatttool/gatttool.py”, line 191, in event
self.wait(event, timeout)
File “/usr/local/lib/python3.8/site-packages/pygatt/backends/gatttool/gatttool.py”, line 157, in wait
raise NotificationTimeout()
pygatt.exceptions.NotificationTimeout: None
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/config/custom_components/nespresso/nespresso.py”, line 179, in get_info
dev = self.adapter.connect(mac, address_type=pygatt.BLEAddressType.random)
File “/usr/local/lib/python3.8/site-packages/pygatt/backends/gatttool/gatttool.py”, line 421, in connect
raise NotConnectedError(message)
pygatt.exceptions.NotConnectedError: Timed out connecting to 10:98:c3:f5:8c:6f after 5.0 seconds.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/local/lib/python3.8/site-packages/pygatt/backends/gatttool/gatttool.py”, line 415, in connect
self.sendline(cmd)
File “/usr/local/lib/python3.8/contextlib.py”, line 120, in exit
next(self.gen)
File “/usr/local/lib/python3.8/site-packages/pygatt/backends/gatttool/gatttool.py”, line 191, in event
self.wait(event, timeout)
File “/usr/local/lib/python3.8/site-packages/pygatt/backends/gatttool/gatttool.py”, line 157, in wait
raise NotificationTimeout()
pygatt.exceptions.NotificationTimeout: None
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/config/custom_components/nespresso/nespresso.py”, line 179, in get_info
dev = self.adapter.connect(mac, address_type=pygatt.BLEAddressType.random)
File “/usr/local/lib/python3.8/site-packages/pygatt/backends/gatttool/gatttool.py”, line 421, in connect
raise NotConnectedError(message)
pygatt.exceptions.NotConnectedError: Timed out connecting to 10:98:c3:f5:8c:6f after 5.0 seconds.
I have the MAC and auth code correct, and from my phone I can connect to it using the brew button page, and I get the following:
So that looks good. I am using a different model of nespresso (the essenza plus). But I expect it should probably also work, and should definitely be able to connect at least.
Thanks.