hcoohb / hass-yeelightbt

Home assistant custom component for Yeelight bluetooth
47 stars 15 forks source link

How to install to Homeassistant Supervisor OS (hosted VM on Synology) #54

Closed Dvalin21 closed 1 year ago

Dvalin21 commented 1 year ago

Hello,

I'm on Home Assistant Supervisor OS 2022.10.4 being hosted on VM in Synology. I'm wanting to install your add on, however it doesnt show up in hacs. I've already had hacs installed and went as far as to reinstall it. Still not seeing anything. Now yes, I could install it manually, but need help doing so. How would i go about installing this directly to the OS hosted on a VM? Also do I still need to install bluez as well? Thanks again.

zealotous commented 1 year ago

@Dvalin21 Any luck with the issue?

I have the same issue with Home Assistant OS and Yeelight Bedside Lamp Bluetooth

Home Assistant 2023.1.6 Supervisor 2022.12.1 Operating System 9.4 Frontend 20230110.0 - latest

The component sucessfully connects, sets brightness and etc:

venv) ➜  yeelight_bt git:(master) ✗ python3.9 yeelightbt.py
INFO:__main__:YEELIGHT_BT scanning starts
DEBUG:asyncio:Using selector: EpollSelector
DEBUG:__main__:Initializing Yeelight Lamp XMCTD_ (F8:24:41:E8:20:6A)
DEBUG:__main__:BLE_device details: {'path': '/org/bluez/hci0/dev_F8_24_41_E8_20_6A', 'props': {'Address': 'F8:24:41:E8:20:6A', 'AddressType': 'public', 'Name': 'XMCTD_', 'Alias': 'XMCTD_', 'Paired': False, 'Trusted': False, 'Blocked': False, 'LegacyPairing': False, 'RSSI': -61, 'Connected': False, 'UUIDs': ['00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', '00001802-0000-1000-8000-00805f9b34fb', '0000fee7-0000-1000-8000-00805f9b34fb', '8e2f0cbd-1a66-4b53-ace6-b494e25f87bd', 'f000ffc0-0451-4000-b000-000000000000'], 'Adapter': '/org/bluez/hci0', 'ManufacturerData': {356: bytearray(b'\xf8$A\xe8 j'), 510: bytearray(b'\x01\x00\x00\x00\x00\x00\x00')}, 'TxPower': 0, 'ServicesResolved': False}}
DEBUG:__main__:Initiating new connection
DEBUG:__main__:Connecting now to F8:24:41:E8:20:6A: XMCTD_:...
DEBUG:bleak_retry_connector:F8:24:41:E8:20:6A - F8:24:41:E8:20:6A: Connection attempt: 1
DEBUG:__main__:Client used is: BleakClient, F8:24:41:E8:20:6A. Backend is <bleak.backends.bluezdbus.client.BleakClientBlueZDBus object at 0x7f169b26d0a0>
DEBUG:__main__:Connected: True
INFO:__main__:[Service] 8e2f0cbd-1a66-4b53-ace6-b494e25f87bd (Handle: 16): Unknown
INFO:__main__:__[Characteristic] aa7d3f34-2d4f-41e0-807f-52fbf8cf7443 (Handle: 17): Unknown (read,write), Value: b'C@\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
INFO:__main__:____[Descriptor] 00002901-0000-1000-8000-00805f9b34fb (Handle: 19): Characteristic User Description) | Value: b'MCU Control '
INFO:__main__:__[Characteristic] f000fff1-0451-4000-b000-000000000000 (Handle: 24): Unknown (read,write-without-response,write), Value: b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
INFO:__main__:____[Descriptor] 00002902-0000-1000-8000-00805f9b34fb (Handle: 26): Client Characteristic Configuration) | Value: b'\x00\x00'
INFO:__main__:____[Descriptor] 00002901-0000-1000-8000-00805f9b34fb (Handle: 27): Characteristic User Description) | Value: b'MCU OAD Data '
INFO:__main__:__[Characteristic] f000fff2-0451-4000-b000-000000000000 (Handle: 28): Unknown (notify), Value: None
INFO:__main__:____[Descriptor] 00002902-0000-1000-8000-00805f9b34fb (Handle: 30): Client Characteristic Configuration) | Value: b'\x00\x00'
INFO:__main__:____[Descriptor] 00002901-0000-1000-8000-00805f9b34fb (Handle: 31): Characteristic User Description) | Value: b'MCU OAD Notify '
INFO:__main__:__[Characteristic] 8f65073d-9f57-4aaa-afea-397d19d5bbeb (Handle: 20): Unknown (notify), Value: None
INFO:__main__:____[Descriptor] 00002901-0000-1000-8000-00805f9b34fb (Handle: 23): Characteristic User Description) | Value: b'MCU Status '
INFO:__main__:____[Descriptor] 00002902-0000-1000-8000-00805f9b34fb (Handle: 22): Client Characteristic Configuration) | Value: b'\x00\x00'
INFO:__main__:[Service] 00001801-0000-1000-8000-00805f9b34fb (Handle: 12): Generic Attribute Profile
INFO:__main__:__[Characteristic] 00002a05-0000-1000-8000-00805f9b34fb (Handle: 13): Service Changed (indicate), Value: None
INFO:__main__:____[Descriptor] 00002902-0000-1000-8000-00805f9b34fb (Handle: 15): Client Characteristic Configuration) | Value: b'\x02\x00'
INFO:__main__:[Service] 00001802-0000-1000-8000-00805f9b34fb (Handle: 32): Immediate Alert
INFO:__main__:__[Characteristic] 00002a06-0000-1000-8000-00805f9b34fb (Handle: 33): Alert Level (write-without-response,write), Value: None
INFO:__main__:____[Descriptor] 00002901-0000-1000-8000-00805f9b34fb (Handle: 35): Characteristic User Description) | Value: b'Alert Level'
INFO:__main__:[Service] 0000fee7-0000-1000-8000-00805f9b34fb (Handle: 36): Tencent Holdings Limited
INFO:__main__:__[Characteristic] 0000fec8-0000-1000-8000-00805f9b34fb (Handle: 40): Apple: Inc. (read,indicate), Value: b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
INFO:__main__:____[Descriptor] 00002902-0000-1000-8000-00805f9b34fb (Handle: 42): Client Characteristic Configuration) | Value: b'\x00\x00'
INFO:__main__:____[Descriptor] 00002901-0000-1000-8000-00805f9b34fb (Handle: 43): Characteristic User Description) | Value: b'Read Indicate'
INFO:__main__:__[Characteristic] 0000fec9-0000-1000-8000-00805f9b34fb (Handle: 44): Apple: Inc. (read), Value: b'\xf8$A\xe8 j'
INFO:__main__:____[Descriptor] 00002901-0000-1000-8000-00805f9b34fb (Handle: 46): Characteristic User Description) | Value: b'Read'
INFO:__main__:__[Characteristic] 0000fec7-0000-1000-8000-00805f9b34fb (Handle: 37): Apple: Inc. (write), Value: None
INFO:__main__:____[Descriptor] 00002901-0000-1000-8000-00805f9b34fb (Handle: 39): Characteristic User Description) | Value: b'Write'
INFO:__main__:[Service] f000ffc0-0451-4000-b000-000000000000 (Handle: 47): Unknown
INFO:__main__:__[Characteristic] f000ffc1-0451-4000-b000-000000000000 (Handle: 48): Unknown (write-without-response,write,notify), Value: None
INFO:__main__:____[Descriptor] 00002901-0000-1000-8000-00805f9b34fb (Handle: 51): Characteristic User Description) | Value: b'Img Identify'
INFO:__main__:____[Descriptor] 00002902-0000-1000-8000-00805f9b34fb (Handle: 50): Client Characteristic Configuration) | Value: b'\x00\x00'
INFO:__main__:__[Characteristic] f000ffc2-0451-4000-b000-000000000000 (Handle: 52): Unknown (write-without-response,write,notify), Value: None
INFO:__main__:____[Descriptor] 00002901-0000-1000-8000-00805f9b34fb (Handle: 55): Characteristic User Description) | Value: b'Img Block'
INFO:__main__:____[Descriptor] 00002902-0000-1000-8000-00805f9b34fb (Handle: 54): Client Characteristic Configuration) | Value: b'\x00\x00'
DEBUG:__main__:Request Notify
DEBUG:__main__:Request Pairing
DEBUG:__main__:Received 0x436304000000000000000000000000000000 from handle=8f65073d-9f57-4aaa-afea-397d19d5bbeb (Handle: 20): Unknown
DEBUG:__main__:Yeelight is already paired
DEBUG:__main__:Send Cmd: Get_state
DEBUG:__main__:Received 0x4345020164fa320046000016000000000000 from handle=8f65073d-9f57-4aaa-afea-397d19d5bbeb (Handle: 20): Unknown
DEBUG:__main__:<Lamp F8:24:41:E8:20:6A OFF mode_Color bri_70 rgb_(100, 250, 50) >
DEBUG:__main__:Send Cmd: Get_Version
DEBUG:__main__:Received 0x435d01020122392239240004050405040500 from handle=8f65073d-9f57-4aaa-afea-397d19d5bbeb (Handle: 20): Unknown
INFO:__main__:Lamp F8:24:41:E8:20:6A exposes versions:(1, 8705, 8761, 9273, 1024)
DEBUG:__main__:Send Cmd: Get_Serial
DEBUG:__main__:Connection status: Conn.PAIRED
DEBUG:__main__:Send Cmd: Turn On
DEBUG:__main__:Received 0x4345010164fa320046000016000000000000 from handle=8f65073d-9f57-4aaa-afea-397d19d5bbeb (Handle: 20): Unknown
DEBUG:__main__:<Lamp F8:24:41:E8:20:6A ON mode_Color bri_70 rgb_(100, 250, 50) >
DEBUG:__main__:Send Cmd: Turn Off
DEBUG:__main__:Received 0x4345020164fa320046000016000000000000 from handle=8f65073d-9f57-4aaa-afea-397d19d5bbeb (Handle: 20): Unknown
DEBUG:__main__:<Lamp F8:24:41:E8:20:6A OFF mode_Color bri_70 rgb_(100, 250, 50) >
DEBUG:__main__:Send Cmd: Turn On
DEBUG:__main__:Received 0x4345010164fa320046000017000000000000 from handle=8f65073d-9f57-4aaa-afea-397d19d5bbeb (Handle: 20): Unknown
DEBUG:__main__:<Lamp F8:24:41:E8:20:6A ON mode_Color bri_70 rgb_(100, 250, 50) >
DEBUG:__main__:Send Cmd: Get_Name
DEBUG:__main__:Received 0x435301000000000000000000000000000000 from handle=8f65073d-9f57-4aaa-afea-397d19d5bbeb (Handle: 20): Unknown
DEBUG:__main__:Received 0x435301010000000000000000000000000000 from handle=8f65073d-9f57-4aaa-afea-397d19d5bbeb (Handle: 20): Unknown
DEBUG:__main__:Send Cmd: Get_Version
DEBUG:__main__:Received 0x435d01020122392239240004050405040500 from handle=8f65073d-9f57-4aaa-afea-397d19d5bbeb (Handle: 20): Unknown
INFO:__main__:Lamp F8:24:41:E8:20:6A exposes versions:(1, 8705, 8761, 9273, 1024)
DEBUG:__main__:Send Cmd: Get_Serial
DEBUG:__main__:Send Cmd: Get_state
DEBUG:__main__:Received 0x4345010164fa320046000017000000000000 from handle=8f65073d-9f57-4aaa-afea-397d19d5bbeb (Handle: 20): Unknown
DEBUG:__main__:<Lamp F8:24:41:E8:20:6A ON mode_Color bri_70 rgb_(100, 250, 50) >
DEBUG:__main__:Set_brightness 20
DEBUG:__main__:Send Cmd: Brightness
DEBUG:__main__:Set_brightness 70
DEBUG:__main__:Send Cmd: Brightness
DEBUG:__main__:Set_temperature 6000, 70
DEBUG:__main__:Send Cmd: Temperature
DEBUG:__main__:Received 0x434501020000000046177017000000000000 from handle=8f65073d-9f57-4aaa-afea-397d19d5bbeb (Handle: 20): Unknown
DEBUG:__main__:<Lamp F8:24:41:E8:20:6A ON mode_White bri_70 temp_6000>
DEBUG:__main__:Set_color (100, 250, 50), 70
DEBUG:__main__:Send Cmd: Color
DEBUG:__main__:Received 0x4345010164fa320046000017000000000000 from handle=8f65073d-9f57-4aaa-afea-397d19d5bbeb (Handle: 20): Unknown
DEBUG:__main__:<Lamp F8:24:41:E8:20:6A ON mode_Color bri_70 rgb_(100, 250, 50) >
DEBUG:__main__:Send Cmd: Turn Off
DEBUG:__main__:Received 0x4345020164fa320046000017000000000000 from handle=8f65073d-9f57-4aaa-afea-397d19d5bbeb (Handle: 20): Unknown
DEBUG:__main__:<Lamp F8:24:41:E8:20:6A OFF mode_Color bri_70 rgb_(100, 250, 50) >
DEBUG:__main__:Disconnected CB from client <bleak.backends.bluezdbus.client.BleakClientBlueZDBus object at 0x7f169b26d0a0>
The end

