I am installing Home Assistant Core in Debian but I cannot complete it.
I installed dependencies, created the virtual environment and installed all necessary libraries. However, when I am in the python3 environment and I type hass the installation does not complete. I only get the following cyclic warnings.
‘2023-10-28 16:37:31.049 WARNING (MainThread) [bluetooth_auto_recovery.recover] Could not reset the power state of the Bluetooth adapter hci0 [00:22:69:C7:B8:65] due to timeout after 5 seconds
2023-10-28 16:37:31.088 WARNING (MainThread) [bluetooth_auto_recovery.recover] Could not cycle the Bluetooth adapter hci0 [00:22:69:C7:B8:65]: [Errno 1] Operation not permitted
2023-10-28 16:37:31.093 WARNING (MainThread) [bluetooth_auto_recovery.recover] Bluetooth management socket connection lost: [Errno 22] Invalid argument
2023-10-28 16:37:36.090 WARNING (MainThread) [bluetooth_auto_recovery.recover] Bluetooth adapter hci0 [00:22:69:C7:B8:65] could not be reset:
2023-10-28 16:37:36.100 WARNING (MainThread) [bluetooth_auto_recovery.recover] Closing Bluetooth adapter hci0 [00:22:69:C7:B8:65] failed: [Errno 9] Bad file descriptor’
I check to see if the application is running and it is not. Can anybody help me? I cannot find any similar topic.
I noticed this is your second Topic created …With the same text, like copy/paste, open a new Topic …? , ok i get that you didn’t got any respond to your first, but this is not “The Way” to get attention !
Please read Below Post, in it’s whole, the you’ll get a better understanding of how to get “attention/responds” to you Questions
1 Which Debian ?
2 have you tried to disable your Bluetooth Device ? … important first step( Can you install with the Bluetooth disabled/unplugged )
3 in your “Unknown virtual environment” ?
4 on your “Unknown Device” ?
I am installing HA in debian OS as core installations and despite all the troubles I managed to reach the point where I type the HASS command in the venv but I only het the following response without been able to start the application
2023-10-28 16:37:15.979 WARNING (MainThread) [bluetooth_auto_recovery.recover] Could not reset the power state of the Bluetooth adapter hci0 [00:22:69:C7:B8:65] due to timeout after 5 seconds
2023-10-28 16:37:15.987 WARNING (MainThread) [bluetooth_auto_recovery.recover] Could not cycle the Bluetooth adapter hci0 [00:22:69:C7:B8:65]: [Errno 1] Operation not permitted
2023-10-28 16:37:20.991 WARNING (MainThread) [bluetooth_auto_recovery.recover] Bluetooth adapter hci0 [00:22:69:C7:B8:65] could not be reset:
2023-10-28 16:37:21.001 WARNING (MainThread) [bluetooth_auto_recovery.recover] Closing Bluetooth adapter hci0 [00:22:69:C7:B8:65] failed: [Errno 9] Bad file descriptor
2023-10-28 16:37:21.012 WARNING (MainThread) [homeassistant.config_entries] Config entry ‘00:22:69:C7:B8:65’ for bluetooth integration not ready yet: hci0 (00:22:69:C7:B8:65): Failed to start Bluetooth: [org.bluez.Error.InProgress] Operation already in progress; Retrying in background
Hi @boheme61 thank you for your reply. Honestly I am new to programming with little experience to forums and I thought that my initial request was not written properly so people did not understand it. My may problem is that I do not understand if the fact that the Bluetooth is not recognised by HA is the real issue here and I was hoping for some more experienced person to point me to the right direction.
As per you questions please find below my feedback
Debian 12
I have disabled bluetooth via the bluetoothctl command set but this seems to be irrelevant to HA as the same message keeps cycling
venv says the guideline I followed namely <<python3 -m venv .
source bin/activate>>
It is a Dell 910 (old i386) which runs Debian smoothly
I did search through the other posts but I did not find anything similar.
First , you are aware this is a 32bits Device, so does this mean you have installed a 32bits Debian 12 ??
How many GB Ram does this have ?
Does Dell 910 have UEFI ?
Yes true, there is not much of “help” on this specific question, seen quite a few who have same/similar issues with Bluetooth, AND i would assume a Device build for Windows XP, most of all don’t support BLE, and probably a very old BT version , will not make you future “Issues” less
I strongly suggest you look around for another cheap 64-bits laptop, with support for atleast 4-8 GB Ram, if you want to run Debian 12, and HA Core
PS: The Requirements for HA is " 2 CPU-Core / min 2GB Ram " , i would assume that Debian 12, also would like to have 2cpu’s+ min 2GB ram, to run smooth with a virtual evn.
You are right, it is a 32bit device running on an Atom N270 processor @1.6 GHz with 512MB RAM. Debian sits very well actually (the command line interface). It does not have UEFI…
You can’t use it to any virtualization, it has 1 Core, and 512MB-Ram, Debian 12 needs it all, just run it’s own basic core, install a browser i.e firefox, and surf around open 2-4 tabs
Just to let you know that I managed to install docker in Debian 12 and this 32bit old machine. Moreover, I managed to install HA and is working flawless despite the lack of memory etc…