Giter Club home page Giter Club logo

Comments (13)

tikismoke avatar tikismoke commented on July 19, 2024

Going in the Todo list!

Don't think it's impossible.

from home-assistant-nespressoble.

marcandre83 avatar marcandre83 commented on July 19, 2024

Thank you very much! Is there maybe a quick workaround so I can replace some text passages in the source to use hci2?

from home-assistant-nespressoble.

tikismoke avatar tikismoke commented on July 19, 2024

from home-assistant-nespressoble.

tikismoke avatar tikismoke commented on July 19, 2024

Something like this :
adapter = pygatt.GATTToolBackend(hci_device="hci1")

from home-assistant-nespressoble.

marcandre83 avatar marcandre83 commented on July 19, 2024

I tried changing exactly this line but somehow gatttool cant send auth code now any more (but seems to be able to get a connection to the machine as far as I see). Is there anything else I have to change?

2020-08-04 21:53:04 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for aarlo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-08-04 21:53:10 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for nespresso which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-08-04 21:53:15 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/data_entry_flow.py", line 129, in async_init
    flow, flow.init_step, data, init_done
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/data_entry_flow.py", line 201, in _async_handle_step
    result: Dict = await getattr(flow, method)(user_input)
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/harmony/config_flow.py", line 89, in async_step_ssdp
    if self._host_already_configured(parsed_url.hostname):
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/harmony/config_flow.py", line 167, in _host_already_configured
    if entry.data[CONF_HOST] == host:
KeyError: 'host'
2020-08-04 21:53:20 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform nespresso is taking over 10 seconds.
2020-08-04 21:53:32 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.sony_bravia_tv is taking over 10 seconds
2020-08-04 21:53:32 WARNING (MainThread) [homeassistant.components.media_player] Updating braviatv media_player took longer than the scheduled update interval 0:00:10
2020-08-04 21:53:49 ERROR (SyncWorker_13) [pygatt.backends.gatttool.gatttool] No response received
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 157, in wait
    raise NotificationTimeout()
pygatt.exceptions.NotificationTimeout: None
2020-08-04 21:53:49 ERROR (SyncWorker_13) [custom_components.nespresso.nespresso] Failed to send auth code, retrying in 5s
Traceback (most recent call last):
  File "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 279, in connectnespresso
    device.char_write(CHAR_UUID_AUTH, binascii.unhexlify(self.auth_code), wait_for_response=True)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/device.py", line 122, in char_write
    wait_for_response=wait_for_response)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 48, in char_write_handle
    self._backend.char_write_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 50, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 157, in wait
    raise NotificationTimeout()
pygatt.exceptions.NotificationTimeout: None
2020-08-04 21:53:54 ERROR (SyncWorker_13) [custom_components.nespresso.nespresso] Failed to send auth code, 3 times
Traceback (most recent call last):
  File "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 279, in connectnespresso
    device.char_write(CHAR_UUID_AUTH, binascii.unhexlify(self.auth_code), wait_for_response=True)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/device.py", line 122, in char_write
    wait_for_response=wait_for_response)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 48, in char_write_handle
    self._backend.char_write_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 50, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 157, in wait
    raise NotificationTimeout()
pygatt.exceptions.NotificationTimeout: None
2020-08-04 21:54:10 ERROR (MainThread) [homeassistant.components.sensor] Setup of platform nespresso is taking longer than 60 seconds. Startup will proceed without waiting any longer.
2020-08-04 21:54:24 ERROR (SyncWorker_13) [pygatt.backends.gatttool.gatttool] No response received
Traceback (most recent call last):
  File "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 279, in connectnespresso
    device.char_write(CHAR_UUID_AUTH, binascii.unhexlify(self.auth_code), wait_for_response=True)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/device.py", line 122, in char_write
    wait_for_response=wait_for_response)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 48, in char_write_handle
    self._backend.char_write_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 50, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/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 "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 157, in wait
    raise NotificationTimeout()
pygatt.exceptions.NotificationTimeout: None
2020-08-04 21:54:24 ERROR (SyncWorker_13) [custom_components.nespresso.nespresso] Failed to send auth code, retrying in 5s
Traceback (most recent call last):
  File "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 279, in connectnespresso
    device.char_write(CHAR_UUID_AUTH, binascii.unhexlify(self.auth_code), wait_for_response=True)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/device.py", line 122, in char_write
    wait_for_response=wait_for_response)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 48, in char_write_handle
    self._backend.char_write_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 50, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/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 "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 279, in connectnespresso
    device.char_write(CHAR_UUID_AUTH, binascii.unhexlify(self.auth_code), wait_for_response=True)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/device.py", line 122, in char_write
    wait_for_response=wait_for_response)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 48, in char_write_handle
    self._backend.char_write_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 50, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 157, in wait
    raise NotificationTimeout()
pygatt.exceptions.NotificationTimeout: None
2020-08-04 21:54:25 WARNING (SyncWorker_9) [homeassistant.components.homekit.util] ['auto', '1', '2', '3', '4', '5'] does not contain the speed setting off as its first element. Assuming that auto is equivalent to 'off'
2020-08-04 21:54:29 ERROR (SyncWorker_13) [custom_components.nespresso.nespresso] Failed to send auth code, 3 times
Traceback (most recent call last):
  File "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 279, in connectnespresso
    device.char_write(CHAR_UUID_AUTH, binascii.unhexlify(self.auth_code), wait_for_response=True)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/device.py", line 122, in char_write
    wait_for_response=wait_for_response)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 48, in char_write_handle
    self._backend.char_write_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 50, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/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 "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 279, in connectnespresso
    device.char_write(CHAR_UUID_AUTH, binascii.unhexlify(self.auth_code), wait_for_response=True)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/device.py", line 122, in char_write
    wait_for_response=wait_for_response)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 48, in char_write_handle
    self._backend.char_write_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 50, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 157, in wait
    raise NotificationTimeout()
pygatt.exceptions.NotificationTimeout: None
2020-08-04 21:54:38 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.basil_m_moisture is taking over 10 seconds
2020-08-04 21:54:59 ERROR (SyncWorker_13) [pygatt.backends.gatttool.gatttool] No response received
Traceback (most recent call last):
  File "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 279, in connectnespresso
    device.char_write(CHAR_UUID_AUTH, binascii.unhexlify(self.auth_code), wait_for_response=True)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/device.py", line 122, in char_write
    wait_for_response=wait_for_response)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 48, in char_write_handle
    self._backend.char_write_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 50, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/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 "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 279, in connectnespresso
    device.char_write(CHAR_UUID_AUTH, binascii.unhexlify(self.auth_code), wait_for_response=True)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/device.py", line 122, in char_write
    wait_for_response=wait_for_response)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 48, in char_write_handle
    self._backend.char_write_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 50, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/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 "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 157, in wait
    raise NotificationTimeout()
