Hello !
I installed HAssio on a raspberry 3 to make me a bluetooth relay / antenna. I plugged a bluetooth dongle into it.
I use room-assistant to detect the presence or not of terminals.
As the pi 3 is equipped with a bluetooth chip, I end up with 2 devices capable of detecting. Except the dongle is much better than the built-in chip.
My question is therefore how I can distinguish between the 2. I cannot use hcitool to list the hci devices …
Thanks for your help.
Disable internal BT.
is it possible with hassio ?
Don’t know / don’t use HA OS. Just have a look at thd SD card …
Pour ceux que ça peut intéresser, voici comment faire :
- Supervisor > Add-on Store > SSH & Web Terminal : installer, définir un mot de passe dans la configuration puis désactiver la “Protection mode” sur la page “Info” et activer “Show in sidebar”.
=> Start - Cliquer sur Terminal dans la sidebar
- taper : apk add bluez-deprecated
- hcitool s’installe dans le package…
- taper hcitool dev et la liste des devices apparait avec le n° de la HCI… !
I don‘t speak know French, but I see that you installed some packages to a container running Alpine Linux.
The change will be gone on next reboot, containers are ephemeral.
The objective of this manipulation is not necessarily sustainable. It’s just to identify hci0 and hci1.
I just hope is that when restarting, the order does not change … To be tested!
i know french
tried the apk add bluez-deprecated, hcitool command did work, i saw the help… tried the hcitool dev but didn’t return any result.
I do have a pi4 + a dongle, i am seeying 2 with bluetoothctl but i cannot find witch HCI the system is using
btmgmt info
Works for me.