ClusterM / skykettle-ha

Redmond SkyKettle integration for Home Assistant
GNU General Public License v3.0
94 stars 16 forks source link

Неизвестная ошибка, смотрите логи. #3

Closed fixbad closed 2 years ago

fixbad commented 2 years ago

Эта ошибка возникла в кастомной интеграции.

Logger: custom_components.skykettle.config_flow Source: custom_components/skykettle/config_flow.py:94 Integration: SkyKettle (documentation, issues) First occurred: 17:53:12 (2 occurrences) Last logged: 17:59:24

Traceback (most recent call last): File "/config/custom_components/skykettle/config_flow.py", line 73, in async_step_scan macs = await ble_scan(scan_time=BLE_SCAN_TIME) File "/config/custom_components/skykettle/ble_scan.py", line 34, in ble_scan raise Exception(err) Exception: Enable scan failed: I/O error

ClusterM commented 2 years ago

Try to type:

hcitool lescan

in console (under the same user as Home Assistant), what will it print?

fixbad commented 2 years ago

Try to type:

hcitool lescan

in console (under the same user as Home Assistant), what will it print?

hcitool lescan bash: hcitool: command not found

fixbad commented 2 years ago

[core-ssh ~]$ bluetoothctl Agent registered [CHG] Controller F0:A3:B2:AC:44:08 Pairable: yes

ClusterM commented 2 years ago

You need to install hcitool. https://command-not-found.com/hcitool

ClusterM commented 2 years ago

Did it help?