home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
74.04k stars 31.07k forks source link

BLE no longer working for ThermoPro since update. #94997

Closed itsaus10 closed 1 year ago

itsaus10 commented 1 year ago

The problem

BLE devices no longer being picked up by the bluetooth integration / thermopro integration.

What version of Home Assistant Core has the issue?

core-2023.6.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Bluetooth, Thermopro

Link to integration documentation on our website

No response

Diagnostics information

{ "home_assistant": { "installation_type": "Home Assistant OS", "version": "2023.6.2", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.11.4", "docker": true, "arch": "aarch64", "timezone": "America/Chicago", "os_name": "Linux", "os_version": "6.1.21-v8", "supervisor": "2023.06.2", "host_os": "Home Assistant OS 10.3", "docker_version": "23.0.6", "chassis": "embedded", "run_as_root": true }, "custom_components": { "bhyve": { "version": "3.1.3", "requirements": [] }, "hacs": { "version": "1.32.1", "requirements": [ "aiogithubapi>=22.10.1" ] } }, "integration_manifest": { "domain": "bluetooth", "name": "Bluetooth", "codeowners": [ "@bdraco" ], "config_flow": true, "dependencies": [ "logger", "usb" ], "documentation": "https://www.home-assistant.io/integrations/bluetooth", "iot_class": "local_push", "loggers": [ "btsocket", "bleak_retry_connector", "bluetooth_adapters", "bluetooth_auto_recovery" ], "quality_scale": "internal", "requirements": [ "bleak==0.20.2", "bleak-retry-connector==3.0.2", "bluetooth-adapters==0.15.3", "bluetooth-auto-recovery==1.2.0", "bluetooth-data-tools==0.4.0", "dbus-fast==1.86.0" ], "is_built_in": true }, "data": { "manager": { "adapters": { "hci0": { "address": "DC:A6:32:33:9F:34", "sw_version": "homeassistant", "hw_version": "usb:v1D6Bp0246d0542", "passive_scan": true, "manufacturer": "Raspberry Pi Trading Ltd", "product": null, "vendor_id": null, "product_id": null } }, "slot_manager": { "manager": true, "adapter_slots": { "hci0": 5 }, "allocations_by_adapter": { "hci0": [] } }, "scanners": [ { "name": "hci0 (DC:A6:32:33:9F:34)", "start_time": 163107.600926972, "source": "DC:A6:32:33:9F:34", "scanning": true, "type": "HaScanner", "last_detection": 163127.568713846, "monotonic_time": 163183.536116431, "discovered_devices_and_advertisement_data": [], "adapter": "hci0" } ], "connectable_history": [ { "name": "bhyve_190690", "address": "44:67:55:19:06:90", "rssi": -75, "manufacturer_data": { "1151": { "type": "<class 'bytes'>", "repr": "b'\x06\x00'" } }, "service_data": {}, "service_uuids": [ "0000fe32-0000-1000-8000-00805f9b34fb" ], "source": "DC:A6:32:33:9F:34", "advertisement": [ "bhyve_190690", { "1151": { "type": "<class 'bytes'>", "repr": "b'\x06\x00'" } }, {}, [ "0000fe32-0000-1000-8000-00805f9b34fb" ], null, -75, [ "/org/bluez/hci0/dev_44_67_55_19_06_90", { "Address": "44:67:55:19:06:90", "AddressType": "public", "Name": "bhyve_190690", "Alias": "bhyve_190690", "Paired": false, "Bonded": false, "Trusted": false, "Blocked": false, "LegacyPairing": false, "RSSI": -75, "Connected": false, "UUIDs": [ "0000fe32-0000-1000-8000-00805f9b34fb" ], "Adapter": "/org/bluez/hci0", "ManufacturerData": { "1151": { "type": "<class 'bytearray'>", "repr": "bytearray(b'\x06\x00')" } }, "ServicesResolved": false, "AdvertisingFlags": { "type": "<class 'bytearray'>", "repr": "bytearray(b'\x06')" } } ] ], "device": { "type": "<class 'bleak.backends.device.BLEDevice'>", "repr": "BLEDevice(44:67:55:19:06:90, bhyve_190690)" }, "connectable": true, "time": 163127.568713846 }, { "name": "bhyve_285A3E", "address": "44:67:55:38:5A:3E", "rssi": -48, "manufacturer_data": { "1151": { "type": "<class 'bytes'>", "repr": "b'\x05\x00'" } }, "service_data": {}, "service_uuids": [ "0000fe32-0000-1000-8000-00805f9b34fb" ], "source": "DC:A6:32:33:9F:34", "advertisement": [ "bhyve_285A3E", { "1151": { "type": "<class 'bytes'>", "repr": "b'\x05\x00'" } }, {}, [ "0000fe32-0000-1000-8000-00805f9b34fb" ], null, -48, [ "/org/bluez/hci0/dev_44_67_55_38_5A_3E", { "Address": "44:67:55:38:5A:3E", "AddressType": "random", "Name": "bhyve_285A3E", "Alias": "bhyve_285A3E", "Paired": false, "Bonded": false, "Trusted": false, "Blocked": false, "LegacyPairing": false, "RSSI": -48, "Connected": false, "UUIDs": [ "0000fe32-0000-1000-8000-00805f9b34fb" ], "Adapter": "/org/bluez/hci0", "ManufacturerData": { "1151": { "type": "<class 'bytearray'>", "repr": "bytearray(b'\x05\x00')" } }, "ServicesResolved": false, "AdvertisingFlags": { "type": "<class 'bytearray'>", "repr": "bytearray(b'\x06')" } } ] ], "device": { "type": "<class 'bleak.backends.device.BLEDevice'>", "repr": "BLEDevice(44:67:55:38:5A:3E, bhyve_285A3E)" }, "connectable": true, "time": 163125.17273942 } ], "all_history": [ { "name": "bhyve_190690", "address": "44:67:55:19:06:90", "rssi": -75, "manufacturer_data": { "1151": { "type": "<class 'bytes'>", "repr": "b'\x06\x00'" } }, "service_data": {}, "service_uuids": [ "0000fe32-0000-1000-8000-00805f9b34fb" ], "source": "DC:A6:32:33:9F:34", "advertisement": [ "bhyve_190690", { "1151": { "type": "<class 'bytes'>", "repr": "b'\x06\x00'" } }, {}, [ "0000fe32-0000-1000-8000-00805f9b34fb" ], null, -75, [ "/org/bluez/hci0/dev_44_67_55_19_06_90", { "Address": "44:67:55:19:06:90", "AddressType": "public", "Name": "bhyve_190690", "Alias": "bhyve_190690", "Paired": false, "Bonded": false, "Trusted": false, "Blocked": false, "LegacyPairing": false, "RSSI": -75, "Connected": false, "UUIDs": [ "0000fe32-0000-1000-8000-00805f9b34fb" ], "Adapter": "/org/bluez/hci0", "ManufacturerData": { "1151": { "type": "<class 'bytearray'>", "repr": "bytearray(b'\x06\x00')" } }, "ServicesResolved": false, "AdvertisingFlags": { "type": "<class 'bytearray'>", "repr": "bytearray(b'\x06')" } } ] ], "device": { "type": "<class 'bleak.backends.device.BLEDevice'>", "repr": "BLEDevice(44:67:55:19:06:90, bhyve_190690)" }, "connectable": true, "time": 163127.568713846 }, { "name": "bhyve_285A3E", "address": "44:67:55:38:5A:3E", "rssi": -48, "manufacturer_data": { "1151": { "type": "<class 'bytes'>", "repr": "b'\x05\x00'" } }, "service_data": {}, "service_uuids": [ "0000fe32-0000-1000-8000-00805f9b34fb" ], "source": "DC:A6:32:33:9F:34", "advertisement": [ "bhyve_285A3E", { "1151": { "type": "<class 'bytes'>", "repr": "b'\x05\x00'" } }, {}, [ "0000fe32-0000-1000-8000-00805f9b34fb" ], null, -48, [ "/org/bluez/hci0/dev_44_67_55_38_5A_3E", { "Address": "44:67:55:38:5A:3E", "AddressType": "random", "Name": "bhyve_285A3E", "Alias": "bhyve_285A3E", "Paired": false, "Bonded": false, "Trusted": false, "Blocked": false, "LegacyPairing": false, "RSSI": -48, "Connected": false, "UUIDs": [ "0000fe32-0000-1000-8000-00805f9b34fb" ], "Adapter": "/org/bluez/hci0", "ManufacturerData": { "1151": { "type": "<class 'bytearray'>", "repr": "bytearray(b'\x05\x00')" } }, "ServicesResolved": false, "AdvertisingFlags": { "type": "<class 'bytearray'>", "repr": "bytearray(b'\x06')" } } ] ], "device": { "type": "<class 'bleak.backends.device.BLEDevice'>", "repr": "BLEDevice(44:67:55:38:5A:3E, bhyve_285A3E)" }, "connectable": true, "time": 163125.17273942 } ], "advertisement_tracker": { "intervals": { "44:67:55:19:06:90": 147.24243100600142, "44:67:55:38:5A:3E": 141.23447634199692 }, "sources": { "44:67:55:19:06:90": "DC:A6:32:33:9F:34", "44:67:55:38:5A:3E": "DC:A6:32:33:9F:34" }, "timings": {} } }, "adapters": { "hci0": { "address": "DC:A6:32:33:9F:34", "sw_version": "homeassistant", "hw_version": "usb:v1D6Bp0246d0542", "passive_scan": true, "manufacturer": "Raspberry Pi Trading Ltd", "product": null, "vendor_id": null, "product_id": null } }, "dbus": { "/org/bluez": { "org.freedesktop.DBus.Introspectable": {}, "org.bluez.AgentManager1": {}, "org.bluez.ProfileManager1": {} }, "/org/bluez/hci0": { "org.freedesktop.DBus.Introspectable": {}, "org.bluez.Adapter1": { "Address": "DC:A6:32:33:9F:34", "AddressType": "public", "Name": "homeassistant", "Alias": "homeassistant", "Class": 7077888, "Powered": true, "PowerState": "on", "Discoverable": false, "DiscoverableTimeout": 180, "Pairable": false, "PairableTimeout": 0, "Discovering": false, "UUIDs": [ "0000110e-0000-1000-8000-00805f9b34fb", "00001200-0000-1000-8000-00805f9b34fb", "0000111f-0000-1000-8000-00805f9b34fb", "0000110b-0000-1000-8000-00805f9b34fb", "00001108-0000-1000-8000-00805f9b34fb", "0000110c-0000-1000-8000-00805f9b34fb", "00001800-0000-1000-8000-00805f9b34fb", "0000110a-0000-1000-8000-00805f9b34fb", "00001801-0000-1000-8000-00805f9b34fb", "00001844-0000-1000-8000-00805f9b34fb", "0000180a-0000-1000-8000-00805f9b34fb" ], "Modalias": "usb:v1D6Bp0246d0542", "Roles": [ "central", "peripheral" ] }, "org.freedesktop.DBus.Properties": {}, "org.bluez.BatteryProviderManager1": {}, "org.bluez.GattManager1": {}, "org.bluez.AdvertisementMonitorManager1": { "SupportedMonitorTypes": [ "or_patterns" ], "SupportedFeatures": [] }, "org.bluez.Media1": { "SupportedUUIDs": [ "0000110a-0000-1000-8000-00805f9b34fb", "0000110b-0000-1000-8000-00805f9b34fb" ] }, "org.bluez.NetworkServer1": {}, "org.bluez.LEAdvertisingManager1": { "ActiveInstances": 0, "SupportedInstances": 5, "SupportedIncludes": [ "tx-power", "appearance", "local-name" ], "SupportedFeatures": [], "SupportedCapabilities": { "MaxAdvLen": 31, "MaxScnRspLen": 31 } } } } } }

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 year ago

Hey there @bdraco, mind taking a look at this issue as it has been labeled with an integration (bluetooth) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `bluetooth` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign bluetooth` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


bluetooth documentation bluetooth source (message by IssueLinks)

itsaus10 commented 1 year ago

Rolled back and updated again and it fixed the issue.