pygatt.exceptions.NotificationTimeout: None
2020-08-04 21:54:59 ERROR (SyncWorker_13) [custom_components.nespresso.nespresso] Failed to send auth code, retrying in 5s
Traceback (most recent call last):
  File "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 279, in connectnespresso
    device.char_write(CHAR_UUID_AUTH, binascii.unhexlify(self.auth_code), wait_for_response=True)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/device.py", line 122, in char_write
    wait_for_response=wait_for_response)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 48, in char_write_handle
    self._backend.char_write_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 50, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/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 "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 279, in connectnespresso
    device.char_write(CHAR_UUID_AUTH, binascii.unhexlify(self.auth_code), wait_for_response=True)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/device.py", line 122, in char_write
    wait_for_response=wait_for_response)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 48, in char_write_handle
    self._backend.char_write_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 50, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/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 "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 279, in connectnespresso
    device.char_write(CHAR_UUID_AUTH, binascii.unhexlify(self.auth_code), wait_for_response=True)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/device.py", line 122, in char_write
    wait_for_response=wait_for_response)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 48, in char_write_handle
    self._backend.char_write_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 50, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 157, in wait
    raise NotificationTimeout()
pygatt.exceptions.NotificationTimeout: None
2020-08-04 21:55:04 ERROR (SyncWorker_13) [custom_components.nespresso.nespresso] Failed to send auth code, 3 times
Traceback (most recent call last):
  File "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 279, in connectnespresso
    device.char_write(CHAR_UUID_AUTH, binascii.unhexlify(self.auth_code), wait_for_response=True)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/device.py", line 122, in char_write
    wait_for_response=wait_for_response)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 48, in char_write_handle
    self._backend.char_write_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 50, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/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 "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 279, in connectnespresso
    device.char_write(CHAR_UUID_AUTH, binascii.unhexlify(self.auth_code), wait_for_response=True)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/device.py", line 122, in char_write
    wait_for_response=wait_for_response)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 48, in char_write_handle
    self._backend.char_write_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 50, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/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 "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 279, in connectnespresso
    device.char_write(CHAR_UUID_AUTH, binascii.unhexlify(self.auth_code), wait_for_response=True)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/device.py", line 122, in char_write
    wait_for_response=wait_for_response)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 48, in char_write_handle
    self._backend.char_write_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 50, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 157, in wait
    raise NotificationTimeout()
pygatt.exceptions.NotificationTimeout: None
2020-08-04 21:55:17 ERROR (SyncWorker_0) [homeassistant.components.yeelight] Unable to update device 192.168.1.27, Floor Light 2: Bulb closed the connection.
2020-08-04 21:55:34 ERROR (SyncWorker_13) [pygatt.backends.gatttool.gatttool] No response received
Traceback (most recent call last):
  File "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 279, in connectnespresso
    device.char_write(CHAR_UUID_AUTH, binascii.unhexlify(self.auth_code), wait_for_response=True)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/device.py", line 122, in char_write
    wait_for_response=wait_for_response)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 48, in char_write_handle
    self._backend.char_write_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 50, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/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 "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 279, in connectnespresso
    device.char_write(CHAR_UUID_AUTH, binascii.unhexlify(self.auth_code), wait_for_response=True)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/device.py", line 122, in char_write
    wait_for_response=wait_for_response)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 48, in char_write_handle
    self._backend.char_write_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 50, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/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 "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 279, in connectnespresso
    device.char_write(CHAR_UUID_AUTH, binascii.unhexlify(self.auth_code), wait_for_response=True)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/device.py", line 122, in char_write
    wait_for_response=wait_for_response)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 48, in char_write_handle
    self._backend.char_write_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 50, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/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 "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 157, in wait
    raise NotificationTimeout()
pygatt.exceptions.NotificationTimeout: None
2020-08-04 21:55:34 ERROR (SyncWorker_13) [custom_components.nespresso.nespresso] Failed to send auth code, retrying in 5s
Traceback (most recent call last):
  File "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 279, in connectnespresso
    device.char_write(CHAR_UUID_AUTH, binascii.unhexlify(self.auth_code), wait_for_response=True)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/device.py", line 122, in char_write
    wait_for_response=wait_for_response)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 48, in char_write_handle
    self._backend.char_write_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 50, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/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 "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 279, in connectnespresso
    device.char_write(CHAR_UUID_AUTH, binascii.unhexlify(self.auth_code), wait_for_response=True)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/device.py", line 122, in char_write
    wait_for_response=wait_for_response)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 48, in char_write_handle
    self._backend.char_write_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 50, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/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 "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 279, in connectnespresso
    device.char_write(CHAR_UUID_AUTH, binascii.unhexlify(self.auth_code), wait_for_response=True)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/device.py", line 122, in char_write
    wait_for_response=wait_for_response)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 48, in char_write_handle
    self._backend.char_write_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 50, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/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 "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 279, in connectnespresso
    device.char_write(CHAR_UUID_AUTH, binascii.unhexlify(self.auth_code), wait_for_response=True)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/device.py", line 122, in char_write
    wait_for_response=wait_for_response)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 48, in char_write_handle
    self._backend.char_write_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 50, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 157, in wait
    raise NotificationTimeout()
pygatt.exceptions.NotificationTimeout: None
2020-08-04 21:55:39 ERROR (SyncWorker_13) [custom_components.nespresso.nespresso] Failed to send auth code, more than 3 times
Traceback (most recent call last):
  File "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 279, in connectnespresso
    device.char_write(CHAR_UUID_AUTH, binascii.unhexlify(self.auth_code), wait_for_response=True)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/device.py", line 122, in char_write
    wait_for_response=wait_for_response)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 48, in char_write_handle
    self._backend.char_write_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 50, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/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 "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 279, in connectnespresso
    device.char_write(CHAR_UUID_AUTH, binascii.unhexlify(self.auth_code), wait_for_response=True)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/device.py", line 122, in char_write
    wait_for_response=wait_for_response)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 48, in char_write_handle
    self._backend.char_write_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 50, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/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 "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 279, in connectnespresso
    device.char_write(CHAR_UUID_AUTH, binascii.unhexlify(self.auth_code), wait_for_response=True)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/device.py", line 122, in char_write
    wait_for_response=wait_for_response)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 48, in char_write_handle
    self._backend.char_write_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 50, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/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 "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 279, in connectnespresso
    device.char_write(CHAR_UUID_AUTH, binascii.unhexlify(self.auth_code), wait_for_response=True)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/device.py", line 122, in char_write
    wait_for_response=wait_for_response)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 48, in char_write_handle
    self._backend.char_write_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 50, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 157, in wait
    raise NotificationTimeout()
