dave-code-ruiz / elkbledom

Home Assistant custom component for LED STRIP NAME ELK BLEDOM
MIT License
81 stars 17 forks source link

Support for LED Desktop light (lighbar) #42

Closed mgoh99 closed 1 year ago

mgoh99 commented 1 year ago

Hi there - reading through the instructions, it seems like this integration only supports LED light strips. Is it possible to use with lightbars as well?

dave-code-ruiz commented 1 year ago

Well, i think is only need to try it

Good luck

ynsgnr commented 1 year ago

I'm using with a lightbar, its basically the same thing, light bar just has an enclosure around the light strip, as long as it works with duoCo Strip or duoCo StripX app it will work with this integration

dave-code-ruiz commented 1 year ago

Code supports controlling lights in HA with write uuid: 0000fff3-0000-1000-8000-00805f9b34fb

You can know your uuid with gatttool:



gatttool -I

[be:59:7a:00:08:xx][LE]> connect be:59:7a:00:08:xx

Attempting to connect to be:59:7a:00:08:xx

Connection successful

[be:59:7a:00:08:xx][LE]> primary
attr handle: 0x0001, end grp handle: 0x0003 uuid: 00001800-0000-1000-8000-00805f9b34fb
attr handle: 0x0004, end grp handle: 0x0009 uuid: 0000fff0-0000-1000-8000-00805f9b34fb

[be:59:7a:00:08:xx][LE]> Characteristics
handle: 0x0002, char properties: 0x12, char value handle: 0x0003, uuid: 00002a00-0000-1000-8000-00805f9b34fb
handle: 0x0005, char properties: 0x10, char value handle: 0x0006, uuid: 0000fff4-0000-1000-8000-00805f9b34fb
handle: 0x0008, char properties: 0x06, char value handle: 0x0009, uuid: 0000fff3-0000-1000-8000-00805f9b34fb

in Characteristics you must have one uuid: 0000fff3-0000-1000-8000-00805f9b34fb
dave-code-ruiz commented 1 year ago

@ynsgnr can you post me your lightbar model or amazon link ?

ynsgnr commented 1 year ago

@ynsgnr can you post me your lightbar model or amazon link ?

I got it second hand so no idea about the link or model 😅

It could be any one of these, the app pictures, remote and the cable looks exactly like mine: ChenFec LONGYIFA Bedee

dave-code-ruiz commented 1 year ago

thnks a lot

i found a similar link in amazon spain