Open fragolinux opened 7 months ago
Hello @fragolinux
First of all, thank you very much for the issue. I have been looking for information about the problem with pybluez and Python 3.11 and trying to replicate your problem. Regarding the pybluez problem, I have not found much information, only difficulties in installing it on Windows (url) . I have also not been able to reproduce your error. I have tried it on an RPI4 and a virtual i386 machine.
Reviewing the log you provide, I see that it may be due to a problem that tries to restart the Bluetooth using the hciconfig
command that is not installed (as I have been able to test). I think it can be solved by installing the bluez-deprecated
package.
But I think the origin of the problem may be due to a recommendation given by @devbis in his repository:
ATTENTION: Make sure
bluez
is not running (or not intalled) on your host.
Please let me know if these changes solve your problem. Best regards.
Hi, I've haos x86 installed on an Intel nuc, so no way I can install bluez or anything else, if it's not already there...
I've some integrations active, like bthome and Bluetooth, of course, could be that? But I need them, unless an extended BT integration does everything...
Hi! Thanks for using ble2mqtt. As for docker documentation, it was written by users and I have never run ble2mqtt in docker, so I can say anything about stability.
No such file or directory: 'hciconfig'
Means that it tries to restart bluetooth adapter due to errors and failed to find hciconfig program. Originally, it was designed to work on a barebone linux with hcitools/bluez installed. I can handle missing hciconfig, but in this case it will not be able to resolve hardware errors that may occur.
hi, it seems there are a lot of issues with python 3.11, maybe better stick to a previous version? I read somewhere the even the package used, pybluez, is not maintained anymore...