pygatt.exceptions.NotificationTimeout: None
2020-08-04 21:55:39 ERROR (SyncWorker_13) [custom_components.nespresso.nespresso] Failed to read characteristic
Traceback (most recent call last):
  File "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 300, in get_sensor_data
    data = dev.char_read_handle("0x{:04x}".format(characteristic.handle))
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 44, in char_read_handle
    return self._backend.char_read_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 49, in wrapper
    raise NotConnectedError()
pygatt.exceptions.NotConnectedError
2020-08-04 21:55:39 ERROR (SyncWorker_13) [custom_components.nespresso.nespresso] Failed to read characteristic
Traceback (most recent call last):
  File "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 300, in get_sensor_data
    data = dev.char_read_handle("0x{:04x}".format(characteristic.handle))
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 44, in char_read_handle
    return self._backend.char_read_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 49, in wrapper
    raise NotConnectedError()
pygatt.exceptions.NotConnectedError
2020-08-04 21:55:39 ERROR (SyncWorker_13) [custom_components.nespresso.nespresso] Failed to read characteristic
Traceback (most recent call last):
  File "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 300, in get_sensor_data
    data = dev.char_read_handle("0x{:04x}".format(characteristic.handle))
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 44, in char_read_handle
    return self._backend.char_read_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 49, in wrapper
    raise NotConnectedError()
pygatt.exceptions.NotConnectedError
2020-08-04 21:55:39 ERROR (SyncWorker_13) [custom_components.nespresso.nespresso] Failed to read characteristic
Traceback (most recent call last):
  File "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 300, in get_sensor_data
    data = dev.char_read_handle("0x{:04x}".format(characteristic.handle))
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 44, in char_read_handle
    return self._backend.char_read_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 49, in wrapper
    raise NotConnectedError()
pygatt.exceptions.NotConnectedError
2020-08-04 21:55:39 ERROR (SyncWorker_13) [custom_components.nespresso.nespresso] Failed to connect
Traceback (most recent call last):
  File "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 313, in get_sensor_data
    dev.disconnect()
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 52, in disconnect
    self._backend.disconnect(self)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 49, in wrapper
    raise NotConnectedError()
pygatt.exceptions.NotConnectedError

from home-assistant-nespressoble.

tikismoke avatar tikismoke commented on July 19, 2024

So you python skills seems high.

To avoid restarting ha you could try the 2mqtt script at the base of the repo it's nearly the same code but it push data to a mqtt broker.

Easier to stop/restart than whole ha.

For me it looks like again the range issue or not a ble dongle or a dongle reset issue (in last case only rebooting save me :( )

from home-assistant-nespressoble.

marcandre83 avatar marcandre83 commented on July 19, 2024

I will have to try around, as I said, I am actually using another Raspberry Pi via usbip and another bluetooth dongle to avoid the range issue. I will get back as soon as I have some more infos, I guess this could solve the range issue for a lot of people who still have an old Pi somewhere :)

from home-assistant-nespressoble.

tikismoke avatar tikismoke commented on July 19, 2024

from home-assistant-nespressoble.

marcandre83 avatar marcandre83 commented on July 19, 2024

I have just checked some more stuff, somehow the integration doesn't like the usbip. Everything is set up correctly and working, but I get the error messages above. When using another integration (for example the HA Mi Flora integration) the usbip bluetooth dongle works fine. Any idea where I can still look for solutions to get it running with usbip? I have been googling around and usually gatttool should be working together with usbip and bluetooth usb dongles.

from home-assistant-nespressoble.

marcandre83 avatar marcandre83 commented on July 19, 2024

I am trying to find out why gatttool seems to have problems with usbip and the nespresso machine. I tried connecting manually via gatttool and reading out the characteristics but the device closes the connection (I guess its because it needs the auth code).
Btw. here is the debug log of my HA:

