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
72.67k stars 30.42k forks source link

Qingping CGPR1 new model T not seen (HomeKit version) #97177

Closed dario-brombal closed 1 year ago

dario-brombal commented 1 year ago

The problem

Just bought a new CGPR1 and discovered I have a Thread/bluetooth instead of standard model and it seema it is not recognized. I dont have thread hardware on my HA installation, just a RPI 3, anyway I expected I can still use it via bluetooth.

I actually have one device (not T version) running from months with bluetooth integration.

I cant have debug data for the device as it is not found.

Dario

What version of Home Assistant Core has the issue?

core-2023.6.3

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

Quingping

Link to integration documentation on our website

https://www.home-assistant.io/integrations/qingping/

Diagnostics information

No response

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, @skgsergio, mind taking a look at this issue as it has been labeled with an integration (qingping) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `qingping` 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 qingping` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


qingping documentation qingping source (message by IssueLinks)

bdraco commented 1 year ago

If you turn on debug logs for homeassistant.components.Bluetooth and can post the advertisement we can add it to the list of it's the same type

dario-brombal commented 1 year ago

Ok, now I'm away from home, I will do as I come back from holiday.

Have a nice day

Dario

dario-brombal commented 1 year ago

Here are the logs. The MAC address of new device should be C9:C7:CB:E6:DF:9D. I have also a bluetooth bridge made with a shelly 1 plus so item should appear more than once.

Thank you


  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2023.6.3",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.11.4",
    "docker": true,
    "arch": "aarch64",
    "timezone": "Europe/Rome",
    "os_name": "Linux",
    "os_version": "6.1.21-v8",
    "supervisor": "2023.07.1",
    "host_os": "Home Assistant OS 10.3",
    "docker_version": "23.0.6",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "cololight": {
      "version": "v2.0.2",
      "requirements": [
        "pycololight==2.1.0"
      ]
    },
    "ble_monitor": {
      "version": "12.2.0",
      "requirements": [
        "pycryptodomex>=3.14.1",
        "janus>=1.0.0",
        "aioblescan>=0.2.14",
        "btsocket>=0.2.0",
        "pyric>=0.1.6.3"
      ]
    },
    "toshiba_ac": {
      "version": "2023.5.1",
      "requirements": [
        "toshiba-ac==0.3.2"
      ]
    },
    "remote_homeassistant": {
      "version": "3.6",
      "requirements": []
    },
    "hacs": {
      "version": "1.32.1",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "thermal_comfort": {
      "version": "2.1.1",
      "requirements": []
    }
  },
  "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": "B8:27:EB:83:48:D6",
          "sw_version": "homeassistant",
          "hw_version": "usb:v1D6Bp0246d0542",
          "passive_scan": true,
          "manufacturer": "Raspberry Pi Foundation",
          "product": null,
          "vendor_id": null,
          "product_id": null
        }
      },
      "slot_manager": {
        "manager": true,
        "adapter_slots": {
          "hci0": 5
        },
        "allocations_by_adapter": {
          "hci0": []
        }
      },
      "scanners": [
        {
          "name": "Luce bagno piano primo (A8:03:2A:BD:73:DC)",
          "start_time": 3641860.530922086,
          "source": "A8:03:2A:BD:73:DC",
          "scanning": true,
          "type": "ShellyBLEScanner",
          "last_detection": 3647671.903047957,
          "monotonic_time": 3647672.237046947,
          "discovered_devices_and_advertisement_data": [
            {
              "name": null,
              "address": "A4:C1:38:2D:F7:C6",
              "rssi": -81,
              "advertisement_data": [
                null,
                {},
                {
                  "0000181c-0000-1000-8000-00805f9b34fb": {
                    "__type": "<class 'bytes'>",
                    "repr": "b'\\x02\\x00\\x90#\\x02\\x83\\t\\x03\\x03\\xe8\\x1b\\x02\\x01d'"
                  }
                },
                [],
                -127,
                -81,
                []
              ],
              "details": {
                "source": "A8:03:2A:BD:73:DC"
              }
            },
            {
              "name": null,
              "address": "A4:C1:38:50:1C:BC",
              "rssi": -77,
              "advertisement_data": [
                null,
                {},
                {
                  "0000181c-0000-1000-8000-00805f9b34fb": {
                    "__type": "<class 'bytes'>",
                    "repr": "b'\\x02\\x00\\xc9#\\x02n\\t\\x03\\x03X\\x18\\x02\\x01d'"
                  }
                },
                [],
                -127,
                -77,
                []
              ],
              "details": {
                "source": "A8:03:2A:BD:73:DC"
              }
            },
            {
              "name": null,
              "address": "A4:C1:38:2B:CF:DC",
              "rssi": -60,
              "advertisement_data": [
                null,
                {},
                {
                  "0000181c-0000-1000-8000-00805f9b34fb": {
                    "__type": "<class 'bytes'>",
                    "repr": "b'\\x02\\x00\\x9a#\\x02\\xd3\\t\\x03\\x03W\\x19\\x02\\x01d'"
                  }
                },
                [],
                -127,
                -60,
                []
              ],
              "details": {
                "source": "A8:03:2A:BD:73:DC"
              }
            },
            {
              "name": null,
              "address": "A4:C1:38:95:14:82",
              "rssi": -83,
              "advertisement_data": [
                null,
                {},
                {
                  "0000181c-0000-1000-8000-00805f9b34fb": {
                    "__type": "<class 'bytes'>",
                    "repr": "b'\\x02\\x00a#\\x02\\xc8\\t\\x03\\x03\\x19\\x1c\\x02\\x01a'"
                  }
                },
                [],
                -127,
                -83,
                []
              ],
              "details": {
                "source": "A8:03:2A:BD:73:DC"
              }
            },
            {
              "name": null,
              "address": "A4:C1:38:35:04:C0",
              "rssi": -69,
              "advertisement_data": [
                null,
                {},
                {
                  "0000181c-0000-1000-8000-00805f9b34fb": {
                    "__type": "<class 'bytes'>",
                    "repr": "b'\\x02\\x00Q\\x02\\x10\\x00\\x03\\x0c\\xad\\x0b'"
                  }
                },
                [],
                -127,
                -69,
                []
              ],
              "details": {
                "source": "A8:03:2A:BD:73:DC"
              }
            },
            {
              "name": null,
              "address": "58:2D:34:60:61:DD",
              "rssi": -89,
              "advertisement_data": [
                null,
                {},
                {
                  "0000fdcd-0000-1000-8000-00805f9b34fb": {
                    "__type": "<class 'bytes'>",
                    "repr": "b'\\x08\\x12\\xdda`4-X\\x02\\x01d\\x0f\\x01e\\t\\x04\\x15\\x00\\x00\\x00'"
                  },
                  "0000fe95-0000-1000-8000-00805f9b34fb": {
                    "__type": "<class 'bytes'>",
                    "repr": "b'0X\\x83\\n\\x02\\xdda`4-X\\x08'"
                  }
                },
                [],
                -127,
                -89,
                []
              ],
              "details": {
                "source": "A8:03:2A:BD:73:DC"
              }
            },
            {
              "name": null,
              "address": "A4:C1:38:58:52:38",
              "rssi": -79,
              "advertisement_data": [
                null,
                {},
                {
                  "0000181a-0000-1000-8000-00805f9b34fb": {
                    "__type": "<class 'bytes'>",
                    "repr": "b'8RX8\\xc1\\xa4\\x85\\t\\xc7\\x1d\\xea\\x0bd\\xcb\\x04'"
                  }
                },
                [],
                -127,
                -79,
                []
              ],
              "details": {
                "source": "A8:03:2A:BD:73:DC"
              }
            },
            {
              "name": null,
              "address": "5B:34:7C:0D:C5:D2",
              "rssi": -84,
              "advertisement_data": [
                null,
                {
                  "76": {
                    "__type": "<class 'bytes'>",
                    "repr": "b'\\x10\\x077\\x1f\\xc7\\xdf\\x1c\\xeeH'"
                  }
                },
                {},
                [],
                7,
                -84,
                []
              ],
              "details": {
                "source": "A8:03:2A:BD:73:DC"
              }
            },
            {
              "name": null,
              "address": "FE:A9:27:D9:6F:52",
              "rssi": -95,
              "advertisement_data": [
                null,
                {
                  "76": {
                    "__type": "<class 'bytes'>",
                    "repr": "b'\\x12\\x02\\x00\\x03'"
                  }
                },
                {},
                [],
                -127,
                -95,
                []
              ],
              "details": {
                "source": "A8:03:2A:BD:73:DC"
              }
            },
            {
              "name": "Qin",
              "address": "C9:C7:CB:E6:DF:9D",
              "rssi": -79,
              "advertisement_data": [
                "Qin",
                {
                  "76": {
                    "__type": "<class 'bytes'>",
                    "repr": "b'\\x061\\x01\\xbaq\\x10\\xd3\\xb0\\xe9\\n\\x00\\x02\\x00\\x01\\x02HW\\x7f\\x88'"
                  }
                },
                {},
                [],
                -127,
                -79,
                []
              ],
              "details": {
                "source": "A8:03:2A:BD:73:DC"
              }
            },
            {
              "name": null,
              "address": "5E:A1:43:01:B5:A1",
              "rssi": -84,
              "advertisement_data": [
                null,
                {
                  "76": {
                    "__type": "<class 'bytes'>",
                    "repr": "b'\\x10\\x07<\\x1f\\xc3\\x0b\\xd4\\xf48'"
                  }
                },
                {},
                [],
                7,
                -84,
                []
              ],
              "details": {
                "source": "A8:03:2A:BD:73:DC"
              }
            }
          ],
          "storage": {
            "connectable": false,
            "expire_seconds": 195,
            "discovered_device_advertisement_datas": {
              "A4:C1:38:2D:F7:C6": {
                "device": {
                  "address": "A4:C1:38:2D:F7:C6",
                  "name": null,
                  "rssi": -76,
                  "details": {
                    "source": "A8:03:2A:BD:73:DC"
                  }
                },
                "advertisement_data": {
                  "local_name": null,
                  "manufacturer_data": {},
                  "service_data": {
                    "0000181c-0000-1000-8000-00805f9b34fb": "02000a230278090303bd1b020164"
                  },
                  "service_uuids": [],
                  "rssi": -76,
                  "tx_power": -127,
                  "platform_data": []
                }
              },
              "A4:C1:38:50:1C:BC": {
                "device": {
                  "address": "A4:C1:38:50:1C:BC",
                  "name": null,
                  "rssi": -75,
                  "details": {
                    "source": "A8:03:2A:BD:73:DC"
                  }
                },
                "advertisement_data": {
                  "local_name": null,
                  "manufacturer_data": {},
                  "service_data": {
                    "0000181c-0000-1000-8000-00805f9b34fb": "0200432302740903038119020164"
                  },
                  "service_uuids": [],
                  "rssi": -75,
                  "tx_power": -127,
                  "platform_data": []
                }
              },
              "A4:C1:38:2B:CF:DC": {
                "device": {
                  "address": "A4:C1:38:2B:CF:DC",
                  "name": null,
                  "rssi": -59,
                  "details": {
                    "source": "A8:03:2A:BD:73:DC"
                  }
                },
                "advertisement_data": {
                  "local_name": null,
                  "manufacturer_data": {},
                  "service_data": {
                    "0000181c-0000-1000-8000-00805f9b34fb": "0200142302c2090303181a020164"
                  },
                  "service_uuids": [],
                  "rssi": -59,
                  "tx_power": -127,
                  "platform_data": []
                }
              },
              "A4:C1:38:95:14:82": {
                "device": {
                  "address": "A4:C1:38:95:14:82",
                  "name": null,
                  "rssi": -87,
                  "details": {
                    "source": "A8:03:2A:BD:73:DC"
                  }
                },
                "advertisement_data": {
                  "local_name": null,
                  "manufacturer_data": {},
                  "service_data": {
                    "0000181c-0000-1000-8000-00805f9b34fb": "0200db2302c8090303841b020161"
                  },
                  "service_uuids": [],
                  "rssi": -87,
                  "tx_power": -127,
                  "platform_data": []
                }
              },
              "A4:C1:38:35:04:C0": {
                "device": {
                  "address": "A4:C1:38:35:04:C0",
                  "name": null,
                  "rssi": -75,
                  "details": {
                    "source": "A8:03:2A:BD:73:DC"
                  }
                },
                "advertisement_data": {
                  "local_name": null,
                  "manufacturer_data": {},
                  "service_data": {
                    "0000181c-0000-1000-8000-00805f9b34fb": "0200cc230277090303fa1a020164"
                  },
                  "service_uuids": [],
                  "rssi": -75,
                  "tx_power": -127,
                  "platform_data": []
                }
              },
              "58:2D:34:60:61:DD": {
                "device": {
                  "address": "58:2D:34:60:61:DD",
                  "name": null,
                  "rssi": -89,
                  "details": {
                    "source": "A8:03:2A:BD:73:DC"
                  }
                },
                "advertisement_data": {
                  "local_name": null,
                  "manufacturer_data": {},
                  "service_data": {
                    "0000fdcd-0000-1000-8000-00805f9b34fb": "0812dd6160342d580201640f011409040b000000",
                    "0000fe95-0000-1000-8000-00805f9b34fb": "3058830a02dd6160342d5808"
                  },
                  "service_uuids": [],
                  "rssi": -89,
                  "tx_power": -127,
                  "platform_data": []
                }
              },
              "A4:C1:38:58:52:38": {
                "device": {
                  "address": "A4:C1:38:58:52:38",
                  "name": null,
                  "rssi": -88,
                  "details": {
                    "source": "A8:03:2A:BD:73:DC"
                  }
                },
                "advertisement_data": {
                  "local_name": null,
                  "manufacturer_data": {},
                  "service_data": {
                    "0000181a-0000-1000-8000-00805f9b34fb": "38525838c1a48909f81ce90b648304"
                  },
                  "service_uuids": [],
                  "rssi": -88,
                  "tx_power": -127,
                  "platform_data": []
                }
              },
              "6B:F6:9B:F8:90:9B": {
                "device": {
                  "address": "6B:F6:9B:F8:90:9B",
                  "name": null,
                  "rssi": -93,
                  "details": {
                    "source": "A8:03:2A:BD:73:DC"
                  }
                },
                "advertisement_data": {
                  "local_name": null,
                  "manufacturer_data": {
                    "76": "1007791f7d4be42078"
                  },
                  "service_data": {},
                  "service_uuids": [],
                  "rssi": -93,
                  "tx_power": 7,
                  "platform_data": []
                }
              }
            },
            "discovered_device_timestamps": {
              "A4:C1:38:2D:F7:C6": 1691235013.1556156,
              "A4:C1:38:50:1C:BC": 1691235018.2565982,
              "A4:C1:38:2B:CF:DC": 1691235012.8506167,
              "A4:C1:38:95:14:82": 1691235018.9705958,
              "A4:C1:38:35:04:C0": 1691235017.502601,
              "58:2D:34:60:61:DD": 1691235018.966596,
              "A4:C1:38:58:52:38": 1691235019.7435932,
              "6B:F6:9B:F8:90:9B": 1691234853.8511746
            }
          },
          "connectable": false,
          "discovered_device_timestamps": {
            "A4:C1:38:2D:F7:C6": 3647671.359049602,
            "A4:C1:38:50:1C:BC": 3647662.786075529,
            "A4:C1:38:2B:CF:DC": 3647670.449052354,
            "A4:C1:38:95:14:82": 3647670.450052351,
            "A4:C1:38:35:04:C0": 3647657.776090681,
            "58:2D:34:60:61:DD": 3647670.448052357,
            "A4:C1:38:58:52:38": 3647670.451052348,
            "5B:34:7C:0D:C5:D2": 3647571.54335149,
            "FE:A9:27:D9:6F:52": 3647660.779081599,
            "C9:C7:CB:E6:DF:9D": 3647670.451052348,
            "5E:A1:43:01:B5:A1": 3647671.903047957
          },
          "time_since_last_device_detection": {
            "A4:C1:38:2D:F7:C6": 0.8779973448254168,
            "A4:C1:38:50:1C:BC": 9.450971417594701,
            "A4:C1:38:2B:CF:DC": 1.7879945929162204,
            "A4:C1:38:95:14:82": 1.7869945955462754,
            "A4:C1:38:35:04:C0": 14.460956265684217,
            "58:2D:34:60:61:DD": 1.7889945898205042,
            "A4:C1:38:58:52:38": 1.7859945986419916,
            "5B:34:7C:0D:C5:D2": 100.69369545672089,
            "FE:A9:27:D9:6F:52": 11.457965347915888,
            "C9:C7:CB:E6:DF:9D": 1.7859945986419916,
            "5E:A1:43:01:B5:A1": 0.33399898977950215
          }
        },
        {
          "name": "hci0 (B8:27:EB:83:48:D6)",
          "start_time": 3647596.110277185,
          "source": "B8:27:EB:83:48:D6",
          "scanning": true,
          "type": "HaScanner",
          "last_detection": 3647607.268243438,
          "monotonic_time": 3647672.238046944,
          "discovered_devices_and_advertisement_data": [],
          "adapter": "hci0"
        }
      ],
      "connectable_history": [
        {
          "name": "63-26-3C-85-A2-23",
          "address": "63:26:3C:85:A2:23",
          "rssi": -90,
          "manufacturer_data": {
            "76": {
              "__type": "<class 'bytes'>",
              "repr": "b'\\x10\\x05)\\x98\\xb4\\xe7\\xca'"
            }
          },
          "service_data": {},
          "service_uuids": [],
          "source": "B8:27:EB:83:48:D6",
          "advertisement": [
            null,
            {
              "76": {
                "__type": "<class 'bytes'>",
                "repr": "b'\\x10\\x05)\\x98\\xb4\\xe7\\xca'"
              }
            },
            {},
            [],
            8,
            -90,
            [
              "/org/bluez/hci0/dev_63_26_3C_85_A2_23",
              {
                "Address": "63:26:3C:85:A2:23",
                "AddressType": "random",
                "Alias": "63-26-3C-85-A2-23",
                "Paired": false,
                "Bonded": false,
                "Trusted": false,
                "Blocked": false,
                "LegacyPairing": false,
                "RSSI": -90,
                "Connected": false,
                "UUIDs": [],
                "Adapter": "/org/bluez/hci0",
                "ManufacturerData": {
                  "76": {
                    "__type": "<class 'bytearray'>",
                    "repr": "bytearray(b'\\x10\\x05)\\x98\\xb4\\xe7\\xca')"
                  }
                },
                "TxPower": 8,
                "ServicesResolved": false,
                "AdvertisingFlags": {
                  "__type": "<class 'bytearray'>",
                  "repr": "bytearray(b'\\x1a')"
                }
              }
            ]
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(63:26:3C:85:A2:23, 63-26-3C-85-A2-23)"
          },
          "connectable": true,
          "time": 3647607.232243546
        },
        {
          "name": "Qingping Motion & Light",
          "address": "58:2D:34:60:61:DD",
          "rssi": -70,
          "manufacturer_data": {},
          "service_data": {
            "0000fe95-0000-1000-8000-00805f9b34fb": {
              "__type": "<class 'bytes'>",
              "repr": "b'0X\\x83\\n\\x02\\xdda`4-X\\x08'"
            },
            "0000fdcd-0000-1000-8000-00805f9b34fb": {
              "__type": "<class 'bytes'>",
              "repr": "b'\\x08\\x12\\xdda`4-X\\x02\\x01d\\x0f\\x01H\\t\\x04\\x15\\x00\\x00\\x00'"
            }
          },
          "service_uuids": [],
          "source": "B8:27:EB:83:48:D6",
          "advertisement": [
            "Qingping Motion & Light",
            {},
            {
              "0000fe95-0000-1000-8000-00805f9b34fb": {
                "__type": "<class 'bytes'>",
                "repr": "b'0X\\x83\\n\\x02\\xdda`4-X\\x08'"
              },
              "0000fdcd-0000-1000-8000-00805f9b34fb": {
                "__type": "<class 'bytes'>",
                "repr": "b'\\x08\\x12\\xdda`4-X\\x02\\x01d\\x0f\\x01H\\t\\x04\\x15\\x00\\x00\\x00'"
              }
            },
            [],
            null,
            -70,
            [
              "/org/bluez/hci0/dev_58_2D_34_60_61_DD",
              {
                "Address": "58:2D:34:60:61:DD",
                "AddressType": "public",
                "Name": "Qingping Motion & Light",
                "Alias": "Qingping Motion & Light",
                "Paired": false,
                "Bonded": false,
                "Trusted": false,
                "Blocked": false,
                "LegacyPairing": false,
                "RSSI": -70,
                "Connected": false,
                "UUIDs": [],
                "Adapter": "/org/bluez/hci0",
                "ServiceData": {
                  "0000fe95-0000-1000-8000-00805f9b34fb": {
                    "__type": "<class 'bytearray'>",
                    "repr": "bytearray(b'0X\\x83\\n\\x02\\xdda`4-X\\x08')"
                  },
                  "0000fdcd-0000-1000-8000-00805f9b34fb": {
                    "__type": "<class 'bytearray'>",
                    "repr": "bytearray(b'\\x08\\x12\\xdda`4-X\\x02\\x01d\\x0f\\x01H\\t\\x04\\x15\\x00\\x00\\x00')"
                  }
                },
                "ServicesResolved": false,
                "AdvertisingFlags": {
                  "__type": "<class 'bytearray'>",
                  "repr": "bytearray(b'\\x06')"
                }
              }
            ]
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(58:2D:34:60:61:DD, Qingping Motion & Light)"
          },
          "connectable": true,
          "time": 3647607.268243438
        },
        {
          "name": "ShellyPlus1-A8032ABD73DC",
          "address": "A8:03:2A:BD:73:DE",
          "rssi": -83,
          "manufacturer_data": {},
          "service_data": {},
          "service_uuids": [],
          "source": "B8:27:EB:83:48:D6",
          "advertisement": [
            "ShellyPlus1-A8032ABD73DC",
            {},
            {},
            [],
            null,
            -83,
            [
              "/org/bluez/hci0/dev_A8_03_2A_BD_73_DE",
              {
                "Address": "A8:03:2A:BD:73:DE",
                "AddressType": "public",
                "Name": "ShellyPlus1-A8032ABD73DC",
                "Alias": "ShellyPlus1-A8032ABD73DC",
                "Paired": false,
                "Bonded": false,
                "Trusted": false,
                "Blocked": false,
                "LegacyPairing": false,
                "RSSI": -83,
                "Connected": false,
                "UUIDs": [],
                "Adapter": "/org/bluez/hci0",
                "ServicesResolved": false,
                "AdvertisingFlags": {
                  "__type": "<class 'bytearray'>",
                  "repr": "bytearray(b'\\x00')"
                }
              }
            ]
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(A8:03:2A:BD:73:DE, ShellyPlus1-A8032ABD73DC)"
          },
          "connectable": true,
          "time": 3647606.912244514
        },
        {
          "name": "5B-34-7C-0D-C5-D2",
          "address": "5B:34:7C:0D:C5:D2",
          "rssi": -87,
          "manufacturer_data": {
            "76": {
              "__type": "<class 'bytes'>",
              "repr": "b'\\x10\\x077\\x1f\\xc7\\xdf\\x1c\\xeeH'"
            }
          },
          "service_data": {},
          "service_uuids": [],
          "source": "B8:27:EB:83:48:D6",
          "advertisement": [
            null,
            {
              "76": {
                "__type": "<class 'bytes'>",
                "repr": "b'\\x10\\x077\\x1f\\xc7\\xdf\\x1c\\xeeH'"
              }
            },
            {},
            [],
            7,
            -87,
            [
              "/org/bluez/hci0/dev_5B_34_7C_0D_C5_D2",
              {
                "Address": "5B:34:7C:0D:C5:D2",
                "AddressType": "random",
                "Alias": "5B-34-7C-0D-C5-D2",
                "Paired": false,
                "Bonded": false,
                "Trusted": false,
                "Blocked": false,
                "LegacyPairing": false,
                "RSSI": -87,
                "Connected": false,
                "UUIDs": [],
                "Adapter": "/org/bluez/hci0",
                "ManufacturerData": {
                  "76": {
                    "__type": "<class 'bytearray'>",
                    "repr": "bytearray(b'\\x10\\x077\\x1f\\xc7\\xdf\\x1c\\xeeH')"
                  }
                },
                "TxPower": 7,
                "ServicesResolved": false,
                "AdvertisingFlags": {
                  "__type": "<class 'bytearray'>",
                  "repr": "bytearray(b'\\x1a')"
                }
              }
            ]
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(5B:34:7C:0D:C5:D2, 5B-34-7C-0D-C5-D2)"
          },
          "connectable": true,
          "time": 3647486.5106087
        },
        {
          "name": "ATC_2BCFDC",
          "address": "A4:C1:38:2B:CF:DC",
          "rssi": -82,
          "manufacturer_data": {},
          "service_data": {
            "0000181c-0000-1000-8000-00805f9b34fb": {
              "__type": "<class 'bytes'>",
              "repr": "b'\\x02\\x00\\x96#\\x02\\xd4\\t\\x03\\x03Z\\x19\\x02\\x01d'"
            }
          },
          "service_uuids": [],
          "source": "B8:27:EB:83:48:D6",
          "advertisement": [
            "ATC_2BCFDC",
            {},
            {
              "0000181c-0000-1000-8000-00805f9b34fb": {
                "__type": "<class 'bytes'>",
                "repr": "b'\\x02\\x00\\x96#\\x02\\xd4\\t\\x03\\x03Z\\x19\\x02\\x01d'"
              }
            },
            [],
            null,
            -82,
            [
              "/org/bluez/hci0/dev_A4_C1_38_2B_CF_DC",
              {
                "Address": "A4:C1:38:2B:CF:DC",
                "AddressType": "public",
                "Name": "ATC_2BCFDC",
                "Alias": "ATC_2BCFDC",
                "Paired": false,
                "Bonded": false,
                "Trusted": false,
                "Blocked": false,
                "LegacyPairing": false,
                "RSSI": -82,
                "Connected": false,
                "UUIDs": [],
                "Adapter": "/org/bluez/hci0",
                "ServiceData": {
                  "0000181c-0000-1000-8000-00805f9b34fb": {
                    "__type": "<class 'bytearray'>",
                    "repr": "bytearray(b'\\x02\\x00\\x96#\\x02\\xd4\\t\\x03\\x03Z\\x19\\x02\\x01d')"
                  }
                },
                "ServicesResolved": false,
                "AdvertisingFlags": {
                  "__type": "<class 'bytearray'>",
                  "repr": "bytearray(b'\\x06')"
                }
              }
            ]
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(A4:C1:38:2B:CF:DC, ATC_2BCFDC)"
          },
          "connectable": true,
          "time": 3647602.578257622
        },
        {
          "name": "TY",
          "address": "89:51:12:36:28:11",
          "rssi": -88,
          "manufacturer_data": {
            "2000": {
              "__type": "<class 'bytes'>",
              "repr": "b'\\x80\\x03\\x00\\x00\\x0c\\x00\\xb5~\\x1a\\x02\\xb9O\\r\\x8d\\x1e\\x89\\x13\\x02\\x1c\\xa4\\xe2i'"
            }
          },
          "service_data": {
            "0000a201-0000-1000-8000-00805f9b34fb": {
              "__type": "<class 'bytes'>",
              "repr": "b'\\x00\\x9f Xm\\xb3V9@\\x14\\xbeS{\\rY\\xda\\x95'"
            }
          },
          "service_uuids": [
            "0000a201-0000-1000-8000-00805f9b34fb"
          ],
          "source": "B8:27:EB:83:48:D6",
          "advertisement": [
            "TY",
            {
              "2000": {
                "__type": "<class 'bytes'>",
                "repr": "b'\\x80\\x03\\x00\\x00\\x0c\\x00\\xb5~\\x1a\\x02\\xb9O\\r\\x8d\\x1e\\x89\\x13\\x02\\x1c\\xa4\\xe2i'"
              }
            },
            {
              "0000a201-0000-1000-8000-00805f9b34fb": {
                "__type": "<class 'bytes'>",
                "repr": "b'\\x00\\x9f Xm\\xb3V9@\\x14\\xbeS{\\rY\\xda\\x95'"
              }
            },
            [
              "0000a201-0000-1000-8000-00805f9b34fb"
            ],
            null,
            -88,
            [
              "/org/bluez/hci0/dev_89_51_12_36_28_11",
              {
                "Address": "89:51:12:36:28:11",
                "AddressType": "public",
                "Name": "TY",
                "Alias": "TY",
                "Paired": false,
                "Bonded": false,
                "Trusted": false,
                "Blocked": false,
                "LegacyPairing": false,
                "RSSI": -88,
                "Connected": false,
                "UUIDs": [
                  "0000a201-0000-1000-8000-00805f9b34fb"
                ],
                "Adapter": "/org/bluez/hci0",
                "ManufacturerData": {
                  "2000": {
                    "__type": "<class 'bytearray'>",
                    "repr": "bytearray(b'\\x80\\x03\\x00\\x00\\x0c\\x00\\xb5~\\x1a\\x02\\xb9O\\r\\x8d\\x1e\\x89\\x13\\x02\\x1c\\xa4\\xe2i')"
                  }
                },
                "ServiceData": {
                  "0000a201-0000-1000-8000-00805f9b34fb": {
                    "__type": "<class 'bytearray'>",
                    "repr": "bytearray(b'\\x00\\x9f Xm\\xb3V9@\\x14\\xbeS{\\rY\\xda\\x95')"
                  }
                },
                "ServicesResolved": false,
                "AdvertisingFlags": {
                  "__type": "<class 'bytearray'>",
                  "repr": "bytearray(b'\\x06')"
                }
              }
            ]
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(89:51:12:36:28:11, TY)"
          },
          "connectable": true,
          "time": 3647607.194243661
        },
        {
          "name": "ATC_07ED9D",
          "address": "A4:C1:38:07:ED:9D",
          "rssi": -84,
          "manufacturer_data": {},
          "service_data": {
            "0000181c-0000-1000-8000-00805f9b34fb": {
              "__type": "<class 'bytes'>",
              "repr": "b'\\x02\\x00\\x8f#\\x02\\x80\\t\\x03\\x03\\xd0\\x1c\\x02\\x01a'"
            }
          },
          "service_uuids": [],
          "source": "B8:27:EB:83:48:D6",
          "advertisement": [
            "ATC_07ED9D",
            {},
            {
              "0000181c-0000-1000-8000-00805f9b34fb": {
                "__type": "<class 'bytes'>",
                "repr": "b'\\x02\\x00\\x8f#\\x02\\x80\\t\\x03\\x03\\xd0\\x1c\\x02\\x01a'"
              }
            },
            [],
            null,
            -84,
            [
              "/org/bluez/hci0/dev_A4_C1_38_07_ED_9D",
              {
                "Address": "A4:C1:38:07:ED:9D",
                "AddressType": "public",
                "Name": "ATC_07ED9D",
                "Alias": "ATC_07ED9D",
                "Paired": false,
                "Bonded": false,
                "Trusted": false,
                "Blocked": false,
                "LegacyPairing": false,
                "RSSI": -84,
                "Connected": false,
                "UUIDs": [],
                "Adapter": "/org/bluez/hci0",
                "ServiceData": {
                  "0000181c-0000-1000-8000-00805f9b34fb": {
                    "__type": "<class 'bytearray'>",
                    "repr": "bytearray(b'\\x02\\x00\\x8f#\\x02\\x80\\t\\x03\\x03\\xd0\\x1c\\x02\\x01a')"
                  }
                },
                "ServicesResolved": false,
                "AdvertisingFlags": {
                  "__type": "<class 'bytearray'>",
                  "repr": "bytearray(b'\\x06')"
                }
              }
            ]
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(A4:C1:38:07:ED:9D, ATC_07ED9D)"
          },
          "connectable": true,
          "time": 3647600.458264034
        },
        {
          "name": "ATC_2DF7C6",
          "address": "A4:C1:38:2D:F7:C6",
          "rssi": -85,
          "manufacturer_data": {},
          "service_data": {
            "0000181c-0000-1000-8000-00805f9b34fb": {
              "__type": "<class 'bytes'>",
              "repr": "b'\\x02\\x00\\x8c#\\x02\\x81\\t\\x03\\x03\\xe8\\x1b\\x02\\x01d'"
            }
          },
          "service_uuids": [],
          "source": "B8:27:EB:83:48:D6",
          "advertisement": [
            "ATC_2DF7C6",
            {},
            {
              "0000181c-0000-1000-8000-00805f9b34fb": {
                "__type": "<class 'bytes'>",
                "repr": "b'\\x02\\x00\\x8c#\\x02\\x81\\t\\x03\\x03\\xe8\\x1b\\x02\\x01d'"
              }
            },
            [],
            null,
            -85,
            [
              "/org/bluez/hci0/dev_A4_C1_38_2D_F7_C6",
              {
                "Address": "A4:C1:38:2D:F7:C6",
                "AddressType": "public",
                "Name": "ATC_2DF7C6",
                "Alias": "ATC_2DF7C6",
                "Paired": false,
                "Bonded": false,
                "Trusted": false,
                "Blocked": false,
                "LegacyPairing": false,
                "RSSI": -85,
                "Connected": false,
                "UUIDs": [],
                "Adapter": "/org/bluez/hci0",
                "ServiceData": {
                  "0000181c-0000-1000-8000-00805f9b34fb": {
                    "__type": "<class 'bytearray'>",
                    "repr": "bytearray(b'\\x02\\x00\\x8c#\\x02\\x81\\t\\x03\\x03\\xe8\\x1b\\x02\\x01d')"
                  }
                },
                "ServicesResolved": false,
                "AdvertisingFlags": {
                  "__type": "<class 'bytearray'>",
                  "repr": "bytearray(b'\\x06')"
                }
              }
            ]
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(A4:C1:38:2D:F7:C6, ATC_2DF7C6)"
          },
          "connectable": true,
          "time": 3647600.594263623
        },
        {
          "name": "Qingping Motion & Light Senso",
          "address": "C9:C7:CB:E6:DF:9D",
          "rssi": -43,
          "manufacturer_data": {
            "76": {
              "__type": "<class 'bytes'>",
              "repr": "b'\\x061\\x01\\xbaq\\x10\\xd3\\xb0\\xe9\\n\\x00\\x02\\x00\\x01\\x02HW\\x7f\\x88'"
            }
          },
          "service_data": {},
          "service_uuids": [],
          "source": "B8:27:EB:83:48:D6",
          "advertisement": [
            "Qingping Motion & Light Senso",
            {
              "76": {
                "__type": "<class 'bytes'>",
                "repr": "b'\\x061\\x01\\xbaq\\x10\\xd3\\xb0\\xe9\\n\\x00\\x02\\x00\\x01\\x02HW\\x7f\\x88'"
              }
            },
            {},
            [],
            null,
            -43,
            [
              "/org/bluez/hci0/dev_C9_C7_CB_E6_DF_9D",
              {
                "Address": "C9:C7:CB:E6:DF:9D",
                "AddressType": "random",
                "Name": "Qingping Motion & Light Senso",
                "Alias": "Qingping Motion & Light Senso",
                "Paired": false,
                "Bonded": false,
                "Trusted": false,
                "Blocked": false,
                "LegacyPairing": false,
                "RSSI": -43,
                "Connected": false,
                "UUIDs": [],
                "Adapter": "/org/bluez/hci0",
                "ManufacturerData": {
                  "76": {
                    "__type": "<class 'bytearray'>",
                    "repr": "bytearray(b'\\x061\\x01\\xbaq\\x10\\xd3\\xb0\\xe9\\n\\x00\\x02\\x00\\x01\\x02HW\\x7f\\x88')"
                  }
                },
                "ServicesResolved": false,
                "AdvertisingFlags": {
                  "__type": "<class 'bytearray'>",
                  "repr": "bytearray(b'\\x06')"
                }
              }
            ]
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(C9:C7:CB:E6:DF:9D, Qingping Motion & Light Senso)"
          },
          "connectable": true,
          "time": 3647596.36327642
        },
        {
          "name": "ATC_951482",
          "address": "A4:C1:38:95:14:82",
          "rssi": -72,
          "manufacturer_data": {},
          "service_data": {
            "0000181c-0000-1000-8000-00805f9b34fb": {
              "__type": "<class 'bytes'>",
              "repr": "b'\\x02\\x00]#\\x02\\xc8\\t\\x03\\x03\\x17\\x1c\\x02\\x01a'"
            }
          },
          "service_uuids": [],
          "source": "B8:27:EB:83:48:D6",
          "advertisement": [
            "ATC_951482",
            {},
            {
              "0000181c-0000-1000-8000-00805f9b34fb": {
                "__type": "<class 'bytes'>",
                "repr": "b'\\x02\\x00]#\\x02\\xc8\\t\\x03\\x03\\x17\\x1c\\x02\\x01a'"
              }
            },
            [],
            null,
            -72,
            [
              "/org/bluez/hci0/dev_A4_C1_38_95_14_82",
              {
                "Address": "A4:C1:38:95:14:82",
                "AddressType": "public",
                "Name": "ATC_951482",
                "Alias": "ATC_951482",
                "Paired": false,
                "Bonded": false,
                "Trusted": false,
                "Blocked": false,
                "LegacyPairing": false,
                "RSSI": -72,
                "Connected": false,
                "UUIDs": [],
                "Adapter": "/org/bluez/hci0",
                "ServiceData": {
                  "0000181c-0000-1000-8000-00805f9b34fb": {
                    "__type": "<class 'bytearray'>",
                    "repr": "bytearray(b'\\x02\\x00]#\\x02\\xc8\\t\\x03\\x03\\x17\\x1c\\x02\\x01a')"
                  }
                },
                "ServicesResolved": false,
                "AdvertisingFlags": {
                  "__type": "<class 'bytearray'>",
                  "repr": "bytearray(b'\\x06')"
                }
              }
            ]
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(A4:C1:38:95:14:82, ATC_951482)"
          },
          "connectable": true,
          "time": 3647598.486269999
        },
        {
          "name": "ATC_585238",
          "address": "A4:C1:38:58:52:38",
          "rssi": -84,
          "manufacturer_data": {},
          "service_data": {
            "0000181a-0000-1000-8000-00805f9b34fb": {
              "__type": "<class 'bytes'>",
              "repr": "b'8RX8\\xc1\\xa4\\x85\\t\\xef\\x1d\\xea\\x0bd\\xc4\\x04'"
            }
          },
          "service_uuids": [],
          "source": "B8:27:EB:83:48:D6",
          "advertisement": [
            "ATC_585238",
            {},
            {
              "0000181a-0000-1000-8000-00805f9b34fb": {
                "__type": "<class 'bytes'>",
                "repr": "b'8RX8\\xc1\\xa4\\x85\\t\\xef\\x1d\\xea\\x0bd\\xc4\\x04'"
              }
            },
            [],
            null,
            -84,
            [
              "/org/bluez/hci0/dev_A4_C1_38_58_52_38",
              {
                "Address": "A4:C1:38:58:52:38",
                "AddressType": "public",
                "Name": "ATC_585238",
                "Alias": "ATC_585238",
                "Paired": false,
                "Bonded": false,
                "Trusted": false,
                "Blocked": false,
                "LegacyPairing": false,
                "RSSI": -84,
                "Connected": false,
                "UUIDs": [],
                "Adapter": "/org/bluez/hci0",
                "ServiceData": {
                  "0000181a-0000-1000-8000-00805f9b34fb": {
                    "__type": "<class 'bytearray'>",
                    "repr": "bytearray(b'8RX8\\xc1\\xa4\\x85\\t\\xef\\x1d\\xea\\x0bd\\xc4\\x04')"
                  }
                },
                "ServicesResolved": false,
                "AdvertisingFlags": {
                  "__type": "<class 'bytearray'>",
                  "repr": "bytearray(b'\\x06')"
                }
              }
            ]
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(A4:C1:38:58:52:38, ATC_585238)"
          },
          "connectable": true,
          "time": 3647599.760266146
        },
        {
          "name": "ATC_68FEDD",
          "address": "A4:C1:38:68:FE:DD",
          "rssi": -87,
          "manufacturer_data": {},
          "service_data": {
            "0000181c-0000-1000-8000-00805f9b34fb": {
              "__type": "<class 'bytes'>",
              "repr": "b'\\x02\\x00\\xbd#\\x02\\xaa\\t\\x03\\x03\\n\\x1c\\x02\\x01a'"
            }
          },
          "service_uuids": [],
          "source": "B8:27:EB:83:48:D6",
          "advertisement": [
            "ATC_68FEDD",
            {},
            {
              "0000181c-0000-1000-8000-00805f9b34fb": {
                "__type": "<class 'bytes'>",
                "repr": "b'\\x02\\x00\\xbd#\\x02\\xaa\\t\\x03\\x03\\n\\x1c\\x02\\x01a'"
              }
            },
            [],
            null,
            -87,
            [
              "/org/bluez/hci0/dev_A4_C1_38_68_FE_DD",
              {
                "Address": "A4:C1:38:68:FE:DD",
                "AddressType": "public",
                "Name": "ATC_68FEDD",
                "Alias": "ATC_68FEDD",
                "Paired": false,
                "Bonded": false,
                "Trusted": false,
                "Blocked": false,
                "LegacyPairing": false,
                "RSSI": -87,
                "Connected": false,
                "UUIDs": [],
                "Adapter": "/org/bluez/hci0",
                "ServiceData": {
                  "0000181c-0000-1000-8000-00805f9b34fb": {
                    "__type": "<class 'bytearray'>",
                    "repr": "bytearray(b'\\x02\\x00\\xbd#\\x02\\xaa\\t\\x03\\x03\\n\\x1c\\x02\\x01a')"
                  }
                },
                "ServicesResolved": false,
                "AdvertisingFlags": {
                  "__type": "<class 'bytearray'>",
                  "repr": "bytearray(b'\\x06')"
                }
              }
            ]
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(A4:C1:38:68:FE:DD, ATC_68FEDD)"
          },
          "connectable": true,
          "time": 3647603.43525503
        },
        {
          "name": "5E-A1-43-01-B5-A1",
          "address": "5E:A1:43:01:B5:A1",
          "rssi": -96,
          "manufacturer_data": {
            "76": {
              "__type": "<class 'bytes'>",
              "repr": "b'\\x10\\x07<\\x1f\\xc3\\x0b\\xd4\\xf48'"
            }
          },
          "service_data": {},
          "service_uuids": [],
          "source": "B8:27:EB:83:48:D6",
          "advertisement": [
            null,
            {
              "76": {
                "__type": "<class 'bytes'>",
                "repr": "b'\\x10\\x07<\\x1f\\xc3\\x0b\\xd4\\xf48'"
              }
            },
            {},
            [],
            7,
            -96,
            [
              "/org/bluez/hci0/dev_5E_A1_43_01_B5_A1",
              {
                "Address": "5E:A1:43:01:B5:A1",
                "AddressType": "random",
                "Alias": "5E-A1-43-01-B5-A1",
                "Paired": false,
                "Bonded": false,
                "Trusted": false,
                "Blocked": false,
                "LegacyPairing": false,
                "RSSI": -96,
                "Connected": false,
                "UUIDs": [],
                "Adapter": "/org/bluez/hci0",
                "ManufacturerData": {
                  "76": {
                    "__type": "<class 'bytearray'>",
                    "repr": "bytearray(b'\\x10\\x07<\\x1f\\xc3\\x0b\\xd4\\xf48')"
                  }
                },
                "TxPower": 7,
                "ServicesResolved": false,
                "AdvertisingFlags": {
                  "__type": "<class 'bytearray'>",
                  "repr": "bytearray(b'\\x00')"
                }
              }
            ]
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(5E:A1:43:01:B5:A1, 5E-A1-43-01-B5-A1)"
          },
          "connectable": true,
          "time": 3647596.723275331
        }
      ],
      "all_history": [
        {
          "name": "A4:C1:38:2D:F7:C6",
          "address": "A4:C1:38:2D:F7:C6",
          "rssi": -81,
          "manufacturer_data": {},
          "service_data": {
            "0000181c-0000-1000-8000-00805f9b34fb": {
              "__type": "<class 'bytes'>",
              "repr": "b'\\x02\\x00\\x90#\\x02\\x83\\t\\x03\\x03\\xe8\\x1b\\x02\\x01d'"
            }
          },
          "service_uuids": [],
          "source": "A8:03:2A:BD:73:DC",
          "advertisement": [
            null,
            {},
            {
              "0000181c-0000-1000-8000-00805f9b34fb": {
                "__type": "<class 'bytes'>",
                "repr": "b'\\x02\\x00\\x90#\\x02\\x83\\t\\x03\\x03\\xe8\\x1b\\x02\\x01d'"
              }
            },
            [],
            -127,
            -81,
            []
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(A4:C1:38:2D:F7:C6, None)"
          },
          "connectable": false,
          "time": 3647671.359049602
        },
        {
          "name": "A4:C1:38:50:1C:BC",
          "address": "A4:C1:38:50:1C:BC",
          "rssi": -77,
          "manufacturer_data": {},
          "service_data": {
            "0000181c-0000-1000-8000-00805f9b34fb": {
              "__type": "<class 'bytes'>",
              "repr": "b'\\x02\\x00\\xc9#\\x02n\\t\\x03\\x03X\\x18\\x02\\x01d'"
            }
          },
          "service_uuids": [],
          "source": "A8:03:2A:BD:73:DC",
          "advertisement": [
            null,
            {},
            {
              "0000181c-0000-1000-8000-00805f9b34fb": {
                "__type": "<class 'bytes'>",
                "repr": "b'\\x02\\x00\\xc9#\\x02n\\t\\x03\\x03X\\x18\\x02\\x01d'"
              }
            },
            [],
            -127,
            -77,
            []
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(A4:C1:38:50:1C:BC, None)"
          },
          "connectable": false,
          "time": 3647662.786075529
        },
        {
          "name": "A4:C1:38:35:04:C0",
          "address": "A4:C1:38:35:04:C0",
          "rssi": -69,
          "manufacturer_data": {},
          "service_data": {
            "0000181c-0000-1000-8000-00805f9b34fb": {
              "__type": "<class 'bytes'>",
              "repr": "b'\\x02\\x00Q\\x02\\x10\\x00\\x03\\x0c\\xad\\x0b'"
            }
          },
          "service_uuids": [],
          "source": "A8:03:2A:BD:73:DC",
          "advertisement": [
            null,
            {},
            {
              "0000181c-0000-1000-8000-00805f9b34fb": {
                "__type": "<class 'bytes'>",
                "repr": "b'\\x02\\x00Q\\x02\\x10\\x00\\x03\\x0c\\xad\\x0b'"
              }
            },
            [],
            -127,
            -69,
            []
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(A4:C1:38:35:04:C0, None)"
          },
          "connectable": false,
          "time": 3647657.776090681
        },
        {
          "name": "ATC_951482",
          "address": "A4:C1:38:95:14:82",
          "rssi": -72,
          "manufacturer_data": {},
          "service_data": {
            "0000181c-0000-1000-8000-00805f9b34fb": {
              "__type": "<class 'bytes'>",
              "repr": "b'\\x02\\x00]#\\x02\\xc8\\t\\x03\\x03\\x17\\x1c\\x02\\x01a'"
            }
          },
          "service_uuids": [],
          "source": "B8:27:EB:83:48:D6",
          "advertisement": [
            "ATC_951482",
            {},
            {
              "0000181c-0000-1000-8000-00805f9b34fb": {
                "__type": "<class 'bytes'>",
                "repr": "b'\\x02\\x00]#\\x02\\xc8\\t\\x03\\x03\\x17\\x1c\\x02\\x01a'"
              }
            },
            [],
            null,
            -72,
            [
              "/org/bluez/hci0/dev_A4_C1_38_95_14_82",
              {
                "Address": "A4:C1:38:95:14:82",
                "AddressType": "public",
                "Name": "ATC_951482",
                "Alias": "ATC_951482",
                "Paired": false,
                "Bonded": false,
                "Trusted": false,
                "Blocked": false,
                "LegacyPairing": false,
                "RSSI": -72,
                "Connected": false,
                "UUIDs": [],
                "Adapter": "/org/bluez/hci0",
                "ServiceData": {
                  "0000181c-0000-1000-8000-00805f9b34fb": {
                    "__type": "<class 'bytearray'>",
                    "repr": "bytearray(b'\\x02\\x00]#\\x02\\xc8\\t\\x03\\x03\\x17\\x1c\\x02\\x01a')"
                  }
                },
                "ServicesResolved": false,
                "AdvertisingFlags": {
                  "__type": "<class 'bytearray'>",
                  "repr": "bytearray(b'\\x06')"
                }
              }
            ]
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(A4:C1:38:95:14:82, ATC_951482)"
          },
          "connectable": true,
          "time": 3647598.486269999
        },
        {
          "name": "Qingping Motion & Light",
          "address": "58:2D:34:60:61:DD",
          "rssi": -70,
          "manufacturer_data": {},
          "service_data": {
            "0000fe95-0000-1000-8000-00805f9b34fb": {
              "__type": "<class 'bytes'>",
              "repr": "b'0X\\x83\\n\\x02\\xdda`4-X\\x08'"
            },
            "0000fdcd-0000-1000-8000-00805f9b34fb": {
              "__type": "<class 'bytes'>",
              "repr": "b'\\x08\\x12\\xdda`4-X\\x02\\x01d\\x0f\\x01H\\t\\x04\\x15\\x00\\x00\\x00'"
            }
          },
          "service_uuids": [],
          "source": "B8:27:EB:83:48:D6",
          "advertisement": [
            "Qingping Motion & Light",
            {},
            {
              "0000fe95-0000-1000-8000-00805f9b34fb": {
                "__type": "<class 'bytes'>",
                "repr": "b'0X\\x83\\n\\x02\\xdda`4-X\\x08'"
              },
              "0000fdcd-0000-1000-8000-00805f9b34fb": {
                "__type": "<class 'bytes'>",
                "repr": "b'\\x08\\x12\\xdda`4-X\\x02\\x01d\\x0f\\x01H\\t\\x04\\x15\\x00\\x00\\x00'"
              }
            },
            [],
            null,
            -70,
            [
              "/org/bluez/hci0/dev_58_2D_34_60_61_DD",
              {
                "Address": "58:2D:34:60:61:DD",
                "AddressType": "public",
                "Name": "Qingping Motion & Light",
                "Alias": "Qingping Motion & Light",
                "Paired": false,
                "Bonded": false,
                "Trusted": false,
                "Blocked": false,
                "LegacyPairing": false,
                "RSSI": -70,
                "Connected": false,
                "UUIDs": [],
                "Adapter": "/org/bluez/hci0",
                "ServiceData": {
                  "0000fe95-0000-1000-8000-00805f9b34fb": {
                    "__type": "<class 'bytearray'>",
                    "repr": "bytearray(b'0X\\x83\\n\\x02\\xdda`4-X\\x08')"
                  },
                  "0000fdcd-0000-1000-8000-00805f9b34fb": {
                    "__type": "<class 'bytearray'>",
                    "repr": "bytearray(b'\\x08\\x12\\xdda`4-X\\x02\\x01d\\x0f\\x01H\\t\\x04\\x15\\x00\\x00\\x00')"
                  }
                },
                "ServicesResolved": false,
                "AdvertisingFlags": {
                  "__type": "<class 'bytearray'>",
                  "repr": "bytearray(b'\\x06')"
                }
              }
            ]
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(58:2D:34:60:61:DD, Qingping Motion & Light)"
          },
          "connectable": true,
          "time": 3647607.268243438
        },
        {
          "name": "A4:C1:38:2B:CF:DC",
          "address": "A4:C1:38:2B:CF:DC",
          "rssi": -60,
          "manufacturer_data": {},
          "service_data": {
            "0000181c-0000-1000-8000-00805f9b34fb": {
              "__type": "<class 'bytes'>",
              "repr": "b'\\x02\\x00\\x9a#\\x02\\xd3\\t\\x03\\x03W\\x19\\x02\\x01d'"
            }
          },
          "service_uuids": [],
          "source": "A8:03:2A:BD:73:DC",
          "advertisement": [
            null,
            {},
            {
              "0000181c-0000-1000-8000-00805f9b34fb": {
                "__type": "<class 'bytes'>",
                "repr": "b'\\x02\\x00\\x9a#\\x02\\xd3\\t\\x03\\x03W\\x19\\x02\\x01d'"
              }
            },
            [],
            -127,
            -60,
            []
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(A4:C1:38:2B:CF:DC, None)"
          },
          "connectable": false,
          "time": 3647670.449052354
        },
        {
          "name": "A4:C1:38:58:52:38",
          "address": "A4:C1:38:58:52:38",
          "rssi": -79,
          "manufacturer_data": {},
          "service_data": {
            "0000181a-0000-1000-8000-00805f9b34fb": {
              "__type": "<class 'bytes'>",
              "repr": "b'8RX8\\xc1\\xa4\\x85\\t\\xc7\\x1d\\xea\\x0bd\\xcb\\x04'"
            }
          },
          "service_uuids": [],
          "source": "A8:03:2A:BD:73:DC",
          "advertisement": [
            null,
            {},
            {
              "0000181a-0000-1000-8000-00805f9b34fb": {
                "__type": "<class 'bytes'>",
                "repr": "b'8RX8\\xc1\\xa4\\x85\\t\\xc7\\x1d\\xea\\x0bd\\xcb\\x04'"
              }
            },
            [],
            -127,
            -79,
            []
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(A4:C1:38:58:52:38, None)"
          },
          "connectable": false,
          "time": 3647670.451052348
        },
        {
          "name": "5B:34:7C:0D:C5:D2",
          "address": "5B:34:7C:0D:C5:D2",
          "rssi": -84,
          "manufacturer_data": {
            "76": {
              "__type": "<class 'bytes'>",
              "repr": "b'\\x10\\x077\\x1f\\xc7\\xdf\\x1c\\xeeH'"
            }
          },
          "service_data": {},
          "service_uuids": [],
          "source": "A8:03:2A:BD:73:DC",
          "advertisement": [
            null,
            {
              "76": {
                "__type": "<class 'bytes'>",
                "repr": "b'\\x10\\x077\\x1f\\xc7\\xdf\\x1c\\xeeH'"
              }
            },
            {},
            [],
            7,
            -84,
            []
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(5B:34:7C:0D:C5:D2, None)"
          },
          "connectable": false,
          "time": 3647571.54335149
        },
        {
          "name": "4E:92:D3:14:FB:0C",
          "address": "4E:92:D3:14:FB:0C",
          "rssi": -91,
          "manufacturer_data": {
            "76": {
              "__type": "<class 'bytes'>",
              "repr": "b'\\x10\\x06\\x01\\x1a\\x9fc?\\x12'"
            }
          },
          "service_data": {},
          "service_uuids": [],
          "source": "A8:03:2A:BD:73:DC",
          "advertisement": [
            null,
            {
              "76": {
                "__type": "<class 'bytes'>",
                "repr": "b'\\x10\\x06\\x01\\x1a\\x9fc?\\x12'"
              }
            },
            {},
            [],
            12,
            -91,
            []
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(4E:92:D3:14:FB:0C, None)"
          },
          "connectable": false,
          "time": 3646647.836164754
        },
        {
          "name": "5D:CB:59:DF:55:C0",
          "address": "5D:CB:59:DF:55:C0",
          "rssi": -83,
          "manufacturer_data": {
            "76": {
              "__type": "<class 'bytes'>",
              "repr": "b'\\x10\\x06\\x01\\x1a\\xe4\\x13\\xa9\\xc6'"
            }
          },
          "service_data": {},
          "service_uuids": [],
          "source": "A8:03:2A:BD:73:DC",
          "advertisement": [
            null,
            {
              "76": {
                "__type": "<class 'bytes'>",
                "repr": "b'\\x10\\x06\\x01\\x1a\\xe4\\x13\\xa9\\xc6'"
              }
            },
            {},
            [],
            12,
            -83,
            []
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(5D:CB:59:DF:55:C0, None)"
          },
          "connectable": false,
          "time": 3647112.833745706
        },
        {
          "name": "ShellyPlus1-A8032ABD73DC",
          "address": "A8:03:2A:BD:73:DE",
          "rssi": -83,
          "manufacturer_data": {},
          "service_data": {},
          "service_uuids": [],
          "source": "B8:27:EB:83:48:D6",
          "advertisement": [
            "ShellyPlus1-A8032ABD73DC",
            {},
            {},
            [],
            null,
            -83,
            [
              "/org/bluez/hci0/dev_A8_03_2A_BD_73_DE",
              {
                "Address": "A8:03:2A:BD:73:DE",
                "AddressType": "public",
                "Name": "ShellyPlus1-A8032ABD73DC",
                "Alias": "ShellyPlus1-A8032ABD73DC",
                "Paired": false,
                "Bonded": false,
                "Trusted": false,
                "Blocked": false,
                "LegacyPairing": false,
                "RSSI": -83,
                "Connected": false,
                "UUIDs": [],
                "Adapter": "/org/bluez/hci0",
                "ServicesResolved": false,
                "AdvertisingFlags": {
                  "__type": "<class 'bytearray'>",
                  "repr": "bytearray(b'\\x00')"
                }
              }
            ]
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(A8:03:2A:BD:73:DE, ShellyPlus1-A8032ABD73DC)"
          },
          "connectable": true,
          "time": 3647606.912244514
        },
        {
          "name": "63-26-3C-85-A2-23",
          "address": "63:26:3C:85:A2:23",
          "rssi": -90,
          "manufacturer_data": {
            "76": {
              "__type": "<class 'bytes'>",
              "repr": "b'\\x10\\x05)\\x98\\xb4\\xe7\\xca'"
            }
          },
          "service_data": {},
          "service_uuids": [],
          "source": "B8:27:EB:83:48:D6",
          "advertisement": [
            null,
            {
              "76": {
                "__type": "<class 'bytes'>",
                "repr": "b'\\x10\\x05)\\x98\\xb4\\xe7\\xca'"
              }
            },
            {},
            [],
            8,
            -90,
            [
              "/org/bluez/hci0/dev_63_26_3C_85_A2_23",
              {
                "Address": "63:26:3C:85:A2:23",
                "AddressType": "random",
                "Alias": "63-26-3C-85-A2-23",
                "Paired": false,
                "Bonded": false,
                "Trusted": false,
                "Blocked": false,
                "LegacyPairing": false,
                "RSSI": -90,
                "Connected": false,
                "UUIDs": [],
                "Adapter": "/org/bluez/hci0",
                "ManufacturerData": {
                  "76": {
                    "__type": "<class 'bytearray'>",
                    "repr": "bytearray(b'\\x10\\x05)\\x98\\xb4\\xe7\\xca')"
                  }
                },
                "TxPower": 8,
                "ServicesResolved": false,
                "AdvertisingFlags": {
                  "__type": "<class 'bytearray'>",
                  "repr": "bytearray(b'\\x1a')"
                }
              }
            ]
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(63:26:3C:85:A2:23, 63-26-3C-85-A2-23)"
          },
          "connectable": true,
          "time": 3647607.232243546
        },
        {
          "name": "TY",
          "address": "89:51:12:36:28:11",
          "rssi": -88,
          "manufacturer_data": {
            "2000": {
              "__type": "<class 'bytes'>",
              "repr": "b'\\x80\\x03\\x00\\x00\\x0c\\x00\\xb5~\\x1a\\x02\\xb9O\\r\\x8d\\x1e\\x89\\x13\\x02\\x1c\\xa4\\xe2i'"
            }
          },
          "service_data": {
            "0000a201-0000-1000-8000-00805f9b34fb": {
              "__type": "<class 'bytes'>",
              "repr": "b'\\x00\\x9f Xm\\xb3V9@\\x14\\xbeS{\\rY\\xda\\x95'"
            }
          },
          "service_uuids": [
            "0000a201-0000-1000-8000-00805f9b34fb"
          ],
          "source": "B8:27:EB:83:48:D6",
          "advertisement": [
            "TY",
            {
              "2000": {
                "__type": "<class 'bytes'>",
                "repr": "b'\\x80\\x03\\x00\\x00\\x0c\\x00\\xb5~\\x1a\\x02\\xb9O\\r\\x8d\\x1e\\x89\\x13\\x02\\x1c\\xa4\\xe2i'"
              }
            },
            {
              "0000a201-0000-1000-8000-00805f9b34fb": {
                "__type": "<class 'bytes'>",
                "repr": "b'\\x00\\x9f Xm\\xb3V9@\\x14\\xbeS{\\rY\\xda\\x95'"
              }
            },
            [
              "0000a201-0000-1000-8000-00805f9b34fb"
            ],
            null,
            -88,
            [
              "/org/bluez/hci0/dev_89_51_12_36_28_11",
              {
                "Address": "89:51:12:36:28:11",
                "AddressType": "public",
                "Name": "TY",
                "Alias": "TY",
                "Paired": false,
                "Bonded": false,
                "Trusted": false,
                "Blocked": false,
                "LegacyPairing": false,
                "RSSI": -88,
                "Connected": false,
                "UUIDs": [
                  "0000a201-0000-1000-8000-00805f9b34fb"
                ],
                "Adapter": "/org/bluez/hci0",
                "ManufacturerData": {
                  "2000": {
                    "__type": "<class 'bytearray'>",
                    "repr": "bytearray(b'\\x80\\x03\\x00\\x00\\x0c\\x00\\xb5~\\x1a\\x02\\xb9O\\r\\x8d\\x1e\\x89\\x13\\x02\\x1c\\xa4\\xe2i')"
                  }
                },
                "ServiceData": {
                  "0000a201-0000-1000-8000-00805f9b34fb": {
                    "__type": "<class 'bytearray'>",
                    "repr": "bytearray(b'\\x00\\x9f Xm\\xb3V9@\\x14\\xbeS{\\rY\\xda\\x95')"
                  }
                },
                "ServicesResolved": false,
                "AdvertisingFlags": {
                  "__type": "<class 'bytearray'>",
                  "repr": "bytearray(b'\\x06')"
                }
              }
            ]
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(89:51:12:36:28:11, TY)"
          },
          "connectable": true,
          "time": 3647607.194243661
        },
        {
          "name": "ATC_68FEDD",
          "address": "A4:C1:38:68:FE:DD",
          "rssi": -87,
          "manufacturer_data": {},
          "service_data": {
            "0000181c-0000-1000-8000-00805f9b34fb": {
              "__type": "<class 'bytes'>",
              "repr": "b'\\x02\\x00\\xbd#\\x02\\xaa\\t\\x03\\x03\\n\\x1c\\x02\\x01a'"
            }
          },
          "service_uuids": [],
          "source": "B8:27:EB:83:48:D6",
          "advertisement": [
            "ATC_68FEDD",
            {},
            {
              "0000181c-0000-1000-8000-00805f9b34fb": {
                "__type": "<class 'bytes'>",
                "repr": "b'\\x02\\x00\\xbd#\\x02\\xaa\\t\\x03\\x03\\n\\x1c\\x02\\x01a'"
              }
            },
            [],
            null,
            -87,
            [
              "/org/bluez/hci0/dev_A4_C1_38_68_FE_DD",
              {
                "Address": "A4:C1:38:68:FE:DD",
                "AddressType": "public",
                "Name": "ATC_68FEDD",
                "Alias": "ATC_68FEDD",
                "Paired": false,
                "Bonded": false,
                "Trusted": false,
                "Blocked": false,
                "LegacyPairing": false,
                "RSSI": -87,
                "Connected": false,
                "UUIDs": [],
                "Adapter": "/org/bluez/hci0",
                "ServiceData": {
                  "0000181c-0000-1000-8000-00805f9b34fb": {
                    "__type": "<class 'bytearray'>",
                    "repr": "bytearray(b'\\x02\\x00\\xbd#\\x02\\xaa\\t\\x03\\x03\\n\\x1c\\x02\\x01a')"
                  }
                },
                "ServicesResolved": false,
                "AdvertisingFlags": {
                  "__type": "<class 'bytearray'>",
                  "repr": "bytearray(b'\\x06')"
                }
              }
            ]
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(A4:C1:38:68:FE:DD, ATC_68FEDD)"
          },
          "connectable": true,
          "time": 3647603.43525503
        },
        {
          "name": "ATC_07ED9D",
          "address": "A4:C1:38:07:ED:9D",
          "rssi": -84,
          "manufacturer_data": {},
          "service_data": {
            "0000181c-0000-1000-8000-00805f9b34fb": {
              "__type": "<class 'bytes'>",
              "repr": "b'\\x02\\x00\\x8f#\\x02\\x80\\t\\x03\\x03\\xd0\\x1c\\x02\\x01a'"
            }
          },
          "service_uuids": [],
          "source": "B8:27:EB:83:48:D6",
          "advertisement": [
            "ATC_07ED9D",
            {},
            {
              "0000181c-0000-1000-8000-00805f9b34fb": {
                "__type": "<class 'bytes'>",
                "repr": "b'\\x02\\x00\\x8f#\\x02\\x80\\t\\x03\\x03\\xd0\\x1c\\x02\\x01a'"
              }
            },
            [],
            null,
            -84,
            [
              "/org/bluez/hci0/dev_A4_C1_38_07_ED_9D",
              {
                "Address": "A4:C1:38:07:ED:9D",
                "AddressType": "public",
                "Name": "ATC_07ED9D",
                "Alias": "ATC_07ED9D",
                "Paired": false,
                "Bonded": false,
                "Trusted": false,
                "Blocked": false,
                "LegacyPairing": false,
                "RSSI": -84,
                "Connected": false,
                "UUIDs": [],
                "Adapter": "/org/bluez/hci0",
                "ServiceData": {
                  "0000181c-0000-1000-8000-00805f9b34fb": {
                    "__type": "<class 'bytearray'>",
                    "repr": "bytearray(b'\\x02\\x00\\x8f#\\x02\\x80\\t\\x03\\x03\\xd0\\x1c\\x02\\x01a')"
                  }
                },
                "ServicesResolved": false,
                "AdvertisingFlags": {
                  "__type": "<class 'bytearray'>",
                  "repr": "bytearray(b'\\x06')"
                }
              }
            ]
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(A4:C1:38:07:ED:9D, ATC_07ED9D)"
          },
          "connectable": true,
          "time": 3647600.458264034
        },
        {
          "name": "Qingping Motion & Light Senso",
          "address": "C9:C7:CB:E6:DF:9D",
          "rssi": -43,
          "manufacturer_data": {
            "76": {
              "__type": "<class 'bytes'>",
              "repr": "b'\\x061\\x01\\xbaq\\x10\\xd3\\xb0\\xe9\\n\\x00\\x02\\x00\\x01\\x02HW\\x7f\\x88'"
            }
          },
          "service_data": {},
          "service_uuids": [],
          "source": "B8:27:EB:83:48:D6",
          "advertisement": [
            "Qingping Motion & Light Senso",
            {
              "76": {
                "__type": "<class 'bytes'>",
                "repr": "b'\\x061\\x01\\xbaq\\x10\\xd3\\xb0\\xe9\\n\\x00\\x02\\x00\\x01\\x02HW\\x7f\\x88'"
              }
            },
            {},
            [],
            null,
            -43,
            [
              "/org/bluez/hci0/dev_C9_C7_CB_E6_DF_9D",
              {
                "Address": "C9:C7:CB:E6:DF:9D",
                "AddressType": "random",
                "Name": "Qingping Motion & Light Senso",
                "Alias": "Qingping Motion & Light Senso",
                "Paired": false,
                "Bonded": false,
                "Trusted": false,
                "Blocked": false,
                "LegacyPairing": false,
                "RSSI": -43,
                "Connected": false,
                "UUIDs": [],
                "Adapter": "/org/bluez/hci0",
                "ManufacturerData": {
                  "76": {
                    "__type": "<class 'bytearray'>",
                    "repr": "bytearray(b'\\x061\\x01\\xbaq\\x10\\xd3\\xb0\\xe9\\n\\x00\\x02\\x00\\x01\\x02HW\\x7f\\x88')"
                  }
                },
                "ServicesResolved": false,
                "AdvertisingFlags": {
                  "__type": "<class 'bytearray'>",
                  "repr": "bytearray(b'\\x06')"
                }
              }
            ]
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(C9:C7:CB:E6:DF:9D, Qingping Motion & Light Senso)"
          },
          "connectable": true,
          "time": 3647596.36327642
        },
        {
          "name": "5E:A1:43:01:B5:A1",
          "address": "5E:A1:43:01:B5:A1",
          "rssi": -84,
          "manufacturer_data": {
            "76": {
              "__type": "<class 'bytes'>",
              "repr": "b'\\x10\\x07<\\x1f\\xc3\\x0b\\xd4\\xf48'"
            }
          },
          "service_data": {},
          "service_uuids": [],
          "source": "A8:03:2A:BD:73:DC",
          "advertisement": [
            null,
            {
              "76": {
                "__type": "<class 'bytes'>",
                "repr": "b'\\x10\\x07<\\x1f\\xc3\\x0b\\xd4\\xf48'"
              }
            },
            {},
            [],
            7,
            -84,
            []
          ],
          "device": {
            "__type": "<class 'bleak.backends.device.BLEDevice'>",
            "repr": "BLEDevice(5E:A1:43:01:B5:A1, None)"
          },
          "connectable": false,
          "time": 3647671.903047957
        }
      ],
      "advertisement_tracker": {
        "intervals": {
          "A4:C1:38:2B:CF:DC": 15.037948690820485,
          "A4:C1:38:2D:F7:C6": 17.550940117333084,
          "A4:C1:38:50:1C:BC": 22.499922535847872,
          "A4:C1:38:35:04:C0": 25.0509145273827,
          "5B:34:7C:0D:C5:D2": 8.925975549966097,
          "5E:A1:43:01:B5:A1": 10.043969621881843
        },
        "sources": {
          "A4:C1:38:35:04:C0": "A8:03:2A:BD:73:DC",
          "A4:C1:38:2B:CF:DC": "A8:03:2A:BD:73:DC",
          "A4:C1:38:2D:F7:C6": "A8:03:2A:BD:73:DC",
          "A4:C1:38:50:1C:BC": "A8:03:2A:BD:73:DC",
          "5B:34:7C:0D:C5:D2": "A8:03:2A:BD:73:DC",
          "4E:92:D3:14:FB:0C": "A8:03:2A:BD:73:DC",
          "5D:CB:59:DF:55:C0": "A8:03:2A:BD:73:DC",
          "A8:03:2A:BD:73:DE": "B8:27:EB:83:48:D6",
          "63:26:3C:85:A2:23": "B8:27:EB:83:48:D6",
          "58:2D:34:60:61:DD": "B8:27:EB:83:48:D6",
          "89:51:12:36:28:11": "B8:27:EB:83:48:D6",
          "A4:C1:38:68:FE:DD": "B8:27:EB:83:48:D6",
          "A4:C1:38:95:14:82": "B8:27:EB:83:48:D6",
          "A4:C1:38:07:ED:9D": "B8:27:EB:83:48:D6",
          "C9:C7:CB:E6:DF:9D": "B8:27:EB:83:48:D6",
          "A4:C1:38:58:52:38": "A8:03:2A:BD:73:DC",
          "5E:A1:43:01:B5:A1": "A8:03:2A:BD:73:DC"
        },
        "timings": {
          "4E:92:D3:14:FB:0C": [
            3646647.836164754
          ],
          "5D:CB:59:DF:55:C0": [
            3647112.833745706
          ],
          "A8:03:2A:BD:73:DE": [
            3647326.250095317,
            3647336.646063644,
            3647347.391030909,
            3647358.095998296,
            3647476.262639701,
            3647486.654608265,
            3647596.223276843,
            3647606.912244514
          ],
          "63:26:3C:85:A2:23": [
            3647326.442094732,
            3647326.496094567,
            3647336.748063333,
            3647336.996062578,
            3647347.501030573,
            3647349.967023061,
            3647360.75999018,
            3647476.198639895,
            3647489.90559843,
            3647596.445276172,
            3647607.232243546
          ],
          "58:2D:34:60:61:DD": [
            3647326.444094726,
            3647336.510064058,
            3647347.780029723,
            3647348.610027195,
            3647358.584996806,
            3647476.258639713,
            3647489.90559843,
            3647596.170277004,
            3647598.164270973,
            3647607.268243438
          ],
          "89:51:12:36:28:11": [
            3647326.941093212,
            3647335.8070662,
            3647339.265055665,
            3647339.899053733,
            3647348.289028173,
            3647359.589993744,
            3647365.751974972,
            3647477.922634679,
            3647485.345612224,
            3647486.890607551,
            3647489.904598433,
            3647598.816269001,
            3647607.194243661
          ],
          "A4:C1:38:68:FE:DD": [
            3647328.35308891,
            3647338.342058477,
            3647348.345028002,
            3647358.392997391,
            3647481.893622667,
            3647483.390618138,
            3647489.917598394,
            3647603.43525503
          ],
          "A4:C1:38:95:14:82": [
            3647328.379088831,
            3647340.890050714,
            3647348.38502788,
            3647358.474997141,
            3647478.433633134,
            3647489.918598391,
            3647598.486269999
          ],
          "A4:C1:38:07:ED:9D": [
            3647330.346082838,
            3647338.34105848,
            3647342.852044737,
            3647347.85002951,
            3647478.057634271,
            3647482.922619554,
            3647489.909598418,
            3647600.458264034
          ],
          "C9:C7:CB:E6:DF:9D": [
            3647478.072634226,
            3647489.917598394,
            3647596.36327642
          ],
          "A4:C1:38:58:52:38": [
            3647489.967598243,
            3647496.975577044,
            3647622.078198645,
            3647637.080153273,
            3647652.115107802,
            3647670.451052348
          ]
        }
      }
    },
    "adapters": {
      "hci0": {
        "address": "B8:27:EB:83:48:D6",
        "sw_version": "homeassistant",
        "hw_version": "usb:v1D6Bp0246d0542",
        "passive_scan": true,
        "manufacturer": "Raspberry Pi Foundation",
        "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": "B8:27:EB:83:48:D6",
          "AddressType": "public",
          "Name": "homeassistant",
          "Alias": "homeassistant",
          "Class": 7077888,
          "Powered": true,
          "PowerState": "on",
          "Discoverable": false,
          "DiscoverableTimeout": 180,
          "Pairable": false,
          "PairableTimeout": 0,
          "Discovering": true,
          "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
          }
        }
      }
    }
  }
}```
bdraco commented 1 year ago

I looked at your data. This is a HomeKit device.

You need to use the HomeKit controller integration with it as it doesn't speak Qingping protocol.

Note that you can only pair one HomeKit controller for a device at a time so if you have it paired with IOS you'll have to unpair it to work with HA.

home-assistant[bot] commented 1 year ago

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

Code owner commands Code owners of `homekit_controller` 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 homekit_controller` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


homekit_controller documentation homekit_controller source (message by IssueLinks)

Jc2k commented 1 year ago

Is this your first homekit Bluetooth device?

First of all, make sure it's not already paired to iOS. If you never paired it, it might be worth doing a reset anyway in case it didn't arrive in an unpaired state.

The original device uses advertisements to broadcast its state, but homekit will require full ble connections to establish an encryption key (and periodically to recover if it missed data). This can mean the range is more of a problem, it might need to be closer to your rpi to work.

It might be more sensitive to packet loss so if you are using the internal Bluetooth on your pi you might find you need an external usb Bluetooth adapter on an extension cable to get it away from sources of interference.

dario-brombal commented 1 year ago

Thank you all for your help.

Now it seems working, it was quite tricky to make it work given my setup (rpi3 bluetooth + shelly ble bridge, and the old ble HACS integration). Now it seems it is working, it is near to the rpi, I check these days if everything is stable.

In particular I had to check "passive" in the rpi bluetooth device config... Seemed counter intuitive, but after that I was able to complete the matching procedure of homekit device. Before it was complaining missing available slots to connect to device.

Thank you again.

Dario