Bluetooth-Devices / led-ble

Control a wide range of LED BLE devices
Apache License 2.0
12 stars 9 forks source link

Other protocols, eg ALLOYSEED(mylight) yeelight-bt #32

Open orrpan opened 1 year ago

orrpan commented 1 year ago

Is your feature request related to a problem? Please describe. Make this integration usable for other protocols than flux_led

Describe the solution you'd like I have a strange bluetooth speaker bulb, (think it was called mylight on bluetooth, renamed it and can't revert it...) (the ones with 2 bluetooth adapters, one ble for light and one for music, can be connected with different devices ) it uses almost the same setup as this integration. You can see my crashcoded repo https://github.com/orrpan/bluetooth_speaker_bulb/blob/master/bluetooth_speaker_bulb/protocol.py . It also have som speaker settings which are not necessary, for starter.

If the intention of this integration is to get all ble lights working, it would be awesome if one could add other protocols (easier). Have one more layer of protocol import to use other packages.

One difference it does not use notifications, it requires to start notification but after that you have to ask for state.

Additional context Also have a custom component for it. https://github.com/orrpan/hass_bluetooth_speaker_bulb Which is a fork from yeelight-bt, would be nice to have yeelight-bt integrated also