2020-08-04 23:46:08 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for aarlo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-08-04 23:46:08 INFO (MainThread) [homeassistant.setup] Setting up http
2020-08-04 23:46:08 INFO (MainThread) [homeassistant.setup] Setup of domain logger took 0.0 seconds
2020-08-04 23:46:08 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds
2020-08-04 23:46:08 INFO (MainThread) [homeassistant.setup] Setting up system_log
2020-08-04 23:46:08 INFO (MainThread) [homeassistant.setup] Setup of domain system_log took 0.0 seconds
2020-08-04 23:46:09 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 0.1 seconds
2020-08-04 23:46:09 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 1: {'http', 'alexa', 'webhook', 'websocket_api', 'system_log', 'person', 'api', 'cloud', 'onboarding', 'frontend', 'device_automation', 'auth', 'search', 'config', 'lovelace'}
2020-08-04 23:46:09 INFO (MainThread) [homeassistant.setup] Setting up person
2020-08-04 23:46:09 INFO (MainThread) [homeassistant.setup] Setting up device_automation
2020-08-04 23:46:09 INFO (MainThread) [homeassistant.setup] Setting up lovelace
2020-08-04 23:46:09 INFO (MainThread) [homeassistant.setup] Setting up alexa
2020-08-04 23:46:09 INFO (MainThread) [homeassistant.setup] Setting up webhook
2020-08-04 23:46:09 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2020-08-04 23:46:09 INFO (MainThread) [homeassistant.setup] Setting up api
2020-08-04 23:46:09 INFO (MainThread) [homeassistant.setup] Setup of domain device_automation took 0.5 seconds
2020-08-04 23:46:09 INFO (MainThread) [homeassistant.setup] Setting up auth
2020-08-04 23:46:09 INFO (MainThread) [homeassistant.setup] Setting up config
2020-08-04 23:46:09 INFO (MainThread) [homeassistant.setup] Setup of domain alexa took 0.1 seconds
2020-08-04 23:46:09 INFO (MainThread) [homeassistant.setup] Setup of domain webhook took 0.1 seconds
2020-08-04 23:46:09 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.1 seconds
2020-08-04 23:46:09 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.1 seconds
2020-08-04 23:46:09 INFO (MainThread) [homeassistant.setup] Setup of domain auth took 0.1 seconds
2020-08-04 23:46:09 INFO (MainThread) [homeassistant.setup] Setup of domain config took 0.1 seconds
2020-08-04 23:46:09 INFO (MainThread) [homeassistant.setup] Setting up search
2020-08-04 23:46:09 INFO (MainThread) [homeassistant.setup] Setup of domain search took 0.0 seconds
2020-08-04 23:46:09 INFO (MainThread) [homeassistant.setup] Setup of domain lovelace took 0.4 seconds
2020-08-04 23:46:09 INFO (SyncWorker_18) [homeassistant.loader] Loaded google_assistant from homeassistant.components.google_assistant
2020-08-04 23:46:11 INFO (MainThread) [homeassistant.setup] Setting up cloud
2020-08-04 23:46:11 INFO (MainThread) [homeassistant.setup] Setup of domain person took 2.9 seconds
2020-08-04 23:46:11 INFO (MainThread) [homeassistant.setup] Setting up onboarding
2020-08-04 23:46:12 INFO (MainThread) [homeassistant.setup] Setup of domain onboarding took 0.2 seconds
2020-08-04 23:46:12 INFO (MainThread) [homeassistant.setup] Setting up frontend
2020-08-04 23:46:12 INFO (MainThread) [homeassistant.setup] Setup of domain frontend took 0.0 seconds
2020-08-04 23:46:13 INFO (MainThread) [homeassistant.setup] Setup of domain cloud took 1.8 seconds
2020-08-04 23:46:13 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 2: {'ffmpeg', 'harmony', 'aarlo', 'yeelight', 'rest_command', 'upnp', 'homekit_controller', 'automation', 'braviatv', 'updater', 'ring', 'device_tracker', 'group', 'tado', 'camera', 'sensor', 'fan', 'zeroconf', 'denonavr', 'homekit', 'hue', 'switch', 'media_player', 'input_datetime', 'tts', 'smartthings', 'ssdp', 'history', 'withings', 'scene', 'zone', 'binary_sensor', 'cast', 'script', 'system_health', 'daikin', 'timer', 'input_select', 'input_boolean', 'default_config', 'ios', 'tile', 'input_number', 'map', 'input_text', 'sun', 'ipp', 'logbook', 'mobile_app'}
2020-08-04 23:46:13 INFO (MainThread) [homeassistant.setup] Setting up ffmpeg
2020-08-04 23:46:13 INFO (MainThread) [homeassistant.setup] Setting up rest_command
2020-08-04 23:46:13 INFO (MainThread) [homeassistant.setup] Setting up braviatv
2020-08-04 23:46:13 INFO (MainThread) [homeassistant.setup] Setting up updater
2020-08-04 23:46:13 INFO (MainThread) [homeassistant.setup] Setting up group
2020-08-04 23:46:13 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for nespresso which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-08-04 23:46:13 INFO (SyncWorker_9) [homeassistant.loader] Loaded miflora from homeassistant.components.miflora
2020-08-04 23:46:13 INFO (SyncWorker_10) [homeassistant.loader] Loaded template from homeassistant.components.template
2020-08-04 23:46:13 INFO (MainThread) [homeassistant.setup] Setting up input_datetime
2020-08-04 23:46:13 INFO (MainThread) [homeassistant.setup] Setting up scene
2020-08-04 23:46:13 INFO (MainThread) [homeassistant.setup] Setting up zone
2020-08-04 23:46:13 INFO (MainThread) [homeassistant.setup] Setting up script
2020-08-04 23:46:13 INFO (MainThread) [homeassistant.setup] Setting up timer
2020-08-04 23:46:13 INFO (MainThread) [homeassistant.setup] Setting up input_select
2020-08-04 23:46:13 INFO (MainThread) [homeassistant.setup] Setting up input_boolean
2020-08-04 23:46:13 INFO (MainThread) [homeassistant.setup] Setting up tile
2020-08-04 23:46:13 INFO (MainThread) [homeassistant.setup] Setting up input_number
2020-08-04 23:46:13 INFO (MainThread) [homeassistant.setup] Setting up input_text
2020-08-04 23:46:13 INFO (MainThread) [homeassistant.setup] Setting up sun
2020-08-04 23:46:14 INFO (SyncWorker_18) [homeassistant.loader] Loaded discovery from homeassistant.components.discovery
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.components.scene] Setting up scene.homeassistant
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.setup] Setting up fan
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.components.scene] Setting up scene.homeassistant
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.components.scene] Setting up scene.homeassistant
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.components.scene] Setting up scene.homeassistant
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.components.scene] Setting up scene.homeassistant
2020-08-04 23:46:14 INFO (MainThread) [snitun.utils.aiohttp_client] AioHTTP snitun client started on 127.0.0.1:35329
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.setup] Setup of domain rest_command took 0.5 seconds
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.setup] Setup of domain braviatv took 0.5 seconds
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.setup] Setup of domain updater took 0.5 seconds
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.setup] Setup of domain group took 0.5 seconds
2020-08-04 23:46:14 INFO (SyncWorker_2) [homeassistant.loader] Loaded broadlink from homeassistant.components.broadlink
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.setup] Setting up media_player
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.setup] Setting up history
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.setup] Setting up system_health
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.setup] Setup of domain tile took 0.4 seconds
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.setup] Setting up map
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.setup] Setup of domain sun took 0.4 seconds
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.setup] Setting up logbook
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.components.fan] Setting up fan.template
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.setup] Setting up binary_sensor
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.setup] Setting up sensor
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.setup] Setting up zeroconf
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.setup] Setup of domain fan took 0.2 seconds
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.setup] Setting up switch
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.setup] Setting up tado
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.nespresso
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.miflora
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.miflora
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.miflora
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.miflora
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.miflora
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.miflora
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.setup] Setup of domain media_player took 0.2 seconds
2020-08-04 23:46:14 DEBUG (SyncWorker_0) [custom_components.nespresso.sensor] Searching for Nespresso sensors...
2020-08-04 23:46:14 DEBUG (SyncWorker_0) [custom_components.nespresso.sensor] Getting info about device(s)
2020-08-04 23:46:14 INFO (Thread-4) [pygatt.backends.gatttool.gatttool] Running...
2020-08-04 23:46:14 INFO (SyncWorker_0) [pygatt.backends.gatttool.gatttool] Connecting to ec:d7:50:55:f6:a0 with timeout=5.0
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.setup] Setting up smartthings
2020-08-04 23:46:14 INFO (MainThread) [homeassistant.setup] Setup of domain history took 0.5 seconds
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setting up withings
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain script took 1.1 seconds
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain system_health took 0.7 seconds
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain map took 0.7 seconds
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain ffmpeg took 1.3 seconds
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setting up daikin
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setting up ipp
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain binary_sensor took 0.8 seconds
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 0.8 seconds
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.components.switch] Setting up switch.broadlink
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.components.switch] Setting up switch.template
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain input_datetime took 1.3 seconds
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain input_number took 1.3 seconds
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain input_text took 1.3 seconds
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.components.media_player] Setting up media_player.braviatv
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain switch took 0.8 seconds
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.components.media_player] Setting up media_player.braviatv
2020-08-04 23:46:15 INFO (MainThread) [hass_nabucasa.iot] Connected
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setting up harmony
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setting up yeelight
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain tado took 0.8 seconds
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain withings took 0.2 seconds
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain logbook took 1.0 seconds
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain daikin took 0.1 seconds
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain ipp took 0.1 seconds
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setting up upnp
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setting up denonavr
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setting up hue
2020-08-04 23:46:15 INFO (SyncWorker_5) [homeassistant.loader] Loaded stt from homeassistant.components.stt
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain zone took 1.6 seconds
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setting up aarlo
2020-08-04 23:46:15 INFO (SyncWorker_10) [custom_components.aarlo] retry=[]
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.updater
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setting up camera
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain scene took 1.6 seconds
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.cloud
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain harmony took 0.3 seconds
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain hue took 0.1 seconds
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain smartthings took 0.8 seconds
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setting up ring
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain denonavr took 0.3 seconds
2020-08-04 23:46:15 INFO (SyncWorker_18) [homeassistant.loader] Loaded google_translate from homeassistant.components.google_translate
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setting up device_tracker
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain upnp took 0.3 seconds
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain yeelight took 0.4 seconds
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setting up stt
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setting up automation
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setting up tts
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain ring took 0.1 seconds
2020-08-04 23:46:15 INFO (SyncWorker_0) [pygatt.backends.gatttool.gatttool] Stopping
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain zeroconf took 1.4 seconds
2020-08-04 23:46:15 INFO (SyncWorker_11) [homeassistant.loader] Loaded light from homeassistant.components.light
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain stt took 0.1 seconds
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain camera took 0.3 seconds
2020-08-04 23:46:15 INFO (MainThread) [snitun.utils.aiohttp_client] AioHTTP snitun client connected to: eu-central-1.ui.nabu.casa:443
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.yeelight
2020-08-04 23:46:15 INFO (Thread-4) [pygatt.backends.gatttool.gatttool] Listener thread finished
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain timer took 1.9 seconds
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain input_select took 1.9 seconds
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.yeelight
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.yeelight
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setting up light
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.setup] Setup of domain device_tracker took 0.2 seconds
2020-08-04 23:46:15 INFO (SyncWorker_9) [homeassistant.loader] Loaded spotify from homeassistant.components.spotify
2020-08-04 23:46:15 INFO (SyncWorker_5) [homeassistant.loader] Loaded xiaomi_aqara from homeassistant.components.xiaomi_aqara
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.yeelight
2020-08-04 23:46:15 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.yeelight
2020-08-04 23:46:15 INFO (SyncWorker_9) [homeassistant.loader] Loaded xiaomi_miio from homeassistant.components.xiaomi_miio
2020-08-04 23:46:16 INFO (SyncWorker_0) [custom_components.nespresso.sensor] ec:d7:50:55:f6:a0: Manufacturer: Prodigio_ECD75055F6 Model:  Serial: ec:d7:50:55:f6:a0 Device:Prodigio_ECD75055F6
2020-08-04 23:46:16 DEBUG (SyncWorker_0) [custom_components.nespresso.sensor] Getting sensors
2020-08-04 23:46:16 INFO (SyncWorker_19) [DenonAVR] Identified receiver type: 'avr-x' on port: '80'
2020-08-04 23:46:16 INFO (Thread-7) [pygatt.backends.gatttool.gatttool] Running...
2020-08-04 23:46:16 INFO (SyncWorker_0) [pygatt.backends.gatttool.gatttool] Connecting to ec:d7:50:55:f6:a0 with timeout=5.0
2020-08-04 23:46:16 INFO (MainThread) [homeassistant.setup] Setting up homekit_controller
2020-08-04 23:46:16 INFO (MainThread) [homeassistant.setup] Setting up ssdp
2020-08-04 23:46:16 INFO (MainThread) [homeassistant.setup] Setting up ios
2020-08-04 23:46:16 INFO (MainThread) [homeassistant.components.updater] Submitted analytics to Home Assistant servers. Information submitted includes {}
2020-08-04 23:46:16 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.8 seconds
2020-08-04 23:46:16 INFO (MainThread) [homeassistant.setup] Setup of domain light took 0.6 seconds
2020-08-04 23:46:16 INFO (MainThread) [homeassistant.setup] Setting up homekit
2020-08-04 23:46:16 INFO (MainThread) [homeassistant.setup] Setup of domain ssdp took 0.5 seconds
2020-08-04 23:46:16 INFO (MainThread) [homeassistant.setup] Setting up cast
2020-08-04 23:46:17 INFO (MainThread) [homeassistant.setup] Setting up mobile_app
2020-08-04 23:46:17 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 1.3 seconds
2020-08-04 23:46:17 INFO (MainThread) [homeassistant.components.media_player] Setting up media_player.denonavr
2020-08-04 23:46:17 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.ipp
2020-08-04 23:46:17 INFO (SyncWorker_12) [homeassistant.loader] Loaded brother from homeassistant.components.brother
2020-08-04 23:46:17 INFO (MainThread) [homeassistant.setup] Setup of domain homekit took 0.5 seconds
2020-08-04 23:46:17 INFO (MainThread) [homeassistant.setup] Setup of domain cast took 0.4 seconds
2020-08-04 23:46:17 INFO (MainThread) [homeassistant.setup] Setup of domain ios took 0.9 seconds
2020-08-04 23:46:17 INFO (MainThread) [homeassistant.components.light] Setting up light.yeelight
2020-08-04 23:46:17 INFO (MainThread) [homeassistant.components.light] Setting up light.yeelight
2020-08-04 23:46:17 INFO (MainThread) [homeassistant.components.light] Setting up light.yeelight
2020-08-04 23:46:17 INFO (MainThread) [homeassistant.components.light] Setting up light.yeelight
2020-08-04 23:46:17 INFO (MainThread) [homeassistant.components.light] Setting up light.yeelight
2020-08-04 23:46:17 INFO (MainThread) [homeassistant.setup] Setup of domain homekit_controller took 1.1 seconds
2020-08-04 23:46:17 INFO (SyncWorker_17) [homeassistant.loader] Loaded notify from homeassistant.components.notify
2020-08-04 23:46:17 INFO (MainThread) [homeassistant.components.sensor] Not adding entity HP Laser 107w Uptime because it's disabled
2020-08-04 23:46:17 INFO (MainThread) [homeassistant.components.light] Setting up light.hue
2020-08-04 23:46:17 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.hue
2020-08-04 23:46:17 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.hue
2020-08-04 23:46:17 INFO (MainThread) [homeassistant.setup] Setup of domain input_boolean took 3.5 seconds
2020-08-04 23:46:17 INFO (SyncWorker_10) [pyaarlo] pyaarlo starting
2020-08-04 23:46:17 INFO (MainThread) [homeassistant.setup] Setting up notify
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.setup] Setup of domain mobile_app took 1.2 seconds
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.media_player] Setting up media_player.cast
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.ios
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.ring
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.light] Setting up light.ring
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.ring
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.switch] Setting up switch.ring
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.camera] Setting up camera.ring
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.setup] Setup of domain aarlo took 2.7 seconds
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.light] Setting up light.homekit_controller
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.setup] Setup of domain notify took 0.5 seconds
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.withings] Updating all withings data
2020-08-04 23:46:18 INFO (SyncWorker_12) [homeassistant.loader] Loaded water_heater from homeassistant.components.water_heater
2020-08-04 23:46:18 INFO (SyncWorker_7) [homeassistant.loader] Loaded climate from homeassistant.components.climate
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.tado
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.switch] Setting up switch.aarlo
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.aarlo
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.aarlo
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.camera] Setting up camera.aarlo
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.binary_sensor] Not adding entity Front Door Ding because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.binary_sensor] Not adding entity Front Door Motion because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.binary_sensor] Not adding entity Gym Front Motion because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.binary_sensor] Not adding entity Gym Back Motion because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.binary_sensor] Not adding entity Aircondition Motion because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.binary_sensor] Not adding entity Studiobrick Motion because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Hobbyraum Volume because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Hobbyraum WiFi Signal Category because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Hobbyraum WiFi Signal Strength because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Front Door Battery because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Front Door Last Activity because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Front Door Last Ding because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Front Door Last Motion because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Front Door Volume because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Front Door WiFi Signal Category because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Back Door WiFi Signal Category because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Front Door WiFi Signal Strength because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Back Door WiFi Signal Strength because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Gym Front Battery because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Gym Back Battery because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Aircondition Battery because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Studiobrick Battery because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Gym Front Last Activity because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Gym Back Last Activity because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Aircondition Last Activity because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Studiobrick Last Activity because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Gym Front Last Motion because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Gym Back Last Motion because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Aircondition Last Motion because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Studiobrick Last Motion because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Gym Front Volume because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Gym Back Volume because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Aircondition Volume because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Studiobrick Volume because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Gym Front WiFi Signal Category because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Gym Back WiFi Signal Category because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Aircondition WiFi Signal Category because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Studiobrick WiFi Signal Category because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Gym Front WiFi Signal Strength because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Gym Back WiFi Signal Strength because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Aircondition WiFi Signal Strength because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Studiobrick WiFi Signal Strength because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.switch] Not adding entity Gym Front siren because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.switch] Not adding entity Gym Back siren because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.switch] Not adding entity Aircondition siren because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.switch] Not adding entity Studiobrick siren because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.camera] Not adding entity Front Door because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.camera] Not adding entity Gym Front because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.camera] Not adding entity Gym Back because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.camera] Not adding entity Aircondition because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.camera] Not adding entity Studiobrick because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [custom_components.aarlo.switch] AarloSwitch: Kamera Siren created
2020-08-04 23:46:18 INFO (MainThread) [custom_components.aarlo.switch] AarloSwitch: All Sirens created
2020-08-04 23:46:18 INFO (MainThread) [custom_components.aarlo.switch] AarloSwitch: Kamera Snapshot created
2020-08-04 23:46:18 INFO (MainThread) [custom_components.aarlo.switch] AarloSwitch: Doorbell Silent Mode Chime created
2020-08-04 23:46:18 INFO (MainThread) [custom_components.aarlo.switch] AarloSwitch: Doorbell Silent Mode Chime Call created
2020-08-04 23:46:18 INFO (MainThread) [custom_components.aarlo.binary_sensor] ArloBinarySensor: Motion Kamera created
2020-08-04 23:46:18 INFO (MainThread) [custom_components.aarlo.binary_sensor] ArloBinarySensor: Motion Doorbell created
2020-08-04 23:46:18 INFO (MainThread) [custom_components.aarlo.binary_sensor] ArloBinarySensor: Sound Kamera created
2020-08-04 23:46:18 INFO (MainThread) [custom_components.aarlo.binary_sensor] ArloBinarySensor: Ding Doorbell created
2020-08-04 23:46:18 INFO (MainThread) [custom_components.aarlo.binary_sensor] ArloBinarySensor: Connected SmartHub created
2020-08-04 23:46:18 INFO (MainThread) [custom_components.aarlo.binary_sensor] ArloBinarySensor: Connected Kamera created
2020-08-04 23:46:18 INFO (MainThread) [custom_components.aarlo.binary_sensor] ArloBinarySensor: Connected Doorbell created
2020-08-04 23:46:18 INFO (MainThread) [custom_components.aarlo.sensor] ArloSensor: Arlo Cameras created
2020-08-04 23:46:18 INFO (MainThread) [custom_components.aarlo.sensor] ArloSensor: Last Kamera created
2020-08-04 23:46:18 INFO (MainThread) [custom_components.aarlo.sensor] ArloSensor: Recent Activity Kamera created
2020-08-04 23:46:18 INFO (MainThread) [custom_components.aarlo.sensor] ArloSensor: Captured Today Kamera created
2020-08-04 23:46:18 INFO (MainThread) [custom_components.aarlo.sensor] ArloSensor: Battery Level Kamera created
2020-08-04 23:46:18 INFO (MainThread) [custom_components.aarlo.sensor] ArloSensor: Battery Level Doorbell created
2020-08-04 23:46:18 INFO (MainThread) [custom_components.aarlo.sensor] ArloSensor: Signal Strength Kamera created
2020-08-04 23:46:18 INFO (MainThread) [custom_components.aarlo.sensor] ArloSensor: Signal Strength Doorbell created
2020-08-04 23:46:18 INFO (MainThread) [custom_components.aarlo.camera] ArloCam: Kamera created
2020-08-04 23:46:18 INFO (MainThread) [custom_components.aarlo.camera] installing handlers
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.setup] Setting up water_heater
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.setup] Setting up climate
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.mobile_app
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.mobile_app
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.device_tracker] Setting up device_tracker.mobile_app
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.notify] Setting up notify.ios
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.notify] Setting up notify.mobile_app
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Wohnzimmer temperature because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Wohnzimmer humidity because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Wohnzimmer power because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Wohnzimmer link because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Wohnzimmer ac because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Wohnzimmer tado mode because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Wohnzimmer overlay because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Wohnzimmer open window because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Studio tado bridge status because it's disabled
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.setup] Setting up default_config
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.setup] Setup of domain water_heater took 0.1 seconds
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.setup] Setup of domain climate took 0.1 seconds
2020-08-04 23:46:18 INFO (SyncWorker_7) [pychromecast] Querying device status
2020-08-04 23:46:18 INFO (SyncWorker_6) [homeassistant.loader] Loaded alarm_control_panel from homeassistant.components.alarm_control_panel
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.water_heater] Setting up water_heater.tado
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.components.climate] Setting up climate.tado
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.setup] Setup of domain default_config took 0.2 seconds
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.setup] Setting up alarm_control_panel
2020-08-04 23:46:18 INFO (MainThread) [homeassistant.setup] Setup of domain alarm_control_panel took 0.1 seconds
2020-08-04 23:46:19 INFO (MainThread) [homeassistant.components.alarm_control_panel] Setting up alarm_control_panel.homekit_controller
2020-08-04 23:46:19 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.homekit_controller
2020-08-04 23:46:19 INFO (MainThread) [homeassistant.components.climate] Not adding entity Wohnzimmer because it's disabled
2020-08-04 23:46:19 INFO (MainThread) [homeassistant.components.device_tracker] Setting up device_tracker.tile
2020-08-04 23:46:19 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/data_entry_flow.py", line 129, in async_init
    flow, flow.init_step, data, init_done
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/data_entry_flow.py", line 201, in _async_handle_step
    result: Dict = await getattr(flow, method)(user_input)
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/harmony/config_flow.py", line 89, in async_step_ssdp
    if self._host_already_configured(parsed_url.hostname):
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/harmony/config_flow.py", line 167, in _host_already_configured
    if entry.data[CONF_HOST] == host:
