1.5.1-beta - Adding MAC configuration of the Bluetooth interface
Pre-releaseBREAKING CHANGES in 1.5.1-beta
-
New configuration option
bt_interfaceto specify the MAC address of your Bluetooth interface (e.g. Bluetooth dongle or build-in Bluetooth).bt_interfaceis an alternative for the currenthci_interfaceoption. Withbt_interfaceyou specify the MAC address of your Bluetooth interface, in stead of the HCI number. The reason for adding this option is that the HCI interface number can change, e.g. when restarting Home Assistant, while the MAC address won't change. It is therefore advised to usebt_interface. For backwards compatibility thehci_interfaceoption is still available.When using YAML to configure BLE monitor, Home Assistant will show the available MAC addresses in the Home Assistant logs when starting up (check the log).
When using the User Interface to configure BLE monitor, your old hci config will be converted to the corresponding MAC address(es) automatically. In the UI, you can only select MAC addresses (a selection list of available MAC addresses will be automatically generated and presented as a selection list).The breaking change is that, when not specifying a MAC address or HCI number, by default the first MAC address will be used in stead of
hci0.Note that
hci_interfacewill overrulebt_interfacewhen using both options at the same time.1.5.1-beta has a small fix for UI configuration.