thomasloven / hass-plejd

🔹 Plejd BLE integration for Home Assistant
81 stars 10 forks source link

Integration worked once, now not at all #46

Closed xion92 closed 8 months ago

xion92 commented 8 months ago

Got this up and running. After what I think was a normal restart it doesn't work anymore.

Devices is discovered, but is all unavailable

Logs say NOTHING!!

Home assistant 2023.10.1 OS 10.5 RPI 3B+

Have tried: Reloading integration. Removing integration Removing files from custom_components Loaded an old backup from before I installed it the first time

Edit The problem seems to be that the plejd-mesh is not auto discovered. Logs still says nothing

oyvindwe commented 8 months ago

Have you enabled bluetooth logging as well? If not, try:

logger:
  default: warning
  logs:
    custom_components.plejd: debug
    homeassistant.components.bluetooth: debug
    pyplejd: debug
xion92 commented 8 months ago

@oyvindwe

Now there's more info. Im on mobile so it's really hard to read out. I just drop all of it here:


2023-10-23 07:36:42.742 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration plejd which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-10-23 07:36:42.750 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-10-23 07:37:01.541 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] Initializing bluetooth scanner with {'detection_callback': <bound method HaScanner._async_detection_callback of <homeassistant.components.bluetooth.scanner.HaScanner object at 0x7f728e2690>>, 'scanning_mode': 'passive', 'adapter': 'hci0', 'bluez': {'or_patterns': [OrPattern(start_position=0, ad_data_type=<AdvertisementDataType.FLAGS: 1>, content_of_pattern=b'\x06'), OrPattern(start_position=0, ad_data_type=<AdvertisementDataType.FLAGS: 1>, content_of_pattern=b'\x1a')]}}
2023-10-23 07:37:01.545 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (B8:27:EB:ED:70:83): Starting bluetooth discovery attempt: (1/3)
2023-10-23 07:37:01.592 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] Registering scanner hci0 (B8:27:EB:ED:70:83)
2023-10-23 07:37:01.659 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci0 (B8:27:EB:ED:70:83) [connectable]: B8:7C:6F:86:FA:28 AdvertisementData(local_name='MiKettle', service_data={'0000fe95-0000-1000-8000-00805f9b34fb': b'q \x13\x01{(\xfa\x86o|\xb8\t\x05\x10\x02\x00\x16'}, rssi=-80) match: {'xiaomi_ble'}
2023-10-23 07:37:01.660 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci0 (B8:27:EB:ED:70:83) [connectable]: 78:11:DC:62:65:1C AdvertisementData(local_name='ROIDMI Cleaner F1', service_data={'0000fe95-0000-1000-8000-00805f9b34fb': b'1 H\x02\x00\x1ceb\xdc\x11x\t'}, service_uuids=['0000fef5-0000-1000-8000-00805f9b34fb', '0000ffd0-0000-1000-8000-00805f9b34fb'], rssi=-87) match: {'xiaomi_ble'}
2023-10-23 07:37:01.680 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci0 (B8:27:EB:ED:70:83) [connectable]: 4B:35:57:6D:02:F7 AdvertisementData(manufacturer_data={196: b'\r3\x14\x12\x16\x80'}, service_uuids=['0000feb9-0000-1000-8000-00805f9b34fb'], tx_power=-44, rssi=-79) match: set()
2023-10-23 07:37:26.206 WARNING (MainThread) [homeassistant.setup] Setup of input_button is taking over 10 seconds.
2023-10-23 07:37:36.365 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 34.68486538506113
2023-10-23 07:37:49.291 DEBUG (MainThread) [pyplejd.cloud] Site data loaded
2023-10-23 07:37:49.291 DEBUG (MainThread) [pyplejd.cloud] ('Mesh Devices:', {'EEB85414FA60', 'F28E1BA40305', 'CCE414D56663', 'EECA06D4A0B0', 'E26EEBD2D4B6', 'D6F0FD0B1A3A', 'E6BE38F86B9A', 'DC63CD1EB09F', 'D12A26854A7E', 'D07C18FC02AF', 'D777E0C33E42', 'F39D3C5B18B4', 'D5A36C346C2E', 'C4C0545EF936', 'CA5D1A28D19D', 'E42B9B5D75F2'})
2023-10-23 07:37:49.303 DEBUG (MainThread) [pyplejd] Devices:
2023-10-23 07:37:49.303 DEBUG (MainThread) [pyplejd] objectId='lrJKYPwpsV' address=11 BLEaddress='E26EEBD2D4B6' name='Taklampan' hardware='DIM-02-LC' dimmable=True colortemp=False outputType='LIGHT' room='Sovrummet' firmware='1.1.4' inputAddress=[12, 11]
2023-10-23 07:37:49.304 DEBUG (MainThread) [pyplejd] objectId='lBOsHjVvVX' address=13 BLEaddress='CCE414D56663' name='Taklampan' hardware='WPH-01' dimmable=False colortemp=False outputType='SENSOR' room='Sovrummet' firmware='0.5.0' inputAddress=[13, 13, 13, 13]
2023-10-23 07:37:49.304 DEBUG (MainThread) [pyplejd] objectId='zPonXr4vCq' address=15 BLEaddress='F39D3C5B18B4' name='Taklampan' hardware='DIM-01-LC' dimmable=True colortemp=False outputType='LIGHT' room='Barnrummet' firmware='1.0.7' inputAddress=[15, 15]
2023-10-23 07:37:49.304 DEBUG (MainThread) [pyplejd] objectId='C5RBxya5bK' address=17 BLEaddress='D5A36C346C2E' name='Taklampan' hardware='DIM-02-LC' dimmable=True colortemp=False outputType='LIGHT' room='Vardagsrummet' firmware='1.1.4' inputAddress=[39, 17]
2023-10-23 07:37:49.304 DEBUG (MainThread) [pyplejd] objectId='WxCrpFVnXs' address=20 BLEaddress='F28E1BA40305' name='Taklampan' hardware='DIM-02-LC' dimmable=True colortemp=False outputType='LIGHT' room='Hallen' firmware='1.1.4' inputAddress=[255, 20]
2023-10-23 07:37:49.305 DEBUG (MainThread) [pyplejd] objectId='ovska5coGC' address=23 BLEaddress='D777E0C33E42' name='Taklampan över köksbordet' hardware='DIM-02-LC' dimmable=True colortemp=False outputType='LIGHT' room='Köket' firmware='1.1.4' inputAddress=[25, 23]
2023-10-23 07:37:49.305 DEBUG (MainThread) [pyplejd] objectId='0ZYtFdQEWy' address=26 BLEaddress='DC63CD1EB09F' name='A Plejd Dummy' hardware='DIM-02-LC' dimmable=False colortemp=False outputType='LIGHT' room='Köket' firmware='1.1.4' inputAddress=[30, 25]
2023-10-23 07:37:49.305 DEBUG (MainThread) [pyplejd] objectId='EEIw1WeoWO' address=25 BLEaddress='DC63CD1EB09F' name='Taklampan' hardware='DIM-02-LC' dimmable=True colortemp=False outputType='LIGHT' room='Köket' firmware='1.1.4' inputAddress=[30, 25]
2023-10-23 07:37:49.305 DEBUG (MainThread) [pyplejd] objectId='j0oIzDydjE' address=28 BLEaddress='D12A26854A7E' name='Vitrinen' hardware='LED-10' dimmable=True colortemp=False outputType='LIGHT' room='Köket' firmware='3.2.7' inputAddress=[28, 28]
2023-10-23 07:37:49.306 DEBUG (MainThread) [pyplejd] objectId='jbVpn9jPkW' address=29 BLEaddress='C4C0545EF936' name='Lilla Bänken' hardware='DIM-01-LC' dimmable=True colortemp=False outputType='LIGHT' room='Köket' firmware='1.0.7' inputAddress=[29, 29]
2023-10-23 07:37:49.306 DEBUG (MainThread) [pyplejd] objectId='mZK1dVvh4B' address=31 BLEaddress='D6F0FD0B1A3A' name='Diskbänken' hardware='LED-75' dimmable=True colortemp=False outputType='LIGHT' room='Köket' firmware='1.0.0' inputAddress=[31]
2023-10-23 07:37:49.306 DEBUG (MainThread) [pyplejd] objectId='PjXDMezDoo' address=33 BLEaddress='E42B9B5D75F2' name='Taklampan' hardware='DIM-01-LC' dimmable=True colortemp=False outputType='LIGHT' room='Gästrummet' firmware='1.0.7' inputAddress=[33, 33]
2023-10-23 07:37:49.306 DEBUG (MainThread) [pyplejd] objectId='F9dlWHEnig' address=35 BLEaddress='D07C18FC02AF' name='Spegelskåpet' hardware='DIM-01-LC' dimmable=False colortemp=False outputType='LIGHT' room='Toaletten' firmware='1.0.4' inputAddress=[35, 35]
2023-10-23 07:37:49.307 DEBUG (MainThread) [pyplejd] objectId='bX8AbjbFZ3' address=37 BLEaddress='E6BE38F86B9A' name='Spegeln' hardware='DIM-02' dimmable=False colortemp=False outputType='LIGHT' room='Badrummet' firmware='2.4.3' inputAddress=[38, 37]
2023-10-23 07:37:49.307 DEBUG (MainThread) [pyplejd] objectId='lNxn4YO1tG' address=38 BLEaddress='E6BE38F86B9A' name='Taklampan' hardware='DIM-02' dimmable=True colortemp=False outputType='LIGHT' room='Badrummet' firmware='2.4.3' inputAddress=[38, 37]
2023-10-23 07:37:49.307 DEBUG (MainThread) [pyplejd] objectId='CUm8oTD9U9' address=39 BLEaddress='EEB85414FA60' name='Bollarna' hardware='SPR-01' dimmable=False colortemp=False outputType='LIGHT' room='Barnrummet' firmware='1.0.14' inputAddress=[39]
2023-10-23 07:37:49.307 DEBUG (MainThread) [pyplejd] objectId='OKHMYrC3UR' address=40 BLEaddress='EECA06D4A0B0' name='Fönstret' hardware='SPR-01' dimmable=False colortemp=False outputType='LIGHT' room='Köket' firmware='1.0.14' inputAddress=[40]
2023-10-23 07:37:49.307 DEBUG (MainThread) [pyplejd] objectId='XFbf6Ysi2M' address=41 BLEaddress='CA5D1A28D19D' name='Fönstret' hardware='SPR-01' dimmable=False colortemp=False outputType='LIGHT' room='Gästrummet' firmware='1.0.14' inputAddress=[41]
2023-10-23 07:37:49.308 DEBUG (MainThread) [pyplejd] Scenes:
2023-10-23 07:37:49.308 DEBUG (MainThread) [pyplejd] sceneId='921dc8c3-9425-4241-8123-ab7adc440a77' index=1 title='Allt av'
2023-10-23 07:37:49.308 DEBUG (MainThread) [pyplejd] sceneId='d291bcc9-d33d-4360-b715-ed658d120b02' index=2 title='Nattbelysning'
2023-10-23 07:38:05.014 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xC415:11:0x0300]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver packet: <TXStatus.MAC_NO_ACK: 233>'), DeliveryError('Failed to deliver packet: <TXStatus.MAC_NO_ACK: 233>'), DeliveryError('Failed to deliver packet: <TXStatus.MAC_NO_ACK: 233>'), DeliveryError('Failed to deliver packet: <TXStatus.MAC_NO_ACK: 233>')]
2023-10-23 07:38:05.761 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xC415:11:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver packet: <TXStatus.MAC_NO_ACK: 233>'), DeliveryError('Failed to deliver packet: <TXStatus.MAC_NO_ACK: 233>'), DeliveryError('Failed to deliver packet: <TXStatus.MAC_NO_ACK: 233>'), DeliveryError('Failed to deliver packet: <TXStatus.MAC_NO_ACK: 233>')]
2023-10-23 07:38:05.767 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0xC415:11:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver packet: <TXStatus.MAC_NO_ACK: 233>'), DeliveryError('Failed to deliver packet: <TXStatus.MAC_NO_ACK: 233>'), DeliveryError('Failed to deliver packet: <TXStatus.MAC_NO_ACK: 233>'), DeliveryError('Failed to deliver packet: <TXStatus.MAC_NO_ACK: 233>')]
2023-10-23 07:38:06.372 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 64.6927489109803
2023-10-23 07:38:31.654 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci0 (B8:27:EB:ED:70:83) [connectable]: E0:89:7E:63:77:61 AdvertisementData(manufacturer_data={76: b"\x10\x05\x08\x14u('"}, tx_power=12, rssi=-98) match: set()
2023-10-23 07:38:36.373 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 4.718981681973673
2023-10-23 07:39:06.374 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 28.049891108996235
2023-10-23 07:39:33.712 DEBUG (MainThread) [homeassistant.components.bluetooth] Triggering bluetooth usb discovery
2023-10-23 07:39:36.375 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 58.050774635979906
2023-10-23 07:39:38.756 DEBUG (MainThread) [homeassistant.components.bluetooth] Rediscovered adapters: {'hci0': {'address': 'B8:27:EB:ED:70:83', 'sw_version': 'homeassistant', 'hw_version': 'usb:v1D6Bp0246d0542', 'passive_scan': True, 'manufacturer': 'Raspberry Pi Foundation', 'product': None, 'vendor_id': None, 'product_id': None}}
2023-10-23 07:39:45.031 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci0 (B8:27:EB:ED:70:83) [connectable]: 69:83:EC:C7:26:54 AdvertisementData(manufacturer_data={76: b'\x10\x063\x19\x9b5\xa8h'}, tx_power=7, rssi=-91) match: set()
2023-10-23 07:39:45.341 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci0 (B8:27:EB:ED:70:83) [connectable]: B8:7C:6F:86:FA:28 AdvertisementData(local_name='MiKettle', service_data={'0000fe95-0000-1000-8000-00805f9b34fb': b'q \x13\x01\x99(\xfa\x86o|\xb8\t\x05\x10\x02\x00\x16'}, rssi=-95) match: set()
2023-10-23 07:39:48.934 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci0 (B8:27:EB:ED:70:83) [connectable]: 5E:92:07:DA:35:75 AdvertisementData(manufacturer_data={76: b'\x10\x06<\x1a\x8d<\x1f\xe3'}, tx_power=7, rssi=-95) match: set()
2023-10-23 07:40:06.377 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 17.442932274891064
2023-10-23 07:40:33.740 DEBUG (MainThread) [homeassistant.components.bluetooth] Triggering bluetooth usb discovery
2023-10-23 07:40:36.378 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 47.44381578697357
2023-10-23 07:40:38.754 DEBUG (MainThread) [homeassistant.components.bluetooth] Rediscovered adapters: {'hci0': {'address': 'B8:27:EB:ED:70:83', 'sw_version': 'homeassistant', 'hw_version': 'usb:v1D6Bp0246d0542', 'passive_scan': True, 'manufacturer': 'Raspberry Pi Foundation', 'product': None, 'vendor_id': None, 'product_id': None}}
2023-10-23 07:40:50.536 WARNING (MainThread) [zigpy.application] Unknown device AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xAA03)
2023-10-23 07:41:06.379 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 3.8849849139805883
2023-10-23 07:41:36.380 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 33.885868411976844
2023-10-23 07:41:43.729 DEBUG (MainThread) [homeassistant.components.bluetooth] Rediscovered adapters: {'hci0': {'address': 'B8:27:EB:ED:70:83', 'sw_version': 'homeassistant', 'hw_version': 'usb:v1D6Bp0246d0542', 'passive_scan': True, 'manufacturer': 'Raspberry Pi Foundation', 'product': None, 'vendor_id': None, 'product_id': None}}
2023-10-23 07:42:06.381 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 63.88675190496724
2023-10-23 07:42:36.382 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 93.88863538694568
2023-10-23 07:42:36.383 INFO (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (B8:27:EB:ED:70:83): Bluetooth scanner has gone quiet for 90s, restarting
2023-10-23 07:42:36.384 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (B8:27:EB:ED:70:83): Stopping bluetooth discovery
2023-10-23 07:42:36.398 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (B8:27:EB:ED:70:83): Starting bluetooth discovery attempt: (1/3)
2023-10-23 07:42:36.470 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci0 (B8:27:EB:ED:70:83) [connectable]: B8:7C:6F:86:FA:28 AdvertisementData(local_name='MiKettle', service_data={'0000fe95-0000-1000-8000-00805f9b34fb': b'q \x13\x01\xb2(\xfa\x86o|\xb8\t\x05\x10\x02\x00\x16'}, rssi=-94) match: set()
2023-10-23 07:42:36.482 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci0 (B8:27:EB:ED:70:83) [connectable]: 4B:35:57:6D:02:F7 AdvertisementData(manufacturer_data={196: b'\r3\x14\x12\x16\x80'}, service_uuids=['0000feb9-0000-1000-8000-00805f9b34fb'], tx_power=-44, rssi=-79) match: set()
2023-10-23 07:42:36.644 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci0 (B8:27:EB:ED:70:83) [connectable]: 5E:92:07:DA:35:75 AdvertisementData(manufacturer_data={76: b'\x10\x07|\x1f\x8d<\x1f\xef\x80'}, tx_power=7, rssi=-88) match: set()
2023-10-23 07:42:37.848 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci0 (B8:27:EB:ED:70:83) [connectable]: 78:11:DC:62:65:1C AdvertisementData(local_name='ROIDMI Cleaner F1', service_data={'0000fe95-0000-1000-8000-00805f9b34fb': b'1 H\x02\x00\x1ceb\xdc\x11x\t'}, service_uuids=['0000fef5-0000-1000-8000-00805f9b34fb', '0000ffd0-0000-1000-8000-00805f9b34fb'], rssi=-87) match: set()
2023-10-23 07:42:43.760 DEBUG (MainThread) [homeassistant.components.bluetooth] Rediscovered adapters: {'hci0': {'address': 'B8:27:EB:ED:70:83', 'sw_version': 'homeassistant', 'hw_version': 'usb:v1D6Bp0246d0542', 'passive_scan': True, 'manufacturer': 'Raspberry Pi Foundation', 'product': None, 'vendor_id': None, 'product_id': None}}
2023-10-23 07:43:06.383 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 13.726946684997529
2023-10-23 07:43:36.384 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 43.72783016099129
2023-10-23 07:43:55.119 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci0 (B8:27:EB:ED:70:83) [connectable]: B8:7C:6F:86:FA:28 AdvertisementData(local_name='MiKettle', service_data={'0000fe95-0000-1000-8000-00805f9b34fb': b'q \x13\x01\xc1(\xfa\x86o|\xb8\t\x05\x10\x02\x00\x16'}, rssi=-91) match: set()
2023-10-23 07:44:06.385 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 10.586958876927383
2023-10-23 07:44:36.386 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 40.58784234395716
2023-10-23 07:44:41.087 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci0 (B8:27:EB:ED:70:83) [connectable]: 48:4F:E4:E3:FE:7B AdvertisementData(manufacturer_data={76: b'\x10\x057\x188\xca\xf4'}, tx_power=8, rssi=-92) match: set()
2023-10-23 07:44:53.911 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci0 (B8:27:EB:ED:70:83) [connectable]: 6C:D0:3F:AF:F7:0B AdvertisementData(manufacturer_data={76: b'\x10\x06>\x1ae}|c'}, tx_power=7, rssi=-90) match: set()
2023-10-23 07:45:06.388 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 12.11695293104276
2023-10-23 07:45:36.389 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 42.11883638508152
2023-10-23 07:46:06.345 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci0 (B8:27:EB:ED:70:83) [connectable]: 69:17:08:5B:4D:1B AdvertisementData(manufacturer_data={76: b'\x10\x05v\x1c!\xe5\xf9'}, tx_power=7, rssi=-99) match: set()
2023-10-23 07:46:06.389 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 0.04499982495326549
2023-10-23 07:46:36.391 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 30.046883272007108
2023-10-23 07:47:06.392 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 60.04776671901345
2023-10-23 07:47:36.393 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 90.0496501600137
2023-10-23 07:47:36.394 INFO (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (B8:27:EB:ED:70:83): Bluetooth scanner has gone quiet for 90s, restarting
2023-10-23 07:47:36.395 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (B8:27:EB:ED:70:83): Stopping bluetooth discovery
2023-10-23 07:47:36.408 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (B8:27:EB:ED:70:83): Starting bluetooth discovery attempt: (1/3)
2023-10-23 07:47:36.468 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci0 (B8:27:EB:ED:70:83) [connectable]: B8:7C:6F:86:FA:28 AdvertisementData(local_name='MiKettle', service_data={'0000fe95-0000-1000-8000-00805f9b34fb': b'q \x13\x01\xe4(\xfa\x86o|\xb8\t\x05\x10\x02\x00\x16'}, rssi=-88) match: set()
2023-10-23 07:47:36.596 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci0 (B8:27:EB:ED:70:83) [connectable]: 78:11:DC:62:65:1C AdvertisementData(local_name='ROIDMI Cleaner F1', service_data={'0000fe95-0000-1000-8000-00805f9b34fb': b'1 H\x02\x00\x1ceb\xdc\x11x\t'}, service_uuids=['0000fef5-0000-1000-8000-00805f9b34fb', '0000ffd0-0000-1000-8000-00805f9b34fb'], rssi=-86) match: set()
2023-10-23 07:47:36.884 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci0 (B8:27:EB:ED:70:83) [connectable]: 4B:35:57:6D:02:F7 AdvertisementData(manufacturer_data={196: b'\r3\x14\x12\x16\x80'}, service_uuids=['0000feb9-0000-1000-8000-00805f9b34fb'], tx_power=-44, rssi=-78) match: set()
2023-10-23 07:47:50.109 DEBUG (MainThread) [pyplejd.ble] Trying to connect to mesh
2023-10-23 07:47:50.110 DEBUG (MainThread) [pyplejd.ble] Failed to connect to plejd mesh - No valid devices: {} ({'EEB85414FA60', 'F28E1BA40305', 'EECA06D4A0B0', 'E26EEBD2D4B6', 'D6F0FD0B1A3A', 'E6BE38F86B9A', 'DC63CD1EB09F', 'D12A26854A7E', 'D07C18FC02AF', 'D777E0C33E42', 'F39D3C5B18B4', 'D5A36C346C2E', 'C4C0545EF936', 'CA5D1A28D19D', 'E42B9B5D75F2'})
2023-10-23 07:47:50.110 DEBUG (MainThread) [custom_components.plejd] Ping failed
2023-10-23 07:48:06.394 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 29.50988534896169
2023-10-23 07:48:36.395 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 59.510768787004054
2023-10-23 07:48:56.065 WARNING (MainThread) [zigpy.application] Unknown device AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x83F6)
2023-10-23 07:48:56.074 WARNING (MainThread) [zigpy.application] Unknown device AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x83F6)
2023-10-23 07:48:56.097 WARNING (MainThread) [zigpy.application] Unknown device AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x83F6)
2023-10-23 07:48:56.179 WARNING (MainThread) [zigpy_deconz.zigbee.application] Unexpected transmit confirm for request id 142, Status: TXStatus.SUCCESS
2023-10-23 07:49:06.396 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 89.51165222201962
2023-10-23 07:49:36.397 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 119.51253565505613
2023-10-23 07:49:36.398 INFO (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (B8:27:EB:ED:70:83): Bluetooth scanner has gone quiet for 90s, restarting
2023-10-23 07:49:36.398 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (B8:27:EB:ED:70:83): Stopping bluetooth discovery
2023-10-23 07:49:36.411 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (B8:27:EB:ED:70:83): Starting bluetooth discovery attempt: (1/3)
2023-10-23 07:49:36.463 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci0 (B8:27:EB:ED:70:83) [connectable]: B8:7C:6F:86:FA:28 AdvertisementData(local_name='MiKettle', service_data={'0000fe95-0000-1000-8000-00805f9b34fb': b'q \x13\x01\xf8(\xfa\x86o|\xb8\t\x05\x10\x02\x00\x16'}, rssi=-92) match: set()
2023-10-23 07:49:50.024 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci0 (B8:27:EB:ED:70:83) [connectable]: 43:92:E5:3B:EF:ED AdvertisementData(manufacturer_data={76: b'\x10\x05<\x1c\xa0\xf0>'}, tx_power=8, rssi=-89) match: set()
2023-10-23 07:50:06.398 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 16.374936373904347
2023-10-23 07:50:36.399 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 46.37581980298273
2023-10-23 07:51:06.401 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 76.37870322098024
2023-10-23 07:51:17.096 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci0 (B8:27:EB:ED:70:83) [connectable]: 66:64:CE:46:76:DC AdvertisementData(manufacturer_data={76: b'\x10\x063\x19\x1fQ\x9b\x08'}, tx_power=7, rssi=-97) match: set()
2023-10-23 07:51:36.402 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 19.30692497792188
2023-10-23 07:52:06.403 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 49.30780839989893
2023-10-23 07:52:36.405 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 79.30969181691762
2023-10-23 07:53:06.406 DEBUG (MainThread) [homeassistant.components.bluetooth.base_scanner] hci0 (B8:27:EB:ED:70:83): Scanner watchdog time_since_last_detection: 109.31057523493655
2023-10-23 07:53:06.407 INFO (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (B8:27:EB:ED:70:83): Bluetooth scanner has gone quiet for 90s, restarting
2023-10-23 07:53:06.407 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (B8:27:EB:ED:70:83): Stopping bluetooth discovery
2023-10-23 07:53:06.421 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (B8:27:EB:ED:70:83): Starting bluetooth discovery attempt: (1/3)
2023-10-23 07:53:06.474 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci0 (B8:27:EB:ED:70:83) [connectable]: B8:7C:6F:86:FA:28 AdvertisementData(local_name='MiKettle', service_data={'0000fe95-0000-1000-8000-00805f9b34fb': b'q \x13\x01\x1b(\xfa\x86o|\xb8\t\x05\x10\x02\x00\x16'}, rssi=-90) match: set()
2023-10-23 07:53:06.530 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci0 (B8:27:EB:ED:70:83) [connectable]: 4B:35:57:6D:02:F7 AdvertisementData(manufacturer_data={196: b'\r3\x14\x12\x16\x80'}, service_uuids=['0000feb9-0000-1000-8000-00805f9b34fb'], tx_power=-44, rssi=-77) match: set()
2023-10-23 07:53:06.950 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci0 (B8:27:EB:ED:70:83) [connectable]: 78:11:DC:62:65:1C AdvertisementData(local_name='ROIDMI Cleaner F1', service_data={'0000fe95-0000-1000-8000-00805f9b34fb': b'1 H\x02\x00\x1ceb\xdc\x11x\t'}, service_uuids=['0000fef5-0000-1000-8000-00805f9b34fb', '0000ffd0-0000-1000-8000-00805f9b34fb'], rssi=-87) match: set()
2023-10-23 07:53:08.285 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci0 (B8:27:EB:ED:70:83) [connectable]: 66:64:CE:46:76:DC AdvertisementData(manufacturer_data={76: b'\x10\x063\x19\x1fQ\x9b\x08'}, tx_power=7, rssi=-100) match: set()
2023-10-23 07:53:23.943 DEBUG (MainThread) [homeassistant.components.bluetooth.manager] hci0 (B8:27:EB:ED:70:83) [connectable]: E0:89:7E:63:77:61 AdvertisementData(manufacturer_data={76: b"\x10\x05\x08\x14u('"}, tx_power=12, rssi=-101) match: set()
oyvindwe commented 8 months ago

It looks like your Plejd device are not found by the Bluetooth adapter. I don't see any of the devices downloaded from the Plejd cloud service being discovered. Is your Bluetooth adapter far from the wired Plejd devices? (The battery powered switches cannot be used to connect to the mesh.)

2023-10-23 07:47:50.109 DEBUG (MainThread) [pyplejd.ble] Trying to connect to mesh
2023-10-23 07:47:50.110 DEBUG (MainThread) [pyplejd.ble] Failed to connect to plejd mesh - No valid devices: {} ({'EEB85414FA60', 'F28E1BA40305', 'EECA06D4A0B0', 'E26EEBD2D4B6', 'D6F0FD0B1A3A', 'E6BE38F86B9A', 'DC63CD1EB09F', 'D12A26854A7E', 'D07C18FC02AF', 'D777E0C33E42', 'F39D3C5B18B4', 'D5A36C346C2E', 'C4C0545EF936', 'CA5D1A28D19D', 'E42B9B5D75F2'})
2023-10-23 07:47:50.110 DEBUG (MainThread) [custom_components.plejd] Ping failed
xion92 commented 8 months ago

My raspberry pi is within reach of Plejd devices.

I tried another plejd-addon and found out that pi3b+ had some problems with the Bluetooth connection. Maybe that's the problem here to?

I have now bought an esp32 to try Bluetooth proxy

xion92 commented 8 months ago

After setting up the Bluetooth proxy it seems like there is no problems!