KeyError: 'host'
2020-08-04 23:46:19 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.withings
2020-08-04 23:46:19 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.withings
2020-08-04 23:46:19 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Withings height_m Marc because it's disabled
2020-08-04 23:46:19 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Withings hydration Marc because it's disabled
2020-08-04 23:46:19 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Withings sleep_breathing_disturbances_intensity Marc because it's disabled
2020-08-04 23:46:19 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Withings sleep_deep_duration_seconds Marc because it's disabled
2020-08-04 23:46:19 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Withings sleep_tosleep_duration_seconds Marc because it's disabled
2020-08-04 23:46:19 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Withings sleep_towakeup_duration_seconds Marc because it's disabled
2020-08-04 23:46:19 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Withings sleep_heart_rate_average_bpm Marc because it's disabled
2020-08-04 23:46:19 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Withings sleep_heart_rate_max_bpm Marc because it's disabled
2020-08-04 23:46:19 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Withings sleep_heart_rate_min_bpm Marc because it's disabled
2020-08-04 23:46:19 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Withings sleep_light_duration_seconds Marc because it's disabled
2020-08-04 23:46:19 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Withings sleep_rem_duration_seconds Marc because it's disabled
2020-08-04 23:46:19 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Withings sleep_respiratory_average_bpm Marc because it's disabled
2020-08-04 23:46:19 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Withings sleep_respiratory_max_bpm Marc because it's disabled
2020-08-04 23:46:19 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Withings sleep_respiratory_min_bpm Marc because it's disabled
2020-08-04 23:46:19 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Withings sleep_score Marc because it's disabled
2020-08-04 23:46:19 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Withings sleep_snoring Marc because it's disabled
2020-08-04 23:46:19 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Withings sleep_snoring_eposode_count Marc because it's disabled
2020-08-04 23:46:19 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Withings sleep_wakeup_count Marc because it's disabled
2020-08-04 23:46:19 INFO (MainThread) [homeassistant.components.sensor] Not adding entity Withings sleep_wakeup_duration_seconds Marc because it's disabled
2020-08-04 23:46:20 INFO (MainThread) [homeassistant.components.climate] Setting up climate.smartthings
2020-08-04 23:46:20 INFO (MainThread) [homeassistant.components.fan] Setting up fan.smartthings
2020-08-04 23:46:20 INFO (MainThread) [homeassistant.components.light] Setting up light.smartthings
2020-08-04 23:46:20 INFO (MainThread) [homeassistant.components.switch] Setting up switch.smartthings
2020-08-04 23:46:20 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.smartthings
2020-08-04 23:46:20 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.smartthings
2020-08-04 23:46:20 INFO (MainThread) [homeassistant.components.scene] Setting up scene.smartthings
2020-08-04 23:46:20 INFO (SyncWorker_1) [homeassistant.loader] Loaded cover from homeassistant.components.cover
2020-08-04 23:46:20 INFO (SyncWorker_11) [homeassistant.loader] Loaded lock from homeassistant.components.lock
2020-08-04 23:46:20 INFO (MainThread) [homeassistant.setup] Setting up cover
2020-08-04 23:46:20 INFO (MainThread) [homeassistant.setup] Setting up lock
2020-08-04 23:46:20 INFO (MainThread) [homeassistant.setup] Setup of domain cover took 0.0 seconds
2020-08-04 23:46:20 INFO (MainThread) [homeassistant.setup] Setup of domain lock took 0.0 seconds
2020-08-04 23:46:20 INFO (MainThread) [homeassistant.components.cover] Setting up cover.smartthings
2020-08-04 23:46:20 INFO (MainThread) [homeassistant.components.lock] Setting up lock.smartthings
2020-08-04 23:46:20 INFO (MainThread) [homeassistant.components.climate] Setting up climate.daikin
2020-08-04 23:46:20 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.daikin
2020-08-04 23:46:20 INFO (MainThread) [homeassistant.components.switch] Setting up switch.daikin
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.nespresso] <Characteristic uuid=00002a00-0000-1000-8000-00805f9b34fb handle=3>
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.nespresso] <Characteristic uuid=00002a01-0000-1000-8000-00805f9b34fb handle=5>
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.nespresso] <Characteristic uuid=00002a04-0000-1000-8000-00805f9b34fb handle=7>
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.nespresso] <Characteristic uuid=00002a05-0000-1000-8000-00805f9b34fb handle=10>
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.nespresso] <Characteristic uuid=06aa3a11-f22a-11e3-9daa-0002a5d5c51b handle=14>
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.nespresso] <Characteristic uuid=06aa3a21-f22a-11e3-9daa-0002a5d5c51b handle=16>
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.nespresso] <Characteristic uuid=06aa3a31-f22a-11e3-9daa-0002a5d5c51b handle=18>
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.nespresso] <Characteristic uuid=06aa3a41-f22a-11e3-9daa-0002a5d5c51b handle=20>
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.nespresso] <Characteristic uuid=06aa3a51-f22a-11e3-9daa-0002a5d5c51b handle=22>
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.nespresso] <Characteristic uuid=06aa3a61-f22a-11e3-9daa-0002a5d5c51b handle=25>
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.nespresso] <Characteristic uuid=06aa3a12-f22a-11e3-9daa-0002a5d5c51b handle=28>
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.nespresso] <Characteristic uuid=06aa3a22-f22a-11e3-9daa-0002a5d5c51b handle=31>
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.nespresso] <Characteristic uuid=06aa3a32-f22a-11e3-9daa-0002a5d5c51b handle=34>
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.nespresso] <Characteristic uuid=06aa3a42-f22a-11e3-9daa-0002a5d5c51b handle=36>
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.nespresso] <Characteristic uuid=06aa3a52-f22a-11e3-9daa-0002a5d5c51b handle=38>
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.nespresso] <Characteristic uuid=06aa3a13-f22a-11e3-9daa-0002a5d5c51b handle=42>
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.nespresso] <Characteristic uuid=06aa3a23-f22a-11e3-9daa-0002a5d5c51b handle=44>
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.nespresso] <Characteristic uuid=06aa3a14-f22a-11e3-9daa-0002a5d5c51b handle=48>
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.nespresso] <Characteristic uuid=06aa3a24-f22a-11e3-9daa-0002a5d5c51b handle=50>
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.nespresso] <Characteristic uuid=06aa3a34-f22a-11e3-9daa-0002a5d5c51b handle=53>
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.nespresso] <Characteristic uuid=06aa3a44-f22a-11e3-9daa-0002a5d5c51b handle=56>
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.nespresso] <Characteristic uuid=06aa3a15-f22a-11e3-9daa-0002a5d5c51b handle=60>
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.nespresso] <Characteristic uuid=06aa3a25-f22a-11e3-9daa-0002a5d5c51b handle=63>
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.nespresso] <Characteristic uuid=06aa3a35-f22a-11e3-9daa-0002a5d5c51b handle=65>
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.nespresso] <Characteristic uuid=06aa3a45-f22a-11e3-9daa-0002a5d5c51b handle=67>
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.sensor] ec:d7:50:55:f6:a0: Found sensor UUID: 06aa3a12-f22a-11e3-9daa-0002a5d5c51b Handle: 28
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.sensor] ec:d7:50:55:f6:a0: Found sensor UUID: 06aa3a22-f22a-11e3-9daa-0002a5d5c51b Handle: 31
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.sensor] ec:d7:50:55:f6:a0: Found sensor UUID: 06aa3a44-f22a-11e3-9daa-0002a5d5c51b Handle: 56
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.sensor] ec:d7:50:55:f6:a0: Found sensor UUID: 06aa3a15-f22a-11e3-9daa-0002a5d5c51b Handle: 60
2020-08-04 23:46:21 DEBUG (SyncWorker_0) [custom_components.nespresso.sensor] Get initial sensor data to populate HA entities
2020-08-04 23:46:21 INFO (SyncWorker_0) [pygatt.backends.gatttool.gatttool] Stopping
2020-08-04 23:46:21 INFO (Thread-7) [pygatt.backends.gatttool.gatttool] Listener thread finished
2020-08-04 23:46:21 INFO (Thread-13) [pygatt.backends.gatttool.gatttool] Running...
2020-08-04 23:46:21 INFO (SyncWorker_0) [pygatt.backends.gatttool.gatttool] Connecting to ec:d7:50:55:f6:a0 with timeout=5.0
2020-08-04 23:46:22 INFO (SyncWorker_7) [homeassistant.loader] Loaded songpal from homeassistant.components.songpal
2020-08-04 23:46:24 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform nespresso is taking over 10 seconds.
2020-08-04 23:46:54 ERROR (SyncWorker_0) [pygatt.backends.gatttool.gatttool] No response received
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 157, in wait
    raise NotificationTimeout()
