sysofwan / ha-triones

Home Assistant integration for BLE based Triones/HappyLighting lights
MIT License
51 stars 22 forks source link

No supported read/write UUIDs found #8

Open Bojkas1985 opened 2 years ago

Bojkas1985 commented 2 years ago

Hi, i have no triones, but it is controled by bluetooth and find it. Well, Unable to connect to triones. Can you help me?

2021-12-20 08:50:25 DEBUG (MainThread) [custom_components.triones] Discovered devices: [{'address': '44:D8:78:89:71:00', 'name': '44-D8-78-89-71-00'}, {'address': '78:9C:E7:AD:6D:3F', 'name': 'LEDBLE-AD6D3F'}, {'address': '6E:AD:AC:90:EC:00', 'name': '6E-AD-AC-90-EC-00'}]
2021-12-20 08:50:36 ERROR (MainThread) [custom_components.triones] No supported read/write UUIDs found
2021-12-20 08:50:36 DEBUG (MainThread) [custom_components.triones] cc 23 33
marcomow commented 2 years ago

second this

This error originated from a custom integration.

Logger: custom_components.triones
Source: custom_components/triones/triones.py:79
Integration: triones (documentation, issues)
First occurred: 19:27:06 (3 occurrences)
Last logged: 19:28:02

No supported read/write UUIDs found
sysofwan commented 2 years ago

The known read/write UUIDs can be found here. Your device may be using another UUID that I don't know about. Feel free to query your device for the UUID and try adding it on this line. If it works, make a PR to add it 😄

wroblear commented 2 years ago

As I understand, UUIDs which are defined in triones.py should be the same from our USB_device?

I have fund using Bluetooth scanner app that my Bluetooth_Led_controller is using 0000fff3-0000-1000-8000-00805f9b34fb so I replace it in triones.py but it doesnt' help. Im trying to add Triones integration but it can not accept my device (adding MAC and name), ane also in logs I see exacely te same as on that post. No supported read/write UUIDs found, any ideas?

therealhammer commented 2 years ago

@wroblear do you also have a controller, that usually would use the lotus lantern app? I've got the same problem here. When trying to connect to the controller via bluetoothctl, I get:

[NEW] Primary Service (Handle 0x494c)
    /org/bluez/hci0/dev_BE_96_50_00_04_92/service0008
    00001801-0000-1000-8000-00805f9b34fb
    Generic Attribute Profile
[NEW] Characteristic (Handle 0x006c)
    /org/bluez/hci0/dev_BE_96_50_00_04_92/service0008/char0009
    00002a05-0000-1000-8000-00805f9b34fb
    Service Changed
[NEW] Descriptor (Handle 0x9f25)
    /org/bluez/hci0/dev_BE_96_50_00_04_92/service0008/char0009/desc000b
    00002902-0000-1000-8000-00805f9b34fb
    Client Characteristic Configuration
[NEW] Primary Service (Handle 0x494c)
    /org/bluez/hci0/dev_BE_96_50_00_04_92/service000c
    0000fff0-0000-1000-8000-00805f9b34fb
    Unknown
[NEW] Characteristic (Handle 0x006c)
    /org/bluez/hci0/dev_BE_96_50_00_04_92/service000c/char000d
    0000fff3-0000-1000-8000-00805f9b34fb
    Unknown
[NEW] Characteristic (Handle 0x006c)
    /org/bluez/hci0/dev_BE_96_50_00_04_92/service000c/char000f
    0000fff4-0000-1000-8000-00805f9b34fb
    Unknown
dave-code-ruiz commented 2 years ago

I create supported code repository for uuid 0000fff3-0000-1000-8000-00805f9b34fb is elk-bledom strip.

https://github.com/dave-code-ruiz/elkbledom-ha

Try this integration , i think it works for you