@hcoohb Can you please guide where could be the issue?

zealotous commented 1 year ago

It looks like bleak detects bluetooth device but doesn't registre it in home assistant

2023-01-20 19:35:10.189 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:10.189 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:10.190 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:10.272 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:12.213 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:12.713 DEBUG (MainThread) [bleak.backends.bluezdbus.manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_F8_24_41_E8_20_6A): ['org.bluez.Device1', {'RSSI': <dbus_fast.signature.Variant ('n', -82)>}, []]
2023-01-20 19:35:12.714 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:13.786 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:16.247 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:16.266 DEBUG (MainThread) [bleak.backends.bluezdbus.manager] received D-Bus signal: org.freedesktop.DBus.ObjectManager.InterfacesRemoved (/): ['/org/bluez/hci0/dev_E4_CF_05_CF_7F_EE', ['org.freedesktop.DBus.Properties', 'org.freedesktop.DBus.Introspectab
2023-01-20 19:35:17.252 DEBUG (MainThread) [bleak.backends.bluezdbus.manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_F8_24_41_E8_20_6A): ['org.bluez.Device1', {'RSSI': <dbus_fast.signature.Variant ('n', -73)>}, []]
2023-01-20 19:35:17.253 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:17.259 DEBUG (MainThread) [bleak.backends.bluezdbus.manager] received D-Bus signal: org.freedesktop.DBus.ObjectManager.InterfacesRemoved (/): ['/org/bluez/hci0/dev_63_85_C6_18_6F_6D', ['org.freedesktop.DBus.Properties', 'org.freedesktop.DBus.Introspectab
2023-01-20 19:35:18.269 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:18.772 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:19.787 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:20.795 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:22.300 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:22.966 DEBUG (MainThread) [bleak.backends.bluezdbus.manager] received D-Bus signal: org.freedesktop.DBus.ObjectManager.InterfacesAdded (/): ['/org/bluez/hci0/dev_63_85_C6_18_6F_6D', {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.Device1': {'Addre
2023-01-20 19:35:22.968 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_63_85_C6_18_6F_6D
2023-01-20 19:35:23.310 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:23.813 DEBUG (MainThread) [bleak.backends.bluezdbus.manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_F8_24_41_E8_20_6A): ['org.bluez.Device1', {'RSSI': <dbus_fast.signature.Variant ('n', -86)>}, []]
2023-01-20 19:35:23.814 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:25.839 DEBUG (MainThread) [bleak.backends.bluezdbus.manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_F8_24_41_E8_20_6A): ['org.bluez.Device1', {'RSSI': <dbus_fast.signature.Variant ('n', -74)>}, []]
2023-01-20 19:35:25.840 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:26.856 DEBUG (MainThread) [bleak.backends.bluezdbus.manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_F8_24_41_E8_20_6A): ['org.bluez.Device1', {'RSSI': <dbus_fast.signature.Variant ('n', -82)>}, []]
2023-01-20 19:35:26.857 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:27.869 DEBUG (MainThread) [bleak.backends.bluezdbus.manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_F8_24_41_E8_20_6A): ['org.bluez.Device1', {'RSSI': <dbus_fast.signature.Variant ('n', -72)>}, []]
2023-01-20 19:35:27.871 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:28.375 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:29.392 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:30.397 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:31.417 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:32.928 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:33.935 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:35.452 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:36.460 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:37.473 DEBUG (MainThread) [bleak.backends.bluezdbus.manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_F8_24_41_E8_20_6A): ['org.bluez.Device1', {'RSSI': <dbus_fast.signature.Variant ('n', -85)>}, []]
2023-01-20 19:35:37.474 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:37.977 DEBUG (MainThread) [bleak.backends.bluezdbus.manager] received D-Bus signal: org.freedesktop.DBus.Properties.PropertiesChanged (/org/bluez/hci0/dev_F8_24_41_E8_20_6A): ['org.bluez.Device1', {'RSSI': <dbus_fast.signature.Variant ('n', -74)>}, []]
2023-01-20 19:35:37.978 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:38.983 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:40.492 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:41.511 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:43.542 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:44.557 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:46.072 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:47.093 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:49.117 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:50.133 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:51.652 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:52.663 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
2023-01-20 19:35:53.259 DEBUG (MainThread) [bleak.backends.bluezdbus.manager] received D-Bus signal: org.freedesktop.DBus.ObjectManager.InterfacesRemoved (/): ['/org/bluez/hci0/dev_63_85_C6_18_6F_6D', ['org.freedesktop.DBus.Properties', 'org.freedesktop.DBus.Introspectab
2023-01-20 19:35:54.180 DEBUG (MainThread) [bleak.backends.bluezdbus.advertisement_monitor] DeviceFound /org/bluez/hci0/dev_F8_24_41_E8_20_6A
- /config/home-assistant.log [Modified] 1/1312 0%
Dvalin21 commented 1 year ago

@zealotous Yeah this still happens. I even switched to one of the Top Performing BT adapters and get the same issue.

zealotous commented 1 year ago

@Dvalin21 I got it working :D

I had no https://hacs.xyz/ HACS installed image

Have you cleaned the browser cache? https://hacs.xyz/docs/configuration/basic#clear-your-browser-cache If you do and HACS still doesn't see you configuration try to check find location of custom_components folder.

Directory layout from my homeassistant os:

[core-ssh ~]$ find /config/custom_components/yeelight_bt/ 
/config/custom_components/yeelight_bt/
/config/custom_components/yeelight_bt/yeelightbt.py
/config/custom_components/yeelight_bt/translations
/config/custom_components/yeelight_bt/translations/en.json
/config/custom_components/yeelight_bt/manifest.json
/config/custom_components/yeelight_bt/config_flow.py
/config/custom_components/yeelight_bt/__pycache__
/config/custom_components/yeelight_bt/__pycache__/__init__.cpython-310.pyc
/config/custom_components/yeelight_bt/__pycache__/yeelightbt.cpython-310.pyc
/config/custom_components/yeelight_bt/__pycache__/const.cpython-310.pyc
/config/custom_components/yeelight_bt/__pycache__/config_flow.cpython-310.pyc
/config/custom_components/yeelight_bt/__pycache__/light.cpython-310.pyc
/config/custom_components/yeelight_bt/light.py
/config/custom_components/yeelight_bt/const.py
/config/custom_components/yeelight_bt/__init__.py

Copy yeelight_bt folder to /config//config/custom_components and restart HA.

https://community.home-assistant.io/t/how-to-create-a-custom-component-from-one-removed-from-ha-itself/410602

@Dvalin21 please check where is configuration.yaml on your Synology NAS Good luck!

Dvalin21 commented 1 year ago

@Dvalin21 I got it working :D

I had no https://hacs.xyz/ HACS installed image

Have you cleaned the browser cache? https://hacs.xyz/docs/configuration/basic#clear-your-browser-cache If you do and HACS still doesn't see you configuration try to check find location of custom_components folder.

Directory layout from my homeassistant os:

[core-ssh ~]$ find /config/custom_components/yeelight_bt/ 
/config/custom_components/yeelight_bt/
/config/custom_components/yeelight_bt/yeelightbt.py
/config/custom_components/yeelight_bt/translations
/config/custom_components/yeelight_bt/translations/en.json
/config/custom_components/yeelight_bt/manifest.json
/config/custom_components/yeelight_bt/config_flow.py
/config/custom_components/yeelight_bt/__pycache__
/config/custom_components/yeelight_bt/__pycache__/__init__.cpython-310.pyc
/config/custom_components/yeelight_bt/__pycache__/yeelightbt.cpython-310.pyc
/config/custom_components/yeelight_bt/__pycache__/const.cpython-310.pyc
/config/custom_components/yeelight_bt/__pycache__/config_flow.cpython-310.pyc
/config/custom_components/yeelight_bt/__pycache__/light.cpython-310.pyc
/config/custom_components/yeelight_bt/light.py
/config/custom_components/yeelight_bt/const.py
/config/custom_components/yeelight_bt/__init__.py

Copy yeelight_bt folder to /config//config/custom_components and restart HA.

https://community.home-assistant.io/t/how-to-create-a-custom-component-from-one-removed-from-ha-itself/410602

@Dvalin21 please check where is configuration.yaml on your Synology NAS Good luck!

Sorry I just saw this, I'll give this a try and let ya know

Dvalin21 commented 1 year ago

I'll reopen of ot continues