Open cookiestheone opened 2 years ago
btw check how your integration and home assistant bluetooth works without
sudo setcap 'cap_net_raw,cap_net_admin+eip' `which hcitool`
sudo setcap 'cap_net_raw,cap_net_admin+eip' `which gatttool`
because i've been made a clean install of debian 11 and home assistant supervised, then tried to add this integration, but got permission error. Only after this two commands kettle start working, but with errors i mentioned previosly
Oh, i need to add instructions about permissions. I'm not sure how to fix #28 because i followed official HA recommendations...
v2.1 reporting
Logger: custom_components.skykettle.kettle_connection
Source: custom_components/skykettle/kettle_connection.py:243
Integration: SkyKettle ([documentation](https://github.com/ClusterM/skykettle-ha/blob/master/README.md), [issues](https://github.com/ClusterM/skykettle-ha/issues))
First occurred: 2:36:17 PM (342 occurrences)
Last logged: 4:03:14 PM
Can't update status, BleakError: No device found for address None
Can't update status, OSError: Receive timeout
Can't update status, BleakDBusError: [org.bluez.Error.Failed] Input/output error
Same here
skykettle-ha v2.1 Home Assistant Blue setup with latest for now 2022.10.1
Detected integration that attempted to call BleakClient with an address instead of a BLEDevice. Please report issue to the custom integration author for skykettle using this method at custom_components/skykettle/kettle_connection.py, line 92: self._client = BleakClient(self._device)
which refers to #28 and
Logger: custom_components.skykettle.kettle_connection Source: custom_components/skykettle/kettle_connection.py:243 Integration: SkyKettle (documentation, issues) First occurred: 14:29:49 (7 occurrences) Last logged: 14:32:36
Can't update status, TimeoutError: Can't update status, BleakDBusError: [org.bluez.Error.Failed] Operation already in progress Can't update status, BleakDBusError: [org.bluez.Error.Failed] br-connection-canceled
Same here
Home Assistant 2023.8.3 Supervisor 2023.08.1 Operating System 10.4
skykettle-ha version master
Logger: custom_components.skykettle.kettle_connection Source: custom_components/skykettle/kettle_connection.py:243 Integration: SkyKettle (documentation, issues) First occurred: 11:35:48 (7 occurrences) Last logged: 11:46:37
Can't update status, OSError: Receive timeout Can't update status, TimeoutError:
@ClusterM Sorry to bother you here. Can we provide more debug info? Is there plans to fix it? Shoudn't be unresolvable, all other bluetooth stuff, even a bit shady and complexly integrated into HASS ESPHome's bluetooth proxy, are working.
Sorry, i'm too busy now :( I'll return to this project later.
Home assistant Supervised 2022.9.4 A lot of errors in logs and mentioned in #28
Logger: custom_components.skykettle.kettle_connection Source: custom_components/skykettle/kettle_connection.py:369 Integration: SkyKettle (documentation, issues) First occurred: 7:37:37 PM (4 occurrences) Last logged: 8:21:31 PM
Can't update status, OSError: Receive timeout
Logger: custom_components.skykettle.kettle_connection Source: custom_components/skykettle/kettle_connection.py:233 Integration: SkyKettle (documentation, issues) First occurred: 7:10:15 PM (257 occurrences) Last logged: 8:21:36 PM
Can't update status, BleakDBusError: [org.freedesktop.DBus.Error.UnknownObject] Method "Connect" with signature "" on interface "org.bluez.Device1" doesn't exist Can't update status, OSError: Receive timeout Can't update status, BleakDBusError: [org.bluez.Error.Failed] Input/output error Can't update status, BleakError: No device found for address None