pygatt.exceptions.NotificationTimeout: None
2020-08-04 23:46:54 ERROR (SyncWorker_0) [custom_components.nespresso.nespresso] Failed to send auth code, retrying in 5s
Traceback (most recent call last):
  File "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 279, in connectnespresso
    device.char_write(CHAR_UUID_AUTH, binascii.unhexlify(self.auth_code), wait_for_response=True)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/device.py", line 122, in char_write
    wait_for_response=wait_for_response)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 48, in char_write_handle
    self._backend.char_write_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 50, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 157, in wait
    raise NotificationTimeout()
pygatt.exceptions.NotificationTimeout: None
2020-08-04 23:46:59 ERROR (SyncWorker_0) [custom_components.nespresso.nespresso] Failed to send auth code, 3 times
Traceback (most recent call last):
  File "/home/homeassistant/.homeassistant/custom_components/nespresso/nespresso.py", line 279, in connectnespresso
    device.char_write(CHAR_UUID_AUTH, binascii.unhexlify(self.auth_code), wait_for_response=True)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/device.py", line 122, in char_write
    wait_for_response=wait_for_response)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 17, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/device.py", line 48, in char_write_handle
    self._backend.char_write_handle(self, handle, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 50, in wrapper
    return func(self, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 574, in char_write_handle
    self.sendline(cmd)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 191, in event
    self.wait(event, timeout)
  File "/srv/homeassistant/lib/python3.7/site-packages/pygatt/backends/gatttool/gatttool.py", line 157, in wait
    raise NotificationTimeout()
pygatt.exceptions.NotificationTimeout: None

from home-assistant-nespressoble.

marcandre83 avatar marcandre83 commented on July 19, 2024

I found the issue, somehow gatttool can't write authentification when the usb dongle is connected via usbip. I guess there is nothing I can do since this should be an issue with gatttool or usbip :(.

pi@pi-hub:~ $ sudo gatttool  -I -t random -b ec:d7:50:55:f6:a0 -i hci2
[ec:d7:50:55:f6:a0][LE]> connect
Attempting to connect to ec:d7:50:55:f6:a0
Connection successful
[ec:d7:50:55:f6:a0][LE]> char-write-req 0x0014 xxxxxxxxxxxxxxxx
Error: Characteristic Write Request failed: Attribute requires authentication before read/write
[ec:d7:50:55:f6:a0][LE]> 

from home-assistant-nespressoble.

tikismoke avatar tikismoke commented on July 19, 2024

Try not using Bluetooth to ip
It works with the script and mqtt.

As said I have the same range issue, solving it with the script. It as solved the "how to deport Bluetooth dongle nearer the machine"

from home-assistant-nespressoble.

tikismoke avatar tikismoke commented on July 19, 2024

@marcandre83 try this repo it's better now:

https://github.com/bulldog5046/ha_nespresso_ingetration

from home-assistant-nespressoble.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.